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

Admin panel + new PaginatedTable component + some fixes #474

Merged
merged 21 commits into from
Dec 11, 2024

Conversation

thomhickey
Copy link
Contributor

  • Admins can now add/edit users and set their roles
  • Fix to Toast.tsx so that you can clear it with X button
  • Backend error msg flows into the Toast correctly now
  • PaginatedTable is generic can be used for all user types + supports pagination

@francisli francisli linked an issue Dec 11, 2024 that may be closed by this pull request
@francisli francisli merged commit d2bf20b into main Dec 11, 2024
4 checks passed
@francisli francisli deleted the feat/admin-panel branch December 11, 2024 02:33
francisli added a commit that referenced this pull request Dec 11, 2024
…#474)

* basic user table working with sort and search and pagination all handled back-end

* feat: adding users

* fix: types

* feat: edit users

* feat: edit user, role dropdown

* fix: styling + search query counts/pagination

* fix: styling

* fix: role init + sharing types backend/frontend

* fix: lint

* feat: better error handling ux + toas fixes

* fix: table2 refactor + breadcrumb + linting

* fix: prettier

* fix: prettier

* fix: types

* fix: some cleanup + user can't edit their own role

* fix: rename new table

* fix: code cleanup + case handling of roles cleaned up

* fix: unused import

* Fix lint errors

---------

Co-authored-by: Francis Li <francisli@users.noreply.github.com>
Co-authored-by: Francis Li <mail@francisli.com>
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.

Create a superuser/admin with an UI to manage both CM and Para
2 participants