feat: warn admin when creating public channel with guest mode enabled

Show a warning overlay when admin creates a public channel and guest
mode is on, offering three actions: disable guest mode, switch to
private channel, or dismiss permanently (stored in localStorage).

chore: bump version to 0.9.93
This commit is contained in:
haorwen
2026-06-26 23:51:29 +08:00
parent c0e7ab34cb
commit 6ebce14a18
4 changed files with 103 additions and 8 deletions
+9 -1
View File
@@ -76,5 +76,13 @@
"remark": "Add friend nickname",
"remark_clear": "Reset friend nickname",
"remark_intro": "Find a friend faster with a personal nickname. It will only be visible to you in your direct messages.",
"remark_placeholder": "Set Nickname"
"remark_placeholder": "Set Nickname",
"guest_mode_warning": {
"title": "Guest Mode is Enabled",
"desc": "Unauthenticated visitors can see messages in public channels. You may disable guest mode or switch to a private channel instead.",
"disable_guest": "Disable Guest Mode",
"switch_private": "Switch to Private Channel",
"dont_remind": "Don't remind me again"
}
}
+9 -1
View File
@@ -75,5 +75,13 @@
"remark": "备注",
"remark_clear": "重置备注",
"remark_intro": "给联系人备注,方便日后查找,备注仅您可见",
"remark_placeholder": "备注该用户"
"remark_placeholder": "备注该用户",
"guest_mode_warning": {
"title": "访客模式已开启",
"desc": "未登录的访客可以看到公共频道的消息流。您可以前往关闭访客模式,或改为创建私有频道。",
"disable_guest": "关闭访客模式",
"switch_private": "改为私有频道",
"dont_remind": "不再提醒"
}
}