-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Components: move ContextSystemProvider
out of /ui
#54847
Conversation
Size Change: 0 B Total Size: 1.62 MB ℹ️ View Unchanged
|
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.
Looks great, thanks! 🚀
I think we could add an "Internal" CHANGELOG entry.
Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
064e15b
to
54aedc7
Compare
Flaky tests detected in 54aedc7. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6329914558
|
* Components: move ContextSystemProvider out of ui folder * Update imports * Remove context folder from ui * Update references in docs/comments * Fix path to older commit Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com> * Update changelog --------- Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
* Components: move ContextSystemProvider out of ui folder * Update imports * Remove context folder from ui * Update references in docs/comments * Fix path to older commit Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com> * Update changelog --------- Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>
What?
This expands on the work started in #52953 to remove the
ui
folder.Why?
There isn't a need for the
ui
folder anymore - more details can be found in above-mentioned PR.The next step will be to move anything still used from
ui/utils
topackages/components/src/utils
, so theui
folder can be removed.How?
This moves the
context
folder out of theui
folder and replaces the imports, links, and mentions ofui/context
.Testing Instructions
Tests pass and
npm run build
succeeds without error