1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/src/component/project
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
..
Project [wip] add data to ui (#8710) 2024-11-12 11:35:42 +01:00
ProjectAccess chore: re-order project settings menu (#8626) 2024-11-01 09:29:25 +00:00
ProjectApplications chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
ProjectCard feat: create page for when you have no projects (#8285) 2024-09-27 10:41:25 +02:00
ProjectEnvironment fix: invalid spreading of keys into table rows everywhere (#8551) 2024-10-28 13:47:22 +01:00
ProjectId update project archive and revive dialogs (#7918) 2024-08-19 13:33:00 +00:00
ProjectList chore: fix "key" prop issues in front end tests (#8459) 2024-10-16 14:57:43 +02:00