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 views table layout: Enable fields to be visually combined with title #58012

Open
jameskoster opened this issue Jan 19, 2024 · 7 comments · May be fixed by #63449
Open

Data views table layout: Enable fields to be visually combined with title #58012

jameskoster opened this issue Jan 19, 2024 · 7 comments · May be fixed by #63449
Assignees
Labels
[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

jameskoster commented Jan 19, 2024

In the Templates data view the spacing between title and description can become awkward and difficult to read:

description

Similarly, in the Pages data view the featured images feels a bit isolated from the title, and has no material benefit living a dedicated column:

fimg

In both cases, it could be good to visually combine these fields into a single cell. E.g.:

Screenshot 2024-05-23 at 11 09 41
@jameskoster
Copy link
Contributor Author

Noting that this problem needs more design.

I'm a bit concerned that disabling/enabling fields based on layout opens a can of worms that we're not ready to tackle just yet. Instead I wonder if such a field can be made to work in all layouts. If not, another approach may be required here.

@jameskoster jameskoster added the Needs Design Needs design efforts. label Jan 29, 2024
@annezazu annezazu moved this from ❓ Triage to 📥 Todo in WordPress 6.5 Editor Tasks Feb 8, 2024
@getdave
Copy link
Contributor

getdave commented Feb 13, 2024

@jameskoster Has there been any progress on this Issue that you are aware of? Do you still see this as required for WP 6.5?

My understanding is that the primary task is to combine the title and description fields into a new Summary field.

Just a note that we'd need to be careful about a11y when implementing this.

@jameskoster
Copy link
Contributor Author

No not required, mostly because the existing table display matches the new one.

The path forward here isn't entirely clear to me.

The visuals are improved (quite significantly) by combining certain fields in Table layout, and a 'Summary' field is one way to go about it. However, such a field makes much less sense in Grid + List layouts. It also enables users to display the summary and all of its constituent fields in a single table, so it's a bit of a flaky solution.

The original suggestion was to literally combine certain fields in a single table cell as required, rather than adding the 'Summary'. I don't recall the exact reason, but @youknowriad wasn't a fan.

@youknowriad
Copy link
Contributor

Combining fields is fine but it's more complex. These UIs (dataviews) are generated, so combining fields mean we need to define precisely how fields can be combined, what UI to offer the user to combine fields... Is it something to allow for multiple layouts or specific to table... I think the complexity is not worth it for now at least.

@colorful-tones
Copy link
Member

Based on the recent Editor Triage async session - I'm moving this into the Punted to 6.6 column on the WordPress 6.5 Editor Tasks board.

@colorful-tones
Copy link
Member

Hi folks,
We are only one week away from the Beta 1 cut-off date for WordPress 6.6. This issue hasn’t seen any movement in a while, so we (the editor triage leads of the 6.6 release) have decided to remove it from the WordPress 6.6 Editor Tasks project board.

@jameskoster jameskoster changed the title Templates & Pages data views: Add a Summary field Data views table layout: Enable fields to be visually combined with title May 23, 2024
@jameskoster jameskoster removed the Needs Design Needs design efforts. label May 23, 2024
@jameskoster jameskoster moved this to Needs Dev in Design priorities May 23, 2024
@youknowriad
Copy link
Contributor

I'm exploring this idea. I'm starting with a small refactor that will unblock this. #63148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants