Plan to migrate to core's RevisionHtmlRouteProvider

Created on 9 February 2023, almost 3 years ago

Problem/Motivation

Implement a generic revision UI Fixed gave us a nice generic revision UI with routing, link templates, etc. We should make a plan for how we're going to migrate LibraryItem entities to use it.

The main issues I see are with the revert/delete routes and link templates which are named slightly differently (currently revision_revert instead of revision_revert_form)

https://git.drupalcode.org/project/drupal/-/merge_requests/2910/diffs is an example of converting block_content to use it.

Proposed resolution

We will probably need to roll a new major, that's only compatible with 10.1

We then need to:

  1. Add the revision route provider
  2. Deprecate the old revert and delete revision routes
  3. Deprecate the old revert and delete revision link templates (is this possible?)
  4. ???

Remaining tasks

Solidify approach.

🌱 Plan
Status

Active

Version

1.0

Component

Module: Library

Created by

🇦🇺Australia acbramley

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024