Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Moderator Tools and Dashboard Improvments #9

Open
6 tasks
kyrea opened this issue Nov 21, 2024 · 5 comments · May be fixed by #13
Open
6 tasks

Create Moderator Tools and Dashboard Improvments #9

kyrea opened this issue Nov 21, 2024 · 5 comments · May be fixed by #13
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kyrea
Copy link
Member

kyrea commented Nov 21, 2024

🌟 GitHub Issue: Enhanced Dashboard, Profile, and Role-Based Features

🚀 Overview

This issue details planned upgrades to improve the user interface, add role-based functionalities, and enhance moderator tools, ensuring a seamless experience for all user roles.


Planned Features

🎨 1. Dashboard Improvements

  • Redesign the dashboard UI for a modern, clean, and responsive look.
  • Add quick stats and personalized greetings for users.

👤 2. Profile Page

  • A centralized page where users can:
    • View their email, username, profile picture, and API token.
    • Copy their API token with a single click.
    • Edit Profile Details: Option to update profile picture and username (if supported by OAuth).

🧭 3. Role-Based Navigation Menu

  • General Users:
    • Access a simplified navigation menu.
    • Includes links to:
      • Profile page
      • Documentation 📚
      • Support or Help Center 💬
  • Moderators:
    • Navigation includes a Moderator Tools section (visible only if the user has the Moderator role in Discord).
    • Additional options for moderators to manage users and data.
  • Database Moderators:
    • Exclusive access to Database Management Tools.

🛠️ Moderator Tools

👥 User Management

  • Search for users by:
    • Discord ID 🔍
    • Email 📧
  • Actions available after locating a user:
    • 🔑 Reset API Token: Forcefully regenerate the user’s API token.
    • ⚙️ Actions Menu:
      • Ban
      • Unban
      • Mute 🔇
      • Add Quota
      • Set Rate Limit 🚦

🗃️ Database Management

🔄 Query and Edit Existing Data

  • For Database Moderators, a special page to:
    • Select an endpoint from a dropdown.
    • Query data using an ID.
    • Edit the retrieved data with a real-time form.

Add New Data

  • Add new entries to the database with:
    • Auto-generated _id.
    • Moderator-specified fields for all other details.

🎯 Extra Features to Consider

🔒 Enhanced Security

  • Better security.

📊 Activity Logs

  • Track and display user activity for moderators:
    • Recent actions (e.g., token resets, bans, unbans).
    • Logs for database edits and additions.

🎨 Theme Customization

  • Light 🌞 and Dark 🌙 modes for better accessibility.

Acceptance Criteria

  • Redesigned dashboard with enhanced visuals and interactivity.
  • Profile page with editable user details and API token management.
  • Dynamic navigation menu tailored to user roles.
  • Fully functional Moderator Tools with user management options.
  • Database moderators can query, edit, and add data seamlessly.
  • Activity logs and additional security measures implemented.

💡 Suggestions or Feedback?

Feel free to share your ideas or improvements in the comments below! Let’s make this awesome together! 😄

@kyrea kyrea added this to Waifu.it Nov 21, 2024
@kyrea kyrea moved this to Todo in Waifu.it Nov 21, 2024
@kyrea kyrea added enhancement New feature or request help wanted Extra attention is needed labels Nov 21, 2024
@kyrea kyrea self-assigned this Nov 21, 2024
@kyrea
Copy link
Member Author

kyrea commented Nov 21, 2024

Assigning @emirsassan

@emirsassan
Copy link

hello

@cringe-neko-girl
Copy link

hi

@cringe-neko-girl
Copy link

I wanna complete

  • Fully functional Moderator Tools with user management options.
  • Database moderators can query, edit, and add data seamlessly.

Where can i find the file so i can update it.

@kyrea kyrea linked a pull request Feb 15, 2025 that will close this issue
32 tasks
@kyrea kyrea moved this from Todo to In Progress in Waifu.it Feb 15, 2025
@kyrea
Copy link
Member Author

kyrea commented Feb 15, 2025

#13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants