Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299620

Switch Node revision UI to generic UI

$
0
0

Problem/Motivation

From #2350939: Implement a generic revision UI, 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 #2350939: Implement a generic revision UI

A generic revision UI is being implemented in #2350939: Implement a generic revision UI, this issue exists to deprecate/remove Node's revision UI in favor of the generic solution.

Proposed resolution

Remaining tasks

  • 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

-


Viewing all articles
Browse latest Browse all 299620

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>