1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +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
useActionConfigurations
useActionEvents
useActions
useAddons
useAdminCount
useAllTags
useApiGetter
useApiTokens
useApplication
useApplicationOverview
useApplications
useAuth
useAuthSettings
useBanners
useChangeRequest
useChangeRequestConfig
useChangeRequestsCount
useCheckDependenciesExist
useConditionalSWR
useConnectedInstances
useConstraintsValidation
useContext
useDefaultProject
useEnterpriseSWR
useEnvironment
useEnvironments
useEventSearch
useFeature chore: change toggle to flag #3 (#7101) 2024-05-22 09:58:53 +03:00
useFeatureDependencyOptions
useFeatureLifecycle
useFeatureMetrics
useFeatureMetricsRaw
useFeaturesArchive chore: change toggle to flag #3 (#7101) 2024-05-22 09:58:53 +03:00
useFeatureSearch
useFeatureTags
useFeatureTypes
useFeedbackPosted
useGroup
useGroups
useHealthReport
useInactiveUsers
useInsights
useInstanceMetrics
useInstanceStats
useInstanceStatus
useInstanceTrafficMetrics
useInviteTokens
useInvoices
useLicense
useLoginHistory
useMaintenance
useNotifications
useOutdatedSdks
usePaginatedData
usePendingChangeRequests
usePendingChangeRequestsForFeature
usePermissions
usePersonalAPITokens
useProfile
useProjectAccess
useProjectApiTokens
useProjectApplications
useProjectChangeRequests
useProjectDoraMetrics
useProjectEnvironments
useProjectInsights
useProjectOverview refactor: replace useProject with useProjectOverview (#7087) 2024-05-20 15:15:24 +02:00
useProjectRoleAccessUsage
useProjects
useResetPassword
useRole
useRoles
useScheduledChangeRequestsWithFlags
useScheduledChangeRequestsWithStrategy
useScheduledChangeRequestsWithVariants
useScimSettings
useSegment
useSegmentLimits
useSegments
useSegmentValidation
useServiceAccountAccessMatrix
useServiceAccounts
useServiceAccountTokens
useSignalEndpoints
useSignalEndpointSignals
useSignalEndpointTokens
useStrategies
useStrategiesByContext
useStrategiesBySegment
useStrategy
useTags
useTagType
useTagTypes
useTelemetry
useUiConfig chore: change toggle to flag #3 (#7101) 2024-05-22 09:58:53 +03:00
useUnleashContext
useUserAccessMatrix
useUserInfo
useUserInvite
useUserProjectRoles
useUsers
httpErrorResponseHandler.ts