1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/frontend/src/component/common
Thomas Heartman 7cab19d9d2
#4209: add 'add to draft' button for segments. (#4400)
Note: it doesn't work yet! It just throws an error.

This PR adds some logic to conditionally display "Add to draft" button
for segments if the segment is part of a project that has change
requests enabled and the flag is enabled.

Also adds a flag (`segmentChangeRequests`) to the frontend.

Holding off on actually adding the change to a draft until the API/orval
has been updated with the most recent changes.
2023-08-03 14:34:38 +02:00
..
AnimateOnMount
Announcer
ApiError chore: update MUI to v5 (#923) 2022-05-02 15:52:41 +02:00
ApiTokenTable Feat/more granular permissions check in create apitoken (#4072) 2023-06-23 10:57:08 +02:00
AutocompleteBox
Badge Disable and enable strategies - frontend (#3582) 2023-04-26 11:41:24 +02:00
BatchSelectionActionsBar fix: make area behind bulk actions clickable (#3838) 2023-05-23 10:41:01 +02:00
BreadcrumbNav
CheckmarkBadge
Codebox
ConditionallyRender
ConstraintAccordion fix: ensure rel=noreferrer on target=_blank (#3755) 2023-05-12 09:51:33 +01:00
CreateButton
DateTimePicker
Dialogue
DividerText
DropdownMenu
EnvironmentIcon feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
EnvironmentStrategiesDialog
FavoriteIconButton
FeatureArchiveDialog
FeatureStaleDialog
FeatureStatusChip
Feedback
FormTemplate feat: project UI rework, move edit and delete buttons deeper (#4195) 2023-07-11 09:47:38 +03:00
GeneralSelect
Gradient
GridCol
GridRow
GuidanceIndicator
HelpIcon
Highlighter fix: remove dangerouslySetInnerHTML (#4181) 2023-07-07 13:54:21 +03:00
HtmlTooltip feat: custom root roles (#3975) 2023-06-14 14:40:40 +01:00
Input
InputCaption
InputListField
InstanceStatus refactor: misc cleanups (#4022) 2023-06-21 15:08:52 +01:00
ItemList
Loader
LoginRedirect
MainHeader
Mermaid
MessageBanner feat: message banner (variants) (#3788) 2023-05-18 09:38:59 +01:00
NoItems
NotFound fix: 404 in dark theme (#4337) 2023-07-24 14:23:29 +00:00
Notifications
OperatorUpgradeAlert
PageContent
PageHeader
PasswordField
PercentageCircle
PermissionButton feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
PermissionGuard feat: upgrade AdminAlert to PermissionGuard (#4074) 2023-06-23 13:25:35 +01:00
PermissionHOC
PermissionIconButton
PermissionSwitch added contraints checking in change request permissions (#2690) 2022-12-14 13:00:51 +01:00
PremiumFeature fix: ensure rel=noreferrer on target=_blank (#3755) 2023-05-12 09:51:33 +01:00
PrettifyLargeNumber
Proclamation
ProjectSelect
ProtectedRoute
ResponsiveButton Feat/more granular permissions check in create apitoken (#4072) 2023-06-23 10:57:08 +02:00
RoleBadge refactor: roles - make better plan assumptions (#4113) 2023-06-28 16:00:14 +01:00
RoleDescription feat: roles unification (#3999) 2023-06-19 09:41:40 +01:00
RoleSelect refactor: roles - make better plan assumptions (#4113) 2023-06-28 16:00:14 +01:00
ScrollTop
Search
SegmentItem
SidebarModal feat: edit change requests (#3573) 2023-04-24 15:32:19 +02:00
SkipNavLink
StaleDataNotification
StrategyItemContainer chore: remove strategyImprovements flag (#4043) 2023-06-28 11:38:21 +03:00
StrategySeparator
StrategyVariantsUpgradeAlert feat: strategy variants alert (#4371) 2023-07-31 12:26:12 +02:00
StringTruncator
Table refactor: roles - make better plan assumptions (#4113) 2023-06-28 16:00:14 +01:00
TabNav
ThemeMode
ToastRenderer fix: dark theme UI fixes (#3423) 2023-03-30 16:57:35 +01:00
TooltipLink
TooltipResolver
UpdateButton #4209: add 'add to draft' button for segments. (#4400) 2023-08-03 14:34:38 +02:00
UserAvatar
VerticalTabs fix: add focus style to vertical tabs (#4186) 2023-07-07 15:55:57 +01:00
common.module.scss fix: application name link styling (#3724) 2023-05-09 13:02:32 +00:00
flags.ts
index.jsx
select.tsx
util.test.ts fix: frontend variant weights distribution (#4347) 2023-07-26 16:08:11 +02:00
util.ts fix: frontend variant weights distribution (#4347) 2023-07-26 16:08:11 +02:00