mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	|  ## 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 | ||