Make it easier to tell which revision you are viewing

Created on 30 June 2023, almost 2 years ago

Problem/Motivation

Currently, in order to figure out which revision you might want to revert to, one has to do it from the list of revisions, for example, /node/1/revisions, then click around to the different revisions defined the one you want. You have to click into each revision from the list and see whether it has the content you want to revert to. The list contains additional information which is not visible when viewing the revision itself. This creates a cognitive load from having to remember which version you are currently looking at. It would be better if the information about a particular revision which is viewable in the revision list were also viewable on the revision itself.

Steps to reproduce

On a website which automatically creates a new revision for each new draft of a page, while logged in as a user who has permission to revert:

  1. Click Content, then Add Content, then Basic Page.
  2. In the title field, type "Test reversion feature"
  3. In the body field, type "This is the first revision."
  4. Leave Published checked.
  5. Click Save.
  6. Click Edit.
  7. Change "first" to "second".
  8. Click Save.
  9. Click Edit.
  10. Change "second" to "third".
  11. Click Save.
  12. Click Edit.
  13. Change "third" to "fourth".
  14. Click Save.
  15. Click Revisions.
  16. Click the third revision in the list (the second revision from the bottom).

Desired result: There is an informational message on the page giving the date, time, and editor of the revision being viewed. There might also be a sequence number, such as "Revision 2 of 4".

Actual result: There is no information about the revision. I have to suss out whether it is the correct revision solely from looking at the contents or I have to remember the contents of the list, a cognitive load.

Proposed resolution

Add an informational message to /node/[node number]/revisions/[revision number]/view giving the date, time, and editor of the revision being viewed. There might also be a sequence number, such as "Revision 2 of 4".

Remaining tasks

User interface changes

Add an informational message to /node/[node number]/revisions/[revision number]/view giving the date, time, and editor of the revision being viewed. There might also be a sequence number, such as "Revision 2 of 4".

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
Content moderationΒ  β†’

Last updated 4 days ago

  • Maintained by
  • πŸ‡¦πŸ‡ΊAustralia @Sam152
Created by

πŸ‡ΊπŸ‡ΈUnited States charles belov San Francisco, CA, US

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

Comments & Activities

Production build 0.71.5 2024