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

dashboard: use context api #34

Merged
merged 12 commits into from
Sep 30, 2024
Merged

dashboard: use context api #34

merged 12 commits into from
Sep 30, 2024

Conversation

AdirAmsalem
Copy link
Member

@AdirAmsalem AdirAmsalem commented Sep 2, 2024

Remove @wix/dashboard-react and @wix/sdk-react in favor of the context api.

@AdirAmsalem AdirAmsalem marked this pull request as ready for review September 2, 2024 09:59
@AdirAmsalem AdirAmsalem removed the request for review from dor-itzhaki September 2, 2024 11:47
return (
<WixDesignSystemProvider locale={locale} features={{ newColorsBranding: true }}>
<WixDesignSystemProvider locale={language} features={{ newColorsBranding: true }}>
<WixPatternsProvider>
Copy link
Member Author

@AdirAmsalem AdirAmsalem Sep 2, 2024

Choose a reason for hiding this comment

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

@wix/patterns is still relying on @wix/dashboard-react & @wix/sdk-react so we can't remove withDashboard just yet.

Choose a reason for hiding this comment

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

btw, do we know if wix design system actually needs language or locale? see https://docs.google.com/document/d/129CGwbxpLFMOvvvLww9CXn0v3nh1EcJk3lm6K42GpO0/edit?usp=sharing

Copy link
Member Author

@AdirAmsalem AdirAmsalem Sep 3, 2024

Choose a reason for hiding this comment

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

AFAIK locale. This is used to format dates, numbers etc.

@AdirAmsalem AdirAmsalem changed the title dashboard: use language instead of locale dashboard: use context api Sep 2, 2024
@fantua fantua merged commit 3153384 into master Sep 30, 2024
@fantua fantua deleted the cleanups branch September 30, 2024 07: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.

3 participants