MWPW-203849: POC: Add concurrent editing presence banner to Studio fragment editors - #1178
Draft
seanchoi0 wants to merge 1 commit into
Draft
MWPW-203849: POC: Add concurrent editing presence banner to Studio fragment editors#1178seanchoi0 wants to merge 1 commit into
seanchoi0 wants to merge 1 commit into
Conversation
…t editors Shows a warning banner when multiple authors are editing the same fragment simultaneously. Uses a WebSocket connection to a Cloudflare Workers Durable Object that broadcasts presence updates per fragment ID. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
Commits
|
|
SNOW Change Request Transaction ID [STUDIO]: 0000019c1eec85a3-1f56e52a |
|
SNOW Change Request Transaction ID [IO]: 0000019c1eec85a3-1f56e594 |
seanchoi0
marked this pull request as draft
August 25, 2026 14:36
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.
Shows a yellow warning banner when multiple authors are editing the same fragment at the same time. The banner disappears automatically when the other editor closes the fragment.
Resolves https://jira.corp.adobe.com/browse/MWPW-203849
QA Checklist: https://wiki.corp.adobe.com/display/adobedotcom/M@S+Engineering+QA+Use+Cases
Implementation
New
ConcurrentEditController(Lit ReactiveController) instudio/src/reactivity/concurrent-edit-controller.jsmanages WebSocket lifecycle to a Cloudflare Workers Durable Object (wss://mas-presence.mas-presence.workers.dev)Added to both
editor-panel.js(Collections side panel) andmas-fragment-editor.js(Card full-page editor)WebSocket connects per fragment ID on edit open, disconnects on close
Banner shows when 2+ connections are active on the same fragment; hides when count drops to 1
Deduplicates by email to handle same user with multiple tabs
C1. Cover code with Unit Tests
C2. Add a Nala test (double check with #fishbags if nala test is needed)
C3. Verify all Checks are green (unit tests, nala tests)
C4. PR description contains working Test Page link where the feature can be tested
C5: you are ready to do a demo from Test Page in PR (bonus: write a working demo script that you'll use on Thursday, you can eventually put in your PR)
C.6 read your Jira one more time to validate that you've addressed all AC's and nothing is missing
Test URLs: