- Issue created by @lauriii
- Status changed to Needs review
about 1 year ago 9:42am 17 October 2023 - last update
about 1 year ago Custom Commands Failed - ๐ซ๐ทFrance vbouchet
Removing the "Add view mode" local action seems not a valid option to me as in case an entity type does not have yet a display mode configured, it would become impossible to add a display mode for this entity type as not listed here.
As only removing the buttons specific is an option, please find a patch to do so.
I will search (and open a new issue if it does not exist yet) for the Form Modes UI which follows the exact same pattern.
- last update
about 1 year ago 30,412 pass, 1 fail The last submitted patch, 3: drupal-remove-add-view-mode-specific-link-3365095-3.patch, failed testing. View results โ
12:15 7:30 Running- ๐ซ๐ทFrance vbouchet
I forgot to update the functional test to remove the test using the "Add new %entity_type view mode" specific button. The test is already taking care of the generic "Add view mode" flow so no need to change anything on that front.
- Status changed to RTBC
about 1 year ago 4:51pm 17 October 2023 - ๐บ๐ธUnited States smustgrave
Think I agree with removing the sub buttons. Is an extra click to select the entity to add a view mode for but think that's acceptable. Applied patch #5 and verified buttons are gone.
14:01 22:05 Running- last update
about 1 year ago 30,426 pass - last update
about 1 year ago 30,427 pass - last update
about 1 year ago 30,436 pass, 1 fail The last submitted patch, 5: drupal-remove-add-view-mode-specific-link-3365095-5.patch, failed testing. View results โ
- last update
about 1 year ago 30,438 pass - ๐ซ๐ทFrance vbouchet
Mark as "Reviewed & tested by the community" as the test is now passing again.
- last update
about 1 year ago 30,456 pass - last update
about 1 year ago 30,472 pass - Status changed to Postponed
about 1 year ago 12:13pm 30 October 2023 - ๐ฉ๐ชGermany rkoller Nรผrnberg, Germany
lauriii โ credited rkoller โ .
- ๐ซ๐ฎFinland lauriii Finland
Marking this as postponed on ๐ Allow user to add display modes from respective field UI's. Needs work as discussed in ๐ Rethink the add view/form mode buttons on the view/form modes pages Closed: outdated . Crediting @rkoller from the other issue.