This commit introduces several new components and functionalities to enhance user management and chat moderation within our application. Specifically, it adds features to delete users, change user permissions, delete chats, and flag chats, all through interactions with the respective backend API endpoints. It is being changed because we can now have Admin access to moderate and see the results of others. We were unable to get a download all chats button and unable to route to the admin page from the login screen.
## [28](https://github.com/mustafa-tariqk/mindscape/issues/28)
Resolves:
It relates to login and navigation from page to page in the application
Relates to:
It relates to login and navigation from page to page in the application
## Author checklist
If any of these points have yet to be satisfied, make sure that you set the title to the format DRAFT #issue-num Title
- [x] The title is short and descriptive of the PR. Must start with the Github Issue Number (format: #issue-num Title).
- [x] The description follows proper cl description practices and mentions related Github Issues (make sure this is the first thing you mention).
- [x] Branch has merged in the **latest version of main**
- [ ] **Linting** has occured, as per the project linting config
- [ ] All changed functions have proper **docstring/wiki updates (front-end team)** to describe what they do and how to use them.
- [x] Add yourself as the assignee.
- [x] Add reviewer a reviewer and let them know on discord.
- [x] Ensure that all relevant ticket has been linked to the PR
## Reviewer checklist
- [x] Relevant issue is mentioned in description
- [x] Code solves the issue
- [x] Code follows the specification
- [x] Code is the best solution for the issue
- [x] Branch is **ahead of main**
- [x] Ensures the fix/feature works locally (`docker compose up --build`)
What does this PR do?
This commit introduces several new components and functionalities to enhance user management and chat moderation within our application. Specifically, it adds features to delete users, change user permissions, delete chats, and flag chats, all through interactions with the respective backend API endpoints. It is being changed because we can now have Admin access to moderate and see the results of others. We were unable to get a download all chats button and unable to route to the admin page from the login screen. ## [28](https://github.com/mustafa-tariqk/mindscape/issues/28)Resolves:
It relates to login and navigation from page to page in the application Relates to: It relates to login and navigation from page to page in the application ## Author checklist If any of these points have yet to be satisfied, make sure that you set the title to the format DRAFT #issue-num Title - [x] The title is short and descriptive of the PR. Must start with the Github Issue Number (format: #issue-num Title). - [x] The description follows proper cl description practices and mentions related Github Issues (make sure this is the first thing you mention). - [x] Branch has merged in the **latest version of main** - [ ] **Linting** has occured, as per the project linting config - [ ] All changed functions have proper **docstring/wiki updates (front-end team)** to describe what they do and how to use them. - [x] Add yourself as the assignee. - [x] Add reviewer a reviewer and let them know on discord. - [x] Ensure that all relevant ticket has been linked to the PR ## Reviewer checklist - [x] Relevant issue is mentioned in description - [x] Code solves the issue - [x] Code follows the specification - [x] Code is the best solution for the issue - [x] Branch is **ahead of main** - [x] Ensures the fix/feature works locally (`docker compose up --build`)