1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-03 01:18:43 +02:00
Commit Graph

13400 Commits

Author SHA1 Message Date
Thomas Heartman
c1cea1e5a6
Adjust borders and selectors 2025-03-20 10:34:42 +01:00
Thomas Heartman
7d4195d145
Adjust warning alert 2025-03-20 10:30:24 +01:00
Thomas Heartman
4d8f8c343a
Flatten the list 2025-03-20 10:19:19 +01:00
Thomas Heartman
038c10f612
chore: finish up disabled strategies (#9579)
Aligns the design of disabled strategies with the sketches. Most notable
changes:
- makes the disabled badge warning yellow
- greys out the preceding "or" separator
- makes the segment "preview" button *not* grey (because it's still
interactable)

As a bonus: uses a list for the constraint value lists instead of a div
and updates the design to match the sketches (no chips).


![image](https://github.com/user-attachments/assets/1b3ddfa0-b0e8-4856-ae01-26e507590a4f)

With strat variants:

![image](https://github.com/user-attachments/assets/dc143fbf-256b-4e96-872b-a6aa84df2111)


Bonus fix: 
Lets the constraint value list wrap so that we avoid this kind of
blowout:

![image](https://github.com/user-attachments/assets/4c0977ac-f8a4-41cc-8fb7-194e8b09c0a3)

Instead: 

![image](https://github.com/user-attachments/assets/a68ed4cf-c68c-43a1-9d6c-b90e85a0841f)
2025-03-19 15:40:23 +01:00
Thomas Heartman
f5b26340e7
chore: Updates change request sidebar to remove env/cloud icon (#9577)
Removes the cloud icon in the change request env header to better align
with the new env headers in the flag environment overview.

Also hides strategy variants in favor of using the new strategy
execution component.

As a bonus: also uses a link component instead of a button for
navigating to the change request page.

With flag enabled: 

![image](https://github.com/user-attachments/assets/0391c845-d68c-44fa-a747-1c21f5a9c2f4)


![image](https://github.com/user-attachments/assets/ac84be9b-15fb-4d0b-9737-69643332fa23)
2025-03-19 11:13:11 +01:00
renovate[bot]
ac96797932
chore(deps): update dependency superagent to v10.2.0 (#9574)
This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>ladjs/superagent (superagent)</summary>

###
[`v10.2.0`](https://redirect.github.com/ladjs/superagent/releases/tag/v10.2.0)

[Compare
Source](https://redirect.github.com/ladjs/superagent/compare/v10.1.1...v10.2.0)

- Merge pull request
[#&#8203;1829](https://redirect.github.com/ladjs/superagent/issues/1829)
from perrin4869/fix/http2/ipv6-addresses
[`02cad6a`](https://redirect.github.com/ladjs/superagent/commit/02cad6a)
- fix(https2): ipv6 addresses url
[`e29fd25`](https://redirect.github.com/ladjs/superagent/commit/e29fd25)
- Merge pull request
[#&#8203;1805](https://redirect.github.com/ladjs/superagent/issues/1805)
from perrin4869/fix/ipv6-addresses
[`150eb6c`](https://redirect.github.com/ladjs/superagent/commit/150eb6c)
- fix?
[`07954a1`](https://redirect.github.com/ladjs/superagent/commit/07954a1)
- attempt support ipv6
[`d688596`](https://redirect.github.com/ladjs/superagent/commit/d688596)
- attempt support ipv6
[`a2f11f8`](https://redirect.github.com/ladjs/superagent/commit/a2f11f8)
- re-add test
[`10a2e40`](https://redirect.github.com/ladjs/superagent/commit/10a2e40)
- remove regression test
[`15e9de6`](https://redirect.github.com/ladjs/superagent/commit/15e9de6)
- fix: ipv6 addresses parsing
[`ec50f5a`](https://redirect.github.com/ladjs/superagent/commit/ec50f5a)

</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.

🔕 **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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 09:55:59 +00:00
Fredrik Strand Oseberg
d437fc7bdd
fix: s is possibly null (#9578)
Fixes an issue where s was possibly null and Unleash would not build
after turning on strictNullChecks.
2025-03-19 09:50:54 +00:00
renovate[bot]
cf91852234
chore(deps): update dependency @uiw/react-codemirror to v4.23.10 (#9572)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://redirect.github.com/uiwjs/react-codemirror)) |
[`4.23.9` ->
`4.23.10`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.23.9/4.23.10)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.23.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.23.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.23.9/4.23.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.23.9/4.23.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror (@&#8203;uiw/react-codemirror)</summary>

###
[`v4.23.10`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.10)

[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.9...v4.23.10)

[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.23.10/file/README.md)

Documentation v4.23.10:
https://raw.githack.com/uiwjs/react-codemirror/b920d7f/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.9...v4.23.10

```shell
npm i @&#8203;uiw/react-codemirror@4.23.10
```

- 🐞 fix: Fix flash of content on initialization
([#&#8203;717](https://redirect.github.com/uiwjs/react-codemirror/issues/717))
[`b11562d`](https://redirect.github.com/uiwjs/react-codemirror/commit/b11562d)
[@&#8203;colsondonohue](https://redirect.github.com/colsondonohue)

</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.

🔕 **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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 09:25:05 +00:00
Fredrik Strand Oseberg
aad5a6a1a9
Feat/tag type colors frontend (#9566)
Add frontend support for tag type colors
2025-03-19 10:03:33 +01:00
renovate[bot]
df351808c1
chore(deps): update dependency react-confetti to v6.4.0 (#9573)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-confetti](https://redirect.github.com/alampros/react-confetti)
| [`6.3.0` ->
`6.4.0`](https://renovatebot.com/diffs/npm/react-confetti/6.3.0/6.4.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-confetti/6.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-confetti/6.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-confetti/6.3.0/6.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-confetti/6.3.0/6.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>alampros/react-confetti (react-confetti)</summary>

###
[`v6.4.0`](https://redirect.github.com/alampros/react-confetti/blob/HEAD/CHANGELOG.md#640-2025-03-04)

[Compare
Source](https://redirect.github.com/alampros/react-confetti/compare/v6.3.0...v6.4.0)

##### Bug Fixes

- clamp tweenProgress between 0 and tweenDuration
([f988305](f988305151))

##### Features

- adding tweenFrom property to allow smooth transition when parameters
change
([dde31e0](dde31e0e28))

</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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 09:03:00 +00:00
renovate[bot]
42abfccdb1
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.23.10 (#9571)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light)
([source](https://redirect.github.com/uiwjs/react-codemirror)) |
[`4.23.9` ->
`4.23.10`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.23.9/4.23.10)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.23.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.23.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.23.9/4.23.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.23.9/4.23.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror
(@&#8203;uiw/codemirror-theme-duotone)</summary>

###
[`v4.23.10`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.10)

[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.9...v4.23.10)

[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.23.10/file/README.md)

Documentation v4.23.10:
https://raw.githack.com/uiwjs/react-codemirror/b920d7f/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.9...v4.23.10

```shell
npm i @&#8203;uiw/react-codemirror@4.23.10
```

- 🐞 fix: Fix flash of content on initialization
([#&#8203;717](https://redirect.github.com/uiwjs/react-codemirror/issues/717))
[`b11562d`](https://redirect.github.com/uiwjs/react-codemirror/commit/b11562d)
[@&#8203;colsondonohue](https://redirect.github.com/colsondonohue)

</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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 09:02:49 +00:00
Christopher Kolstad
efcf04487d
chore: make it build with strict null checks set to true (#9554)
As part of preparation for ESM and node/TSC updates, this PR will make
Unleash build with strictNullChecks set to true, since that's what's in
our tsconfig file. Hence, this PR also removes the `--strictNullChecks
false` flag in our compile tasks in package.json.

TL;DR - Clean up your code rather than turning off compiler security
features :)
2025-03-19 10:01:49 +01:00
renovate[bot]
d082e5eb25
chore(deps): update dependency @types/node to v20.17.24 (#9570)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.17.22` ->
`20.17.24`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.22/20.17.24)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.17.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.17.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.17.22/20.17.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.17.22/20.17.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### 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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 09:01:24 +00:00
renovate[bot]
7a9ef77ec4
chore(deps): update dependency @swc/core to v1.11.8 (#9569)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://redirect.github.com/swc-project/swc)) | [`1.11.5` ->
`1.11.8`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.11.5/1.11.8) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.11.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.11.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.11.5/1.11.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.11.5/1.11.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

###
[`v1.11.8`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1118---2025-03-07)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.11.7...v1.11.8)

##### Bug Fixes

- **(es/fast-lexer)** Fix lexing of numeric literals
([#&#8203;10153](https://redirect.github.com/swc-project/swc/issues/10153))
([65d23fe](65d23febaa))

- **(es/parser)** Rescan `<<` in new expression
([#&#8203;10159](https://redirect.github.com/swc-project/swc/issues/10159))
([35bd6d9](35bd6d9e1c))

##### Features

- **(ts/fast-strip)** Throw an object instead of string
([#&#8203;10162](https://redirect.github.com/swc-project/swc/issues/10162))
([241b881](241b8810ab))

##### Performance

- **(es/fast-lexer)** Optimize lexing of keywords
([#&#8203;10155](https://redirect.github.com/swc-project/swc/issues/10155))
([fb610b0](fb610b096f))

- **(es/fast-lexer)** Optimize bound checks
([#&#8203;10157](https://redirect.github.com/swc-project/swc/issues/10157))
([d74360e](d74360ed26))

- **(es/fast-lexer)** Make whitespace skipper use SIMD properly
([#&#8203;10158](https://redirect.github.com/swc-project/swc/issues/10158))
([15ea059](15ea059712))

- **(es/lexer)** Optimize whitespace scanning
([#&#8203;10136](https://redirect.github.com/swc-project/swc/issues/10136))
([8a59753](8a59753429))

- **(es/lexer)** Optimize comment scanning
([#&#8203;10137](https://redirect.github.com/swc-project/swc/issues/10137))
([9676c9a](9676c9acc8))

##### Refactor

- **(es/lexer)** Add fast lexer implementation
([#&#8203;10145](https://redirect.github.com/swc-project/swc/issues/10145))
([b993f86](b993f8621c))

- Drop unused crates
([#&#8203;10151](https://redirect.github.com/swc-project/swc/issues/10151))
([58e4279](58e4279fae))

- Drop unused js interop bindings
([#&#8203;10161](https://redirect.github.com/swc-project/swc/issues/10161))
([0ceefaf](0ceefafbf3))

##### Ci

- Add swc_plugins test to ecosystem CI
([#&#8203;10164](https://redirect.github.com/swc-project/swc/issues/10164))
([b23d133](b23d133959))

###
[`v1.11.7`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1117---2025-03-04)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.11.6...v1.11.7)

##### Features

- **(ts/fast-strip)** Emit json errors
([#&#8203;10144](https://redirect.github.com/swc-project/swc/issues/10144))
([740bd57](740bd579ae))

###
[`v1.11.6`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1116---2025-03-04)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.11.5...v1.11.6)

##### Bug Fixes

- **(es/minifier)** Fix regression due to
[#&#8203;10056](https://redirect.github.com/swc-project/swc/issues/10056)
([#&#8203;10134](https://redirect.github.com/swc-project/swc/issues/10134))
([b145275](b1452757f3))

- **(es/typescript)** Remove empty statements that const enum decls are
folded into
([#&#8203;10128](https://redirect.github.com/swc-project/swc/issues/10128))
([7bea830](7bea830a0e))

</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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 09:01:06 +00:00
renovate[bot]
6dc4118892
chore(deps): update dependency @babel/core to v7.26.10 (#9568)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-core))
| [`7.26.9` ->
`7.26.10`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.26.9/7.26.10)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.26.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.26.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.26.9/7.26.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.26.9/7.26.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/core)</summary>

###
[`v7.26.10`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v72610-2025-03-11)

[Compare
Source](https://redirect.github.com/babel/babel/compare/v7.26.9...v7.26.10)

##### 👓 Spec Compliance

-   `babel-parser`
- [#&#8203;17159](https://redirect.github.com/babel/babel/pull/17159)
Disallow decorator in array pattern
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))

##### 🐛 Bug Fix

-   `babel-parser`, `babel-template`
- [#&#8203;17164](https://redirect.github.com/babel/babel/pull/17164)
Fix: always initialize ExportDeclaration attributes
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))
-   `babel-core`
- [#&#8203;17142](https://redirect.github.com/babel/babel/pull/17142)
fix: "Map maximum size exceeded" in deepClone
([@&#8203;liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
-   `babel-parser`, `babel-plugin-transform-typescript`
- [#&#8203;17154](https://redirect.github.com/babel/babel/pull/17154)
Update typescript parser tests
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))
-   `babel-traverse`
- [#&#8203;17151](https://redirect.github.com/babel/babel/pull/17151)
fix: Should not evaluate vars in child scope
([@&#8203;liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
-   `babel-generator`
- [#&#8203;17153](https://redirect.github.com/babel/babel/pull/17153)
fix: Correctly generate `abstract override`
([@&#8203;liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
-   `babel-parser`
- [#&#8203;17107](https://redirect.github.com/babel/babel/pull/17107)
Fix source type detection when parsing TypeScript
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))
- `babel-helpers`, `babel-runtime`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`
- [#&#8203;17173](https://redirect.github.com/babel/babel/pull/17173)
Fix processing of replacement pattern with named capture groups
([@&#8203;mmmsssttt404](https://redirect.github.com/\[mmmsssttt404]\(https://github.com/mmmsssttt404\)))

##### 💅 Polish

-   `babel-standalone`
- [#&#8203;17158](https://redirect.github.com/babel/babel/pull/17158)
Avoid warnings when re-bundling
[@&#8203;babel/standalone](https://redirect.github.com/babel/standalone)
with webpack
([@&#8203;liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))

##### 🏠 Internal

-   `babel-parser`
- [#&#8203;17160](https://redirect.github.com/babel/babel/pull/17160)
Left-value parsing cleanup
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))

</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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 09:00:37 +00:00
Fredrik Strand Oseberg
a65c8baf56
Feat/tag type colors backend (#9565)
Adds backend color support for tag types
2025-03-18 15:27:41 +01:00
Thomas Heartman
0542fef5d8
chore(1 3493): handle cases with no strategies (#9563)
Handle cases where flags have no strategies in the playground.

As part of this, also changes how we deal with the padding/margins in
the playground: instead of making all but one items in the playground
have to explicitly add padding, now we instead say that the only item
that needs to do something is the list, which uses negative inline
margins.

This also has the added benefit of adding all the top-level elements
(that is: that's not part of the strategy lists) inside the same
container, so we can control gaps between them with flex's gaps.

When you have no strategies (before):

![image](https://github.com/user-attachments/assets/52c85ba4-0738-4aa7-b2ac-84e5f0f65b45)


When you have no strategies (after):

![image](https://github.com/user-attachments/assets/80f5ce75-29e5-4b6d-b707-213cb79d53cc)
2025-03-18 15:12:23 +01:00
Fredrik Strand Oseberg
9bdad5ee44
Feat/tag colors migration (#9560)
Adds a color field to the tag types table
2025-03-18 15:01:59 +01:00
David Leek
890bbcaaa0
chore: rename release management to release templates (#9564) 2025-03-18 14:52:47 +01:00
Thomas Heartman
c5fa7c82fd
chore: add spacing to playground header + style segment's no constraints text (#9561)
This adds two small visual changes:
1. Add some spacing to the playground header (so that the custom
strategies info box (or other alerts) get some breathing room. (It
slightly increases the text between the header and the flag result text,
but I'll leave that as is unless we get told otherwise. It's partially
because of extra padding on the close button etc, and will be more work
than I wanna put in right now).

2. Style the "this segment has no constraints" text for empty segments
to use a smaller, less prominent font.


Playground header before:

![image](https://github.com/user-attachments/assets/821b2711-8ab4-4390-8f6b-718c7bd97731)


Playground header after:

![image](https://github.com/user-attachments/assets/08a446a7-7d8f-4c69-b539-b662a6c7be54)


Segments text before:

![image](https://github.com/user-attachments/assets/b5ad60f8-3423-406c-8b48-e28c5190f956)

Segments text after:

![image](https://github.com/user-attachments/assets/f23a640e-dcfd-441d-8fc0-c7a31c6054af)
2025-03-18 14:07:23 +01:00
Thomas Heartman
43685f516e
chore: segment execution in playground (#9558)
Adds segment execution results to the playground and moves the existing
segment execution into a legacy file.

New:

![image](https://github.com/user-attachments/assets/870d87dd-46a3-4867-bf89-256165f669f0)

Old:

![image](https://github.com/user-attachments/assets/7624a169-9622-4785-9405-405466a89e6f)
2025-03-18 13:54:00 +01:00
Tymoteusz Czech
99fcdb1f23
fix: segment spacing in strategy constraints (#9559) 2025-03-18 13:03:52 +01:00
Thomas Heartman
c89cf196e7
Use new strategy execution in playground (#9553)
Implements playground results for strategies.

Old design:

![image](https://github.com/user-attachments/assets/6c1f1bad-4568-4959-82ee-3ebc6a0aab2d)

New design:

![image](https://github.com/user-attachments/assets/8991fc67-7055-4f6c-b2cb-b2d445057962)


Still left: segments.

I also discovered during this that some of the new hooks (and also some
of the new components) accept deprecated types
(`IFeatureStrategyPayload` in this case). If that should indeed be
deprecated, then we also shouldn't use it in the new hooks / components
if we can avoid it. I'll make a task for it.

---------

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2025-03-18 11:23:02 +01:00
David Leek
33733b64a7
chore: fix missing primary routes for commandbar (#9557) 2025-03-18 10:13:23 +00:00
dependabot[bot]
75bb482c08
chore(deps): bump @babel/runtime from 7.21.0 to 7.26.10 (#9551) 2025-03-18 11:03:45 +01:00
David Leek
35ed2dabf3
feat: rework navigation sidebar admin section (#9556) 2025-03-18 10:35:06 +01:00
Nuno Góis
bf34ac18fc
chore: add user access overview schema (#9552)
https://linear.app/unleash/issue/2-3403/add-response-schema-for-access-overview

Adds a response schema for the user access overview.
2025-03-17 15:32:12 +00:00
Thomas Heartman
7efe5c5311
chore: implement design for disabled environments in playground (#9544)
Adds the new design for strategy lists in disabled environments.


![image](https://github.com/user-attachments/assets/3d7c4e05-1a49-4a87-a6fa-b7491d86fab2)
2025-03-17 15:30:08 +01:00
Thomas Heartman
cf1ba8fcc5
Chore(1-3390)/playground strategy execution: constraints (#9532)
Implements the new design for playground constraints. They're not in use
in segments yet, and strategy parameters have not been touched. This PR
establishes a pattern that we can follow for strategies and parameters
later.


![image](https://github.com/user-attachments/assets/c23d538d-f27f-43f2-8e29-fa8044c11d48)

The PR also includes a change in how the constraint item organizes its
children: it now takes care adding padding and spacing itself, instead
of the children doing that. It looks right most places, but segments
aren't quite right anymore. However, as this is behind a flag, I'd
rather fix that in a separate PR.

---------

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2025-03-17 14:30:11 +01:00
renovate[bot]
37aeb62d66
chore(deps): update dependency minimatch to v10 (#9476) 2025-03-17 11:56:24 +01:00
Jaanus Sellin
6d6a4290fe
feat: requests consumption UI for frontend (#9550)
Switching frontend traffic tab to use the requests consumption API:
2025-03-17 12:55:01 +02:00
Jaanus Sellin
f093a3f4b3
chore: update orval types (#9549) 2025-03-17 11:52:25 +02:00
Thomas Heartman
2b634438a1
fix: only drag handle is draggable, allow you to select text in the header (#9536)
Previously, the entire card was draggable, which meant that you couldn't
select text inside the card or inside the milestone title when editing.
This makes it so that only the drag handle is draggable.
2025-03-17 10:52:09 +01:00
Nuno Góis
3a59886206
chore: access overview search (#9547)
https://linear.app/unleash/issue/2-3407/add-search-to-the-access-overview

Adds search to Access Overview.


![image](https://github.com/user-attachments/assets/20ba5266-ad67-43ff-8c31-79517951f893)
2025-03-17 08:46:09 +00:00
Nuno Góis
76b3e06fe5
chore: categorize access overview (#9546)
https://linear.app/unleash/issue/2-3346/only-show-description-and-not-permission-first-column-and-group

Categorizes the permissions in our Access Overview.


![image](https://github.com/user-attachments/assets/9b9fc8b3-78fb-48eb-a9f5-0f7f7683d2b7)
2025-03-17 08:24:48 +00:00
David Leek
e38a58d635
fix: use the correct permission for the create template button (#9545) 2025-03-14 14:42:28 +01:00
Nnenna Ndukwe
bedd5e1c5b
docs: Feature Flag Security and Compliance for Enterprises (#9528)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

[Preview
Link](https://unleash-docs-git-use-case-security-v2-unleash-team.vercel.app/feature-flag-tutorials/use-cases/security-and-compliance)

Created a use case on Feature Flag Security & Compliance for
Enterprises.
![Screenshot 2025-03-12 at 1 46
20 PM](https://github.com/user-attachments/assets/df4a03c5-b9bc-4456-becd-35587990a13f)


WIP in this PR:
- [x] Transferring diagrams from [Google
Doc](https://docs.google.com/document/d/1uA5Xb2NOdJjqwleicS_u088YXLCm81Y6norJzEYlwuE/edit?tab=t.0)
to this document
- [x] Add in remaining images/screenshots used as seen in Google Docs

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

So far, we will consider Unleash Edge for data privacy topic for a quick
2nd iteration or altogether separate piece.

---------

Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2025-03-14 09:31:19 -04:00
Tymoteusz Czech
14512c73d6
fix: command bar z-index (#9543) 2025-03-14 11:46:44 +01:00
Thomas Heartman
85ea5ce5e2
chore: Delete unused files (#9542)
These files are never used anywhere, so we might as well remove them.
2025-03-14 11:22:10 +01:00
Thomas Heartman
af705ad0e0
fix(1-3489): strategy dragging is broken in env overview (#9538)
Fixes strategy dragging in project envs. Not sure why this works, but
apparently, making it a variable instead of react component takes care
of it?
2025-03-14 11:22:02 +01:00
Nuno Góis
8e67594f1b
chore: change access overview to lists in accordions (#9535)
https://linear.app/unleash/issue/2-3343/accordions-not-a-must-have

https://linear.app/unleash/issue/2-3345/indicator-of-how-many-permissions

Changes our Access Overview from tables to lists in accordions. Also
includes the total permissions in the accordion summary.

Looking at the designs it seems like lists would make the most sense,
both visually and in terms of semantics. This will also allow us to
group the permissions both visually and semantically in a future task.


![image](https://github.com/user-attachments/assets/0692b4f3-0fc5-482c-b963-c731bf5113f5)

### Update

Also improved our project permissions label.


![image](https://github.com/user-attachments/assets/cbb2c298-1f85-4a78-b3ff-3140c567f756)


![image](https://github.com/user-attachments/assets/f3d5c623-4013-4a47-a4b1-5af2e63cb01e)

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2025-03-14 10:21:14 +00:00
Tymoteusz Czech
872162eb7c
fix: new header z-index style (#9541) 2025-03-14 11:18:20 +01:00
Tymoteusz Czech
3912b443d0
fix: command bar search padding 2025-03-14 11:13:11 +01:00
David Leek
bdc21cc4e2
chore: mark release mgmt new in unleash as beta (#9540) 2025-03-14 10:51:33 +01:00
Gastón Fournier
9f0155e0cf
chore: cleanup old test dbs (#9539)
This cleans up old dbs before running a new test
2025-03-14 11:44:58 +02:00
David Leek
f9c152995c
chore: new flag adminNavUI for admin UI 2.0 (#9537) 2025-03-14 09:30:30 +01:00
Gastón Fournier
3765453e60
fix: ignore youtube embed from check links (#9534)
It looks like it's not something we can validate

Closes #9519
2025-03-14 09:24:12 +01:00
David Leek
8ab1a49294
chore: clean up frontend routes (#9533) 2025-03-14 08:18:01 +01:00
Nuno Góis
0d0530b61c
chore: rename access matrix to access overview (#9531)
https://linear.app/unleash/issue/2-3344/new-name-access-overview-instead-of-access-matrix

Renames Access Matrix to Access Overview, both internally (code) and
externally (UI).
2025-03-13 15:23:58 +00:00
Thomas Heartman
dadda7b648
fix: Data usage graphs don't work in UTC-n time zones (#9530)
Fixes a number of issues that would surface in UTC-n (where n > 1)
timezones. I've not found a way to check this with tests (and it looks
like [we weren't able to last time
either](https://github.com/Unleash/unleash/pull/9110/files#r1919746328)),
so all the testing's been done manually by adjusting my system time and
zone. (From what I understand, you can't generate a Date with a specific
TZ offset in JS: it's only utc or local time)

Resolved:
- [x] Selecting "Jan" in the dropdown results in the selection being
"December" (off by one in the selector)

- [x] Selecting a month view only gives you one data point (and it's
probably empty). Wrong date parsing on the way out resulted in sending
`{ from: "2025-02-28", to: "2025-02-28"}` instead of `{ from:
"2025-03-01", to: "2025-03-31"}`

- [x] The dates we create when making "daysRec" need to be adjusted.
They showed the wrong month, so the dates were off.

- [x] Make sure the labels are correct when hovering over. Again: we
used the wrong month for generating these.

- [x] The available months are wrong. Incorrect month parsing again.

- [x] The request summary month is wrong. You guessed it: incorrect
month parsing
2025-03-13 15:44:10 +01:00