1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-17 13:46:47 +02:00
unleash.unleash/frontend/src
Thomas Heartman 895cb1aab3
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 06:53:51 +00: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 06:53:51 +00:00
constants feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
contexts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
hooks feat: custom metrics (#10022) 2025-05-22 09:58:54 +02:00
interfaces feat: update sidebar navigation - refactors (#10037) 2025-05-28 12:00:28 +02:00
openapi chore: prefer searchEvents over deprecated methods (#10031) 2025-05-27 16:19:10 +01:00
themes chore(deps): update dependency typescript to v5.8.3 (#7480) 2025-05-29 10:49:07 +00:00
types
utils feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
index.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
setupTests.ts
vite-env.d.ts