Skip to content

Add/Edit/Delete users in admin dashboard #339

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

Open
martinovicdev opened this issue Dec 5, 2024 · 7 comments
Open

Add/Edit/Delete users in admin dashboard #339

martinovicdev opened this issue Dec 5, 2024 · 7 comments
Assignees
Labels
admin dashboard enhancement New feature or request

Comments

@martinovicdev
Copy link
Collaborator

It would be nice if we could add functionalities to the template to add/edit and delete users from the admin dashboard (https://opensaas.sh/admin/users)

Editing page:

  • disabled, but visible fields: createdAt, lastActiveTimestamp, subscriptionStatus, subscriptionPlan, sendNewsLetter, stripeId
  • editable: e-mail, username, isAdmin, credits

The only library I would add is react-hook-form, to make form handling a bit easier. Not sure if there is solution for dialog already, but Radix's unstlyed one could be useful: https://www.radix-ui.com/primitives/docs/components/dialog

I'd like to be assigned to this if this gets accepted.

@vincanger
Copy link
Collaborator

vincanger commented Dec 10, 2024

All looks good to me. Thanks, Boris!

Edit: BTW @martinovicdev we are already using the Dialog component from headlessui in the NavBar.tsx component, so maybe you can use that one, or if you think radix is better, then refactor the navbar to use it

@martinovicdev
Copy link
Collaborator Author

I'll go with headlessui, no need to use different one.

@godhruvin
Copy link

hey , i want to contribute to your issue . I think i can do it .

@vivex
Copy link

vivex commented Feb 9, 2025

Hi @martinovicdev is this still in progress,
i can take a stab at it if you havent started.
Thanks

@martinovicdev
Copy link
Collaborator Author

Hey @vivex, thank you for your offer, but I'll complete it soon.

@Bond-OO7
Copy link

@martinovicdev any updates on this ?

@martinovicdev
Copy link
Collaborator Author

Sorry for late answer, feel free to take over this issue, as I am unable to work on it at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin dashboard enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants