Skip to content

feat: markdown, reply support, moderation tools, and settings UI notifications & unread badges (comments)#416

Open
Shebyyy wants to merge 13 commits intoRyanYuuki:mainfrom
Shebyyy:com
Open

feat: markdown, reply support, moderation tools, and settings UI notifications & unread badges (comments)#416
Shebyyy wants to merge 13 commits intoRyanYuuki:mainfrom
Shebyyy:com

Conversation

@Shebyyy
Copy link
Copy Markdown
Collaborator

@Shebyyy Shebyyy commented Apr 24, 2026

Summary

Integrates the commentum-v2 comment backend into AnymeX, replacing the basic comment UI with a fully functional comment system featuring moderation tools, user management, reply threading, role-based access control, and Discord-style markdown rendering.

Features

  • Full comment with nested reply threading
  • Mod panel: reports queue, user search/list, warn/mute/ban/unban/promote/demote
  • View any user's comment history (available to all users)
  • Discord markdown in comments (bold, italic, code, spoiler, blockquote, mentions, URLs, images)
  • Markdown usage guide visible to all users in settings
  • Role-based access: user / moderator / admin / super_admin / owner
  • Pinned comments (always sorted to top)
  • Locked threads (replies blocked)
  • Voting on comments and replies

Adds a complete comment notification system for replies, reports, and moderation actions.

Push Notifications

  • Receive notifications for comment replies, reports, and moderation updates
  • Works when the app is open, in the background, or completely closed
  • Custom branded notification icon - fixes the default white square on Android

Notification Screen

  • Full notification history with pagination
  • Filter by notification type
  • Toggle unread-only view
  • Mark individual or all as read

Unread Badges

  • Live unread count on the bell icon and profile avatar
  • Updates instantly when notifications are read

Deeplink Navigation

  • Tapping a notification takes you directly to the relevant media page

- Discord-style markdown (bold, italic, strikethrough, code, blockquotes)
- Spoiler support (||text||)
- @mentions highlighting
- Auto-link URLs
- Image/GIF previews with expand
- Formatting toolbar in composer
- Nested reply support with depth indicators
- Pinned comment highlight
- Thread lock/unlock for moderators
- Moderation queue for reports
- User management (promote/demote roles)
- Ban/unban toggle with contextual actions
- Comment settings page in Settings
@Shebyyy Shebyyy marked this pull request as ready for review April 24, 2026 10:05
Shebyyy added 2 commits May 5, 2026 10:15
* feat: comment notification

* fix: register FCM for all services

* feat: add @mention autocomplete and notification markdown rendering

- Add MentionAutocomplete widget triggered by @ in composer
- Render markdown in notification screen using DiscordMarkdown
- Add search_users_public API call to commentum service

* Fix formatting and add MentionAutocomplete component

* Remove unused methods from commentum_service.dart
@Shebyyy Shebyyy changed the title feat: markdown, reply support, moderation tools, and settings UI (comments) feat: markdown, reply support, moderation tools, and settings UI notifications & unread badges (comments) May 5, 2026
Shebyyy added 2 commits May 6, 2026 10:15
Refactor notification handling to improve background and foreground message processing. Update channel name and importance retrieval methods for better service integration.
Handle navigation retries in notifications.
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