1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00
unleash.unleash/frontend/src/hooks/api/getters
David Leek 9ea66e8850
chore: remove deprecated legacy features endpoint (#7129)
This PR is part of #4380 - Remove legacy `/api/feature` endpoint.

## About the changes

### Frontend
- Removes the useFeatures hook
- Removes the part of StrategyView that displays features using this
strategy (not been working since v4.4)
- Removes 2 unused features entries from routes 

### Backend
- Removes the /api/admin/features endpoint
- Moves a couple of non-feature related tests (auth etc) to use
/admin/projects endpoint instead
- Removes a test that was directly related to the removed endpoint
- Moves a couple of tests to the projects/features endpoint
- Reworks some tests to fetch features from projects features endpoint
and strategies from project strategies
2024-05-27 09:24:09 +02: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 chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01: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 chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01: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
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 chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01: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 chore: change toggle to flag #3 (#7101) 2024-05-22 09:58:53 +03: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