1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-08 01:15:49 +02:00
unleash.unleash/frontend/src/hooks/api/getters
Thomas Heartman aa7d612934
fix: only ask for project details if we have a project ID (#8339)
This switches to using conditional SWR to fetch project details only
when you provide a project. This fixes an issue where we'd make
requests for `api/admin/personal-dashboard/undefined` (which will be a
404 in the future).
2024-10-02 12:30:56 +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
useEventCreators feat: add event creators data to filter (#7822) 2024-08-13 10:41:55 +02:00
useEventSearch chore: begin front end cleanup (#7865) 2024-08-14 10:03:28 +02:00
useFeature chore: generate orval for event creators (#7823) 2024-08-12 15:07:26 +02: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: update Frontend schema (#8037) 2024-09-02 14:41:17 +02:00
useFeatureSearch fix: update cache, even when the total is 0 (#7582) 2024-07-12 14:47:50 +02: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: update Frontend schema (#8037) 2024-09-02 14:41:17 +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
useIntegrationEvents [Gitar] Cleaning up stale flag: integrationEvents with value true (#7940) 2024-08-21 14:25:24 +02: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
usePersonalDashboard fix: only ask for project details if we have a project ID (#8339) 2024-10-02 12:30:56 +00: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 feat: welcome to project onboarding status rendering (#8076) 2024-09-04 12:17:33 +03:00
useProjectRoleAccessUsage chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useProjects refactor: replace IProjectCard with openapi type (#8043) 2024-09-02 13:25:28 +00: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 chore: remove unused SCIM setting - assumeControlOfExisting (#8101) 2024-09-05 13:45:20 +01: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 fix: check for admin in signal endpoints hook (#7642) 2024-07-22 15:32:35 +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
useSignalQuery chore: event timeline signals (#8310) 2024-10-01 09:02:08 +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: constraints limit in a strategy UI (#7555) 2024-07-08 13:10:00 +02: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