Skip to content

feat: pin and lock controls for chat threads - #151

Merged
murtaza-u merged 8 commits into
mainfrom
feat/lock-pin-chat-threads
Nov 6, 2026
Merged

murtaza-u merged 8 commits into
mainfrom
feat/lock-pin-chat-threads

Conversation

@murtaza-u

@murtaza-u murtaza-u commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Similar to how we support locking workflows. this PR adds support locking chat threads

Locked threads cannot be deleted unless they are unlocked first. Also, locked threads cannot have new participants.

In addition to locked threads, this also introduces pinned threads. Pinned threads are simply threads that appear on the top.

Pinning a thread pins it for everybody

Lock threads are not pinned for everybody but only for those who are part of it. Lock threads are automatically pinned for everybody part of that conversation.

Murtaza Udaipurwala and others added 7 commits November 5, 2026 18:14
- Add thread pin and lock interactions across chat and sidebar
- Regenerate gateway types and CRDs with updated generator metadata
- Reject archive and snooze transitions for pinned or locked chats
- Exclude protected chats from automatic expiration
- Restrict unlocking locked chats to existing participants
- Clarify messaging guidance for locked threads
- Resolve thread guards from the conversation authorized at admission
@murtaza-u murtaza-u changed the title Add pin and lock controls for chat threads feat: pin and lock controls for chat threads Nov 6, 2026
@murtaza-u murtaza-u self-assigned this Nov 6, 2026
@murtaza-u
murtaza-u merged commit a1b0356 into main Nov 6, 2026
9 checks passed
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