Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
DataForm: implement first prototype using duplicate page action #63032
DataForm: implement first prototype using duplicate page action #63032
Changes from 19 commits
49eb220
0adcfcb
f896aae
3f6de3f
77d64c6
04942f9
dac8567
d1cb385
caeef9f
a88fa6c
4ec608c
287e0ff
1979c74
bc13a9b
9287a11
ffab101
3747020
969ab6c
8e06615
c188d11
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Would be cool to have a "types" folder with a file per type maybe at some point.
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.
Consolidation can be done in a follow-up PR, but I wanted to gather early thoughts: do we create a registry for fields per postType? where do we extract the Field information for now? Actions are defined in the
editor
package while theedit-site
package defines the DataViews.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.
Yeah, I think right now the registry should be in the.
editor/src/dataviews/fields
folder like we haveeditor/src/dataviews/actions
folder if we're talking about the default WP entities fields.My thinking is that I'll probably move
editor/src/dataviews
to either a dedicated package@wordpress/core-dataviews
or just move it into@wordpress/core-data
because it's actually lower level than the editor and can be used outside the editor.