-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
DatViews/DataForm: reorganize folders #64378
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
This one would be good to resolve quickly (land or discard), otherwise rebases can be a nightmare. |
Size Change: -13 B (0%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
I actually don't understand the reasoning for this change. Here's the reasoning for the previous change:
Also noting that a "data view layout" or a "data form layout" is not simply a component, it has things like a label, an icon,... In other words the top level folders are "entities" or actual "concepts". The stuff in I'm not against reorganizing stuff but I don't see any difference between |
The way I see it, a layout doesn't do anything on its own, it's just a component of the whole entity: DataViews or DataForm, which are the high-level entities and actually live in For fields, I'm not opinionated. I'm fine moving it to |
What?
This PR reorganizes the folder structure and some naming:
Why?
A few tweaks to improve clarity and findability. The main changes are:
src/dataviews-layouts
andsrc/components/dataviews-layout
src/components/dataviews-layouts
src/components/dataform
,src/dataforms-layouts
src/components/dataform
,src/component/dataform-layouts
src/utils
folder.How?
Commits:
Testing Instructions
Go to the Pages page and interact with DataViews and DataForm.