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

[DST-462]Refactor <Dialog> component use Grid Areas #4164

Merged
merged 12 commits into from
Oct 10, 2024
Merged

Conversation

OsamaAbdellateef
Copy link
Contributor

@OsamaAbdellateef OsamaAbdellateef commented Sep 17, 2024

Warning

This PR contains a breaking change! See below. This should be merged with #4187

Description

Our current API for the component is rather cumbersome and has some hard limitation when it comes to composability. We should improve this and align its API with the API of our other components (Components have their children “attached” e.g. Table.Cell)

  • This change requires a UI-Kit update - Alex Tirado (@tirado-rx)

What should be tested?

-The title and close button are vertically aligned
-The dialog is more composable
-The order of dialog sub-components always are the same

Reviewers:

@marigold-ui/developer

Copy link

vercel bot commented Sep 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marigold-docs ✅ Ready (Inspect) Visit Preview 1 resolved Oct 8, 2024 9:22am
marigold-storybook ✅ Ready (Inspect) Visit Preview 2 resolved Oct 8, 2024 9:22am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
marigold-production ⬜️ Ignored (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 9:22am

Copy link

changeset-bot bot commented Sep 17, 2024

🦋 Changeset detected

Latest commit: 201c1d4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@marigold/components Major
@marigold/theme-core Major
@marigold/theme-b2b Major
@marigold/storybook-config Patch
@marigold/docs Major
@marigold/theme-docs Patch
@marigold/system Major
@marigold/icons Patch
@marigold/theme-preset Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Sep 17, 2024

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
99.63% (-0.02% 🔻)
7870/7899
🟢 Branches
90.89% (+0.12% 🔼)
359/395
🟢 Functions
98.48% (+0.05% 🔼)
130/132
🟢 Lines
99.63% (-0.02% 🔻)
7870/7899
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / HelpText.tsx
97.83% (-2.17% 🔻)
76.92% (-23.08% 🔻)
100%
97.83% (-2.17% 🔻)

Test suite run success

573 tests passing in 78 suites.

Report generated by 🧪jest coverage report action from 201c1d4

@OsamaAbdellateef OsamaAbdellateef marked this pull request as ready for review September 18, 2024 10:16
@OsamaAbdellateef OsamaAbdellateef changed the title Refactor dialog component [DST-462]Refactor <Dialog> component use Grid Areas Sep 18, 2024
@sarahgm
Copy link
Member

sarahgm commented Sep 24, 2024

also documentation is missing

@sarahgm
Copy link
Member

sarahgm commented Sep 30, 2024

Ah I also noticed, this change require a UI kit update right? @OsamaAbdellateef

@OsamaAbdellateef
Copy link
Contributor Author

Ah I also noticed, this change require a UI kit update right? @OsamaAbdellateef

Yes you are right @sarahgm 👏🏻

@sarahgm sarahgm merged commit 2d9917f into main Oct 10, 2024
15 checks passed
@sarahgm sarahgm deleted the refactor-dialog branch October 10, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 Breacking Change type:docs Improvements or additions to documentation type:feature New feature or component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants