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

feat(Modal): export new Modal component to /next #2641

Conversation

YossiSaadi
Copy link
Contributor

@YossiSaadi YossiSaadi commented Dec 10, 2024

  • refactor: Move Modal folder to be under ./Modal
  • docs: Remove 'internal' tag from stories, so stories and mdxs would be available in the public Storybook
  • feat: Export new Modal to /next

https://monday.monday.com/boards/3532714909/pulses/7360832642
https://monday.monday.com/boards/3532714909/pulses/7360977361
https://monday.monday.com/boards/3532714909/pulses/7989661376
https://monday.monday.com/boards/3532714909/pulses/8010109228

@YossiSaadi YossiSaadi requested a review from a team as a code owner December 10, 2024 11:23
@@ -0,0 +1 @@
export * from "./components/next";
Copy link
Member

Choose a reason for hiding this comment

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

Why this again?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it was written badly before
now I followed the same pattern that's with the regular export.
the regular export has one index in the root, that's reexports index from hooks/components/etc.
now you have one next in the root, that's reexports next from hooks/components/etc.

Copy link
Member

Choose a reason for hiding this comment

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

But we're not exporting anything from /next other than components

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yet

Copy link
Member

Choose a reason for hiding this comment

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

Feels a bit like preparation for AC but OK :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the preparation for AC, you are right 🙃

packages/core/package.json Outdated Show resolved Hide resolved
@@ -25,12 +25,14 @@ const metaSettings = createStoryMetaSettingsDecorator({
});

export default {
title: "Internal/Components/Modal [New]/Basic modal",
title: "Components/Modal [New]/Basic modal",
Copy link
Member

Choose a reason for hiding this comment

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

Feels a bit weird title no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why?

talkor
talkor previously approved these changes Dec 10, 2024
Copy link
Member

@talkor talkor left a comment

Choose a reason for hiding this comment

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

💯

Copy link
Member

@talkor talkor left a comment

Choose a reason for hiding this comment

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

Exciting! 🤩
And damn that's one big component with many files

@YossiSaadi YossiSaadi changed the title refactor(Modal): internal - changed new Modal to be under /Modal folder feat(Modal): export new Modal component to /next Dec 17, 2024
@YossiSaadi YossiSaadi merged commit 244c1cb into master Dec 17, 2024
14 checks passed
@YossiSaadi YossiSaadi deleted the feat/yossi/add-new-modal-as-next-for-v3-7360832642-export-all-new-modal-components-and-types-7360977361 branch December 17, 2024 13:28
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