1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/component/common/DialogFormTemplate
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
..
ConfigButtons feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
DialogFormTemplate.styles.tsx fix: display feature naming patterns in dialog (#7837) 2024-08-12 13:56:07 +02:00
DialogFormTemplate.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
NamingPatternInfo.tsx fix: regexes in flag naming patterns will now break when necessary (#10067) 2025-06-02 06:53:51 +00:00