- π³πΏNew Zealand john pitcairn
The tab should be "Latest revision" by default.
I have users really struggling to understand Drupal revisions, especially with content moderation in the mix. The problem is "current revision" does not necessarily mean "published". It could be:
- The latest revision of an entity that has never been published. This is also the default revision.
- The published revision, with no forward drafts. This is also the default revision.
- The published revision, with some forward drafts on top of it. The latest draft is the default revision.
- A previously-published revision, with no forward drafts. This is also the default revision.
- The latest
forward draft
of a previously-published revision. This is also the default revision. Current no longer corresponds to a revision that is or was published - WTF?
Given the above, I don't think "current revision" is a useful term in a list of revisions. It's only relevant internally. Editors want to be able to easily identify:
- The published revision.
- If there is no published revision, the last-published revision.
- The editable revision.
- Whether the entity as a whole is published (there may be a long list of forward drafts).
Then the revision action labels and confirmation form text needs to be different, depending on what the actual outcome will be:
- Will the revision become published?
- Will the revision become the new editable revision?
- Are there any forward drafts that will become orphaned?
We have workflow state transitions and state transition labels. Can we make use of those?