You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8eeeda4
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(moderation): ♻️ tighten warning copy and React Doctor findings
- Plainer UI strings and docs sentences: no spaced dashes, a named actor
instead of passive voice, no pep-talk on an empty warning history.
- Cache the UTC date formatter suspension notifications use, save a
reason's translations in parallel, and split the staff warning card
into WarningFacts and StaffNotes.
- Give the Postgres warnings test the realtime model every request has.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CnAiFc4WPMdVa99L7jsTXY
Copy file name to clipboardExpand all lines: apps/web/content/docs/dev/moderation/warnings.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ A temporary suspension ends at its own end time, even when the member still has
33
33
34
34
## What a suspended member sees
35
35
36
-
The server checks suspensions when it reads the session, for every request: core routes, plugin routes, server functions and WebSocket handshakes. A suspended account is treated as a guest everywhere, so it can browse public pages but cannot post, comment, report, moderate or open the AdminCP. Open WebSocket connections are closed when the suspension is applied.
36
+
The server checks suspensions when it reads the session, for every request: core routes, plugin routes, server functions and WebSocket handshakes. The API treats a suspended account as a guest everywhere, so it can browse public pages but cannot post, comment, report, moderate or open the AdminCP. Applying a suspension also closes the member's open WebSocket connections.
37
37
38
38
The member keeps their session. A strip under the header says the account is suspended and links to **Account status** at `/account-status`, which shows the suspension end time, active points and the warning history with each message. Members reach the same page from **Settings → Account status** at any time. It never shows staff notes or which moderator issued a warning.
0 commit comments