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

Create admin dashboard page for EuPlătesc accounts #35

Open
GabrielMajeri opened this issue Feb 10, 2024 · 0 comments
Open

Create admin dashboard page for EuPlătesc accounts #35

GabrielMajeri opened this issue Feb 10, 2024 · 0 comments
Assignees
Labels
admin-interface Issues related to the admin interface front-end Issue relating to UI/UX

Comments

@GabrielMajeri
Copy link
Member

GabrielMajeri commented Feb 10, 2024

We need a zone in the admin interface to manage the EuPlătesc accounts associated with the app. The index page could have the route /admin/euplatesc-accounts. It will allow admins to view, create, update and delete EuPlătesc accounts.

The page should use something like TanStack Query to fetch and cache data (preferably in a paginated manner) and TanStack Table to display it in a tabular/list format.

The data table could have the following columns:

  • ID
  • Account name (a human-readable name we assign to it)
  • Merchant ID
  • Actions (view/edit/delete)

The description and secret key associated with the account will only be visible on a separate page, after the admin clicks on the "view" button for the respective account. The secret key should be displayed in a password input, and shown in plain text only after the user clicks on a button.

When editing the account, it should be possible to change its name, description, merchant ID or secret key.

Deleting an EuPlătesc account should produce an error if it is still associated to the global didactic_career_premium_euplatesc_account_id setting or to a faculty / student dorm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin-interface Issues related to the admin interface front-end Issue relating to UI/UX
Projects
None yet
Development

No branches or pull requests

2 participants