Skip to content

Lock System for Word Edits#765

Open
nole2701 wants to merge 4 commits into
mainfrom
editing-lock
Open

Lock System for Word Edits#765
nole2701 wants to merge 4 commits into
mainfrom
editing-lock

Conversation

@nole2701
Copy link
Copy Markdown
Collaborator

Implemented a lock for word editing.

  • When multiple people are editing the same word, they risk overwriting each others changes. The lock will prevent a second user from entering the edit panel for a word if someone is already editing it - throwing an alert instead.

  • The lock is released when the editing user cancels, saves, navigates to another page, or closes the tab/browser.

  • In the case of forceful closure (PC crash, browser crash, power outage, wifi cut etc.), there is a timeout set to 5 minutes where the lock will automatically be released at that time.

  • Idle users will also be subject to the timeout.

  • There is not yet implementation of real-time updates for notifying denied users when a word lock has been released, or a heartbeat system to refresh the lock if the user is actively editing and requires more than 5 minutes of access.

More information on the google doc: https://docs.google.com/document/d/1ypAKyL9mZb-B2yNpTJV6D8EwL7RBzx5ihTc_o3ftuyU/edit?tab=t.0#heading=h.3n1qmosfu6h7

@netlify
Copy link
Copy Markdown

netlify Bot commented May 11, 2026

Deploy Preview for dailp ready!

Name Link
🔨 Latest commit c108190
🔍 Latest deploy log https://app.netlify.com/projects/dailp/deploys/6a01c7fdba84080008514d7d
😎 Deploy Preview https://deploy-preview-765--dailp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant