-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(structure): History UI updates #7462
Merged
Merged
+1,343
−362
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
No changes to documentation |
Component Testing Report Updated Nov 19, 2024 5:55 PM (UTC) ❌ Failed Tests (1) -- expand for details
|
pedrobonamin
force-pushed
the
history-updates
branch
from
October 1, 2024 06:59
4b07286
to
39792f5
Compare
pedrobonamin
force-pushed
the
history-updates
branch
from
October 1, 2024 07:12
39792f5
to
17e81d0
Compare
pedrobonamin
force-pushed
the
history-updates
branch
from
November 6, 2024 09:59
17e81d0
to
264022e
Compare
* feat(sanity): update restore button * chore(sanity): update translations * feat(sanity): add left side information on footer (revision status line)
…el (#7435) * feat(structure): add history and review tabs to changes inspector panel * fix(structure): move changes inspector navigation to paneRouter * fix(structure): update isReviewChangesOpen check in ChangeConnectorRoot * fix(structure): rename uses of version to revision * chore(core): rename review changes action to history
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
* feat(structure): add squashed chunks to timeline * feat(structure): refactor expandable item, all items need to be rendered in the same virtual list * feat(structure): expand elements on menu click * chore(structure): clean timeline item
…ed during render
pedrobonamin
force-pushed
the
history-updates
branch
from
November 19, 2024 17:45
d983b67
to
fa27a83
Compare
juice49
pushed a commit
that referenced
this pull request
Nov 22, 2024
Merge draft changes into the publish action. Moves revision into the history panel Co-authored-by: RitaDias <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces UI changes into the
history
andrevision
panel.What does "chunks are squashed together on publish" means?
Once the draft changes are published all the draft edits done before that publish will be squashed and shown as 1 change, that could be expanded, showing also the collaborators for that published.
This means:
If we have the following mutations:
[draftEdit, publish, draftEdit, draftEdit, create]
it will be shown as
[draftEdit, publish (expandable), create]
On expand, it will show the two collapsed draftEdit actions
The changes are not removed from the history, they are only visually squashed for easier navigation in the UI.
This is achieved by creating a relation between parents publish action and children draftEdit actions, in the addChunksMetadata function.
Collapsable.history.items.mov
What to review
Are the changes correct? Is something missing?
Testing
Notes for release
Updates to history inspector UI, edits are now collapsed into the Published Event. From and To revision selectors are added into the inspector.