Skip to content

feat: content warning overlay and NSFW compose banner#105

Merged
barrydeen merged 1 commit intomainfrom
feat/content-warning-overlay
Mar 1, 2026
Merged

feat: content warning overlay and NSFW compose banner#105
barrydeen merged 1 commit intomainfrom
feat/content-warning-overlay

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Show a tap-to-reveal overlay on posts with a content-warning tag (NIP-36) — displays the CW reason, a warning icon, and "Tap to reveal" label; tapping reveals content with a "Hide" button to re-collapse
  • Add an animated "Marked as NSFW" feedback banner in the compose screen when the NSFW toggle is active

Test plan

  • Toggle the NSFW icon in compose and verify the banner appears/disappears
  • Find or create a post with a content-warning tag and verify the overlay shows
  • Tap the overlay to reveal content, then tap "Hide" to re-collapse
  • Verify normal posts without content-warning tags display unchanged

Show a tap-to-reveal overlay on posts with a content-warning tag
and display a feedback banner in the compose screen when NSFW is toggled.
@barrydeen barrydeen merged commit aede1ec into main Mar 1, 2026
@barrydeen barrydeen deleted the feat/content-warning-overlay branch March 4, 2026 01:28
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