1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/component/playground/Playground
Thomas Heartman 398246c3ec
Chore/remove badges from tab order (#9643)
Makes badges not tabbable by default instead of tabbable by default.
Turns out, badges aren't tabbable by default and they never were until I
made them as much (for some reason that I don't quite understand now).

Anyway, I've gone through the list of uses for the Badge element and
made any element that should be reachable by tab either have an explicit
tab index (if it's within a tooltip, for instance), or be wrapped in a
Link (instead of having an on-click handler). The two places I've
wrapped it in a link, I've also gone and changed the item group to be a
list (for HTML semantics). I've also updated some spacing for the
profile tab.

Application list (one is before, one is after. don't remember which is
which; it's now a list):

![image](https://github.com/user-attachments/assets/66fdabf7-7a80-46cb-b302-6242c16ad43e)

![image](https://github.com/user-attachments/assets/660506ce-0ec4-417f-bb3a-3fbf23d5591c)


Profile page (now a list + improved spacing)

Before:

![image](https://github.com/user-attachments/assets/17a841e6-d500-410e-8f11-4c78ca0e9e12)

![image](https://github.com/user-attachments/assets/38a60e67-682e-45b5-9312-f4c2013192bb)

After:

![image](https://github.com/user-attachments/assets/602f3d06-0b7e-4a10-9958-fb565fb6d06b)


![image](https://github.com/user-attachments/assets/67c7d39c-cdf9-4586-98d9-63ceff4fd867)
2025-03-28 15:05:32 +00:00
..
AdvancedPlaygroundResultsTable Chore(1-3520)/playground disabled badges (#9583) 2025-03-20 13:19:16 +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 Chore/remove badges from tab order (#9643) 2025-03-28 15:05:32 +00: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