1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/component/feature/FeatureView/FeatureOverview
Thomas Heartman d5af58ce0e
fix: wrap env data before truncating env name. (#9733)
Solves an issue where the new buttons would potentially obscure the
entire name of the env:


![image](https://github.com/user-attachments/assets/0bb1e7e9-90da-414e-bd70-eef264ac1867)

 
Now, instead of using grid and container queries to find the right point
to break, we're using flex to always wrap before needing to truncate the
environment name. The name will still truncate if necessary.

Why didn't we do this originally? I ... couldn't think of a way to make
flex work in a 2D layout, but the `width: 100%` property seems to do the
trick 😄


![image](https://github.com/user-attachments/assets/fa81bf5b-3be0-4afa-8fc3-7a5b5ffeeefc)

PS: the buttons only stack when they have to. They stay single-line for
as long as possible. (just in case you were wondering).
<img width="711" alt="image"
src="https://github.com/user-attachments/assets/a9f85118-5b72-4618-a91b-f05c9d520663"
/>
2025-04-09 12:24:37 +00:00
..
FeatureLifecycle feat: lifecycle column text (#9731) 2025-04-09 13:44:32 +02:00
FeatureOverviewEnvironments fix: wrap env data before truncating env name. (#9733) 2025-04-09 12:24:37 +00:00
FeatureOverviewMetaData fix: depenency name truncator (#9696) 2025-04-03 13:45:25 +00:00
FeatureOverviewSegment Segment view for strategy evaluation (#9399) 2025-02-28 15:15:25 +01:00
FeatureOverviewSidePanel Feat/tag type frontend display (#9630) 2025-03-31 11:55:49 +02:00
ManageTagsDialog fix: linter rule for hooks (#9660) 2025-04-01 14:33:17 +02:00
ReleasePlan feat: release plan review dialogue (#9712) 2025-04-08 12:24:09 +03:00
FeatureOverview.tsx Fix: Move hooks to before we bail if the flag is off. (#9659) 2025-03-31 13:59:09 +00:00
LegacyFeatureOverview.tsx feat: new environment box (#9342) 2025-02-25 10:34:36 +00:00
StrategyDragTooltip.tsx chore: drag-n-drop tooltip for strategies (#9623) 2025-03-27 11:16:37 +01:00