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

[Data View - Detail Panel]: Site Editor - Page view: implements all the view/edit controls for the Page view #64519

Open
3 of 9 tasks
gigitux opened this issue Aug 14, 2024 · 6 comments
Labels
[Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond

Comments

@gigitux
Copy link
Contributor

gigitux commented Aug 14, 2024

In the Site Editor, the Page View is powered by the Data View library. We are exploring implementing the Detail Panel (ex quick edit view) 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:

@youknowriad youknowriad added the [Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond label Aug 14, 2024
@louwie17
Copy link
Contributor

We may also want to add password, date, and allow comments to this list.
Although looks like date is already implemented: #64267

In addition the posts quick edit has Categories, and Tags as well.

@gigitux
Copy link
Contributor Author

gigitux commented Aug 22, 2024

We may also want to add password, date, and allow comments to this list.
Although looks like date is already implemented: #64267

Thanks! Added!

In addition the posts quick edit has Categories, and Tags as well.

True, but Categories and Tags doesn't exist for the page post type:

image

@gigitux
Copy link
Contributor Author

gigitux commented 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 template field 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 password field control is located in the status section 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
Copy link
Contributor

Template Field Control

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?

Yes I think so. See #49012.

@gigitux
Copy link
Contributor Author

gigitux commented 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?

Screen.Capture.on.2024-09-10.at.17-02-21.mp4

Should be this the experience?

Yes I think so. See #49012.

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 group layout.

cc @louwie17 @joshuatf

@jameskoster
Copy link
Contributor

Should be this the experience?

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond
Projects
None yet
Development

No branches or pull requests

4 participants