Skip to content

feat(moderation): member report flow with optional decrypted-chat evidence (web) - #13

Merged
pushpsood merged 10 commits into
mainfrom
feat/report-flow-web
Oct 26, 2026
Merged

pushpsood merged 10 commits into
mainfrom
feat/report-flow-web

Conversation

@pushpsood

Copy link
Copy Markdown
Owner

Summary

The web version of the member report flow, matching the apps (OneHookAdminPortal docs/MODERATION.md §1, §2 and §9).

  • Same flow as the apps: Report and Block menu entries, categories, the not-reportable redirect, self-harm resources (tel:14416), the never-pre-ticked evidence checkbox with preview, and the shield nudge (static under prefers-reduced-motion).
  • Evidence: pages the full 30-day window from the chat resolver and excludes framed payloads; SubtleCrypto SHA-256 → presign → PUT → complete. 409 counts as attached, terminal codes hide Retry, and evidence failure never fails the report.
  • Telemetry 1.7.0: submit signals fire only after the report is created.

Testing

  • Lint and typecheck, npm test (53 files) and build all pass; the pre-push telemetry hook passes.
  • Review: review and re-review PASS.
  • Web deploy is manual (no frontend pipeline); deploy after the portal evidence feature is approved in its pipeline.
  • GitHub Actions is not running jobs (billing).

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