1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00
unleash.unleash/frontend/src
Thomas Heartman 96d3dc621d
fix: regexes in flag naming patterns will now break when necessary (#10067)
This prevents the regex pattterns from causing overflows in chrome and
pushing the create button off screen (firefox already handled it
🤷).

We don't provide the *best* experience when you have super long flag
patterns, but we can potentially look into that later. For now, this
fixes the immediate issue.

Before the fix:
Chrome:
<img width="1519" alt="image"
src="https://github.com/user-attachments/assets/5bcb717c-67f0-4c7b-9ac1-29e9bdaf568e"
/>

Firefox:
<img width="1385" alt="image"
src="https://github.com/user-attachments/assets/19f38233-f6cd-45f0-9766-76b954f2eed4"
/>


After the fix:
Chrome:
<img width="1383" alt="image"
src="https://github.com/user-attachments/assets/3d9bb6dd-b31c-45aa-9c4e-baa96ba1c16b"
/>

Firefox is the same
2025-06-02 09:39:17 +02:00
..
__mocks__
assets fix: appropriately size case icon for non-editing constraints (#9869) 2025-04-30 08:37:16 +00:00
component fix: regexes in flag naming patterns will now break when necessary (#10067) 2025-06-02 09:39:17 +02:00
constants chore: feedback link on feature strategy (#9633) 2025-03-27 15:19:14 +02:00
contexts
hooks chore: clean up adminNavUI flag (#9907) 2025-05-06 14:59:07 +02:00
interfaces chore: clean up adminNavUI flag (#9907) 2025-05-06 14:59:07 +02:00
openapi feat: show backend and frontend sdks separately (#9857) 2025-04-29 10:36:02 +02:00
themes refactor: remove flagOverviewRedesign flag (#9888) 2025-05-06 10:25:57 +02: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