1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/hooks/api/getters
Thomas Heartman c5fdaeabd9
feat: UI limit for API tokens (#7532)
This PR activates the limit for API token creation in both the global
API token window and in the project-level API token tab.

Because the same button is used in two places, I encapsulated the
fetching of flags and resource limits within the button. I can be
convinced to pass the current API token count and the limit as
arguments, but I think this is the right solution for this case.
2024-07-03 12:36:48 +00:00
..
useAccess chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useActionConfigurations chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useActionEvents chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useActions chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useAddons chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useAdminCount feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
useAllTags chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useApiGetter chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useApiTokens chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useApplication chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useApplicationOverview chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useApplications chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useAuth chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useAuthSettings chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useBanners chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useChangeRequest chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useChangeRequestConfig chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useChangeRequestsCount feat: fetch change request overview in project overview (#6683) 2024-03-25 14:02:06 +01:00
useCheckDependenciesExist chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useConditionalSWR chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useConnectedInstances chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useConstraintsValidation feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
useContext chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useDefaultProject feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
useEnterpriseSWR chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useEnvironment chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useEnvironments chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useEventSearch chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useFeature chore: change toggle to flag #3 (#7101) 2024-05-22 09:58:53 +03:00
useFeatureDependencyOptions feat: variant dependencies ui (#6739) 2024-03-29 19:28:49 +01:00
useFeatureLifecycle feat: feature lifecycle getter hook (#6876) 2024-04-18 09:02:03 +03:00
useFeatureMetrics chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useFeatureMetricsRaw chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useFeaturesArchive chore: change toggle to flag #3 (#7101) 2024-05-22 09:58:53 +03:00
useFeatureSearch feat: use different cache key for command bar (#7530) 2024-07-03 14:28:47 +03:00
useFeatureTags chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useFeatureTypes chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useFeedbackPosted chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useGroup chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useGroups chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useHealthReport chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useInactiveUsers feat: List and delete inactive users 2024-02-05 14:07:38 +01:00
useInsights chore: call new insights endpoint (#6664) 2024-03-22 09:04:15 +02:00
useInstanceMetrics chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useInstanceStats chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useInstanceStatus chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useInstanceTrafficMetrics feat: traffic visibility UI and store (#6659) 2024-03-22 11:54:33 +01:00
useInviteTokens chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useInvoices chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useLicense fix: add instanceName to license display (#6065) 2024-01-30 11:05:27 +01:00
useLoginHistory chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useMaintenance chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useNotifications chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useOutdatedSdks feat: project level outdated sdks, project level banner (#7083) 2024-05-20 14:15:39 +03:00
usePaginatedData chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
usePendingChangeRequests chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
usePendingChangeRequestsForFeature chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
usePermissions chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
usePersonalAPITokens chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProfile chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProjectAccess chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProjectApiTokens chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProjectApplications chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProjectChangeRequests feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
useProjectDoraMetrics chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProjectEnvironments chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProjectFlagCreators feat: filter by created by (#7306) 2024-06-06 12:59:11 +02:00
useProjectInsights fix: show loading features only when loading is happening (#6817) 2024-04-10 12:43:22 +02:00
useProjectOverview refactor: replace useProject with useProjectOverview (#7087) 2024-05-20 15:15:24 +02:00
useProjectRoleAccessUsage chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProjects chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useResetPassword task: upgraded semver dependency (and biome) (#7272) 2024-06-04 15:01:43 +02:00
useRole chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useRoles chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useScheduledChangeRequestsWithFlags chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useScheduledChangeRequestsWithStrategy feat: show Changes scheduled in feature variants even when CR are dis… (#5613) 2023-12-12 15:34:32 +02:00
useScheduledChangeRequestsWithVariants chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useScimSettings feat: scim assume control UI - move scim into sso configs (#6929) 2024-04-25 15:39:56 +02:00
useSegment chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useSegmentLimits chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useSegments chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useSegmentValidation feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
useServiceAccountAccessMatrix chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useServiceAccounts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useServiceAccountTokens chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useSignalEndpoints chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useSignalEndpointSignals chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useSignalEndpointTokens chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useStrategies chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useStrategiesByContext chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useStrategiesBySegment chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useStrategy chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useTags chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useTagType chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useTagTypes chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useTelemetry feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
useUiConfig feat: UI limit for API tokens (#7532) 2024-07-03 12:36:48 +00:00
useUnleashContext chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useUserAccessMatrix chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useUserInfo chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useUserInvite chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useUserProjectRoles chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useUsers chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
httpErrorResponseHandler.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00