Admin panel: Guests ( Spam) - Waiviogit/waivio GitHub Wiki
"Guests" Tab in Admin Panel. The new "Guests" tab will include functionality to view information about guest users of Waivio.
Users
The first tab under "Guests" is "Users". It displays a list of all guest users, along with a search and mute feature.
- Search Field – Allows the admin to enter a search string and click the Search button. The user list below will be filtered based on the input. The search should work with or without the waivio_ prefix.
- Total number of guest users: {amount}
- User List – Displays all guest users by default, sorted in alphabetical order. Each user is shown in a card format, similar to the user search results in Discover, and includes a Mute button.
Spam
The guest spam system works by checking posts with AI using a degree-based scale to determine whether a post is spam before it is published. This does not apply to whitelisted guest users.
The second tab under "Guests" is "Spam". It will display a list of guest users that were suspected in spam activities. Each entry includes:
- username;
- "Details" button that opens the Spam Details page;
- "Block" button to completely block the user (with an option to unblock them later, if needed).
Block modal window
Block
Text: Block {user} Are you sure you want to block this user? Their mana will be reset to zero with no possibility of recovery, but you can unblock them later if needed.
Unblock
Text: Unblock {user} Are you sure you want to unblock this user? Their mana will be fully restored.
Spam Details Page
After clicking "Details" in the Spam tab, the user will see a list of cases marked as spam, including:
- Date;
- Reason;
- Content with show more button;
- Back button.
User Action if Blocked
If a user has been blocked by an admin, any attempt to perform an action should result in an error from the backend, which needs to be displayed.