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

Site view: Resize handle should resize both frame and data view #62748

Open
jasmussen opened this issue Jun 21, 2024 · 5 comments
Open

Site view: Resize handle should resize both frame and data view #62748

jasmussen opened this issue Jun 21, 2024 · 5 comments
Labels
[Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.

Comments

@jasmussen
Copy link
Contributor

jasmussen commented Jun 21, 2024

In the site editor, under Pages, the data views component defaults to a new format, "List View", which shows a side by side of pages list on the left, and a preview for each page on the right.

The frame on the right has a resize handle. In most contexts, when you scale up the frame, you enter the fullscreen editor. You can also scale this down to preview tablet and mobile sizes:

tablet

When scaling down the frame, we should consider to improve the ergonomics of the list view display by resizing that view as well, to take advantage of the wider space. So, by resizing using this handle in the List view, we can go from the default state—

default

—to a resized state where the list itself is wider, and the preview is less wide:

resized

The above is an inspector-hacked mockup mainly to get the point across. Note how the list view/center column is wider, and the resize handle sits in the gutter between list view and preview frame.

To clarify:

  • In the default view, the resize handle resizes the preview just as it does today.
  • In the split view (List view), the resizing is different, it simply makes the list column wider. The preview on the right keeps its right side position.
  • In this split view, hovering the frame with the cursor should not scale up the frame.

See also:

Related:

@jasmussen jasmussen added [Type] Enhancement A suggestion for improvement. Needs Design Feedback Needs general design feedback. [Feature] Data Views Work surrounding upgrading and evolving views in the site editor and beyond labels Jun 21, 2024
@jasmussen
Copy link
Contributor Author

For this to work, we'd need to sacrifice the vertical and horizontal scaling that's emulating a tablet and mobile viewport, at least for these split/list data views.

@jasmussen jasmussen added Needs Dev Ready for, and needs developer efforts and removed Needs Design Feedback Needs general design feedback. labels Jul 11, 2024
@jasmussen
Copy link
Contributor Author

I clarified the mockup and added "Needs dev".

@richtabor
Copy link
Member

My one hesitation is that the list doesn't gain anything by being any wider.

@jasmussen
Copy link
Contributor Author

Very long titles would be less elided, and future screens that use the same layout but show more fields might show more. It feels like a small ergonomic change that leverages this particular configuration.

@richtabor
Copy link
Member

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 Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.
2 participants