You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataForm: replicate DocumentInspector in QuickEdit #64519
In the Site Editor, the Pages page is powered by the DataViews library. We are implementing the Detail Panel (aka Quick Edit) to allow users to edit one or more pages easily (#55101). This issue contains a list of the view/edit controls that we have to implement for this view:
In terms of the quick-edit panel I think the only option that makes sense here is swapping the template. Would it be possible to hide the other options?
Do you think it's worth replicating this functionality for the data view as well?
In terms of the quick-edit panel I think the only option that makes sense here is swapping the template. Would it be possible to hide the other options?
Technically, those are two different fields of the page object. I'm wondering if this could be a good chance to explore the JSON Forms layout property: in particular way, the group layout.
I think we can try that to start, seeing as it already exists. Currently the previews are populated with content from the current page, do you have any idea how that might work in the context of bulk selection? Should we use the first item in the selection for the preview? Or not use any data in the preview (blocks will just display placeholder content).
changed the title [-][Data View - Detail Panel]: Site Editor - Page view: implements all the view/edit controls for the Page view[/-][+]DataForm: replicate DocumentInspector in QuickEdit[/+]on Sep 26, 2024
Activity
louwie17 commentedon Aug 15, 2024
We may also want to add
password,date, andallow commentsto this list.Although looks like date is already implemented: #64267
In addition the posts quick edit has
Categories, andTagsas well.gigitux commentedon Aug 22, 2024
Thanks! Added!
True, but
CategoriesandTagsdoesn't exist for the page post type:gigitux commentedon Sep 10, 2024
👋 Howdy @jameskoster!
I need your expertise with some UI/UX aspects for field controls. Here are the details:
Template Field Control
In the page editor, the
templatefield control offers various options:Screen.Capture.on.2024-09-10.at.15-53-32.mp4
Should we implement a similar design?
Password Field Control
The
passwordfield control is located in thestatussection of the page editor:Screen.Capture.on.2024-09-10.at.15-55-30.mp4
Do you think it's worth replicating this functionality for the data view as well?
Thanks for your help!
jameskoster commentedon Sep 10, 2024
In terms of the quick-edit panel I think the only option that makes sense here is swapping the template. Would it be possible to hide the other options?
Yes I think so. See #49012.
gigitux commentedon Sep 10, 2024
Screen.Capture.on.2024-09-10.at.17-02-21.mp4
Should be this the experience?
Great! 👍
Technically, those are two different fields of the page object. I'm wondering if this could be a good chance to explore the JSON Forms layout property: in particular way, the
grouplayout.cc @louwie17 @joshuatf
jameskoster commentedon Sep 10, 2024
I think we can try that to start, seeing as it already exists. Currently the previews are populated with content from the current page, do you have any idea how that might work in the context of bulk selection? Should we use the first item in the selection for the preview? Or not use any data in the preview (blocks will just display placeholder content).
[-][Data View - Detail Panel]: Site Editor - Page view: implements all the view/edit controls for the Page view[/-][+]DataForm: replicate DocumentInspector in QuickEdit[/+]oandregal commentedon Sep 26, 2024
I've updated a bit the issue description and reworded the title so its focus is clearer.
gigitux commentedon Oct 25, 2024
I marked as done the
orderfield because we decided to keep it as an action in quick edit as well for now. You can find more details on this Slack thread: https://wordpress.slack.com/archives/C02QB2JS7/p1729765343839939gigitux commentedon Dec 6, 2024
Given that the template field has been merged (#66591), this issue can be closed.