1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/hooks/api/getters
andreas-unleash 4376697250
feat: show Changes scheduled in feature variants even when CR are dis… (#5613)
show Changes scheduled in feature variants even when CR are disabled

Modifies existing hook to call the new `change-requests/scheduled`
endpoint that returns the relevant scheduled change requests even when
change requests are disabled

Rename the ChangeRequestIdentityData to ScheduledChangeRequestViewModel
for consistency (finalised schemas will replace the BE and FE types in a
follow up PR)

Closes #
[1-1746](https://linear.app/unleash/issue/1-1746/show-change-scheduled-badge-in-feature-environment-variants-even-if)

<img width="1486" alt="Screenshot 2023-12-12 at 14 24 44"
src="https://github.com/Unleash/unleash/assets/104830839/7c4e92ef-81d8-423e-8b78-9015ede59952">

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-12 15:34:32 +02:00
..
useAccess
useAddons
useAdminCount
useAllTags feat: add tags filter (#5584) 2023-12-11 14:10:03 +02:00
useApiGetter
useApiTokens
useApplication
useApplications
useAuth
useAuthSettings
useBanners feat(banners): enable customer banners (#5348) 2023-11-17 13:56:09 +00:00
useChangeRequest
useChangeRequestConfig Feat/scheduled cr UI tests (#5296) 2023-11-08 14:28:16 +02:00
useCheckDependenciesExist feat: show dependencies only when using pro/enterprise or at least on… (#5052) 2023-10-16 20:56:06 +02:00
useConditionalSWR
useConstraintsValidation
useContext
useDefaultProject
useEnterpriseSWR
useEnvironment
useEnvironments
useEventSearch
useFeature
useFeatureMetrics
useFeatureMetricsRaw
useFeatures
useFeaturesArchive
useFeatureSearch feat: do not cache old search and filter results (#5600) 2023-12-12 08:47:57 +01:00
useFeatureTags
useFeatureTypes
useGroup
useGroups
useHealthReport
useInstanceMetrics
useInstanceStats
useInstanceStatus
useInviteTokens
useInvoices
useLoginHistory
useMaintenance
useNotifications
useParentOptions
usePendingChangeRequests
usePendingChangeRequestsForFeature
usePermissions
usePersonalAPITokens
useProfile
useProject feat: update project overview endpoint (#5518) 2023-12-01 20:00:35 +02:00
useProjectAccess
useProjectApiTokens
useProjectChangeRequests
useProjectDoraMetrics
useProjectEnvironments
useProjectOverview feat: update project overview endpoint (#5518) 2023-12-01 20:00:35 +02:00
useProjectRoleAccessUsage
useProjects
useResetPassword
useRole
useRoles
useScheduledChangeRequestsWithFlags feat: show Changes scheduled in feature variants even when CR are dis… (#5613) 2023-12-12 15:34:32 +02:00
useScheduledChangeRequestsWithStrategy feat: show Changes scheduled in feature variants even when CR are dis… (#5613) 2023-12-12 15:34:32 +02:00
useScheduledChangeRequestsWithVariants feat: show Changes scheduled in feature variants even when CR are dis… (#5613) 2023-12-12 15:34:32 +02:00
useSegment
useSegmentLimits
useSegments
useSegmentValidation
useServiceAccounts
useServiceAccountTokens
useStrategies
useStrategiesByContext
useStrategiesBySegment feat: show strategies used by segments (#5407) 2023-11-27 10:34:34 +00:00
useStrategy
useTags
useTagType
useTagTypes
useTelemetry
useUiConfig
useUnleashContext
useUserInfo
useUserInvite
useUsers
httpErrorResponseHandler.ts