[PP1] Switch Node revision UI to generic UI

Created on 20 June 2020, over 4 years ago
Updated 26 July 2024, 5 months ago

Problem/Motivation

From โœจ Implement a generic revision UI Fixed , mentioned in summary/96/103/108/109/110.

To reduce duplicate code and maintenance burden, we should aim to rework Node's revision UI so it extends generic entity UI implemented in โœจ Implement a generic revision UI Fixed

A generic revision UI is being implemented in โœจ Implement a generic revision UI Fixed , this issue exists to deprecate/remove Node's revision UI in favor of the generic solution.

Proposed resolution

Remaining tasks

Postponed on ๐Ÿ“Œ [PP-1] NodeRouteProvider should extend DefaultHtmlRouteProvider Needs work

  • Replace Node' revision UI code, extending generic revision UI.
  • Can we remove Node test coverage which already exists for generic revision UI?
  • Specific enhancements between generic UI and existing Node UI need to be identified, and add tests for this functionality.
  • Decide whether to keep yellow highlight, see #23 and linked comments
  • Move use admin theme out of node and into system. migrate config/schema. update _admin_route setoption in \Drupal\Core\Entity\Routing\RevisionHtmlRouteProvider::getVersionHistoryRoute to use the config value.

User interface changes

Issue aims to replicate existing interface.

API changes

Class names should be maintained, but extend generic classes.
Format of node render arrays and forms will change.

Data model changes

None?

Release notes snippet

-

๐Ÿ“Œ Task
Status

Postponed

Version

11.0 ๐Ÿ”ฅ

Component
Node systemย  โ†’

Last updated 4 days ago

No maintainer
Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia dpi Perth, Australia

Live updates comments and jobs are added and updated live.
  • Needs screenshots

    The change alters the user interface, so before and after screenshots should be added to document the UI change. Make sure to capture the relevant region only. Use a tool such as Aviary on Windows or Skitch on Mac OS X.

Missing content requested by

๐Ÿ‡ฆ๐Ÿ‡บAustralia dpi
about 1 year ago
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024