fix(threads): confirm before leaving a private thread (#3299)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-08 17:44:00 +02:00
1 parent 170e12595b
commit 269d33cab2
37 files changed
+2315 -1940

No files matched your search

@@ -58,6 +58,14 @@ export const LEAVE_THREAD_DESCRIPTOR = msg({
message: 'Leave thread',
comment: 'Action that removes the current user from a thread.',
});
export const LEAVE_PRIVATE_THREAD_TITLE_DESCRIPTOR = msg({
message: 'Leave private thread',
comment: 'Title of the confirmation dialog shown before leaving a private thread.',
});
export const LEAVE_PRIVATE_THREAD_CONFIRM_DESCRIPTOR = msg({
message: "Leave {threadName}? It's private, so you can only come back if someone adds you again.",
comment: 'Confirmation text before leaving a private thread. threadName is the thread name.',
});
export const REMOVE_FROM_THREAD_DESCRIPTOR = msg({
message: 'Remove from thread',
comment: 'Moderation action that removes the selected member from a thread.',