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

3591 Edit Labels - Adding in functionality for users to edit labels in user dashboard #3760

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

aslassi777
Copy link
Collaborator

@aslassi777 aslassi777 commented Dec 4, 2024

Resolves #3591

Added in functionality and UI to be able to edit labels in the database. This includes changing the label tags, changing the severity, and even deleting the label. Users are able to do this from their user dashboard by selecting a label, and admins are also able to do the same on both their user dashboards and admin dashboards. (Preliminary version - UI may need to be changed/improvements).

Only thing left (TODO): add translations, for the modals as well as the tag selection/displaying the tags in the modal as well.

After screenshots (no before screenshots, this is a new feature)
Screenshot 2024-12-03 at 9 07 04 PM Screenshot 2024-12-03 at 9 07 17 PM Screenshot 2024-12-03 at 9 07 32 PM
Things to check before submitting the PR
  • I've written a descriptive PR title.
  • I've added/updated comments for large or confusing blocks of code.
  • I've included before/after screenshots above.
  • [] I've asked for and included translations for any user facing text that was added or modified.
  • I've updated any logging. Clicks, keyboard presses, and other user interactions should be logged. If you're not sure how (or if you need to update the logging), ask Mikey. Then make sure the documentation on this wiki page is up to date for the logs you added/updated.
  • I've tested on mobile (only needed for validation page).

…osing teams and then conditionally displaying teams on leaderboard. Still need to fix two bugs, and still need to fix up In user profile (or dashboard), make it so users can create an organization #3313 and push in latest changes from that branch before I officially make PR for these changes.
…ll commit, making sure all features work (leaderboard visibility, admin team visibility, non-admin team visibility, and the new teams tab), etc.
…hould be fully working now and npm starting it works.
…y handle calls to update the status and visibility of an organization. Also made some edits to the teams table so that the look of the tabels are consistent across the admin page. Double checked, functionality still working. Also changed columns to be called "Status" and "Visibility".
…also on the admin dashboard to be edited or deleted. Now, for every label modal that pops up, there is a choice to either delete or edit the label details that is stored in the database.
@aslassi777 aslassi777 changed the title 3591 edit labels final 3591 Edit Labels - Adding in functionality for users to edit labels in user dashboard Dec 4, 2024
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.

Users should be able to edit their own labels from their dashboard
1 participant