1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-27 01:19:00 +02:00
Commit Graph

6108 Commits

Author SHA1 Message Date
Thomas Heartman
832e3f2e79
Add input help text (#9883)
Adds help text to the popover input for free text values, single numeric
and semver values. The help text is in addition to the error text (so
you can get both).

Also makes the add button a little narrower to better match sketches.

## Rendered

Multiple values (free text):
<img width="953" alt="image"
src="https://github.com/user-attachments/assets/1d9bf7da-af8c-46b6-8eae-ae4f8a687363"
/>

With error
<img width="936" alt="image"
src="https://github.com/user-attachments/assets/aa9dc2da-ad9f-43da-9e44-c36fd8344df1"
/>

Numeric operators:
<img width="927" alt="image"
src="https://github.com/user-attachments/assets/f1e8afd8-7051-4691-bdd2-810929ccd4fa"
/>



SemVer operators:

<img width="944" alt="image"
src="https://github.com/user-attachments/assets/655a7a7b-a4a4-468c-8a5d-23e5d38375b8"
/>
2025-05-02 15:47:29 +02:00
Thomas Heartman
3d84001273
1-3687/input mode separation (#9882) 2025-05-02 12:30:38 +02:00
Thomas Heartman
44b4ba7f60
feat: add date type input field for constraints. (#9864)
Adds a date input method for editable constraints.

Uses a modified version of
`frontend/src/component/common/NewConstraintAccordion/ConstraintAccordionEdit/ConstraintAccordionEditBody/DateSingleValue/DateSingleValue.tsx`,
which has been marked as deprecated.

<img width="971" alt="image"
src="https://github.com/user-attachments/assets/3c6f6e1f-6156-444c-9a73-e0c9c1c52ad6"
/>

Wraps when necessary
<img width="471" alt="image"
src="https://github.com/user-attachments/assets/786be9d0-e62e-4bc2-884d-ef6f4aaf6b51"
/>


Additionally, because I noticed how the old date input sets the error,
I've switched to using the standard way of setting input errors in
Unleash (and presumably for MUI)
<img width="359" alt="image"
src="https://github.com/user-attachments/assets/31e6ce7c-ad5d-4432-a89f-b4d9d491bd99"
/>
2025-04-30 14:42:54 +02:00
Thomas Heartman
0e1ab236c9
Fix/constraint value wrapping (#9873)
Changes how constraint values are treated and wrapped.

Previously, they would have their own column and fill it up:

![image](https://github.com/user-attachments/assets/3d13fa75-2b53-4393-8bb2-8677741016e3)

Then we changed it to always being on the next line below certain
widths:

![image](https://github.com/user-attachments/assets/e2fea1e2-3ab8-4000-a727-831802c583c4)

But that would also cause it to break even if there was no need for it.
This iteration instead uses display `contents` on the value lists to let
them be handled by the flex flow of the containing element. This allows
them to only wrap when necessary.

<img width="995" alt="image"
src="https://github.com/user-attachments/assets/d61f6f49-b1ef-49ec-91a4-df868cedc678"
/>

Of course, if they don't need to wrap, they don't:
<img width="1030" alt="image"
src="https://github.com/user-attachments/assets/84c27997-7cb2-4e1b-8977-d43a46f7de6e"
/>


This loom video shows how it folds in the most complex scenario, with
all elements being visible and within bounds down to about 300px:
https://www.loom.com/share/4f29cdb105d54edeb70edd54dfaca9f9
2025-04-30 13:57:57 +02:00
Jaanus Sellin
3c6d797234
feat: recently used constraints have use this button now (#9871)
Also splitted actions, so we have edit view actions, and view actions.


![image](https://github.com/user-attachments/assets/27220835-36d2-4782-86c4-25511f6f778f)
2025-04-30 14:12:49 +03:00
Thomas Heartman
691a9e6e57
fix: appropriately size case icon for non-editing constraints (#9869)
This fixes an issue where the "case sensitive" chip for existing
constraints was way too big. The underlying reason is that I switched
the icon for one with more padding to give it a consistent size with the
"not case sensitive" icon (PR:
https://github.com/Unleash/unleash/pull/9851).

The fix here is:
1. Add a viewBox to the SVG to let it scale properly.
2. Make the containing box stretch to fill the height of it's flex
container.
3. Use a size for height that doesn't grow too large.

Before:
<img width="137" alt="image"
src="https://github.com/user-attachments/assets/f23043f7-76a9-48c4-9f5c-c50371c24f72"
/>

After:
<img width="178" alt="image"
src="https://github.com/user-attachments/assets/cc2f8109-21ed-4070-b4bc-7c94be5b8e8d"
/>
2025-04-30 08:37:16 +00:00
Jaanus Sellin
3ec1daad2b
feat: now recent constraints work e2e (#9868)
Small intermediate cleanup.
Next step is to add usage buttons.
2025-04-30 11:34:03 +03:00
Tymoteusz Czech
6c5fa4c8a7
feat: update search placement on flags overview screen (#9854)
- search has a new place, closer to filters
- filters are adjusted to wrap properly on small screens
2025-04-30 09:25:45 +02:00
Thomas Heartman
d44b7ac6c2
1-3651/single value inputs (#9859)
Adds an "add value" with popover input for single-value fields
(numerical and semver operators).

The implementation re-uses the popover from the multi-value constraint
operators, so I've extracted it for re-use.

All current input types:
<img width="779" alt="image"
src="https://github.com/user-attachments/assets/ad522e4d-72ba-402c-ad7c-8609ef2fb3a8"
/>

For the new one, opening the popover when there's a value will
pre-select the value, so you can override it by typing immediately:
<img width="297" alt="image"
src="https://github.com/user-attachments/assets/31d18f9e-6ef9-4450-9d63-ca5034b59f19"
/>

Buttons look pretty identical:
<img width="784" alt="image"
src="https://github.com/user-attachments/assets/d96b0b0d-0cbb-4262-9ca8-4ec919cbfafb"
/>

## Discussion points

### Input type

I haven't set an input type anywhere on the popover yet. In theory, we
could use input type "number" for numerical inputs and I think it's
worth looking at that, but we don't do in the old implementation either.

I've added a task for it.

### Weird esc handling

This implementation uses a chip for the button/value display for the
single. In almost all cases it works exactly as I'd expect, but closing
the popover with esc moves your focus to the top of `body`.
Unfortunately, this isn't something we can address directly (trust me,
I've tried), but the good news is that this was fixed in mui v6. The
current major is v7, so we probably want to update before too long,
which will also fix this. More info in the MUI docs:
https://mui.com/material-ui/migration/upgrade-to-v6/#chip

I think that for the single value entry, losing focus on esc is a fair
tradeoff because it handles swapping states etc so gracefully. For the
multi-value operators, however, esc is the only way to close the
popover, so losing focus when you do that is not acceptable to me. As
such, I'll leave the multi-value input as a button for now instead.
(It's also totally fine because the button never updates or needs to
change).
2025-04-29 15:06:42 +02:00
Jaanus Sellin
cb987ac78b
feat: now updating/editing strategy will store constraints in recents (#9861) 2025-04-29 15:33:06 +03:00
Jaanus Sellin
7356453c0c
feat: view for recently used constraints (#9860) 2025-04-29 13:36:17 +03:00
Mateusz Kwasniewski
3980cfa2a8
feat: show backend and frontend sdks separately (#9857) 2025-04-29 10:36:02 +02:00
David Leek
e450d1e35e
chore: replace inherit color on menu item hover to common.white (#9856) 2025-04-29 09:27:09 +02:00
Thomas Heartman
20a259fc4a
Chore/constraint value styling (#9853)
Fixes a few small styling issues with the constraint value chips:
- Background color was wrong
- They shouldn't have a border when they're not focused
 
Different styles: 
1. Keyboard focus
2. Mouse hover
3. No focus
4. No focus
5. Add values button for reference.
<img width="405" alt="image"
src="https://github.com/user-attachments/assets/ded98393-a7a8-4d4a-81ff-63a3f4d32184"
/>
2025-04-28 14:52:08 +02:00
Jaanus Sellin
1b031c9caf
feat: recently used constraints hook (#9850) 2025-04-28 15:51:50 +03:00
Thomas Heartman
b8c50e6ed2
1 3634/new icons 2 (#9851)
Adds new icons for the constraint operator buttons (equals and case
sensitive).
<img width="398" alt="image"
src="https://github.com/user-attachments/assets/2bd2a20f-700b-489a-b7d3-e6e26d80c316"
/>
<img width="442" alt="image"
src="https://github.com/user-attachments/assets/e5cca824-d8c0-4ea4-b137-c7c1eae642cc"
/>


The icons are all 24x24, so using them for buttons is pretty easy.

There is one caveat: The heights are very subtly off (~1.25 px) when the
buttons wrap and end up on a line without the input field, but it's
really not noticeable. In this screenie, the Aa button has is a tiny bit
smaller than the items on the row above:

<img width="328" alt="image"
src="https://github.com/user-attachments/assets/d89e2a01-9274-4d6f-b203-1fc3d487543f"
/>
2025-04-28 14:35:55 +02:00
sjaanus
5c894c78be
fix: remove pushed files 2025-04-28 15:02:59 +03:00
sjaanus
19cb225623
feat: recently used constraints hook 2025-04-28 15:01:46 +03:00
Jaanus Sellin
5c483c7d8d
feat: split and clean up constraint lists (#9839) 2025-04-28 13:46:22 +03:00
David Leek
25790c1e0b
chore: fix colors, sizes and corner roundings on admin menu (#9847) 2025-04-28 10:57:24 +02:00
Tymoteusz Czech
3ac087e0f6
feat: count per lifecycle stage (#9845)
Show count per stage, and include count if flags are filtered.
2025-04-25 10:52:11 +00:00
Mateusz Kwasniewski
bd78a75177
chore: remove flag for global change request config (#9840) 2025-04-25 12:47:18 +02:00
Thomas Heartman
44082b24a1
chore: second design pass for editable constraints (#9843)
Fix a number of visual issues with the main editable constraint
component.

I've introduced a few more layers of container nesting to make the
layout break the right ways:
- Put everything on the same line when on wide.
- At 700px place selected values on the row below
- From 700px down, when necessary, also wrap operator options


Support super long context names without breaking layout
<img width="399" alt="image"
src="https://github.com/user-attachments/assets/07555e9c-d875-417f-ae6b-d4600731d5eb"
/>

Wrap values at 700px width container:
<img width="703" alt="image"
src="https://github.com/user-attachments/assets/deb6e059-57d4-4e47-88da-3ec5d6bce751"
/>

Wrap operator options when necessary
<img width="359" alt="image"
src="https://github.com/user-attachments/assets/ff96db40-f47d-4ddf-bed7-dfced4d69973"
/>

Absolutely position delete button to allow to not push it out of the
container on narrow screens:
<img width="330" alt="image"
src="https://github.com/user-attachments/assets/c7b8f88d-538a-46a1-ae3f-e5a761b50289"
/>

Remove extra focus styling from MUI (darken select background):
Before:
<img width="348" alt="image"
src="https://github.com/user-attachments/assets/99aff08d-c1af-46c0-8a75-40c1ea3c103f"
/>

<img width="357" alt="image"
src="https://github.com/user-attachments/assets/b7a0edac-2716-48a7-b50c-b3437e5f5be8"
/>

After:
<img width="379" alt="image"
src="https://github.com/user-attachments/assets/74da884c-7b1a-4b9a-8383-31592326a71b"
/>
<img width="350" alt="image"
src="https://github.com/user-attachments/assets/0ebea696-5f7d-4d4e-b91c-b087a8fc56a3"
/>
2025-04-25 10:37:04 +00:00
Thomas Heartman
44e9023fb3
Don't show extra input component if we have "add values" button (#9842)
Makes it so that the InputContainer is only rendered if we don't have
the add values button up top. We might need to adjust this later (as we
get more sketches for other input types, such as single numbers, single
semvers etc), but it works for now.

With legal values  (no add values button)
<img width="765" alt="image"
src="https://github.com/user-attachments/assets/032cc848-584e-4c3f-83ed-be1fb1cdc0f8"
/>

Without legal values (but add values button)
<img width="763" alt="image"
src="https://github.com/user-attachments/assets/1a8fa68e-a73b-42fc-a1b8-e8f5997f3c5d"
/>

Because we don't handle single value cases yet, some of those inputs are
still stuck in an in-between state:
<img width="775" alt="image"
src="https://github.com/user-attachments/assets/25b6ae89-9267-4f06-a32d-3460abe4a847"
/>
2025-04-25 12:23:18 +02:00
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
Nuno Góis
8e46bda8e1
chore: fix admin routes should respect plan data (#9828)
https://linear.app/unleash/issue/2-2852/sidebar-bug-with-enterprisepro-only-route-constraints

Fixes an issue where admin routes didn't respect plan data if their flag
was enabled.

First noticed here:
https://github.com/Unleash/unleash/pull/8469#discussion_r1804361222

Issue was that only `adminRoutes` respected plan data. `mainNavRoutes`
and `primaryRoutes` did not follow the same filtering logic.

We can probably clean this up even further in the future, but didn't
want to extend the PR too much.

Also adds tests to validate the intended behavior.
2025-04-24 15:44:06 +01:00
Tymoteusz Czech
0e2f7374e5
Feat: update variants placement (#9832) 2025-04-24 16:01:35 +02:00
Jaanus Sellin
3774cf8b87
feat: separate constraint edit/view screens (#9836)
Separating constraing edit and view screens.
Next PR is to start using these.
2025-04-24 16:49:30 +03:00
Tymoteusz Czech
bffaab5560
chore: update OpenAPI frontend types (#9834)
For lifecycle-count endpoint
2025-04-24 11:42:27 +00:00
Tymoteusz Czech
a38bf8ea4c
feat: remove sort by user on flags overview (#9826)
We don't aggregate all users, for filters on flags overview. Let's drop this filter
2025-04-24 13:37:30 +02:00
Thomas Heartman
f6eb572a14
Prevent legal value selection from triggering form submit (#9831)
Use event.preventDefault to prevent the app from trying to submit the
legal values (or the strategy) form when you hit "enter" in the legal
values filter input.
2025-04-24 10:19:03 +00:00
Thomas Heartman
3bb54c5a9d
feat: 1-3652/legal value selector visual update (#9829)
Handles the visual changes for the legal value selector widget.

Before:
<img width="792" alt="image"
src="https://github.com/user-attachments/assets/0965d577-c4cf-4c1d-9fe7-f8f90d683988"
/>

After:
<img width="769" alt="image"
src="https://github.com/user-attachments/assets/33bdf40c-8bbb-4650-a6ba-c4b9e62f8cbd"
/>

I'm still working on improving the functionality of selecting from the
search input and not losing focus when you select/deselect an item (both
of these work (mostly) as expected on hosted, so we've introduced a
regression somewhere).
2025-04-24 12:17:05 +02:00
Jaanus Sellin
b05e12d028
feat: remove warning boxes for empty values (#9830)
We had issues, where when you selected the operator, these boxes were
jumping up. The problem was that the illegal value checker was marking
empty values as illegal also.

Now empty value is not included in illegal values.


![image](https://github.com/user-attachments/assets/13c6b21e-6b7e-40ac-bade-4496e65f10ba)
2025-04-24 11:41:14 +03:00
Nuno Góis
26f582db21
chore: add terraform to integrations (#9827)
https://linear.app/unleash/issue/2-2565/add-terraform-to-list-of-integrations

Adds Terraform to our integrations list.

It links to: https://docs.getunleash.io/reference/terraform

<img width="769" alt="image"
src="https://github.com/user-attachments/assets/28edb65f-a56d-4ffc-8ce3-cbb6bde6b19b"
/>
2025-04-23 16:11:18 +01:00
Jaanus Sellin
08c11664ce
feat: change requests, use new accordion list not legacy (#9825)
This should be final piece where old accordion is used.


![image](https://github.com/user-attachments/assets/854dfab9-4b05-4a14-bb17-0de49705079d)
2025-04-23 17:37:54 +03:00
Thomas Heartman
9977b3e0f8
fix: legal value selector chips and option updates (#9819) 2025-04-23 14:41:28 +02:00
Tymoteusz Czech
b179f86fb7
fix: stale flag status chip (#9821) 2025-04-23 12:02:58 +00:00
Jaanus Sellin
31dbef84f6
feat: move away from old accordion list, create/edit segment (#9820)
This is one path that is using old component, that we can update.


![image](https://github.com/user-attachments/assets/2f88eea9-651c-4bb2-9b00-d8c54e8e5aab)
2025-04-23 15:02:13 +03:00
Thomas Heartman
08d0907d89
Always show the value list + hide "add values" on non-free text entries (#9817)
Removes the condition to hide the value list if we use legal values. 

In doing so, I also realized that focus handling when you delete the
last item in the constraint values list doesn't work if the add values
button isn't there (which it shouldn't be for legal values and more). So
I've hidden the add values button when it doesn't do anythnig helpful
(or for cases where we don't have designs yet). In cases where you don't
have the add values button and you delete the last constraint value,
we'll move the focus to the "delete constraint" button (that was easier
than making sure we pass refs all the way down into the operator select,
but we can change that later).

To facilitate this (refs coming from the parent component), I refactored
the value list component to accept the add values widget as a child (and
extracted it to its own file).
2025-04-23 10:59:10 +02:00
Nuno Góis
dbe2f9b6bd
chore: remove demo plans dialog (#9816)
https://linear.app/unleash/issue/2-3531/remove-pricing-pop-up

We decided to remove this dialog in favor of linking directly to
https://www.getunleash.io/pricing
2025-04-23 08:55:49 +01:00
Jaanus Sellin
a2e39a05c4
chore: clean up old accordion code path (#9813)
Remove unused code.
2025-04-23 10:52:01 +03:00
Thomas Heartman
77d72ce5a1
Stop "add values" from closing on adding a value (#9815)
Instead of closing the "add values" popover when you add a value, we now
keep it open to facilitate rapid entry of multiple values. It already
clears successfully and adds the new value to the list, so it's actually
quite smooth to use from just the keyboard now!

Additionally, I propose using a `form` element for the add values
popover, because it really is just a tiny form. This also allows us to
use regular form handling instead for submission instead of checking
what key the user pressed. It also means we don't need to specify the
action in the button, because the form handles it.

There's a few more things fixed: 
- I've added a label (only visible to screen readers) to the input label
(as per standard a11y guidelines).
- When you add a value by pressing the "add" button, your focus returns
to the input field, so that you can just start typing out the next one.
this is handy if you submit by mouse click or by tabbing to the button
instead of just hitting enter inside the input field.
2025-04-23 09:32:37 +02:00
Mateusz Kwasniewski
da05c7be5c
chore: remove disable notifications UI (#9814) 2025-04-22 15:03:15 +02:00
Tymoteusz Czech
9d98d0771e
fix: strategy-reorder tooltip padding (#9811)
Tooltip is created a gap on the right side of flag overview page
2025-04-22 14:26:40 +02:00
Mateusz Kwasniewski
a22f5d0201
chore: adjust reminder days (#9810) 2025-04-22 12:29:07 +02:00
Thomas Heartman
150a044207
Use svg icons for case sensitivity button and give it better textual representation (#9808)
Light mode:
<img width="110" alt="image"
src="https://github.com/user-attachments/assets/dba5dd69-685c-4259-ba07-f50ad7c66833"
/>
<img width="265" alt="image"
src="https://github.com/user-attachments/assets/1ac2e71b-36f7-4a90-b96c-38f9aee4cb51"
/>

Dark mode:
<img width="311" alt="image"
src="https://github.com/user-attachments/assets/780c2110-2871-4634-b755-e3e0e3681826"
/>
<img width="285" alt="image"
src="https://github.com/user-attachments/assets/fdf0d790-eee6-4640-823a-758570c53b2f"
/>
2025-04-22 12:25:05 +02:00
Gastón Fournier
a88e781391
feat: run cypress against current branch (#9793)
## About the changes
Currently, we're running against the older version of our UI. When
making changes to it we want to make sure we're testing the current code

**Details in comments**

---------

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2025-04-22 11:58:22 +02:00
Tymoteusz Czech
18850a5156
feat: move 'copy flag name' button (#9805)
- moved "copy flag name" action next to the flag name
- refactored this component into a separate file
- added "Ctrl+C" shortcut
2025-04-22 11:12:37 +02:00
Jaanus Sellin
bc7856a23a
feat: enter will select the first filtered value (#9807)
![image](https://github.com/user-attachments/assets/deff3204-100d-464f-8a87-f36759bdee3a)
2025-04-21 16:56:54 +03:00
Mateusz Kwasniewski
916ee157ab
refactor: pass feature to feature overview metadata component (#9803) 2025-04-18 14:24:48 +02:00
Mateusz Kwasniewski
e436cf72e6
feat: revert to production (#9802) 2025-04-18 11:42:43 +02:00
Mateusz Kwasniewski
78f0d02a84
feat: snooze reminder tracking (#9798) 2025-04-18 10:10:13 +02:00
Tymoteusz Czech
6403ae7f9b
feat: futureproofing last viewed page redirect (#9794)
You should not be able to break initial page redirect even if you set
'/' as target. It is not strictly needed in the current code path. This
will create a redirect loop only if you manually modify local storage.
It just makes this part safer if it is ever modified.
2025-04-17 17:40:04 +02:00
Nuno Góis
ee9b0a0193
chore: demo misc improvements (#9796)
https://linear.app/unleash/issue/2-2577/transition-screen-between-the-guides
https://linear.app/unleash/issue/2-2582/page-scrolls-in-back

Includes what should be the last batch of demo improvements at this
stage:

- Visually aligns the Back button for consistent layout
- Replaces “Start” with “Start tutorial” for new topics
- Updates topic titles for clarity and consistency
- Applies bold styling to all step titles
- Prevents page scroll when the step target is set to body
2025-04-17 15:56:59 +01:00
Nuno Góis
e6813a4910
chore: set new demo step titles (#9795)
https://linear.app/unleash/issue/2-3517/change-titles-on-various-steps-in-flow

Updates the titles of our demo flow steps as per the designs.

Took some liberties, as always, as e.g. some optional steps were not
covered by the designs.
2025-04-17 13:52:54 +01:00
Mateusz Kwasniewski
7285607cad
feat: remind me later about cleanup (#9790) 2025-04-17 14:06:26 +02:00
Tymoteusz Czech
d60ea1acd4
feat: redirect logic refactor (#9734) 2025-04-17 12:07:08 +02:00
David Leek
d406420223
chore: menu cleanups (#9792) 2025-04-17 11:59:35 +02:00
Tymoteusz Czech
5ef33b56d6
fix: import path for formatOperatorDescription (#9791)
Fixing build on main
2025-04-17 09:43:45 +00:00
Tymoteusz Czech
9d2174534f
refactor: deprecate old ConstraintAccordion and point to new version (#9613)
Code for constraint accordion was copy-pasted before previous
improvement. Old version is still in use for Segments. When we get to
improving constraint editing we should rebuild segments editing, without
use of this code.
2025-04-17 11:16:32 +02:00
Jaanus Sellin
923578c9ea
feat: add values chip styling (#9789)
Made chips coloring and paddings correct.


![image](https://github.com/user-attachments/assets/734072cf-b053-492a-ae27-134b1a530345)
2025-04-17 11:54:19 +03:00
Jaanus Sellin
9678054116
feat: styling of new add values (#9788)
1. Moved add values to the left.
2. Popover has new styling, as in designs


![image](https://github.com/user-attachments/assets/311670e1-7cb3-46ee-a6d7-fbbef9ac21f2)
2025-04-17 11:30:36 +03:00
Nuno Góis
d988b61764
chore: update demo final steps content (#9782)
https://linear.app/unleash/issue/2-2580/change-text-on-last-steps-of-guides-environment-toggle

Updates the demo final steps content as per the designs.

Took some liberties for the third topic, as it was always about gradual
rollout, not variants.
2025-04-17 09:01:11 +01:00
renovate[bot]
61c98a9994
chore(deps): update dependency http-proxy-middleware to v2.0.8 [security] (#9787)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[http-proxy-middleware](https://redirect.github.com/chimurai/http-proxy-middleware)
| [`2.0.7` ->
`2.0.8`](https://renovatebot.com/diffs/npm/http-proxy-middleware/2.0.7/2.0.8)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/http-proxy-middleware/2.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/http-proxy-middleware/2.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/http-proxy-middleware/2.0.7/2.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/http-proxy-middleware/2.0.7/2.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

#### [CVE-2025-32996](https://nvd.nist.gov/vuln/detail/CVE-2025-32996)

In http-proxy-middleware before 2.0.8 and 3.x before 3.0.4, writeBody
can be called twice because "else if" is not used.

---

### Release Notes

<details>
<summary>chimurai/http-proxy-middleware
(http-proxy-middleware)</summary>

###
[`v2.0.8`](https://redirect.github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8)

[Compare
Source](https://redirect.github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.8)

#### What's Changed

- fix(fixRequestBody): prevent multiple .write() calls by
[@&#8203;chimurai](https://redirect.github.com/chimurai) in
[https://github.com/chimurai/http-proxy-middleware/pull/1090](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1090)
- fix(fixRequestBody): handle invalid request by
[@&#8203;chimurai](https://redirect.github.com/chimurai) in
[https://github.com/chimurai/http-proxy-middleware/pull/1091](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1091)
- chore(package): v2.0.8 by
[@&#8203;chimurai](https://redirect.github.com/chimurai) in
[https://github.com/chimurai/http-proxy-middleware/pull/1094](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1094)

**Full Changelog**:
https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.8

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" in timezone Europe/Madrid,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 20:10:43 +00:00
Mateusz Kwasniewski
b31845b63c
feat: archive reminder icon (#9781) 2025-04-16 16:07:33 +02:00
Nuno Góis
176e9d3187
chore: improve demo auth screen (#9780)
https://linear.app/unleash/issue/2-2575/adjust-text-login-screen

Adjusts the text for the demo auth screen.

Also took some liberties to improve the visual design of this page (at
least, IMO).

### Before


![image](https://github.com/user-attachments/assets/c17a4378-a940-4e5f-ad79-00ae4514cba6)

### After


![image](https://github.com/user-attachments/assets/c77d7d43-648f-40ab-9eb6-07156af22a7f)
2025-04-16 15:07:22 +01:00
Nuno Góis
f3a1da9d7e
chore: make demo back button variant text (#9772)
https://linear.app/unleash/issue/2-2576/make-back-button-less-dominant

Make demo "Back" button `variant='text'` so it's less predominant
visually.

### Before


![image](https://github.com/user-attachments/assets/d4378975-483a-4478-a7c9-9698a466f918)

### After


![image](https://github.com/user-attachments/assets/1349454b-73aa-465e-9a15-cd7f52cedb75)
2025-04-16 14:52:54 +01:00
Nuno Góis
d3d618c9ad
chore: improve demo finish CTA (#9773)
https://linear.app/unleash/issue/2-2578/change-cta-text-finished-screen

Improves the demo finished dialog CTA.
2025-04-16 14:48:12 +01:00
Mateusz Kwasniewski
a2a8c06003
feat: archive reminder (#9779) 2025-04-16 15:47:35 +02:00
Mateusz Kwasniewski
bf8a9b31b3
feat: cleanup reminder (#9776) 2025-04-16 15:01:07 +02:00
David Leek
ab594f5c29
feat: move admin menu into nav sidebar (#9774) 2025-04-16 14:58:37 +02:00
Nuno Góis
86cfb2f651
fix: demo flow step 4 is too eager on add strategy (#9771)
https://linear.app/unleash/issue/2-3512/bug-flow-2-enable-for-a-specific-user-doesnt-work

https://linear.app/unleash/issue/2-3513/bug-flow-4-adjust-variants-doesnt-work

Follow-up to #9770 

This "add strategy" step of `demoApp.step4` was a bit too eager and did
not properly wait for the accordion to be fully expanded. This change
makes it consistent with the same step in `demoApp.step2`, also
improving its "back" behavior.
2025-04-16 13:14:31 +01:00
Nuno Góis
fa4b09ffe5
fix: demo flow consistency with new flag page (#9770)
https://linear.app/unleash/issue/2-3512/bug-flow-2-enable-for-a-specific-user-doesnt-work

https://linear.app/unleash/issue/2-3513/bug-flow-4-adjust-variants-doesnt-work

Follow-up to #9765 

This should make the demo flow a bit more consistent with the new page
design.

The page seems a bit slower in general, so we're being a bit more
aggressive on the cleaning up of demo data to make it faster as well as
adding some delays in key steps of the flow.
2025-04-16 11:35:02 +01:00
Mateusz Kwasniewski
695c50b7d6
chore: cleanup reminder flag (#9769) 2025-04-16 11:25:50 +02:00
Jaanus Sellin
187f265680
feat: add values button now actually adds value (#9768) 2025-04-16 11:52:36 +03:00
Jaanus Sellin
e9c50a551f
feat: remove add values for legal values (#9767)
This removes the add values nicely.


![image](https://github.com/user-attachments/assets/8fb84b51-c842-4a56-af21-ff5b66772538)
2025-04-16 11:06:46 +03:00
Thomas Heartman
c1bb905146
Fix type issues (#9745) 2025-04-16 10:36:29 +03:00
dependabot[bot]
6af36288ab
chore(deps-dev): bump vite from 5.4.16 to 5.4.18 in /frontend (#9766)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.4.16 to 5.4.18.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>v5.4.18</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v5.4.18/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v5.4.17</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v5.4.17/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.4.18/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.4.18 (2025-04-10)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19830">#19830</a>,
reject requests with <code>#</code> in request-target (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19831">#19831</a>)
(<a
href="823675baff">823675b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19830">#19830</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/19831">#19831</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.17 (2025-04-03)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19782">#19782</a>,
fs check with svg and relative paths (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19784">#19784</a>)
(<a
href="84b2b46ed1">84b2b46</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19782">#19782</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/19784">#19784</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="731b77d19d"><code>731b77d</code></a>
release: v5.4.18</li>
<li><a
href="823675baff"><code>823675b</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19830">#19830</a>,
reject requests with <code>#</code> in request-target (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19831">#19831</a>)</li>
<li><a
href="0a2518a98d"><code>0a2518a</code></a>
release: v5.4.17</li>
<li><a
href="84b2b46ed1"><code>84b2b46</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19782">#19782</a>,
fs check with svg and relative paths (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19784">#19784</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v5.4.18/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.4.16&new-version=5.4.18)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 19:36:22 +02:00
Nuno Góis
1d94c261e6
fix: demo topics should work with new flag design (#9765)
https://linear.app/unleash/issue/2-3512/bug-flow-2-enable-for-a-specific-user-doesnt-work

https://linear.app/unleash/issue/2-3513/bug-flow-4-adjust-variants-doesnt-work

Fixes our demo topics by making them work with the new flag page design.

We achieve this by adding 2 new interactive steps in `demoApp.step2` and
`demoApp.step4` to expand the respective environment accordions. We mark
them as optional so they are not strictly required and will be skipped
if not found. This means the demo will be resilient to rolling back the
`flagOverviewRedesign` flag, for example.

We also mark 2 steps as optional: saving constraints in `demoApp.step2`
and `demoApp.step4`. It seems like we no longer have an extra button to
save the constraints after adding them, so by marking these steps as
optional the demo flow is able to proceed without breaking.
2025-04-15 16:18:33 +01:00
Tymoteusz Czech
06ade698e3
fix: search page filtered placeholder (#9763)
It's weird that we encourage to create new flags in the cleanup stage
2025-04-15 14:29:50 +02:00
Tymoteusz Czech
3fd74262bb
feat: search page - improved change request tooltip (#9750)
improved and tested tooltip for change requests and adjusted column width
2025-04-15 13:22:50 +02:00
Jaanus Sellin
01c1ec5c29
feat: strategy status as checkbox (#9760) 2025-04-15 13:11:11 +03:00
Christopher Kolstad
8380a7a532
fix(frontend): Now only shows average daily requests when viewing daily (#9758)
As reported by Ivar, there's no point in displaying the average daily
traffic when grouping monthly.
2025-04-15 08:38:56 +00:00
Nuno Góis
2c1ec41a07
fix: demo QR code (#9756)
https://linear.app/unleash/issue/CJUX-340/bug-qr-code-doesnt-work

Generated a new QR code using
[qrcode-monkey.com](https://www.qrcode-monkey.com/), following a similar
design to our previous one.

Unlike the previous QR generator, this one does **not** proxy the URL—so
the QR code will never break in the future. It’s also in SVG format,
allowing for infinite scaling without quality loss.


![image](https://github.com/user-attachments/assets/dbe22d45-aa53-403e-9ae1-fa4a9d7fd26f)
2025-04-15 09:06:25 +01:00
Mateusz Kwasniewski
e6d55ab17a
feat: display total count (#9753) 2025-04-14 14:30:21 +02:00
Jaanus Sellin
5b52a6e8d1
feat: predefined values more organized (#9752) 2025-04-14 14:22:32 +03:00
Tymoteusz Czech
417d3b80a4
feat: search page flag status with change requests (#9744) 2025-04-14 09:51:09 +02:00
Tymoteusz Czech
1b7cf6d97d
chore: update api types in frontend (#9748)
Get backend changes into frontend types
2025-04-11 20:00:09 +02:00
Jaanus Sellin
3b96bfb4ff
feat: description for stickiness selector (#9746) 2025-04-11 15:01:15 +03:00
Thomas Heartman
e9ec1db3b7
chore(1-3611): inline values list v1 (#9743)
Adds the easy parts of the inline values list: a list of chips that
shows you which values you have and that you can delete. You either
delete them by clicking the "clear" icon or by using del/backspace on
your keyboard.

If you use your keyboard we also handle switching your focus to the
appropriate element. By default, your browser may shift the focus to the
top of the window (which isn't very helpful). Instead, we handle it like
this:
- If you delete an item and there are more elements in the list: 
  - move the element to the next item if exists
  - if your element is the last item, move focus to the previous item
- if there are no more items in the list, move the focus to the Add
Values button

We still need to add the "add values" popover functionality. That's next
on the agenda.

Additionally, this switches how the containing flex container positions
its items along the cross axis (vertically) to "flex-start" instead of
"center". Because the values list can grow to multiple lines, it would
shift the "delete constraint" button and the constraint picker to the
middle of the expanded constraint. Now, instead they stay aligned to the
top. This causes a slight alignment issue with the button (due to the
invisible padding), but I don't want to look at that before the rest of
this is complete and we know how it all fits together. You'll notice
that the spacing between elements in that top row is also off anyway
(look at the value list being smushed up against the case sensitive
icon), so there's more work to do.

<img width="716" alt="image"
src="https://github.com/user-attachments/assets/225fcab8-03e4-46e3-92d4-82912eb40d46"
/>

Focus styles:

<img width="190" alt="image"
src="https://github.com/user-attachments/assets/6b07ab25-0a67-493c-9cac-839932b0d654"
/>

<img width="195" alt="image"
src="https://github.com/user-attachments/assets/9d5b323e-bf65-4eca-9008-a45ce0139a2b"
/>


Hover styles:
<img width="96" alt="image"
src="https://github.com/user-attachments/assets/f19e1945-d2be-4e87-8005-76cb6beb1f50"
/>
2025-04-10 15:50:51 +02:00
Tymoteusz Czech
1043eb8f03
feat: flag lifecycle status - first pass (#9736)
Resolving "status" column for flags overview page
2025-04-10 12:02:25 +02:00
Jaanus Sellin
67c0ffa1ab
feat: segment chip recoloring (#9742) 2025-04-10 12:51:09 +03:00
Jaanus Sellin
5d64d0ff4b
feat: styling of info box for release plans (#9741) 2025-04-10 12:22:07 +03:00
Jaanus Sellin
49a1dac2c9
feat: targeting info box new styling (#9740)
Updated styling of info box


![image](https://github.com/user-attachments/assets/983339b7-102d-440e-a937-4972d04496c9)
2025-04-10 11:20:02 +03:00
Ivar Conradi Østhus
3b84db7d61
fix: remove custom refresh interval for UnleashClient 2025-04-10 09:56:40 +02:00
Ivar Conradi Østhus
e63b28c1b8
feat: use Unleash React SDK in Admin UI (#9723)
In this PR I integrate the Unleash React SDK with the Admin UI. 

We also take advantage of Unleash Hosted Edge behind the scenes with
multiple regions to get the evaluations close to the end user.
2025-04-10 08:26:30 +02:00
Thomas Heartman
d5af58ce0e
fix: wrap env data before truncating env name. (#9733)
Solves an issue where the new buttons would potentially obscure the
entire name of the env:


![image](https://github.com/user-attachments/assets/0bb1e7e9-90da-414e-bd70-eef264ac1867)

 
Now, instead of using grid and container queries to find the right point
to break, we're using flex to always wrap before needing to truncate the
environment name. The name will still truncate if necessary.

Why didn't we do this originally? I ... couldn't think of a way to make
flex work in a 2D layout, but the `width: 100%` property seems to do the
trick 😄


![image](https://github.com/user-attachments/assets/fa81bf5b-3be0-4afa-8fc3-7a5b5ffeeefc)

PS: the buttons only stack when they have to. They stay single-line for
as long as possible. (just in case you were wondering).
<img width="711" alt="image"
src="https://github.com/user-attachments/assets/a9f85118-5b72-4618-a91b-f05c9d520663"
/>
2025-04-09 12:24:37 +00:00
Jaanus Sellin
8da5fe6811
feat: strategy menu interaction between two dialogues. (#9732) 2025-04-09 15:14:45 +03:00
Thomas Heartman
48b9be709e
Chore(1-3598): new constraint edit design iteration 1 (#9727)
Implements the first step towards implementing the new design for
constraint editing. All the edit functionalities work as and when you do
them now, but there is no validation of the values you put in that's
happening.

The inverted / not inverted button and the case sensitivity button are
placeholders. They should use icons and have proper descriptions of what
they do. I'll do that in a follow-up.

The way to enter values is currently always in the section below the
main controls. Again, more work on this is coming.

Current look:

With case sensitive options:
<img width="769" alt="image"
src="https://github.com/user-attachments/assets/bfdfbac1-cc95-4f26-bf83-277bae839518"
/>

With legal values:
<img width="772" alt="image"
src="https://github.com/user-attachments/assets/14f566cc-d02a-46dd-b433-f8b13ee55bcc"
/>
2025-04-09 14:08:04 +02:00
Mateusz Kwasniewski
f26bf2b8d1
feat: lifecycle column text (#9731) 2025-04-09 13:44:32 +02:00
Jaanus Sellin
02aadfe1bb
feat: update strategy window styles, extract old and new components (#9730) 2025-04-09 13:41:18 +03:00
Jaanus Sellin
a92c79e2dd
feat: styling of AND operator in strategies (#9726) 2025-04-09 11:00:05 +03:00
Tymoteusz Czech
5647fc916e
feat: adjust search page columns (#9722)
New columns for search page
- improved "name" with filtering by type and tag
- lifecycle
- created by (avatars) with filtering
2025-04-09 09:50:30 +02:00
Jaanus Sellin
827b8f274a
chore: make popover center of screen (#9725) 2025-04-09 09:41:30 +03:00
Tymoteusz Czech
28a69afe63
feat: adjust columns for a search page refactor (#9709)
- Change "Project ID" to Project name column in search
- Remove certain columns that are not present in new design
2025-04-08 14:57:50 +02:00
Jaanus Sellin
45a0ddd2a5
fix: fix hover on release template card (#9721)
For some reason, using template literals do not work after its in
enterprise repo. I will try something that matches more over codebase
style.
2025-04-08 15:55:07 +03:00
Mateusz Kwasniewski
1e027dcf4f
feat: adjust filter UI (#9720) 2025-04-08 14:32:30 +02:00
Mateusz Kwasniewski
f8e75e5250
feat: remove archived from filters (#9719) 2025-04-08 13:22:53 +02:00
Jaanus Sellin
84dbae20e8
feat: remove + from the segment dropdown (#9714) 2025-04-08 14:18:01 +03:00
Jaanus Sellin
6c74c994aa
feat: release plan review dialogue (#9712) 2025-04-08 12:24:09 +03:00
Tymoteusz Czech
1930c0f408
fix: update link text for archived feature navigation (#9698)
If you try to visit an archived flag, you're told you can find it on the
project archive page, but that page isn't visible by default anymore.
This is an update to take you to the project overview with a filter for
archived flags instead.
2025-04-08 11:03:01 +02:00
Mateusz Kwasniewski
e76d04a7ad
feat: export button in flags overview (#9715) 2025-04-08 10:23:02 +02:00
Mateusz Kwasniewski
b120c97717
feat: lifecycle filters UI (#9713) 2025-04-08 10:04:07 +02:00
Tymoteusz Czech
1a85b46acc
feat: rename search page and change icon (#9706)
Behind flagsReleaseManagementUI flag
2025-04-07 15:49:44 +02:00
Thomas Heartman
5e35a0fa22
chore: Set up the basis of the new constraint editing component. (#9701)
This PR creates/steals the logic and basic components that we need for
the new constraint editing design and shows it instead of the old one if
the flag is on.

The interface needs a lot of work, but this essentially wires everything
up so that it works with the API on direct editing:

<img width="781" alt="image"
src="https://github.com/user-attachments/assets/97489a08-5f12-47ee-98b3-aefc0b840a2b"
/>

Additionally the code here will need a lot of refactoring. This is a
first draft where I've yanked all the constraint editing logic out of a
nested hierarchy of components that handle validation and lots more. I
expect to clean this up significantly before finishing it up, so please
excuse the mess it's currently in. It turns out to have been lots and
lots more logic than I had anticipated.

This is just a PR to get started, so that the next one will be easier to
work on.
2025-04-07 14:50:42 +02:00
Thomas Heartman
6ea823f011
fix: restore focus style to the env switch (#9707)
Removes the "disableRipple" prop from the FeatureToggleSwitch component,
thereby restoring its focus styles, so that keyboard users can see where
their focus is at.

I don't know the reason this was added originally (the PR doesn't say
anything about it), but the prop changes nothing when hovering with the
mouse, but it does remove focus styles for keyboard navigation.

By removing it, we can bring the focus style back. As far as I can tell,
there's no other difference between the two states.

Both of these screenies have focus on the toggle, but in the first
screenie there's no way to tell.

With the prop:
<img width="397" alt="image"
src="https://github.com/user-attachments/assets/b9a5d764-ec5a-4d3b-b79d-0b52d7bd6891"
/>


Without the prop:
<img width="445" alt="image"
src="https://github.com/user-attachments/assets/3c95c7a6-91de-4ed2-9942-e9fc794e9d40"
/>

Because the component is used in multiple places, this also fixes this
issue in the project flag list (and maybe elsewhere too):
<img width="336" alt="image"
src="https://github.com/user-attachments/assets/6582c58b-fabe-40ce-a141-06b22189a462"
/>
2025-04-07 15:50:07 +03:00
Jaanus Sellin
58d123e998
feat: release plan hover buttons (#9703) 2025-04-07 11:32:31 +03:00
Christopher Kolstad
bd11ece873
fix: consumption warning is either/or not and 2025-04-04 11:09:48 +02:00
Christopher Kolstad
32ae7bc7d1
we don't have historical data available for purchased traffic (#9700)
So this PR removes the purchased dt point, as well as the total
available. Using the same check our overageCalculation does (it also
only works on current month)
2025-04-04 11:08:20 +02:00
Thomas Heartman
6b5c29a6e6
chore: Add flag for add/edit strategies (#9699)
Adds a flag for the edd/edit strategies updates.
2025-04-04 10:18:05 +02:00
Gastón Fournier
2748ced8e2
feat: only admin can fetch license (#9697)
Non admins can not fetch the license they're still allowed to check it
but not to get it
2025-04-03 16:26:36 +02:00
Tymoteusz Czech
821851a2f3
fix: depenency name truncator (#9696)
![image](https://github.com/user-attachments/assets/ce8d1dc4-d03a-4b42-aa30-c5cae3b6f53c)
2025-04-03 13:45:25 +00:00
Christopher Kolstad
f20ea86c61
feat: added network traffic bundle (#9691) 2025-04-03 14:37:07 +02:00
Thomas Heartman
07d11c7a87
Refactor: cleaner project status modal link handling (#9694)
Removes random booleans, uses more explicit functions.
2025-04-03 12:29:03 +00:00
Jaanus Sellin
9a4eb059e6
feat: strategy selector screen updates (#9692) 2025-04-03 14:51:00 +03:00
Thomas Heartman
a02fe7a245
fix: project status modal links don't work (#9693)
Fixes a bug where project status modal links wouldn't work.

The reason they didn't work is because we modified the query params on
modal close, and because we manually close the modal when you click a
link (because otherwise it'd stay open when you navigated to other
project pages), we inadverdently reset the URL.

I'm not entirely sure why setting the search params would modify the URL
itself, but I'm guessing that's related to the implementation.

One way to solve this is to indicate whether we're closing the modal
because a link was clicked or not, and only modify the query params if
that is not the case.
2025-04-03 13:13:18 +02:00
Thomas Heartman
3447b03e1c
Fix(1-3564)/hide project owner if system (#9686)
Hides owner avatars in cases where the owner type is "system". Touches
dashboard and project card owners.

Back when all projects required owners, we introduced the new project
cards that have the owner listed in the footer. Because, theoretically,
you weren’t allowed to create projects without owners, the only project
that should ever be without an owner was the default project. So we
thought it made sense to say that it was owned by the system.

But now that owners are optional, that doesn't necessarily make sense
anymore. As such, we'll just hide their avatars to begin with.

<img width="726" alt="image"
src="https://github.com/user-attachments/assets/950cd909-c891-48f1-9ef7-fd74922a5990"
/>

<img width="1497" alt="image"
src="https://github.com/user-attachments/assets/f4d213f5-febb-46f8-89f0-899e77652e07"
/>

Because the components expected the avatars to be there, we now need to
set an explicit min-height on them, so that they don't collapse.
Luckily, we can use the default avatar height (and also force that so
that they change in tandem) and use that in both places.
2025-04-03 10:43:58 +02:00
David Leek
4344c94a90
chore: remove z-index from sticky admin menu as its probably not needed (#9690) 2025-04-03 10:24:26 +02:00
David Leek
b9a7c0cda6
feat: command bar admin menu improvements (#9689) 2025-04-03 10:23:45 +02:00
Thomas Heartman
72e71b714d
fix: link to "view more insights" from dashboard goes to status modal (#9684)
Updates the link from the project dashboard page to take you to the
project status modal instead of the old insights page.

We didn't have a way to auto-open the modal before, so I added a query
param to control it.
2025-04-02 13:57:37 +00:00
Thomas Heartman
130b3869cc
Fix: lifetime API command doesn't update. (#9685)
Seems the previous value was hardcoded. Now we check the values you set
instead.
2025-04-02 15:35:29 +02:00
Tymoteusz Czech
e436ef29f1
fix: add Project and Playground icons for command bar (#9677)
Updating `IconRenderer` component in the `NavigationSidebar`. It will fix icons not showing up for command bar search results.
2025-04-02 15:31:55 +02:00
Jaanus Sellin
89724209cd
feat: new styling for strategy selector (#9683) 2025-04-02 14:55:36 +03:00
Thomas Heartman
645b005f29
Fix(1-3553): fix focus styles and tab navigation for segments + constraints (#9655)
Fixes a few small focus styling and tab navigation issues for the new
segments + constraints.

Before:
The segment acc header was tabbable even though you can't do anything
with it (by mouse or by keyboard)

![image](https://github.com/user-attachments/assets/de5c07ee-e55c-45f4-bd6e-3d978a0a51ca)

The focus color would stay even when you're focusing stuff inside the
accordion

![image](https://github.com/user-attachments/assets/1a75038b-256f-43b5-95ed-0a3d455d17f8)

Constraint items have focus styles that exceed the accordion borders,
causing a weird squaring effect:

![image](https://github.com/user-attachments/assets/638c9f5d-daf0-4570-8323-49141183dad8)

After:
The segment acc header isn't reachable by tab anymore.

The segment acc header doesn't change its background color on elements
inside getting focus:

![image](https://github.com/user-attachments/assets/4756e8b0-b461-49df-bf3e-ec8d26142877)

The constraint item has rounded corners for focus styles too:

![image](https://github.com/user-attachments/assets/fccf94e4-8b7a-4823-bcf5-24a0fe046cf7)

![image](https://github.com/user-attachments/assets/90020d85-990c-41de-9acb-ab2cc81a8f66)
2025-04-02 13:37:16 +02:00
Jaanus Sellin
b44ac069ae
feat: new feature strategy menu (#9678) 2025-04-02 09:00:34 +00:00
David Leek
18346d1107
feat: admin menu: unleash logo in header - links to dashboard (#9676) 2025-04-02 08:34:43 +02:00
Thomas Heartman
f6e786a6c0
Remove caseInsensitiveInOperators flag (#9670)
The flag has never made it out of dev, and has not been turned on
consistently since 2023. There was a project for it, but we have since
abandoned it.
2025-04-01 14:57:32 +02:00
Tymoteusz Czech
6e947a8ba6
fix: linter rule for hooks (#9660) 2025-04-01 14:33:17 +02:00
David Leek
a9490e6fe4
chore: admin menu main layout tweaks (#9671) 2025-04-01 14:16:26 +02:00
Fredrik Strand Oseberg
7545f5af60
refactor: change colors (#9672)
This PR fixes incorrect colors chosen from the theme. It now matches the
figma files.
2025-04-01 13:24:40 +02:00
Fredrik Strand Oseberg
c75779e677
refactor: colorpicker (#9668)
This PR refactors the color picker so we stick to one set of colors
instead of changing available colors when theme changes. Colors picked
also work in dark theme and is aligned with UX.
2025-04-01 12:32:13 +02:00
David Leek
c21ed3ed5e
chore: add flags to control network route links from menu (#9667) 2025-04-01 11:18:32 +02:00
renovate[bot]
097c83edfb
chore(deps): update dependency vite to v5.4.16 [security] (#9666)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vite.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`5.4.15` ->
`5.4.16`](https://renovatebot.com/diffs/npm/vite/5.4.15/5.4.16) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.4.15/5.4.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.4.15/5.4.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2025-31125](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8)

### Summary

The contents of arbitrary files can be returned to the browser.

### Impact
Only apps explicitly exposing the Vite dev server to the network (using
`--host` or [`server.host` config
option](https://vitejs.dev/config/server-options.html#server-host)) are
affected.

### Details

- base64 encoded content of non-allowed files is exposed using
`?inline&import` (originally reported as `?import&?inline=1.wasm?init`)
- content of non-allowed files is exposed using `?raw?import`

`/@&#8203;fs/` isn't needed to reproduce the issue for files inside the
project root.

### PoC

Original report (check details above for simplified cases):

The ?import&?inline=1.wasm?init ending allows attackers to read
arbitrary files and returns the file content if it exists. Base64
decoding needs to be performed twice
```
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev
```

Example full URL
`http://localhost:5173/@&#8203;fs/C:/windows/win.ini?import&?inline=1.wasm?init`

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.4.16`](https://redirect.github.com/vitejs/vite/compare/v5.4.15...v5.4.16)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.15...v5.4.16)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" in timezone Europe/Madrid,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 09:01:45 +00:00
David Leek
f7dbfe1162
chore: admin menu enterprise badge (#9656) 2025-04-01 09:13:40 +02:00
renovate[bot]
98a0fba1cb
chore(deps): update dependency vite to v5.4.15 [security] (#9663)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vite.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`5.4.14` ->
`5.4.15`](https://renovatebot.com/diffs/npm/vite/5.4.14/5.4.15) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.15?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.15?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.4.14/5.4.15?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.4.14/5.4.15?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2025-30208](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-x574-m823-4x7w)

### Summary
The contents of arbitrary files can be returned to the browser.

### Impact
Only apps explicitly exposing the Vite dev server to the network (using
`--host` or [`server.host` config
option](https://vitejs.dev/config/server-options.html#server-host)) are
affected.

### Details
`@fs` denies access to files outside of Vite serving allow list. Adding
`?raw??` or `?import&raw??` to the URL bypasses this limitation and
returns the file content if it exists. This bypass exists because
trailing separators such as `?` are removed in several places, but are
not accounted for in query string regexes.

### PoC
```bash
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev

$ echo "top secret content" > /tmp/secret.txt

# expected behaviour
$ curl "http://localhost:5173/@&#8203;fs/tmp/secret.txt"

    <body>
      <h1>403 Restricted</h1>
      <p>The request url &quot;/tmp/secret.txt&quot; is outside of Vite serving allow list.

# security bypassed
$ curl "http://localhost:5173/@&#8203;fs/tmp/secret.txt?import&raw??"
export default "top secret content\n"
//# sourceMappingURL=data:application/json;base64,eyJ2...
```

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.4.15`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.15)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.14...v5.4.15)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.15/packages/vite/CHANGELOG.md)
for details.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" in timezone Europe/Madrid,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 16:20:38 +00:00
Thomas Heartman
89f63285a0
Fix: Move hooks to before we bail if the flag is off. (#9659)
This fixes the a react crash when we render more/fewer hooks than on the
previous render if the flag state changes.
2025-03-31 13:59:09 +00:00
Gastón Fournier
eae7535bfc
feat: remove access overview flag making it GA ready (#9654)
This is exposing information we already have about permissions in a UI
that should help users have an overview of the permissions of a user
with regards to projects and environments
2025-03-31 14:33:38 +02:00
Tymoteusz Czech
ce230ba96b
Fix: separate segment and constraint accordions (#9652)
Segment accordion should not share state with constraint accordions inside
2025-03-31 12:11:34 +00:00
Mateusz Kwasniewski
1f1b00c38f
chore: fixing typo pre-defined (#9651) 2025-03-31 13:58:22 +02:00
Fredrik Strand Oseberg
aa6c422165
Feat/tag type frontend display (#9630)
Add frontend for displaying tag colors
2025-03-31 11:55:49 +02:00
David Leek
5a55181561
feat: show only link to /admin in mobile menu (#9647) 2025-03-31 08:37:15 +02:00
Jaanus Sellin
b55732d719
fix: tooltips not working after base element is also clicked (#9629) 2025-03-31 08:59:08 +03:00
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
Thomas Heartman
fc0383620b
fix: focus styles for env headers (#9635)
Adds focus styles to the env accordion header only when the focus is on
the header itself (not on the env toggle inside the header). The focus
style is consistent with what we do for other accordions (dashboard,
milestones).

Middle one is focused:

![image](https://github.com/user-attachments/assets/df87bd99-8fe2-4093-afd8-4cbce9f2c943)


Focus is on the toggle inside the top one (yeh, we should have better
focus styles for toggles; but that's not for now):

![image](https://github.com/user-attachments/assets/2a046d4c-8585-4021-a58e-32ef81b1f701)

Open and focused: 

![image](https://github.com/user-attachments/assets/fdbb5bda-4be5-4354-b213-5e2c7a59eb59)

Getting the consistent background for the header when it's open is a
little tricky because the accordion container and summary are split into
different files. ~~This first iteration used a class name for the
specific header (because envs can have multiple accordion headers inside
them, e.g. release plans) and setting a CSS variable in the summary, so
that the background matches.~~ I found out that I only need to set it in
the parent anyway 😄

Without it, you get this (notice that there is a little white outside
the lower corners):

![image](https://github.com/user-attachments/assets/4d71d73c-7f45-46b5-811d-c6e36f9be5ce)
2025-03-28 15:59:25 +01:00
Christopher Kolstad
14c8b97441
task: added a hook for cleanly deciding new or old admin menu (#9645) 2025-03-28 14:45:09 +01:00
David Leek
5da9f75014
chore: fix weird alignment issue with main content and admin menu (#9636) 2025-03-28 13:22:13 +01:00
Tymoteusz Czech
db1ec7ffa6
fix: feedback button (#9644)
Fix alignment of "add strategy" & "add template" buttons

---------

Co-authored-by: Simon Hornby <sighphyre@users.noreply.github.com>
2025-03-28 11:48:24 +00:00
Simon Hornby
8793d9e632
chore: swap release template instruction svgs for pngs (#9642) 2025-03-28 10:47:36 +02:00
David Leek
78dfbde007
fix: Back to Unleash onClick+useNavigate instead of href (#9641) 2025-03-28 09:34:48 +01:00
David Leek
39755c7f19
fix: useLocation instead of browser location for resolving pathname (#9640) 2025-03-28 08:54:21 +01:00
Simon Hornby
7f98709730
fix: fixes an issue where the new feedback button on the config strategy pane (#9638) 2025-03-27 16:43:14 +01:00
Mateusz Kwasniewski
f97924eb36
feat: enforce change request settings in create project dialog (#9637) 2025-03-27 16:15:09 +01:00
Simon Hornby
e53e2ca0c7
chore: ux feedback on release templates (#9634)
Makes two small changes to the release template UI based on walkthrough
feedback with UX

1) The how-to descriptions for creating release plans won't get hidden
when the user has created release plans. We think too much is better
than too little. At a later point we'll push users to documentation more
aggressively
2) The warning for when the user taps the "Use template" button now has
a line break to give it some breathing room and will render anchored to
the bottom left of the originating button rather than covering it
2025-03-27 16:31:47 +02:00
Simon Hornby
b5e52a6160
chore: feedback link on feature strategy (#9633)
Adds a new link on the feature strategy that points to the feedback link
(pops out new window, only renders if release plans are enabled)

![image](https://github.com/user-attachments/assets/bd965b88-4d95-4e75-a931-af365fe777dc)

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2025-03-27 15:19:14 +02:00
Mateusz Kwasniewski
53a4f61260
feat: enabled change requests reacting to available environments (#9631) 2025-03-27 13:46:29 +01:00
Tymoteusz Czech
cf053470e5
feat: improve constraints item on small screens (#9609)
Fixing constraint operator item, items alignment and padding for better presentation on mobile devices.
2025-03-27 13:33:25 +01:00
David Leek
f7c04cc2cb
feat: admin menu for mobile (#9626) 2025-03-27 13:28:44 +01:00
Mateusz Kwasniewski
6b793677b9
feat: preselect change request settings in create project (#9625) 2025-03-27 12:17:21 +01:00
Mateusz Kwasniewski
cc0348beba
feat: show environments with change requests (#9628) 2025-03-27 12:16:04 +01:00
Simon Hornby
47c6f43865
chore: add some getting started info and images when you have no release plans (#9627) 2025-03-27 12:58:56 +02:00
Thomas Heartman
138e93c41a
chore: drag-n-drop tooltip for strategies (#9623)
Implements the drag-n-drop tooltip the first time the user sees a
strategy drag handle on the feature env overview. It uses React Joyride,
which is the same system we use for the demo.

The design is a little different from the sketches because I couldn't
find a quick way to move the content (and the arrow) to be shifted
correctly.

If the demo is also active the first time a user visits a strategy page,
it'll render both the demo steps and this, but this tooltip doesn't
prevent the user from finishing the tour. It might be possible to avoid
that through checking state in localstorage, but I'd like to get this
approved first.

The tooltip uses the auth splash system to decide whether to show the
tooltip, meaning it's stored per user in the DB. To avoid it
re-rendering before you refetch from the back end, we also use a
temporary variable to check whether the user has closed it.

Rendered:

![image](https://github.com/user-attachments/assets/5912d055-10d5-4a1d-93f4-f12ff4ef7419)

If the tour is also active:

![image](https://github.com/user-attachments/assets/b0028a0f-3a0f-48aa-9ab9-8d7cf399055a)
2025-03-27 11:16:37 +01:00
Simon Hornby
6aae9be19c
chore: add a message stating no templates when there aren't any (#9624) 2025-03-27 11:34:45 +02:00
Simon Hornby
01f3af4bda
chore: whats new dialog (#9622)
Adds a new dialog option for whats in new in Unleash items. This can be
tiggerred by setting `popout` to true when configuring the items.

To do this without setting fire to the code, I've also needed to
refactor the NewInUnleash components:

- NewInUnleashItem becomes a dumb item that decides if a dialog or
tooltip should be rendered and controls that render state
- The child item in NewInUnleashItem has been moved out into
NewInUnleashSideBarItem, which feels a bit better since that is a
distinct UI element from the popup
- NewInUnleashDialog now exists, which is a dialog version of the popup.
Meaningfully different to ask for a new component

## Screenshots

![image](https://github.com/user-attachments/assets/33d3e7f5-9178-4d2d-9355-866814e58164)
2025-03-27 11:30:24 +02:00
Mateusz Kwasniewski
1bd328f4e1
feat: create and edit environment required approvals (#9621) 2025-03-26 15:54:46 +01:00
David Leek
07a4106f48
feat: admin menu (#9617) 2025-03-26 15:08:56 +01:00
Thomas Heartman
328c5368ed
Hide env metrics when an env has no strategies. (#9620)
Changes the logic in when we display metrics for an env to not showing
 them unless we have strategies.


![image](https://github.com/user-attachments/assets/83dc2465-b3fb-49d1-a9fe-886fd16fea25)
2025-03-26 13:43:12 +00:00
Jaanus Sellin
18d1a6c1bc
feat: show seats used only for full enterprise customers (#9618) 2025-03-26 14:53:51 +02:00
Gastón Fournier
380d2c2c5d
feat: release template feedback module (#9614)
## About the changes

Adds a release template feedback module to release templates: 

![image](https://github.com/user-attachments/assets/848d386b-0e20-43d0-b113-51e1e26c5a13)

It uses the Card component by defining a new variant of it.

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2025-03-25 17:01:04 +01:00
Nuno Góis
b885a927e6
chore: stylable card (#9604)
https://linear.app/unleash/issue/2-3442/make-card-component-stylable

Makes the Card component introduced in
https://github.com/Unleash/unleash/pull/9096 stylable.

E.g.

```tsx
const StyledCard = styled(Card)(({ theme }) => ({
    backgroundColor: 'pink',
}));
```
2025-03-25 16:39:32 +01:00
Simon Hornby
9106fbf721
feat: add use template button to strategies selector on flag config pane (#9605) 2025-03-25 14:18:20 +02:00
Simon Hornby
dbc953b222
chore: consolidate release plan flags (#9606)
Removes the `releasePlanChangeRequests` flag and swaps existing references to it to the `releasePlans` flag instead
2025-03-25 13:36:23 +02:00
Thomas Heartman
3d1a97f745
Fix(1-3462)/janky drag n drop (#9599)
Fixes janky drag and drop behavior and updates the styling of the drag
handle focus.

The solution uses the same method to prevent oscillation as we do for
strategies. To get access to the same context, I've added some extra
parameters to the OnMoveItem function and passed along the extra data
from the `useDragItem` hook. No new information, just making more of it
available, and turning it into an object so that you can declare the
properties you need (and get rid of potential wrong ordering of
drag/drop indices).

For the drag and drop behavior: If the dragged element is the same size
or smaller than the element you're dragging over, they will swap places
as soon as you enter that space. If the target element is larger,
however, they won't swap until you reach the drag/drop handle, even if
they could theoretically switch somewhere in the middle. This appears to
be a limitation of how the drag/drop event system works. New drag events
are only fired when you "dragenter" a new element, so it never fires
anywhere in the middle. Technically, we could insert more empty spans
inside the drag handle to trigger more events, but I wanna hold off on
that because it doesn't sound great.

When dragging, only the handle is visible; the rest of the card stays in
place. For strategies, we show a "ghost" version of the config you're
dragging. However, if you apply the drag handle to the card itself, all
of it becomes draggable, but you can no longer select the text inside
it, which is unfortunate. Strategies do solev this, though, but I
haven't been able to figure out why. If you know, please share!

Before:

![image](https://github.com/user-attachments/assets/d3bf9fd2-7d74-4ad7-adde-b729403f82b3)


After:

![image](https://github.com/user-attachments/assets/27d3ca4e-112a-4420-b10d-7df59a7c09a0)
2025-03-25 11:43:40 +01:00
Tymoteusz Czech
d8c7e31b18
Constraint values preview and filtering (#9603)
Restore constraint accordion to flag page.
2025-03-25 11:24:22 +01:00
renovate[bot]
678ec24e03
chore(deps): update material-ui monorepo (#9426)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/icons-material](https://mui.com/material-ui/material-icons/)
([source](https://redirect.github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material))
| [`5.15.3` ->
`5.16.14`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.15.3/5.16.14)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2ficons-material/5.16.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2ficons-material/5.16.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2ficons-material/5.15.3/5.16.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2ficons-material/5.15.3/5.16.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://redirect.github.com/mui/material-ui/tree/HEAD/packages/mui-lab))
| [`5.0.0-alpha.159` ->
`5.0.0-alpha.175`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.159/5.0.0-alpha.175)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2flab/5.0.0-alpha.175?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2flab/5.0.0-alpha.175?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2flab/5.0.0-alpha.159/5.0.0-alpha.175?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2flab/5.0.0-alpha.159/5.0.0-alpha.175?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/)
([source](https://redirect.github.com/mui/material-ui/tree/HEAD/packages/mui-material))
| [`5.15.3` ->
`5.16.14`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.15.3/5.16.14)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fmaterial/5.16.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fmaterial/5.16.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fmaterial/5.15.3/5.16.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fmaterial/5.15.3/5.16.14?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/x-date-pickers](https://mui.com/x/react-date-pickers/)
([source](https://redirect.github.com/mui/mui-x/tree/HEAD/packages/x-date-pickers))
| [`7.27.1` ->
`7.28.0`](https://renovatebot.com/diffs/npm/@mui%2fx-date-pickers/7.27.1/7.28.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fx-date-pickers/7.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fx-date-pickers/7.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fx-date-pickers/7.27.1/7.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fx-date-pickers/7.27.1/7.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mui/material-ui (@&#8203;mui/icons-material)</summary>

###
[`v5.16.14`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.14)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.13...v5.16.14)

<!-- generated comparing v5.16.13..v5.x -->

A big thanks to the 1 contributor who made this release possible.

##### `@mui/material@5.16.14`

- \[Autocomplete] Revert: Fix options list rendering in freeSolo mode
([#&#8203;44857](https://redirect.github.com/mui/material-ui/issues/44857))
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

All contributors of this release in alphabetical order:
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

###
[`v5.16.13`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.13)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.12...v5.16.13)

A big thanks to the 2 contributors who made this release possible.

##### `@mui/material-nextjs@5.16.13`

- Support Next 15.0.0 in v5
([#&#8203;44853](https://redirect.github.com/mui/material-ui/issues/44853))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

##### Docs

- \[material-ui] Fix crashing of DraggableDialog demo
([#&#8203;44811](https://redirect.github.com/mui/material-ui/issues/44811))
[@&#8203;sai6855](https://redirect.github.com/sai6855)

##### Core

- Use React 18's JSX runtime for v5.x UMD builds
([#&#8203;44815](https://redirect.github.com/mui/material-ui/issues/44815))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

All contributors of this release in alphabetical order:
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai),
[@&#8203;sai6855](https://redirect.github.com/sai6855)

###
[`v5.16.12`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.12)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.11...v5.16.12)

Material UI v5 is now compatible with React 19
([#&#8203;44720](https://redirect.github.com/mui/material-ui/issues/44720))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

##### Core

- Bump react 19 in v5
([#&#8203;44720](https://redirect.github.com/mui/material-ui/issues/44720))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- Add `latest-v5` tag to v5 releases
([#&#8203;44757](https://redirect.github.com/mui/material-ui/issues/44757))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

All contributors of this release in alphabetical order:
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

###
[`v5.16.11`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.11)

A big thanks to the contributor who made this release possible.

##### Core

- Bump pnpm to 9.14.4 in v5
([#&#8203;44705](https://redirect.github.com/mui/material-ui/issues/44705))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- Fix UMD examples
([#&#8203;44706](https://redirect.github.com/mui/material-ui/issues/44706))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- \[typescript] Rescue missing backports v5
([#&#8203;44712](https://redirect.github.com/mui/material-ui/issues/44712))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

All contributors of this release in alphabetical order:
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

###
[`v5.16.9`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.9)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.8...v5.16.9)

A big thanks to the 2 contributors who made this release possible.

##### `@mui/material@5.16.9`

- \[Tabs] Cherry pick `ScrollbarSize` ref being overridden fix
([#&#8203;44595](https://redirect.github.com/mui/material-ui/issues/44595))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

##### Core

- Ignore browserslist and remove tag latest
([#&#8203;44589](https://redirect.github.com/mui/material-ui/issues/44589))
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)

All contributors of this release in alphabetical order:
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai),
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)

###
[`v5.16.8`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.8)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.7...v5.16.8)

A big thanks to the 8 contributors who made this release possible.

##### `@mui/material@5.16.8`

- Cherry pick ref accessing PRs
([#&#8203;44543](https://redirect.github.com/mui/material-ui/issues/44543))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

##### `@mui/utils@5.16.8`

- Skip deep clone React element (v5.x)
([#&#8203;44494](https://redirect.github.com/mui/material-ui/issues/44494))
[@&#8203;jukkatupamaki](https://redirect.github.com/jukkatupamaki)

##### Docs

- Keep sponsors up to date
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix MUI Treasury Layout broken links
([#&#8203;43753](https://redirect.github.com/mui/material-ui/issues/43753))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Strengthen CSP rule
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Give up on restoring search
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Normalize next major message
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix versions URL
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix use of absolute URLs
([#&#8203;43567](https://redirect.github.com/mui/material-ui/issues/43567))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Restore search on v5
([#&#8203;43566](https://redirect.github.com/mui/material-ui/issues/43566))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix link from v5 to v6
([#&#8203;43585](https://redirect.github.com/mui/material-ui/issues/43585))
[@&#8203;alexfauquette](https://redirect.github.com/alexfauquette)
- Updated mui-x roadmap links with the new project URL
([@&#8203;michelengelen](https://redirect.github.com/michelengelen))
([#&#8203;43446](https://redirect.github.com/mui/material-ui/issues/43446))
[@&#8203;michelengelen](https://redirect.github.com/michelengelen)
- Fix broken link to Next.js docs
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

##### Core

- \[blog] Polish Upcoming changes to MUI X pricing in 2024
([#&#8203;43438](https://redirect.github.com/mui/material-ui/issues/43438))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[blog] Add video to the Pigment CSS blog post
([#&#8203;42500](https://redirect.github.com/mui/material-ui/issues/42500))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[blog] Announcing pricing changes Sep 2024
([#&#8203;43272](https://redirect.github.com/mui/material-ui/issues/43272))
[@&#8203;cherniavskii](https://redirect.github.com/cherniavskii)
- Prepare for moving to v5.x branch
([#&#8203;43447](https://redirect.github.com/mui/material-ui/issues/43447))
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)
- \[core] Cherry pick
[#&#8203;42346](https://redirect.github.com/mui/material-ui/issues/42346)
to v5
([#&#8203;44475](https://redirect.github.com/mui/material-ui/issues/44475))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- \[core] Fix CI on v5.x branch
([#&#8203;44487](https://redirect.github.com/mui/material-ui/issues/44487))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- \[core] Fix CI on v5.x branch
([#&#8203;43564](https://redirect.github.com/mui/material-ui/issues/43564))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[examples] Fix v5 clone example instructions
([#&#8203;43755](https://redirect.github.com/mui/material-ui/issues/43755))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[examples] Fix CLI download instructions
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[examples] Fix CDN live preview example
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[examples] Fix more examples to work with v5
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[examples] Freeze examples dependency range
([#&#8203;43435](https://redirect.github.com/mui/material-ui/issues/43435))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

All contributors of this release in alphabetical order:
[@&#8203;alexfauquette](https://redirect.github.com/alexfauquette),
[@&#8203;cherniavskii](https://redirect.github.com/cherniavskii),
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai),
[@&#8203;jukkatupamaki](https://redirect.github.com/jukkatupamaki),
[@&#8203;michelengelen](https://redirect.github.com/michelengelen),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;rluzists1](https://redirect.github.com/rluzists1),
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)

###
[`v5.16.7`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.7)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.6...v5.16.7)

*Aug 9, 2024*

A big thanks to the 3 contributors who made this release possible.

##### `@mui/material@5.16.7`

- ​<!-- 3 -->\[material-ui]\[mui-system] Add support for version runtime
checks
([#&#8203;43233](https://redirect.github.com/mui/material-ui/issues/43233))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

##### Docs

- ​<!-- 4 -->\[docs] Fix 301
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

##### Core

- ​<!-- 2 -->\[website] Fix wrong link in pricing table
([@&#8203;zanivan](https://redirect.github.com/zanivan))
([#&#8203;43143](https://redirect.github.com/mui/material-ui/issues/43143))
[@&#8203;zanivan](https://redirect.github.com/zanivan)
- ​<!-- 1 -->\[website] Add blog link to pricing table
([@&#8203;zanivan](https://redirect.github.com/zanivan))
([#&#8203;43140](https://redirect.github.com/mui/material-ui/issues/43140))
[@&#8203;zanivan](https://redirect.github.com/zanivan)

All contributors of this release in alphabetical order:
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;zanivan](https://redirect.github.com/zanivan)

###
[`v5.16.6`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.6)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.5...v5.16.6)

<!-- generated comparing v5.16.5..master -->

*Jul 30, 2024*

A big thanks to the 5 contributors who made this release possible.

##### `@mui/material@5.16.6`

- \[Divider] Enable borderStyle enhancement in divider with children
([#&#8203;43059](https://redirect.github.com/mui/material-ui/issues/43059))
[@&#8203;anuujj](https://redirect.github.com/anuujj)

##### Docs

- \[material-ui]\[Card] Update CardMedia description
([#&#8203;43121](https://redirect.github.com/mui/material-ui/issues/43121))
[@&#8203;shahzaibdev1](https://redirect.github.com/shahzaibdev1)
- \[material-ui] Replace deprecated `<ListItem button/>` with
`ListItemButton` component in routing libraries list example
([#&#8203;43114](https://redirect.github.com/mui/material-ui/issues/43114))
[@&#8203;aliharis99](https://redirect.github.com/aliharis99)
- \[material-ui]\[Snackbar] Improve close `reason` type in demos
([#&#8203;43105](https://redirect.github.com/mui/material-ui/issues/43105))
[@&#8203;sai6855](https://redirect.github.com/sai6855)

##### Core

- \[code-infra] Use the same CI names on master & next
([#&#8203;43064](https://redirect.github.com/mui/material-ui/issues/43064))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)

All contributors of this release in alphabetical order:
[@&#8203;aliharis99](https://redirect.github.com/aliharis99),
[@&#8203;anuujj](https://redirect.github.com/anuujj),
[@&#8203;mnajdova](https://redirect.github.com/mnajdova),
[@&#8203;sai6855](https://redirect.github.com/sai6855),
[@&#8203;shahzaibdev1](https://redirect.github.com/shahzaibdev1)

###
[`v5.16.5`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.5)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.4...v5.16.5)

*Jul 25, 2024*

A big thanks to the 4 contributors who made this release possible.

##### `@mui/utils@5.16.5`

- ​<!-- 1 -->\[utils] Add dependency to
[@&#8203;mui/types](https://redirect.github.com/mui/types)
([@&#8203;mnajdova](https://redirect.github.com/mnajdova))
([#&#8203;43047](https://redirect.github.com/mui/material-ui/issues/43047))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)

##### Docs

- ​<!-- 4 -->\[material-ui]\[joy-ui]\[Autocomplete] Fix `Hint` demo
([@&#8203;ManthanGajjar](https://redirect.github.com/ManthanGajjar))
([#&#8203;43039](https://redirect.github.com/mui/material-ui/issues/43039))
[@&#8203;ManthanGajjar](https://redirect.github.com/ManthanGajjar)
- ​<!-- 3 -->Fix CHANGELOG convention
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- ​<!-- 2 -->\[material-ui] Fix broken image links in blog template on
master branch
([#&#8203;42969](https://redirect.github.com/mui/material-ui/issues/42969))
[@&#8203;navedqb](https://redirect.github.com/navedqb)

All contributors of this release in alphabetical order:
[@&#8203;ManthanGajjar](https://redirect.github.com/ManthanGajjar),
[@&#8203;mnajdova](https://redirect.github.com/mnajdova),
[@&#8203;navedqb](https://redirect.github.com/navedqb),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

**Full Changelog**:
https://github.com/mui/material-ui/compare/v5.16.4...v5.16.5

###
[`v5.16.4`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.4)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.3...v5.16.4)

*Jul 16, 2024*

A big thanks to the one contributor who made this release possible.

##### `@mui/material@5.16.4`

- ​<!-- 1 -->Fix wrong import in Popover types
([#&#8203;42967](https://redirect.github.com/mui/material-ui/issues/42967))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)

All contributors of this release in alphabetical order:
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)

###
[`v5.16.3`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.3)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.2...v5.16.3)

*Jul 16, 2024*

A big thanks to the 3 contributors who made this release possible.

##### `@mui/material@5.16.3`

- ​<!-- 1 -->\[material] Add missing dependency
([#&#8203;42959](https://redirect.github.com/mui/material-ui/issues/42959))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)

##### Docs

- ​<!-- 3 -->\[material-ui]\[Autocomplete] Add instructions about
`autosuggest-highlight` dependency
([#&#8203;42953](https://redirect.github.com/mui/material-ui/issues/42953))
[@&#8203;HoFa1997](https://redirect.github.com/HoFa1997)
- ​<!-- 2 -->Move feedback from Canny to GitHub
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

All contributors of this release in alphabetical order:
[@&#8203;HoFa1997](https://redirect.github.com/HoFa1997),
[@&#8203;mnajdova](https://redirect.github.com/mnajdova),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

###
[`v5.16.2`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.2)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.1...v5.16.2)

*Jul 16, 2024*

A big thanks to the 2 contributors who made this release possible.

##### `@mui/material@5.16.2`

- ​<!-- 2 -->\[material] Remove dependency to
[@&#8203;mui/base](https://redirect.github.com/mui/base)
([@&#8203;mnajdova](https://redirect.github.com/mnajdova))
([#&#8203;42917](https://redirect.github.com/mui/material-ui/issues/42917))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)

##### Core

- ​<!-- 1 -->\[website] Sync /about page
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

All contributors of this release in alphabetical order:
[@&#8203;mnajdova](https://redirect.github.com/mnajdova),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

###
[`v5.16.1`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.1)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.16.0...v5.16.1)

A big thanks to the 4 contributors who made this release possible. Here
are some highlights :

- ⚛️ All packages, including Material UI, are now compatible with React
18.3.1

##### `@mui/material@5.16.1`

- \[AppBar] Fix inherit color is inconsistent between ThemeProvider and
CssVarsProvider
([#&#8203;42713](https://redirect.github.com/mui/material-ui/issues/42713))
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

##### `@mui/joy@5.0.0-beta.48`

- \[Autocomplete] Fix React spread key warning
([#&#8203;42856](https://redirect.github.com/mui/material-ui/issues/42856))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)

##### Docs

- \[material-ui] Fix React 18.3 key spread warnings in Autocomplete
demos
([#&#8203;42854](https://redirect.github.com/mui/material-ui/issues/42854))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[material-ui] Fix type error in virtualized table demo
([#&#8203;42852](https://redirect.github.com/mui/material-ui/issues/42852))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- Fix typos ([@&#8203;omahs](https://redirect.github.com/omahs))
([#&#8203;42888](https://redirect.github.com/mui/material-ui/issues/42888))
[@&#8203;omahs](https://redirect.github.com/omahs)
- Fix 301
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

##### Core

- \[core] Bump React to 18.3.1
([#&#8203;42846](https://redirect.github.com/mui/material-ui/issues/42846))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[core] Remove react-test-renderer
([#&#8203;42853](https://redirect.github.com/mui/material-ui/issues/42853))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[core] Replace enzyme in describeConformance
([#&#8203;42847](https://redirect.github.com/mui/material-ui/issues/42847))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[test] Remove enzyme
([#&#8203;42850](https://redirect.github.com/mui/material-ui/issues/42850))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[test] Remove createMount test util
([#&#8203;42849](https://redirect.github.com/mui/material-ui/issues/42849))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[base-ui] Fix React spread key warning in test
([#&#8203;42855](https://redirect.github.com/mui/material-ui/issues/42855))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[styles]\[withStyles] Expect React defaultProps warning in test
([#&#8203;42752](https://redirect.github.com/mui/material-ui/issues/42752))
([#&#8203;42851](https://redirect.github.com/mui/material-ui/issues/42851))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)

All contributors of this release in alphabetical order:
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;omahs](https://redirect.github.com/omahs),
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

###
[`v5.16.0`](https://redirect.github.com/mui/material-ui/releases/tag/v5.16.0)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.21...v5.16.0)

A big thanks to the 5 contributors who made this release possible. Here
are some highlights :

- 🚀 Added `InitColorSchemeScript` for Next.js App Router
([#&#8203;42829](https://redirect.github.com/mui/material-ui/issues/42829))
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)

##### `@mui/material@5.16.0`

- \[Alert] Add ability to override slot props
([@&#8203;alexey-kozlenkov](https://redirect.github.com/alexey-kozlenkov))
([#&#8203;42808](https://redirect.github.com/mui/material-ui/issues/42808))
[@&#8203;alexey-kozlenkov](https://redirect.github.com/alexey-kozlenkov)
- Add `InitColorSchemeScript` for Next.js App Router
([#&#8203;42829](https://redirect.github.com/mui/material-ui/issues/42829))
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)
- Add `DefaultPropsProvider`
([#&#8203;42820](https://redirect.github.com/mui/material-ui/issues/42820))
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)
- Support `CssVarsTheme` in `responsiveFontSizes` return type
([@&#8203;jxdp](https://redirect.github.com/jxdp))
([#&#8203;42806](https://redirect.github.com/mui/material-ui/issues/42806))
[@&#8203;jxdp](https://redirect.github.com/jxdp)
- Remove warning from `getInitColorSchemeScript`
([#&#8203;42838](https://redirect.github.com/mui/material-ui/issues/42838))
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)

##### Docs

- \[docs] Fix 301 MDN redirections
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

##### Core

- \[mui-utils]\[test] Remove usages of deprecated react-dom APIs
([@&#8203;aarongarciah](https://redirect.github.com/aarongarciah))
([#&#8203;42813](https://redirect.github.com/mui/material-ui/issues/42813))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)

All contributors of this release in alphabetical order:
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah),
[@&#8203;alexey-kozlenkov](https://redirect.github.com/alexey-kozlenkov),
[@&#8203;jxdp](https://redirect.github.com/jxdp),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)

###
[`v5.15.21`](https://redirect.github.com/mui/material-ui/releases/tag/v5.15.21)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.20...v5.15.21)

*Jun 28, 2024*

A big thanks to the 7 contributors who made this release possible.

##### `@mui/material@5.15.21`

- \[Autocomplete] Fix renderOption props type
([@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai))
([#&#8203;42709](https://redirect.github.com/mui/material-ui/issues/42709))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- \[Stepper] Generate class for `nonLinear` prop
([@&#8203;alexismo](https://redirect.github.com/alexismo))
([#&#8203;42677](https://redirect.github.com/mui/material-ui/issues/42677))
[@&#8203;alexismo](https://redirect.github.com/alexismo)

##### Docs

- Use new email for sponsoring
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix 301 links
([@&#8203;alexfauquette](https://redirect.github.com/alexfauquette))
([#&#8203;42700](https://redirect.github.com/mui/material-ui/issues/42700))
[@&#8203;alexfauquette](https://redirect.github.com/alexfauquette)
- \[material-ui]\[Select] Fix the `SelectAutoWidth` demo menu item value
([@&#8203;Danielkhakbaz](https://redirect.github.com/Danielkhakbaz))
([#&#8203;42696](https://redirect.github.com/mui/material-ui/issues/42696))
[@&#8203;Danielkhakbaz](https://redirect.github.com/Danielkhakbaz)
- \[material-ui]\[Autocomplete] Fix more React 18.3 key spread warnings
in demos
([#&#8203;42766](https://redirect.github.com/mui/material-ui/issues/42766))
[@&#8203;wbt](https://redirect.github.com/wbt)
- \[material-ui] Fix sign in side image
([#&#8203;42708](https://redirect.github.com/mui/material-ui/issues/42708))
[@&#8203;zanivan](https://redirect.github.com/zanivan)
- \[website] Add Ale to team
([#&#8203;42769](https://redirect.github.com/mui/material-ui/issues/42769))
[@&#8203;alelthomas](https://redirect.github.com/alelthomas)

##### Core

- \[core] Cherry pick pnpm updates
([#&#8203;42763](https://redirect.github.com/mui/material-ui/issues/42763))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- \[website] Add Armin to the team members
([@&#8203;arminmeh](https://redirect.github.com/arminmeh))
([#&#8203;42681](https://redirect.github.com/mui/material-ui/issues/42681))
[@&#8203;arminmeh](https://redirect.github.com/arminmeh)
- \[website] Open Staff Engineer role for Pigment CSS
([@&#8203;mnajdova](https://redirect.github.com/mnajdova))
([#&#8203;42669](https://redirect.github.com/mui/material-ui/issues/42669))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)

All contributors of this release in alphabetical order:
[@&#8203;alexfauquette](https://redirect.github.com/alexfauquette),
[@&#8203;alexismo](https://redirect.github.com/alexismo),
[@&#8203;arminmeh](https://redirect.github.com/arminmeh),
[@&#8203;Danielkhakbaz](https://redirect.github.com/Danielkhakbaz),
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai),
[@&#8203;mnajdova](https://redirect.github.com/mnajdova),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

###
[`v5.15.20`](https://redirect.github.com/mui/material-ui/releases/tag/v5.15.20)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.19...v5.15.20)

<!-- generated comparing v5.15.19..master -->

*Jun 12, 2024*

A big thanks to the 9 contributors who made this release possible.

##### `@mui/material@5.15.20`

- ​<!-- 17 -->\[Autocomplete] Shouldn't resize when hovering
([@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli))
([#&#8203;42535](https://redirect.github.com/mui/material-ui/issues/42535))
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)
- ​<!-- 07 -->\[Tab] Fix applying `iconWrapper` styles from theme and
update its description
([@&#8203;sai6855](https://redirect.github.com/sai6855))
([#&#8203;42570](https://redirect.github.com/mui/material-ui/issues/42570))
[@&#8203;sai6855](https://redirect.github.com/sai6855)

##### `@mui/utils@5.15.15`

- ​<!-- 06 -->Allow passing `NaN` as `defaultValue` to `useControlled`
([@&#8203;iammminzzy](https://redirect.github.com/iammminzzy))
([#&#8203;42571](https://redirect.github.com/mui/material-ui/issues/42571))
[@&#8203;iammminzzy](https://redirect.github.com/iammminzzy)
- ​<!-- 17 -->Fix GitHub-reported prototype pollution vulnerability in
`deepmerge`
([#&#8203;41652](https://redirect.github.com/mui/material-ui/issues/41652))
([#&#8203;42608](https://redirect.github.com/mui/material-ui/issues/42608))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)

##### Docs

- ​<!-- 16 -->\[docs] Add Pigment CSS and Base UI logos SVGs
([#&#8203;42513](https://redirect.github.com/mui/material-ui/issues/42513))
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal)
- ​<!-- 15 -->\[docs] Update twitter.com to x.com
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- ​<!-- 14 -->\[docs] Simplify Example projects page
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- ​<!-- 13 -->\[material-ui] Add docs for complementary stepper
components ([@&#8203;anle9650](https://redirect.github.com/anle9650))
([#&#8203;42613](https://redirect.github.com/mui/material-ui/issues/42613))
[@&#8203;anle9650](https://redirect.github.com/anle9650)
- ​<!-- 12 -->\[docs] Add changelog section to the design kits page
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42463](https://redirect.github.com/mui/material-ui/issues/42463))
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal)
- ​<!-- 11 -->\[material-ui] Fix sentence in the All components page
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42462](https://redirect.github.com/mui/material-ui/issues/42462))
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal)
- ​<!-- 10 -->\[material-ui] Update Figma design kit doc redirect link
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42456](https://redirect.github.com/mui/material-ui/issues/42456))
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal)
- ​<!-- 09 -->\[system] Add "dynamic values" section to sx prop page
([@&#8203;aarongarciah](https://redirect.github.com/aarongarciah))
([#&#8203;42453](https://redirect.github.com/mui/material-ui/issues/42453))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)

##### Core

- ​<!-- 18 -->\[website] Move the `React Engineer - X` role to future
roles
([#&#8203;42532](https://redirect.github.com/mui/material-ui/issues/42532))
[@&#8203;DanailH](https://redirect.github.com/DanailH)
- ​<!-- 08 -->\[examples] Remove Pigment CSS examples
([#&#8203;42538](https://redirect.github.com/mui/material-ui/issues/42538))
[@&#8203;sai6855](https://redirect.github.com/sai6855)
- ​<!-- 05 -->\[website] Close Developer Advocate / Content Engineer
role
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- ​<!-- 04 -->\[website] Update DoiT description and link in Sponsors
section
([@&#8203;erezstmn-doit](https://redirect.github.com/erezstmn-doit))
([#&#8203;42511](https://redirect.github.com/mui/material-ui/issues/42511))
[@&#8203;erezstmn-doit](https://redirect.github.com/erezstmn-doit)
- ​<!-- 03 -->\[website] Clean up the docs-infra job ad
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42509](https://redirect.github.com/mui/material-ui/issues/42509))
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal)
- ​<!-- 02 -->\[website] Open the Docs-infra engineer role
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42496](https://redirect.github.com/mui/material-ui/issues/42496))
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal)
- ​<!-- 01 -->\[website] Fix locationCountry in about page
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

All contributors of this release in alphabetical order:
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah),
[@&#8203;anle9650](https://redirect.github.com/anle9650),
[@&#8203;DanailH](https://redirect.github.com/DanailH),
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal),
[@&#8203;erezstmn-doit](https://redirect.github.com/erezstmn-doit),
[@&#8203;iammminzzy](https://redirect.github.com/iammminzzy),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;sai6855](https://redirect.github.com/sai6855),
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

###
[`v5.15.19`](https://redirect.github.com/mui/material-ui/releases/tag/v5.15.19)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.18...v5.15.19)

*May 29, 2024*

A big thanks to the 12 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material@5.15.19`

- ​<!-- 19 -->\[AlertTitle] Enable extending Typography props
([@&#8203;lucasgmelo](https://redirect.github.com/lucasgmelo))
([#&#8203;42334](https://redirect.github.com/mui/material-ui/issues/42334))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 06 -->\[responsiveFontSizes] Handled undefined variants
([@&#8203;brijeshb42](https://redirect.github.com/brijeshb42))
([#&#8203;42419](https://redirect.github.com/mui/material-ui/issues/42419))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 05 -->\[Slider] Fix wrong CSS value
([@&#8203;mnajdova](https://redirect.github.com/mnajdova))
([#&#8203;42373](https://redirect.github.com/mui/material-ui/issues/42373))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]

##### Docs

- ​<!-- 13 -->Link to pnpm installation docs
([#&#8203;42420](https://redirect.github.com/mui/material-ui/issues/42420))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- ​<!-- 12 -->Remove LocalMonero
([@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari))
([#&#8203;42315](https://redirect.github.com/mui/material-ui/issues/42315))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 10 -->\[material-ui] Fix typo in style interoperability with
Tailwind CSS docs
([@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli))
([#&#8203;42312](https://redirect.github.com/mui/material-ui/issues/42312))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 09 -->\[material-ui]\[Pagination] Clarify pagination `page` prop
API ([@&#8203;Mandar-Pandya](https://redirect.github.com/Mandar-Pandya))
([#&#8203;42265](https://redirect.github.com/mui/material-ui/issues/42265))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 08 -->\[material-ui]\[Tabs] Improve the Basic Tabs demo
([@&#8203;MatheusEli](https://redirect.github.com/MatheusEli))
([#&#8203;42426](https://redirect.github.com/mui/material-ui/issues/42426))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 07 -->\[pigment-css] Fix duplication of content
([#&#8203;42410](https://redirect.github.com/mui/material-ui/issues/42410))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

##### Core

- ​<!-- 18 -->\[blog] Add the "Product" tag to the Pigment CSS post
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42366](https://redirect.github.com/mui/material-ui/issues/42366))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 17 -->\[blog] Update blog post OG image
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42306](https://redirect.github.com/mui/material-ui/issues/42306))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 16 -->\[blog] Update Pigment CSS post
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42267](https://redirect.github.com/mui/material-ui/issues/42267))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 15 -->\[core] Fix React 18.3 warnings about spreading keys in
the Material UI `Autocomplete` component
([#&#8203;42099](https://redirect.github.com/mui/material-ui/issues/42099))
([#&#8203;42241](https://redirect.github.com/mui/material-ui/issues/42241))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- ​<!-- 14 -->\[core] Fix a few more key spread issues
([@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari))
([#&#8203;42318](https://redirect.github.com/mui/material-ui/issues/42318))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 11 -->\[docs-infra] Allow JSDoc tags
([#&#8203;42327](https://redirect.github.com/mui/material-ui/issues/42327))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- ​<!-- 04 -->\[website] Add Nikita to the about page
([@&#8203;nikitaa24](https://redirect.github.com/nikitaa24))
([#&#8203;42421](https://redirect.github.com/mui/material-ui/issues/42421))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 03 -->\[website] Fix hero spacing changes applying at the wrong
breakpoint
([@&#8203;KenanYusuf](https://redirect.github.com/KenanYusuf))
([#&#8203;42357](https://redirect.github.com/mui/material-ui/issues/42357))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 02 -->\[website] Adds Kenan Yusuf to about page
([@&#8203;KenanYusuf](https://redirect.github.com/KenanYusuf))
([#&#8203;42330](https://redirect.github.com/mui/material-ui/issues/42330))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 01 -->\[website] Improve about page
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

All contributors of this release in alphabetical order:
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah),
[@&#8203;brijeshb42](https://redirect.github.com/brijeshb42),
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal),
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai),
[@&#8203;KenanYusuf](https://redirect.github.com/KenanYusuf),
[@&#8203;lucasgmelo](https://redirect.github.com/lucasgmelo),
[@&#8203;Mandar-Pandya](https://redirect.github.com/Mandar-Pandya),
[@&#8203;MatheusEli](https://redirect.github.com/MatheusEli),
[@&#8203;mnajdova](https://redirect.github.com/mnajdova),
[@&#8203;nikitaa24](https://redirect.github.com/nikitaa24),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

###
[`v5.15.18`](https://redirect.github.com/mui/material-ui/releases/tag/v5.15.18)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.17...v5.15.18)

<!-- generated comparing v5.15.17..master -->

*May 14, 2024*

A big thanks to the 5 contributors who made this release possible. Here
are some highlights :

##### `@mui/material@5.15.18`

- ​<!-- 6 -->\[Autocomplete] Improve design when there's a start
adornment for small autocomplete
([@&#8203;TahaRhidouani](https://redirect.github.com/TahaRhidouani))
([#&#8203;42176](https://redirect.github.com/mui/material-ui/issues/42176))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- ​<!-- 3 -->\[ToggleButtonGroup] Add missing `selected` class in
ToggleButtonGroupClasses type
([@&#8203;tarunrajput](https://redirect.github.com/tarunrajput))
([#&#8203;42250](https://redirect.github.com/mui/material-ui/issues/42250))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]

##### Docs

- ​<!-- 4 -->\[docs] Fix 301 to Figma
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

##### Core

- ​<!-- 5 -->\[blog] Introducing Pigment CSS blog post
([#&#8203;42198](https://redirect.github.com/mui/material-ui/issues/42198))
([#&#8203;42255](https://redirect.github.com/mui/material-ui/issues/42255))
[@&#8203;samuelsycamore](https://redirect.github.com/samuelsycamore)
- ​<!-- 2 -->\[website] Add redirection for talk
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- ​<!-- 1 -->\[website] Adds Arthur Balduini team info
([@&#8203;arthurbalduini](https://redirect.github.com/arthurbalduini))
([#&#8203;42226](https://redirect.github.com/mui/material-ui/issues/42226))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]

All contributors of this release in alphabetical order:
[@&#8203;arthurbalduini](https://redirect.github.com/arthurbalduini),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;samuelsycamore](https://redirect.github.com/samuelsycamore),
[@&#8203;TahaRhidouani](https://redirect.github.com/TahaRhidouani),
[@&#8203;tarunrajput](https://redirect.github.com/tarunrajput)

###
[`v5.15.17`](https://redirect.github.com/mui/material-ui/releases/tag/v5.15.17)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.16...v5.15.17)

*May 8, 2024*

A big thanks to the 4 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material@5.15.17`

- \[Slider] Move palette styles to the bottom
([#&#8203;41676](https://redirect.github.com/mui/material-ui/issues/41676))
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)

##### Docs

- Fix SEO redirection issues
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[material-ui] Fix broken link
([@&#8203;aarongarciah](https://redirect.github.com/aarongarciah))
([#&#8203;42143](https://redirect.github.com/mui/material-ui/issues/42143))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[material-ui] Fix link on the Sync page
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42089](https://redirect.github.com/mui/material-ui/issues/42089))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]

##### Core

- \[blog] Shorten title to fit
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[blog] Update Sync post OG image
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42117](https://redirect.github.com/mui/material-ui/issues/42117))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[blog] A few tweaks in introducing-sync-plugin
([@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari))
([#&#8203;42094](https://redirect.github.com/mui/material-ui/issues/42094))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[docs-infra] Fix code block layout shift
([#&#8203;41917](https://redirect.github.com/mui/material-ui/issues/41917))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[website] Fix home page slider's track position
([@&#8203;aarongarciah](https://redirect.github.com/aarongarciah))
([#&#8203;42144](https://redirect.github.com/mui/material-ui/issues/42144))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[website] Closing the survey
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[website] Remove Survey banner from website and Core docs
([#&#8203;42104](https://redirect.github.com/mui/material-ui/issues/42104))
[@&#8203;joserodolfofreitas](https://redirect.github.com/joserodolfofreitas)

All contributors of this release in alphabetical order:
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot],
[@&#8203;joserodolfofreitas](https://redirect.github.com/joserodolfofreitas),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;siriwatknp](https://redirect.github.com/siriwatknp)

###
[`v5.15.16`](https://redirect.github.com/mui/material-ui/releases/tag/v5.15.16)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.15...v5.15.16)

A big thanks to the 8 contributors who made this release possible. Here
are some highlights :
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material@5.15.16`

- \[material-ui]\[Dialog] Prevent onClick on the root element from being
overwritten ([@&#8203;ryanburr](https://redirect.github.com/ryanburr))
([#&#8203;41914](https://redirect.github.com/mui/material-ui/issues/41914))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[material-ui]\[Select] Fix `muiName` property TypeScript error
([@&#8203;EyaOuenniche](https://redirect.github.com/EyaOuenniche))
([#&#8203;41786](https://redirect.github.com/mui/material-ui/issues/41786))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- —>\[material-ui]\[l10n] Fix typo in is-IS locale
([@&#8203;magnimarels](https://redirect.github.com/magnimarels))
([#&#8203;41815](https://redirect.github.com/mui/material-ui/issues/41815))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]

##### Docs

- Fix small SEO issues
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix 301 Toolpad links
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix 301 Toolpad links
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix 301 image redirections
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix small SEO issues
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix 301 redirection
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix format git diff regression
([#&#8203;41882](https://redirect.github.com/mui/material-ui/issues/41882))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Fix 301 links
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[material-ui] Fix import statement in migration guide
([@&#8203;sai6855](https://redirect.github.com/sai6855))
([#&#8203;41864](https://redirect.github.com/mui/material-ui/issues/41864))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[material-ui] Update Figma plugin name
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42057](https://redirect.github.com/mui/material-ui/issues/42057))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[material-ui] Fix minor spelling error in the "About the lab" page
([@&#8203;ryanhartwig](https://redirect.github.com/ryanhartwig))
([#&#8203;42075](https://redirect.github.com/mui/material-ui/issues/42075))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[material-ui] Add missing backticks to HTML tag in the installation
page ([@&#8203;Miguelrom](https://redirect.github.com/Miguelrom))
([#&#8203;42009](https://redirect.github.com/mui/material-ui/issues/42009))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[material-ui] Add Connect-related content
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;41924](https://redirect.github.com/mui/material-ui/issues/41924))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- \[material-ui] Fix Material 3 message typo
([@&#8203;aarongarciah](https://redirect.github.com/aarongarciah))
([#&#8203;41822](https://redirect.github.com/mui/material-ui/issues/41822))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[material-ui] Remove Data Grid v7 beta callout
([@&#8203;cherniavskii](https://redirect.github.com/cherniavskii))
([#&#8203;41842](https://redirect.github.com/mui/material-ui/issues/41842))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[material-ui]\[templates] Fix input props attributes in Landing Page
template ([@&#8203;5-tom](https://redirect.github.com/5-tom))
([#&#8203;42034](https://redirect.github.com/mui/material-ui/issues/42034))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[system] Update typo on the sx prop page
([@&#8203;bricker](https://redirect.github.com/bricker))
([#&#8203;42078](https://redirect.github.com/mui/material-ui/issues/42078))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]

##### Core

- \[blog] Add post to introduce the Connect plugin
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;41929](https://redirect.github.com/mui/material-ui/issues/41929))
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai)
- \[core] Automate cherry-pick of PRs from `next` -> `master`
([#&#8203;41742](https://redirect.github.com/mui/material-ui/issues/41742))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[docs-infra] Improve Twitter OG:image
([#&#8203;41860](https://redirect.github.com/mui/material-ui/issues/41860))
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[docs-infra] Use edge function for card generation
([#&#8203;41188](https://redirect.github.com/mui/material-ui/issues/41188))
[@&#8203;alexfauquette](https://redirect.github.com/alexfauquette)
- \[docs-infra] Fix drawer performances
([#&#8203;41807](https://redirect.github.com/mui/material-ui/issues/41807))
([#&#8203;41820](https://redirect.github.com/mui/material-ui/issues/41820))
[@&#8203;alexfauquette](https://redirect.github.com/alexfauquette)
- \[docs-infra] Fix analytics about inline ads
([#&#8203;41474](https://redirect.github.com/mui/material-ui/issues/41474))
[@&#8203;alexfauquette](https://redirect.github.com/alexfauquette)
- \[website] Sync career roles
([@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari))
([#&#8203;42059](https://redirect.github.com/mui/material-ui/issues/42059))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[website] Add content about the Sync plugin in the Material UI page
([@&#8203;danilo-leal](https://redirect.github.com/danilo-leal))
([#&#8203;42074](https://redirect.github.com/mui/material-ui/issues/42074))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[website] Add Nadja on the about page
([#&#8203;42054](https://redirect.github.com/mui/material-ui/issues/42054))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)
- \[website] Close the `Design Engineer - X` role
([#&#8203;42014](https://redirect.github.com/mui/material-ui/issues/42014))
[@&#8203;DanailH](https://redirect.github.com/DanailH)
- \[website] Remove customer support agent role from website
([@&#8203;rluzists1](https://redirect.github.com/rluzists1))
([#&#8203;41996](https://redirect.github.com/mui/material-ui/issues/41996))
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
- \[website] Add Jose to About Us
([#&#8203;41759](https://redirect.github.com/mui/material-ui/issues/41759))
[@&#8203;JCQuintas](https://redirect.github.com/JCQuintas)

All contributors of this release in alphabetical order:
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah),
[@&#8203;alexfauquette](https://redirect.github.com/alexfauquette),
[@&#8203;DanailH](https://redirect.github.com/DanailH),
[@&#8203;DiegoAndai](https://redirect.github.com/DiegoAndai),
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot],
[@&#8203;JCQuintas](https://redirect.github.com/JCQuintas),
[@&#8203;mnajdova](https://redirect.github.com/mnajdova),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)

###
[`v5.15.15`](https://redirect.github.com/mui/material-ui/releases/tag/v5.15.15)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.14...v5.15.15)

A big thanks to the 7 contributors who made this release possible. Here
are some highlights :
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material@5.15.15`

- \[Autocomplete] Display options provided to the `options` prop even if
loading is true
([#&#8203;41677](https://redirect.github.com/mui/material-ui/issues/41677))
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)
- \[RadioGroup] Apply classnames
([#&#8203;41681](https://redirect.github.com/mui/material-ui/issues/41681))
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

##### `@mui/system@5.15.15`

- Fix typo to avoid infinite recursion in function call
([#&#8203;41678](https://redirect.github.com/mui/material-ui/issues/41678))
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

##### Docs

- \[material-ui]\[Slider] Remove `valueLabelFormat` from restricted
values demo so that the tooltip thumb label displays the same as the
value text
([#&#8203;41679](https://redirect.github.com/mui/material-ui/issues/41679))
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)
- \[material-ui] Remove deleted page from the sidenav
([#&#8203;41594](https://redirect.github.com/mui/material-ui/issues/41594))
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal)
- \[material-ui] Fix typo in CSS theme variables customization
([#&#8203;41680](https://redirect.github.com/mui/material-ui/issues/41680))
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)
- Continue migration of Base UI to sperate repository
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- Add notification for MUI X v7 blog post
([#&#8203;41587](https://redirect.github.com/mui/material-ui/issues/41587))
([#&#8203;41605](https://redirect.github.com/mui/material-ui/issues/41605))
[@&#8203;cherniavskii](https://redirect.github.com/cherniavskii)
- Update the versions dropdown to show v6
([#&#8203;41557](https://redirect.github.com/mui/material-ui/issues/41557))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)

##### Core

- \[blog] Link to Romain's blog post in MUI X v7 announcement post
([#&#8203;41641](https://redirect.github.com/mui/material-ui/issues/41641))
[@&#8203;cherniavskii](https://redirect.github.com/cherniavskii)
- \[blog] Blog post with MUI X v7.0.0 annoucement
([#&#8203;41563](https://redirect.github.com/mui/material-ui/issues/41563))
([#&#8203;41604](https://redirect.github.com/mui/material-ui/issues/41604))
[@&#8203;cherniavskii](https://redirect.github.com/cherniavskii)
- \[blog] Add post about remote
([#&#8203;41565](https://redirect.github.com/mui/material-ui/issues/41565))
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal)
- \[core] Continue rename of Toolpad
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari)
- \[docs-infra] Add Toolpad product/category IDs to types
([#&#8203;41551](https://redirect.github.com/mui/material-ui/issues/41551))
[@&#8203;bharatkashyap](https://redirect.github.com/bharatkashyap)
- \[website] Add Aarón to About Us
([#&#8203;41747](https://redirect.github.com/mui/material-ui/issues/41747))
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah)
- \[website] Add stray design adjustments throughout the site
([#&#8203;41642](https://redirect.github.com/mui/material-ui/issues/41642))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)
- \[website] Update pricing table
([#&#8203;41606](https://redirect.github.com/mui/material-ui/issues/41606))
[@&#8203;cherniavskii](https://redirect.github.com/cherniavskii)

All contributors of this release in alphabetical order:
[@&#8203;aarongarciah](https://redirect.github.com/aarongarciah),
[@&#8203;bharatkashyap](https://redirect.github.com/bharatkashyap),
[@&#8203;cherniavskii](https://redirect.github.com/cherniavskii),
[@&#8203;danilo-leal](https://redirect.github.com/danilo-leal),
[@&#8203;mnajdova](https://redirect.github.com/mnajdova),
[@&#8203;oliviertassinari](https://redirect.github.com/oliviertassinari),
[@&#8203;ZeeshanTamboli](https://redirect.github.com/ZeeshanTamboli)

###
[`v5.15.14`](https://redirect.github.com/mui/material-ui/releases/tag/v5.15.14)

[Compare
Source](https://redirect.github.com/mui/material-ui/compare/v5.15.13...v5.15.14)

*Mar 19, 2024*

A big thanks to the 15 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material@5.15.14`

- \[Accordion] Convert to support CSS extraction
([#&#8203;41221](https://redirect.github.com/mui/material-ui/issues/41221))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)
- ​<!-- 24 -->\[Autocomplete] Convert to support CSS extraction
([#&#8203;40330](https://redirect.github.com/mui/material-ui/issues/40330))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)
- ​<!-- 06 -->\[Slider] Convert to support CSS extraction
([#&#8203;41201](https://redirect.github.com/mui/material-ui/issues/41201))
[@&#8203;mnajdova](https://redirect.github.com/mnajdova)
- ​<!-- 07 -->\[Select] Fix variant type
([#&#8203;41405](https://redirect.github.com/mui/material-ui/issues/41405))
[@&#8203;sai6855](https://redirect.github.com/sai6855)
-   ​<!-- 09 -->\[typescript] Use interf

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuNCIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 19:28:53 +00:00
Mateusz Kwasniewski
59dd769e5d
feat: frontend traffic explanation box (#9602) 2025-03-24 15:25:43 +01:00
David Leek
7580d3bc74
chore: rename release-management to release-templates, remove "plan" from descriptions (#9595) 2025-03-24 14:57:18 +01:00
David Leek
5d47d524bb
feat: Admin home landing page (#9594) 2025-03-24 14:57:08 +01:00
Tymoteusz Czech
dd62b3dbcd
Constraint values list (#9592) 2025-03-24 14:26:58 +01:00
Mateusz Kwasniewski
e018ee2f34
feat: connection explanation box (#9598) 2025-03-24 13:21:29 +01:00
Thomas Heartman
01870c6165
fix: wrap env header grid on narrow containers (#9596)
When the container is <500px, make it so that the strategy count wraps
onto its own line to prevent it from obscuring the environment name.

I decided to go for 500px because that allows our default names to not
get cut off before wrapping. It seems like a sensible default.

Before:

![image](https://github.com/user-attachments/assets/7fdec179-6053-4803-9bc0-8e48cedf3636)


After:


![image](https://github.com/user-attachments/assets/64728d51-5f9a-415e-84d1-a7708c039809)

It's still not perfect when you have envs without strategies, but it's
better. We'll get back to that edge case later.
2025-03-24 10:52:38 +01:00
Thomas Heartman
b84699f563
refactor(1-3439): extract shared components and styling from Env Accordion Body to common (#9590)
Extracts the shared strategy list and list item into the `common` folder
instead of living in the environment accordion body file.

Also takes the disabled strategy handling that we use for
`StrategySeparator` and moves it into the file itself. It might be
something we want to decorate manually in the future, but we don't for
now, so this was the most straight-forward way to make it work.
2025-03-24 07:39:35 +00:00
Thomas Heartman
19d2a553f0
chore(1-3431): rework constraint equality and case sensitivity (#9591) 2025-03-21 15:26:05 +01:00
Thomas Heartman
03699c8e80
chore(1-3516): add release plan / strategy count to env header (#9589)
Adds an optional `environmentMetadata` property to the env header
component, which is used to populate the release plan / strategy
counter. If no env metadata is passed (such as for default strategy
configuration) nothing is rendered.


![image](https://github.com/user-attachments/assets/9be29a7a-aa11-46a4-87b4-4596c12552f6)

With long env names, the project name will be cut off before the chip:


![image](https://github.com/user-attachments/assets/0711972b-66d6-4874-9c47-0c4c768807ff)

There's some issues with narrow screens, but I'll handle that in a
follow-up:

![image](https://github.com/user-attachments/assets/0de8aeae-1025-4c7e-9fcb-86dd22952f97)
2025-03-21 14:54:13 +01:00
Nuno Góis
3fa54f4465
chore: instance status prices (#9588)
https://linear.app/unleash/issue/2-3429/use-the-correct-prices-for-each-instance-in-unleashs-ui

Uses the instance prices exposed through instance status to display the
correct price amounts in Unleash's UI.
2025-03-21 09:15:49 +00:00
Tymoteusz Czech
70444c2003
refactor: variant colors (#9586)
Toned-down colors for dark theme
2025-03-20 14:44:33 +01:00
Thomas Heartman
aeb3081624
chore: Don't use fallback functions for dragging (#9585)
Makes it so that strategies project env strategies that aren't draggable
don't get the drag icon. The reason it didn't work as expected was that
we used fallback functions instead of keeping them undefined.

I discovered that we applied two dragging boxes, so I removed the outer
layer one (specific to project envs) in favor of relying on the inner
one. Most of the lines changed are just indentation as a result of this
nesting going away.

Here's the diff. The top set of strategies aren't draggable; the lower
ones are.


![image](https://github.com/user-attachments/assets/0a7b6371-9f34-4596-a85f-9881da821448)
2025-03-20 13:54:19 +01:00
Thomas Heartman
90eed05296
Chore(1-3520)/playground disabled badges (#9583)
Gives a small update in how we deal with unevaluated and disabled
strategies in the new playground design:

- "Unevaluated" badges go from yellow warning to blue info and their
text changed to "Not evaluated"
- Don't show "Not evaluated" badges on strategies that are disabled.

To avoid this change affecting the current playground setup, I
duplicated the old resultschip into a legacy file and changed the
existing impl. To avoid updating all other files that use that chip
(it's all over the playground) and checking flags or creating duplicates
there, I decided to do a quick check at the top of the legacy file and
use the new file if the flag is on.

In doing so, I've also simplified the actual chip file and have more or
less cut the total line count in it in two 😄


![image](https://github.com/user-attachments/assets/44e38a8e-4faa-440b-82ed-9ee377160922)
2025-03-20 13:19:16 +01:00
Tymoteusz Czech
2d47fb3827
feat: new constraint view for flag edit page (#9567)
Refactor components in Targeting (Edit strategy)
2025-03-20 13:04:24 +01:00
Nuno Góis
a10dca44f6
fix: access overview fallback to email (#9582)
https://linear.app/unleash/issue/2-3430/fix-undefined-in-access-overview-when-user-name-is-unavailable

Adds a fallback to email in case the name is not available.

Also switches the priority of the fallbacks to be consistent with other
places in our codebase (email > username) and uses `||` instead of `??`
because falsy values don't provide much informational value anyways.


![image](https://github.com/user-attachments/assets/2726247c-b7ba-4ed8-8589-f56fff63d031)
2025-03-20 11:02:19 +00:00
Thomas Heartman
afd24aa58a
refactor: flatten release plan + strategy list (#9581)
Flattens the list of strategies when you have both release plans and
strategies. If you had both, you'd have this setup before:
```
- ol
  - li // release plan
    - ol // release plan strategies
  - li // regular strategies
    - ol // strategy list
```

Now we drop the extra nesting:
```
- ol
  -  li // release plan
    - ol // release plan strategies
  - li // the rest of the strategies
```

Semantically, I think this is just as valid and it simplifies a lot of
styling that no longer needs to look for other lists etc.

As part of doing this, I have also moved the "many strategies" warnings
and pagination labels to outside the list instead of inside the smaller
list.

Otherwise, the list looks just the same as before and drag-n-drop works
just fine.

(side note: these strategies shouldn't have drag handles 🤔 )

![image](https://github.com/user-attachments/assets/f27f451c-1b73-4f18-903f-153e379b54c1)


As a bonus, this PR also:
- Uses the disabled style separator for disabled strats in playground
and deletes some unused components I found.

Playground disabled strats (we probably don't want double orange badges;
I'll talk to UX):

![image](https://github.com/user-attachments/assets/a722b18f-f3d5-4d53-b093-b44912284748)
2025-03-20 11:16:44 +01:00