Skip to content
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

Versions #110

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from
Draft

Versions #110

wants to merge 34 commits into from

Conversation

bosschaert
Copy link
Contributor

Description

A UI to work with Versions and Audit log entries.

Related Issue

#108

How Has This Been Tested?

  • A number of wtr/mocha unit tests has been added, I'm planning to add more.

Screenshots (if appropriate):

Open the versions panel with the drawer icon:
Screenshot 2024-04-16 at 15 56 08

See versions and audit entries. Versions are bold and contain stored content. Audit entries are just a log that something was changed. Multiple audit entries within the same day are collapsed into a single item and can be expanded (expandable entries end with ...).
Screenshot 2024-04-16 at 15 59 00

Explicitly create a version by clicking on the 'Storage-+' icon.

When selecting a version that has stored content, that content is overlaid on the document with a different background color. To restore it click the 'Storage-Up' icon.
Screenshot 2024-04-16 at 15 59 09

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.

Copy link

aem-code-sync bot commented Apr 19, 2024

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

  • Re-run PSI checks
  • Re-sync branch
Commits

@bosschaert bosschaert mentioned this pull request Apr 19, 2024
10 tasks
return;
}
// TODO there must be a better way to obtain path
const url = new URL(edit._path);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@auniverseaway do you know a cleaner way to obtain the sourceURL to the currently edited do than this?

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.

None yet

2 participants