1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-09 11:14:29 +02:00
unleash.unleash/frontend/src
Thomas Heartman 799fc1f518
1-3658/fix legal values selector issues (#9838)
Fixes an issue with the new legal values selector where selecting an
item from filtering or changing the checkbox state would move your focus
to the top of the page. I think it's because we'd re-render the whole
tree because of it, and this would clear your focus selection. To get
around it, I've used the existing ResolveInput component. We might want
to change this later as we get around to more input components (single
values, etc), but for now, I think this is good enough.

As a bonus, I get to delete the most annoying part of the
EditableConstraints file 😄

The constraint still opens in edit mode for now, but I expect that to
get resolved once we properly implement the split between editable and
non-editable constraints that was started yesterday.
2025-04-25 09:41:23 +02:00
..
__mocks__
assets chore: add terraform to integrations (#9827) 2025-04-23 16:11:18 +01:00
component 1-3658/fix legal values selector issues (#9838) 2025-04-25 09:41:23 +02:00
constants chore: feedback link on feature strategy (#9633) 2025-03-27 15:19:14 +02:00
contexts
hooks feat: move 'copy flag name' button (#9805) 2025-04-22 11:12:37 +02:00
interfaces chore: remove disable notifications UI (#9814) 2025-04-22 15:03:15 +02:00
openapi chore: update OpenAPI frontend types (#9834) 2025-04-24 11:42:27 +00:00
themes refactor: variant colors (#9586) 2025-03-20 14:44:33 +01:00
types
utils feat: redirect logic refactor (#9734) 2025-04-17 12:07:08 +02:00
index.tsx feat: use Unleash React SDK in Admin UI (#9723) 2025-04-10 08:26:30 +02:00
setupTests.ts
vite-env.d.ts