WIP: Try revisions with picker-activity layout#77333
WIP: Try revisions with picker-activity layout#77333ntsekouras wants to merge 1 commit intotrunkfrom
Conversation
|
Size Change: +5 kB (+0.06%) Total Size: 7.75 MB 📦 View Changed
ℹ️ View Unchanged
|
Why do we need a |
What we want is more of a navigational UI where we How do you think the existing DataViews activity layout would be better? I could be wrong with my initial approach. |
|
Thanks, Nik! Nice work with the timeline/activity panel. I know it's not a new problem, but displaying serialized changes (Foonotes example), doesn't seem to provide any benefits. Maybe in this PR we should just focus on display general data (date, author, etc). We can improve summaries in follow-up. There's also a proposal to allow naming revisions: #60394.
I think we need it, at least unit everything is polished. See #77349. |
t-hamano
left a comment
There was a problem hiding this comment.
Thanks for the PR. I might be missing something, but adding a new picker component seems like the best option. Can we add Storybook first so we can refine the design? Alternatively, we could split this PR and focus on adding the ViewPickerActivity component first.

What?
Part of: #77188
This PR explores adding a revisions timeline in inspector controls, when in-editor revisions mode is enabled.
We should have in mind how to bring greater parity to the revision experience in Global Styles and Posts/Pages/Templates.
This PR is a very rough POC to start design discussions and the focus should not be at the code, as while I steered AI a bit, I haven't reviewed or perfected most of it.
Also this PR will not 'touch' the revisions panels at all. This should be explored separately.
How
I think what we're trying to do here based on the discussions is have a navigational UI for the revisions (similar to the GS one) so DataViewsPicker seem like the best fit for it.
I created a new
pickerActivitylayout and tried to match just a bit the styles with GS.Notes
post metathere is a panel that shows the diff, which I copied the existing functionality that is now rendered as a panel (meta).activityandpickerActivitylayouts diverge? Do we want to keep the same styling withdescriptionfield and the other fields? This will also affect how we will show the extra info for each item.49 words, 1 minute read time.restorebutton, but it should be similar to theView itemactions in activity layout.revisionslink in inspector controls? There is a suggestion to make theLast edited 2 days agoa link, if there are revisions. Would that be clear and easily discoverable? Any other suggestions or should I try that one out?Testing Instructions
revisionsin inspector controls5items per page to see the pagination more easily.Video
Screen.Recording.2026-04-14.at.4.53.26.PM.mov
Use of AI Tools
Opus 4.6