-
Notifications
You must be signed in to change notification settings - Fork 1
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
Decision about the experimental code #1454
Conversation
✅ Deploy Preview for spirit-design-system-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for spirit-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
e790aa1
to
3f0d21d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went over docs/contributtion/experimental-code.md
only.
packages/web-react/docs/stories/feature-flags/Overview.stories.mdx
Outdated
Show resolved
Hide resolved
packages/web-react/docs/stories/feature-flags/Overview.stories.mdx
Outdated
Show resolved
Hide resolved
packages/web-react/docs/stories/feature-flags/Overview.stories.mdx
Outdated
Show resolved
Hide resolved
packages/web-react/docs/stories/feature-flags/Overview.stories.mdx
Outdated
Show resolved
Hide resolved
packages/web-react/docs/stories/feature-flags/Overview.stories.mdx
Outdated
Show resolved
Hide resolved
9f4727e
to
62964e4
Compare
@crishpeen Hopefully all fixed and rebased. I read it again and again today, and I hope I have reworded all sentences to fit our usage. |
TODO: Link this decision to the existing components. |
62964e4
to
5fe2b4a
Compare
☁️ Nx Cloud ReportCI is running/has finished running commands for commit b4e97dd. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
b4e97dd
to
ca29a92
Compare
49ddf21
to
839d765
Compare
839d765
to
3a75309
Compare
Description
I have tried to document the usage of the
unstable_
prefix and made a decision for it.It has been heavily inspired by the https://github.com/carbon-design-system/carbon/blob/5f79664cde29039ca272a4847a5b3c98c97d3e64/docs/experimental-code.md and it is like a rabbit hole. So I have tried to document also the usage of the feature flags and maybe a definition of what is the API and what not.
Additional context
There may be some consideration for the future, for instance, if we need to have some better logic around feature flags in SASS like this one https://github.com/carbon-design-system/carbon/blob/5f79664cde29039ca272a4847a5b3c98c97d3e64/packages/feature-flags/index.scss or have some kind of the FeatureFlags provider in the React like this: https://github.com/carbon-design-system/carbon/tree/5f79664cde29039ca272a4847a5b3c98c97d3e64/packages/react/src/components/FeatureFlags
So any advice is appreciated.
Issue reference