Skip to content

[feat] : Add dashboard slash command feature#14

Draft
not-meet wants to merge 1 commit into
RocketChat:mainfrom
not-meet:feat/dashboard-slash-command
Draft

[feat] : Add dashboard slash command feature#14
not-meet wants to merge 1 commit into
RocketChat:mainfrom
not-meet:feat/dashboard-slash-command

Conversation

@not-meet

@not-meet not-meet commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

summary

Adds a UI dashboard modal to the Spam Monitor app that allows admins to view all flagged users in one place. Previously, admins could only see flagged users via the /spammonitor list slash command which returned a plain text list. This PR introduces a proper interactive modal dashboard accessible via a room action button or slash command.


Changes Made

  • implemented dashboard command thus the admin now can see the list of the flagged users in a proper UI modal
  • removed /list command since the only scope of that was to let admin see flagged users in list format till a proper dashboard is not introduced
  • added search bar at the top filters the list by username
  • Each user entry shows: username, spam level label, total flags, and active cooldown (if any)

Closes #13

DEMO

Screencast.from.2026-06-07.04-02-19.webm

Note -

I added format date function in this pr since without it the list of flagged users wont have proper formatted time, I am well aware the same function is introduced by me in the prev PR , once that gets merged ill update the pr with the merged format date function and languages

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.

[feat] : Add /dashboard command

1 participant