mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
93bd9d869a
![image](https://user-images.githubusercontent.com/14320932/202286759-b9c30228-59cc-4c58-a7b0-3c6c3d0ecba6.png) ## About the changes https://linear.app/unleash/issue/2-425/variants-crud-new-environment-cards-with-tables-inside-add-edit-and Basically created parallel components for the **variants per environments** feature, so both flows should work correctly depending on the feature flag state. Some of the duplication means that cleanup should be straightforward - Once we're happy with this feature it should be enough to delete `frontend/src/component/feature/FeatureView/FeatureVariants/FeatureVariantsList` and do some little extra cleanup. I noticed we had some legacy-looking code in variants, so this involved *some* rewriting of the current variants logic. Hopefully this new code looks nicer, more maintainable, and more importantly **doesn't break anything**. Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item: #2254 ### Important files Everything inside the `frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants` folder. |
||
---|---|---|
.. | ||
AdminAlert | ||
AnimateOnMount | ||
Announcer | ||
ApiError | ||
AutocompleteBox | ||
Badge | ||
BreadcrumbNav | ||
CheckmarkBadge | ||
Codebox | ||
ConditionallyRender | ||
ConstraintAccordion | ||
CreateButton | ||
DateTimePicker | ||
Dialogue | ||
DividerText | ||
DropdownMenu | ||
EnvironmentIcon | ||
EnvironmentStrategiesDialog | ||
FeatureArchiveDialog | ||
FeatureStaleDialog | ||
FeatureStatusChip | ||
FormTemplate | ||
GeneralSelect | ||
Gradient | ||
GridCol | ||
GridRow | ||
GuidanceIndicator | ||
HelpIcon | ||
Highlighter | ||
HtmlTooltip | ||
Input | ||
InputCaption | ||
InputListField | ||
InstanceStatus | ||
ItemList | ||
Loader | ||
LoginRedirect | ||
MainHeader | ||
NoItems | ||
NotFound | ||
OperatorUpgradeAlert | ||
PageContent | ||
PageHeader | ||
PaginateUI | ||
PasswordField | ||
PercentageCircle | ||
PermissionButton | ||
PermissionHOC | ||
PermissionIconButton | ||
PermissionSwitch | ||
PrettifyLargeNumber | ||
Proclamation | ||
ProjectSelect | ||
ProtectedRoute | ||
ResponsiveButton | ||
ScrollTop | ||
Search | ||
SearchField | ||
SegmentItem | ||
SidebarModal | ||
SkipNav | ||
StaleDataNotification | ||
StrategyItemContainer | ||
StrategySeparator | ||
StringTruncator | ||
Table | ||
TabNav | ||
TagSelect | ||
ThemeMode | ||
ToastRenderer | ||
TooltipResolver | ||
UpdateButton | ||
UserAvatar | ||
VerticalTabs | ||
common.module.scss | ||
flags.ts | ||
index.jsx | ||
select.tsx | ||
util.ts |