Files
hoppscotch/packages/hoppscotch-sh-admin
Joel Jacob Stephen 5805826994 refactor(sh-admin): improved error handling and dynamic user actions in admin dashboard (#4044)
* feat: new helper functions for better error management

* refactor: new i18n strings

* refactor: better error handling in invite modal and members component

* refactor: better user management

* refactor: better error handling in config handler

* refactor: updated logic of dynamic action row

* refactor: better naming for computed properties

* feat: new error message when an admin tries to invite himself

* refactor: updated error message when user is already invited

* refactor: reverted i18n string for user already invited back to the old string

* refactor: removed show prop from invite modal

* refactor: improved implementation for getting the compiled error messages

* feat: new error message when email inputted is of an invalid format

* refactor: minor optimization

---------

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-06-03 17:17:46 +05:30
..
2023-11-08 15:47:35 +05:30
2023-12-16 12:29:44 +05:30
2024-05-06 22:57:33 +05:30
2023-12-20 18:30:16 +05:30

Hoppscotch Logo

Hoppscotch Self Hosted Admin Dashboard

Support

Chat on Discord Chat on Telegram Discuss on GitHub

Built with

Developing

  1. Update .env.example file found in the root of repository with your own keys and rename it to .env.

Local development environment

  1. Clone this repo with git.
  2. Update .env.example file found in the root of hoppscotch-sh-admin directory with your own keys and rename it to .env.
  3. Install pnpm using npm by running npm install -g pnpm.
  4. Install dependencies by running pnpm install within the hoppscotch-sh-admin directory
  5. It is assumed that the backend is running. Refer the Hoppscotch Backend README to get the backend setup and running.
  6. Start the development server with pnpm run dev.
  7. Open the development site by going to http://localhost:3100 in your browser.