Skip to content

refactor: extract version + compare to shared#982

Merged
chrischrischris merged 4 commits into
mainfrom
da-ver
Jun 3, 2026
Merged

refactor: extract version + compare to shared#982
chrischrischris merged 4 commits into
mainfrom
da-ver

Conversation

@sharanyavinod
Copy link
Copy Markdown
Contributor

@sharanyavinod sharanyavinod commented Jun 2, 2026

Description

Extract reusable logic related to version history and document comparison to shared, so it could be reused within other blocks. No change in functionalities.
Note: Capabilities are extracted in such a way that different usages can customize the UX as needed.

Preview: https://da-ver--da-live--adobe.aem.live/

Related Issue

Motivation and Context

We are introducing version history and comparison within Experience Workspace -> this PR ensures we dont rebuild capabilities that already exist and reuse as much as possible

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@aem-code-sync
Copy link
Copy Markdown

aem-code-sync Bot commented Jun 2, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@sharanyavinod sharanyavinod requested a review from hannessolo June 2, 2026 15:44
Copy link
Copy Markdown
Contributor

@mhaack mhaack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is going into a good direction to make it re-useable and decouple cross block dependencies.

@mhaack
Copy link
Copy Markdown
Contributor

mhaack commented Jun 3, 2026

Tested it and to version compare and restored in /edit work like before.

@chrischrischris chrischrischris merged commit 46ef0f5 into main Jun 3, 2026
3 of 4 checks passed
@chrischrischris chrischrischris deleted the da-ver branch June 3, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants