1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/component/feature
Thomas Heartman 3bc9fe9a9a
[wip] add data to ui (#8710)
Hooks up the project status lifecycle data to the UI. Adds some minor
refactoring as part of that effort.

## Other files

There's been some small changes to
`frontend/src/component/feature/FeatureView/FeatureOverview/FeatureLifecycle/FeatureLifecycleStageIcon.tsx`
and `frontend/src/hooks/useLoading.ts` as well to accommodate their
usage here and to remove unused stuff. The inline comments mention the
same thing but for posterity (especially after this is merged), the
comments are:

For
`frontend/src/component/feature/FeatureView/FeatureOverview/FeatureLifecycle/FeatureLifecycleStageIcon.tsx`:

> The icon only needs the name to pick.
https://github.com/Unleash/unleash/pull/7049 deliberately changed the
logic so that the completed stage gets the same icon regardless of its
status. As such, to make the icon easier to use other places (such as in
the lifecycle widget), we'll only require the name.

For `frontend/src/hooks/useLoading.ts`:
> There's no reason we should only be able to put refs on divs, as far
as I'm aware. TS was complaining that that a `ul` couldn't hold a div
reference, so I gave it a type parameter that defaults to the old
version.
2024-11-12 11:35:42 +01:00
..
CopyFeature chore: rename toggle to flag #7 (#7125) 2024-05-23 13:19:49 +03:00
CreateFeatureButton ui limits for flags (#7541) 2024-07-08 10:27:01 +02:00
Dependencies Restructure features documentation (#8394) 2024-10-16 13:59:30 +02:00
EditFeature Restructure features documentation (#8394) 2024-10-16 13:59:30 +02:00
FeatureForm chore: remove create feature component (#7959) 2024-08-22 11:30:41 +03:00
FeatureNamingPatternInfo chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
FeatureStrategy chore: list release templates in strategy popover (#8703) 2024-11-08 14:26:01 +00:00
FeatureToggleList chore: remove stale flags (#8689) 2024-11-08 09:40:17 +01:00
FeatureView [wip] add data to ui (#8710) 2024-11-12 11:35:42 +01:00
hooks chore: generate orval for event creators (#7823) 2024-08-12 15:07:26 +02:00
StrategyTypes fix: allow you to save default strategies with the right permissions (#8114) 2024-09-06 12:00:46 +02:00