mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4202] [MERGED] feat(sh-admin): introducing infra-tokens to admin dashboard #4699
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4699
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4202
Author: @joeljstephen
Created: 7/21/2024
Status: ✅ Merged
Merged: 7/29/2024
Merged by: @AndrewBastin
Base:
next← Head:feat/dashboard-infra-tokens📝 Commits (10+)
53bd0c7feat: new query and mutations added to introduce infra tokens to dashboard27ccdfdfeat: new components introduced for InfraTokens90be7e1refactor: updated imports and newer i18n strings195e9b8feat: new svg added and better ui for infra tokens related componentscc21e67refactor: improvements to all infra token related componentsc1b96cdrefactor: updated variable names and strings to represent infra tokens instead of access tokens3c279b1refactor: better imports and updated i18n stringse912a00refactor: changes to how skip and take worksb88df29fix: infinite scroll based pagination issue is resolveda2a984frefactor: code improvements📊 Changes
18 files changed (+753 additions, -74 deletions)
View changed files
➕
packages/hoppscotch-sh-admin/assets/images/pack.svg(+39 -0)📝
packages/hoppscotch-sh-admin/locales/en.json(+34 -0)📝
packages/hoppscotch-sh-admin/src/components.d.ts(+58 -54)📝
packages/hoppscotch-sh-admin/src/components/settings/AuthProvider.vue(+3 -6)📝
packages/hoppscotch-sh-admin/src/components/settings/Configurations.vue(+1 -1)📝
packages/hoppscotch-sh-admin/src/components/settings/DataSharing.vue(+3 -3)📝
packages/hoppscotch-sh-admin/src/components/settings/Reset.vue(+3 -3)📝
packages/hoppscotch-sh-admin/src/components/settings/SmtpConfiguration.vue(+3 -6)➕
packages/hoppscotch-sh-admin/src/components/tokens/GenerateModal.vue(+210 -0)➕
packages/hoppscotch-sh-admin/src/components/tokens/List.vue(+130 -0)➕
packages/hoppscotch-sh-admin/src/components/tokens/Overview.vue(+30 -0)➕
packages/hoppscotch-sh-admin/src/components/tokens/index.vue(+188 -0)➕
packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/CreateInfraToken.graphql(+12 -0)➕
packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/RevokeInfraToken.graphql(+3 -0)➕
packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/InfraTokens.graphql(+9 -0)📝
packages/hoppscotch-sh-admin/src/helpers/errors.ts(+6 -0)➕
packages/hoppscotch-sh-admin/src/helpers/utils/date.ts(+17 -0)📝
packages/hoppscotch-sh-admin/src/pages/settings.vue(+4 -1)📄 Description
Ticket
Description
This PR introduces infra tokens to the admin dashboard. Admins can view, create and delete infra level tokens from the settings page of the admin dashboard. These tokens can be used to utilise the SH User Management APIs.
Screenshot
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.