feat: detect stale sheet/config and prevent concurrent overwrites#877
Merged
auniverseaway merged 4 commits intomainfrom Apr 28, 2026
Merged
feat: detect stale sheet/config and prevent concurrent overwrites#877auniverseaway merged 4 commits intomainfrom
auniverseaway merged 4 commits intomainfrom
Conversation
* Add StaleCheck class to check for stale configs and sheets
* Checks every 30 seconds for changes.
* If changes, but nothing new locally, automatically updates local
sheet.
* If local and remote changes, present a dialog allowing to refresh or
keep local edits. Keeping local edits will prevent auto saves
and manual blue button saves.
* da-title updates to support the following:
* disabledText property which doubles for disabling actions
* Remove paper plane if only one action available
* Any sheet inside `/.da/` can no longer be previewed or published.
* Lazily check for disablePublish to ensure actions show ASAP.
* Move `isSending` to class property to allow showing send event for
save only actions.
* Created a class-level event for save action
Resolves: #704
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
10 tasks
Co-authored-by: Usman Khalid <usman.khalid@live.ca>
usman-khalid
approved these changes
Apr 21, 2026
This file contains hidden or 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
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.
/.da/can no longer be previewed or published.isSendingto class property to allow showing send event for save only actions.Resolves: #704
How Has This Been Tested?
Sheet
https://stale--da-live--adobe.aem.live/sheet#/aem-sandbox/block-collection/.da/temp-translate
Config
https://stale--da-live--adobe.aem.live/config#/aem-sandbox/block-collection/
Screenshots (if appropriate):
Types of changes