1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00
unleash.unleash/frontend/src/component/playground/Playground
Thomas Heartman 2e086161eb
refactor: strategy draggable item is now proj/env agnostic (#9411)
Updates `StrategyDraggableItem` (and `StrategyItem`) to be project/env
agnostic. They now instead expect you to pass in the required header
items (CR badges, strategy actions) at the call site. Updates their
usage in the feature env accordion, and the release plan card.

All components that have been updated are part of the new overview
rework. The legacy components (which are used when the flag is off)
remain untouched.

Also makes a few small tweaks explained in inline comments.

## Rendered 

Milestone card (with flag on):

![image](https://github.com/user-attachments/assets/828d5fe4-4b07-4ebe-86cd-1ab24608ba31)

Milestone card (with flag off):

![image](https://github.com/user-attachments/assets/10e37cc4-e5e4-4a07-a4f9-5e5f5c388915)


Feature env accordion (flag on (no change)):

![image](https://github.com/user-attachments/assets/2e5db9e7-24b1-4b3e-9434-4705e5737157)


Feature env accordion (flag off):

![image](https://github.com/user-attachments/assets/469970b6-ab57-4332-a99f-8f8e2e645230)
2025-03-05 10:34:55 +01:00
..
AdvancedPlaygroundResultsTable feat: playground result count buckets (#8555) 2024-10-28 15:43:07 +01:00
PlaygroundEnvironmentTable chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
PlaygroundForm chore: make playground code editor height dynamic (#9271) 2025-02-10 12:36:16 +00:00
PlaygroundGuidance task: upgraded semver dependency (and biome) (#7272) 2024-06-04 15:01:43 +02:00
PlaygroundGuidancePopper fix: some accessibility issues (#9282) 2025-02-11 09:16:20 +01:00
PlaygroundResultsTable refactor: strategy draggable item is now proj/env agnostic (#9411) 2025-03-05 10:34:55 +01:00
AdvancedPlayground.test.tsx feat: display removed context props in the UI (#6844) 2024-04-12 12:35:33 +02:00
AdvancedPlayground.tsx chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
LazyPlayground.tsx
playground.utils.test.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
playground.utils.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00