Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog+tabs #782

Merged
merged 31 commits into from
Aug 17, 2023
Merged

Dialog+tabs #782

merged 31 commits into from
Aug 17, 2023

Conversation

pablo-mayrgundter
Copy link
Member

@pablo-mayrgundter pablo-mayrgundter commented Aug 12, 2023

Changes:

  • DialogTabs
    • Changed name to TabbedDialog
    • Remove actions to be part of content; not sure about this
    • Make more params optional
    • Changed param names; part to follow convention, part opinion.. see what you think
    • Bunch of typo fixes
  • Simplify fixture setup

https://deploy-preview-782--bldrs-share.netlify.app/cosmos/?fixtureId=%7B%22path%22%3A%22src%2FComponents%2FTabbedDialog.fixture.jsx%22%7D

@netlify
Copy link

netlify bot commented Aug 12, 2023

Deploy Preview for bldrs-share ready!

Name Link
🔨 Latest commit 877a6a1
🔍 Latest deploy log https://app.netlify.com/sites/bldrs-share/deploys/64de7e254cf1970008909567
😎 Deploy Preview https://deploy-preview-782--bldrs-share.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@OlegMoshkovich OlegMoshkovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much cleaner props!
Regarding the action button, if we remove it, we break MUI convention.
I thought we decided to stick to it, so it is more cohesive.
Having the button in the dialog actions also takes care of the spacing issue, that way it is always in the same place.

This is the design using MUI current system.
https://www.figma.com/file/DqKVaQEukf8vVHnlwiRGhv/Screens?type=design&node-id=2362-16501&mode=design&t=q4QyRjLNsdaT4r9i-0
What do you think about implementing it exactly as it is specified?

This is the master component sheet for the dialog:
https://www.figma.com/file/0WnF8npo2MGNmSgKKtnPuo/MUI-for-Figma-Material-UI-v5.14.0?type=design&node-id=6586-47137&mode=design&t=1s6f2SCSWGYpzfkk-0

@pablo-mayrgundter
Copy link
Member Author

Ok, moved DialogActions back in. PTAL

@pablo-mayrgundter pablo-mayrgundter marked this pull request as ready for review August 14, 2023 16:19
@OlegMoshkovich
Copy link
Member

title disappeared.

@pablo-mayrgundter
Copy link
Member Author

whoops, thanks! ptal

Copy link
Member

@OlegMoshkovich OlegMoshkovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Several comments.

src/Components/TabbedDialog.fixture.jsx Show resolved Hide resolved
@pablo-mayrgundter
Copy link
Member Author

PTAL

@pablo-mayrgundter pablo-mayrgundter merged commit 6508463 into bldrs-ai:main Aug 17, 2023
8 checks passed
@pablo-mayrgundter
Copy link
Member Author

Cypress is either stuck or taking too long to run. I just ran locally no issues. Submitting.

@pablo-mayrgundter pablo-mayrgundter deleted the dialog+tabs branch August 17, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants