* feat: new success invite link modal introduced
* refactor: replaced button with lucide icon
* style: vertical padding to lucide icon
* feat: new success invite modal component
* refactor: hide copy link button when there are no pending invites
* refactor: changed copy link button to copy invite link
* chore: minor UI update
---------
Co-authored-by: nivedin <nivedinp@gmail.com>
* 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>
* fix: resolved an issue with server restart component
* refactor: early return if any mutation fails when initiating server restart
* fix: ensure further attempts go through after a failed reset configs action
---------
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
* refactor: abstract axios queries to a separate helper file
* chore: delete unnecessary file
* chore: remove unnecessary console logs
* refactor: updated urls for api and authquery helpers
* refactor: updated auth implementation
* refactor: use default axios instance
* chore: improve code readability
* refactor: separate instances for rest and gql calls
* refactor: removed async await from functions that do not need them
* refactor: removed probable login and probable user from the auth system
* refactor: better error handling in login component
* chore: deleted unnecessary files and restructured some files
* feat: new errors file with typed error message formats
* refactor: removed unwanted usage of async await
* refactor: optimizing the usage and return of promises in auth flow
* refactor: convey boolean return type in a better way
* chore: apply suggestions
* refactor: handle case when mailcatcher is not active
---------
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: James George <jamesgeorge998001@gmail.com>
* fix: dashboard logs out user when cookie expires or is unauthorized
* fix: handles the 401 error thrown when trying to refresh tokens
* chore: updated wrong logic when returning state in refresh token function
* feat: introduced auth exchange to urql client to check for errors on each backend call
* fix: prevent multiple window reloads
---------
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
* feat: introduced new unplugin i18n and removed the old vite i18n package
* refactor: updated vite config to support the new plugin
* refactor: removed irrelevant logic from the i18n module
* feat: add ability to export a single environment
* refactor: export environment without id
* feat: introducing zod for checking json format for environment variables
* refactor: new zod specific type for HoppEnvPair
* feat: add ability to export single environment in team environment
* refactor: moved zod as a dependency to devDependency
* refactor: separated repeating logic to helper file
* refactor: removed unnecessary to string operation
* chore: rearranged smart item placement
* refactor: introduced error type when a bulk environment export is used in cli
* refactor: removed unnecssary type exports and updated logic and variable names across most files
* refactor: better logic for type shapes
* chore: bump hoppscotch-cli package version
---------
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
* fix: sticky search bar in codemirror
* chore: use tailwind classes
* chore: improve consistency across editor instances
---------
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>