Preview selected view modes more easily

Created on 16 December 2020, about 4 years ago
Updated 22 April 2023, over 1 year ago

Problem/Motivation

I was looking for a way to directly show all the view modes at once. Finally I found it, but it requires editing the url (`/{entity_type}/{$entity_id}/preview/all`), which is not optimal solution for most editors.

Also, when all view modes are shown, also irrelevant ones are. This could be also addressed.

Proposed resolution

* Add a settings form.
* Add an option to preview all
* Add set of options to allow a user to disable any modes.
* Filter those modes, if any, out from the preview.

Remaining tasks


Review and test.

User interface changes

New settings form at `/admin/config/view_modes_display`.

API changes

No BC breaking changes.

Feature request
Status

RTBC

Version

3.0

Component

Code

Created by

🇫🇮Finland jhuhta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024