Repository navigation
Admin safety tools: review a member's messages, report a message or photo, warn contacts on suspend - #20
Merged
Conversation
…or redact in place, fewer false contact flags, photo lightbox, member profile view
- Contact check no longer reads ordinary English ("a giver at heart. more later"), year
ranges, measurements or "mixed signal" as contact info; spelled emails need a mail
provider or a spelled "dot", bare domains are lower-case only, handles need a separator
or a handle-like name, phone numbers must look like phone numbers.
- Profile items show the member's whole About me, with each match highlighted and named.
- New decisions: redact (remove only the contact details) and edit (save corrected text).
- Re-check button marks waiting import flags fine when today's check finds nothing.
- Click a photo in the queue to see it larger.
- Members tab: click a member for their full profile plus every photo with its status.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015x8UvSnJ9qFe7pZLH6BupP
…to, safety notice on suspend, policy text Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015x8UvSnJ9qFe7pZLH6BupP
…file answer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015x8UvSnJ9qFe7pZLH6BupP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Jeff Oakes · project thread
Why
Jeff wants to see everything about a suspicious member in one place, read what they've been sending, let members report a single message or photo, and warn the people a removed member was talking to.
What changes
Admin member preview (Members tab, or "See profile" from any queue item)
member.messages.list,member.messages.view: who, when, which member, which conversation). Only admins with access to that site can open it, through the existingadminSitecheck.Safety notice email (
packages/core/src/safety-notice.ts,AcsNotifier.sendSafetyNotice)member.safetyNoticeAt), from the site's own sender, regardless of email preferences.Member reporting
messageId. Only the recipient can report a message.photoId.Privacy Policy and Terms
addPolicyNoticesadds the paragraph once to the existing prod pages on the nextmigrate. It only appends, and it never adds the paragraph again if an admin edits or removes it.API:
GET /admin/sites/:site/members/:id/conversations[/:other],PATCH …/members/:idtakesreasonandnotifyContactsand returns{ notified, noEmail },POST /v1/members/:id/reporttakesmessageIdorphotoId, and moderation adds theremove_photodecision. No schema or infra changes.Not included
Admins can only suspend here. There is no admin "delete member" yet, so the notice goes out on suspension.
Testing
npm test: 70 pass. New tests cover message and photo reports, remove photo, report summary, read-only review with audit entries, the notice sent once with neutral and discreet wording, the policy paragraph added once, and that admins see every answer.npm run typecheck: clean.Deploy
No workflow or infra changes. Deploying runs
migrate, which appends the policy paragraph to each site's Privacy and Terms pages.Generated by Claude Code