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

Issue 62 user management components admin dashboard #66

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

loklokyx
Copy link
Contributor

@loklokyx loklokyx commented Jan 15, 2025

Change Summary

Added UserManagement components for the Admin Dashboard, including a paginated data table and multiple-insert form for schools, users, and teams. Improved the sidebar with a link to the Django Admin Portal and refactored some export functions. Added JSDoc to UserManagement module files.

Change Form

  • [Y] The pull request title has an issue number
  • [Y] The change works by "Smoke testing" or quick testing
  • [N] The change has tests
  • [Y] The change has documentation

Other Information

Please review the export changes in the UserManagement module and the added Admin Portal link in the sidebar.

Screenshots

Page User School Team
List
Create

Related issue

…eatures

- feat(admin): implement `UserManagement` components for managing schools, users, and teams
- feat(admin): add paginated data table (`data-grid`) and multiple-insert form (`data-table-form`)
- feat(ui): add `SelectRole` and `SelectSchool` components for dropdown functionality
- fix(sidebar): resolve issue with active tab not working correctly
- refactor: change file naming in `/components/ui/` to follow PascalCase convention
- refactor: move pagination props to a separate file for better organization
- feat(sidebar): add "Admin Portal" link to sidebar for navigation to Django Admin Portal
- refactor(admin): update function exports to use named and default exports
- docs(admin): add JSDoc comments to User Management module related files
@loklokyx loklokyx added frontend Task must have a front end issue component labels Jan 15, 2025
@loklokyx loklokyx self-assigned this Jan 15, 2025
@yunho7687
Copy link
Member

hi, could you please attach some screenshots about your work and resolve the conflict? fantastic job btw!

@loklokyx
Copy link
Contributor Author

@yunho7687 Oops, I always forgot to add the screenshots for the components on the page, I have now added to the pull request. I've also resolved the merge conflicts.
Just a heads-up, please hold on merging to main for now—I’m still figuring out how to combine the topbar with the sidebar.

- feat(ui): create `WaitingLoader` component to show loading state during requests
- feat(layout): get layout based on login status and role. Add breadcrumb navigation links
- feat(sidebar): add logo to navigate landing page, add logout button
- fix(sidebar): add missing `SheetTitle` and `SheetDescription` in Sidebar
- feat(api): add `/users/me` mock data API
- style(ui): add no-scrollbar CSS for better layout appearance
@loklokyx
Copy link
Contributor Author

Hi @yunho7687, I’ve now combined the topbar with the sidebar as planned. The layout should be much more cohesive now. I’ve attached updated screenshots in the pull request for you to review. Also, I’ve added the WaitingLoader component. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component frontend Task must have a front end issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User Management Components Admin Dashboard
2 participants