Melinda Fekete
eee212f3f0
Update docs for data and privacy ( #9397 )
2025-02-28 16:28:32 +01:00
Tymoteusz Czech
1b67b288ee
Segment view for strategy evaluation ( #9399 )
...
Refactored "segments" part of strategy evaluation. This shows a lot of places, that use "Legacy" component.
2025-02-28 15:15:25 +01:00
Nuno Góis
8d0820fc8b
chore: release plan replacement UI ( #9400 )
2025-02-28 14:14:34 +01:00
Nuno Góis
da91ae6afe
chore: new add release plan dialog ( #9389 )
...
https://linear.app/unleash/issue/2-3249/adding-a-release-plan-to-a-non-cr-environment-feels-too-immediate
This adds a new confirmation / preview dialog when adding a release
plan.
What's cool about it is that it will describe what will happen before
you confirm. It also acts as the "add to CR" dialog, so we now only have
1 dialog instead of 2 separate ones.
This also refactors quite a bit of our code here, hopefully simplifying
it.
### Simple (env disabled)

### CR protected (env enabled)

2025-02-28 10:57:20 +00:00
Nuno Góis
2064cae20f
chore: release template card min height ( #9390 )
...
https://linear.app/unleash/issue/2-3328/release-template-cards-should-have-a-consistent-minimum-height
Sets a consistent min height in our release template cards.

2025-02-28 10:23:21 +00:00
Tymoteusz Czech
a6cfcea029
refactor: new constraints style ( #9363 )
...
Refactored styles for strategy evaluation parameters. New look for constraints etc
2025-02-28 10:49:23 +01:00
Thomas Heartman
97fd1c0fec
chore(1-3423): adapt existing tests to new components ( #9396 )
...
Adds tests for the new version of components that were moved to legacy
files in https://github.com/Unleash/unleash/pull/9361 and where there
were tests already.
2025-02-28 09:45:29 +00:00
Thomas Heartman
0a0d6e9e2a
refactor(1-3429): makes the drag args optional, defaulting to noops ( #9394 )
...
Removes the `() => {} as any` args from the StrategyDraggableItem
invocation when you have paginated strats. Instead makes all the drag
params optional. It defaults to a no op if not provided.
Also, the reason it had to be typed as `any` before is probably because
it was missing a function. The correct empty param is `() => () => {}` 💁
2025-02-28 08:45:01 +00:00
renovate[bot]
88c3f50073
chore(deps): update dependency sass to v1.85.0 ( #9393 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://redirect.github.com/sass/dart-sass ) | [`1.83.4` ->
`1.85.0`](https://renovatebot.com/diffs/npm/sass/1.83.4/1.85.0 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sass/dart-sass (sass)</summary>
###
[`v1.85.0`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1850 )
[Compare
Source](https://redirect.github.com/sass/dart-sass/compare/1.84.0...1.85.0 )
- No longer fully trim redundant selectors generated by `@extend`. This
caused
unacceptable performance issues for certain heavy users of `@extend`.
We'll
try to find a more performant way to accomplish it in the future.
###
[`v1.84.0`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1840 )
[Compare
Source](https://redirect.github.com/sass/dart-sass/compare/1.83.4...1.84.0 )
- Allow newlines in whitespace in the indented syntax.
- **Potentially breaking bug fix**: Selectors with unmatched brackets
now always
produce a parser error. Previously, some edge cases like
`[foo#{"]:is(bar"}) {a:
b}` would compile without error, but this was an unintentional bug.
- Fix a bug in which various Color Level 4 functions weren't allowed in
plain
CSS.
- Fix the error message for `@extend` without a selector and possibly
other
parsing edge-cases in contexts that allow interpolation.
##### Embedded Host
- Fixed the implementation of the `SassBoolean` type to adhere to the
spec,
now using a class instead of an interface.
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 01:59:48 +00:00
renovate[bot]
b0371b03e1
chore(deps): update dependency @tanstack/react-table to v8.21.2 ( #9392 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-table](https://tanstack.com/table )
([source](https://redirect.github.com/TanStack/table/tree/HEAD/packages/react-table ))
| [`8.20.6` ->
`8.21.2`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.20.6/8.21.2 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>TanStack/table (@​tanstack/react-table)</summary>
###
[`v8.21.2`](https://redirect.github.com/TanStack/table/releases/tag/v8.21.2 )
[Compare
Source](https://redirect.github.com/TanStack/table/compare/v8.20.6...v8.21.2 )
Version 8.21.2 - 2/11/25, 8:59 PM
##### Changes
##### Fix
- arrIncludes autoremove filterFn
([#​5623](https://redirect.github.com/TanStack/table/issues/5623 ))
([`2efaf57`](https://redirect.github.com/TanStack/table/commit/2efaf57 ))
by lukebui
- lit-table: spread table options in lit adapter
([#​5904](https://redirect.github.com/TanStack/table/issues/5904 ))
([`36dede1`](https://redirect.github.com/TanStack/table/commit/36dede1 ))
by [@​kadoshms](https://redirect.github.com/kadoshms )
##### Docs
- row accessor bug in example code block
([#​5893](https://redirect.github.com/TanStack/table/issues/5893 ))
([`b1506a7`](https://redirect.github.com/TanStack/table/commit/b1506a7 ))
by Valerii Petryniak
- virtualizer tbody from onchange
([`827b098`](https://redirect.github.com/TanStack/table/commit/827b098 ))
by Kevin Van Cott
- exp virtual - remeasure when table state changes
([`9e6987d`](https://redirect.github.com/TanStack/table/commit/9e6987d ))
by Kevin Van Cott
- angular: add expanding and sub components examples
([#​5898](https://redirect.github.com/TanStack/table/issues/5898 ))
([`099e1a4`](https://redirect.github.com/TanStack/table/commit/099e1a4 ))
by [@​riccardoperra](https://redirect.github.com/riccardoperra )
- example name
([`57703a4`](https://redirect.github.com/TanStack/table/commit/57703a4 ))
by Kevin Van Cott
##### Packages
-
[@​tanstack/table-core](https://redirect.github.com/tanstack/table-core )[@​8](https://redirect.github.com/8 ).21.2
-
[@​tanstack/lit-table](https://redirect.github.com/tanstack/lit-table )[@​8](https://redirect.github.com/8 ).21.2
-
[@​tanstack/angular-table](https://redirect.github.com/tanstack/angular-table )[@​8](https://redirect.github.com/8 ).21.2
-
[@​tanstack/qwik-table](https://redirect.github.com/tanstack/qwik-table )[@​8](https://redirect.github.com/8 ).21.2
-
[@​tanstack/react-table](https://redirect.github.com/tanstack/react-table )[@​8](https://redirect.github.com/8 ).21.2
-
[@​tanstack/solid-table](https://redirect.github.com/tanstack/solid-table )[@​8](https://redirect.github.com/8 ).21.2
-
[@​tanstack/svelte-table](https://redirect.github.com/tanstack/svelte-table )[@​8](https://redirect.github.com/8 ).21.2
-
[@​tanstack/vue-table](https://redirect.github.com/tanstack/vue-table )[@​8](https://redirect.github.com/8 ).21.2
-
[@​tanstack/react-table-devtools](https://redirect.github.com/tanstack/react-table-devtools )[@​8](https://redirect.github.com/8 ).21.2
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 22:25:30 +00:00
renovate[bot]
1f5c07e3aa
chore(deps): update dependency msw to v2.7.1 ( #9387 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io )
([source](https://redirect.github.com/mswjs/msw )) | [`2.7.0` ->
`2.7.1`](https://renovatebot.com/diffs/npm/msw/2.7.0/2.7.1 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw (msw)</summary>
###
[`v2.7.1`](https://redirect.github.com/mswjs/msw/releases/tag/v2.7.1 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.7.0...v2.7.1 )
#### v2.7.1 (2025-02-20)
##### Bug Fixes
- **HttpResponse:** support non-configurable status codes
([#​2434](https://redirect.github.com/mswjs/msw/issues/2434 ))
([`0cf639e`](0cf639e9c1
))
[@​kettanaito](https://redirect.github.com/kettanaito )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 18:59:52 +00:00
Mateusz Kwasniewski
bf78d74dc5
feat: frontend traffic tab ( #9385 )
2025-02-27 16:02:09 +01:00
Thomas Heartman
d5d172647c
chore: deprecate envAccordion
colors; update non-legacy components ( #9378 )
...
Deprecates the `envAccordion` colors (`expanded` and `disabled`) and
updates the components that I do not expect to be deprecated as part of
the strategy facelift project to use `elevation1` instead.
The difference is very slight. envAccordion.expanded:

Elevation 1:

2025-02-27 15:29:37 +01:00
Thomas Heartman
63d4b8b0e4
chore: adjust env dropdown ( #9382 )
...
Adjusts styling of the env dropdown now that we have both release plans
and strategies.
Key points:
- simplifies strategy separator, removes inherent height. Also: extracts
it from the draggable component (it has no business knowing whether to
add that or not)
- Puts release plans and strategies in the same list so that it becomes:
```markdown
- Release plan
- strategy 1
- strategy 2
- (OR) Strategy A
- (OR) Strategy B
```
- Adjusts some padding around to make it line up properly
- Swaps a couple conditional renders for ternaries
Rendered:

## Still todo:
Handle cases where you have >50 strats and we show the warning etc. It's
a little trickier because of how it interacts with release plans, so I
wanna leave that for later.
I'm also unsure about how we handle spacing today. All the little items
have their own different spacing and I'm not sure it won't get out of
sync, but I'm also not sure how else to handle it. We should look at it
later.
2025-02-27 15:28:41 +01:00
Mateusz Kwasniewski
426f53cd8d
test: connection count chart functions ( #9383 )
2025-02-27 14:38:49 +01:00
Mateusz Kwasniewski
f46ec293df
feat: backend connections tab ( #9381 )
2025-02-27 13:38:42 +01:00
Thomas Heartman
359b7cc4c0
chore: handle release plans in new strategy list ( #9380 )
...
Splits the release plan component into a Legacy component and a new one
with the initial changes for the new strategy list view.
Here's what it looks like:

Notice that the background color stops a little early (before the OR
token). I'll handle that in a follow-up because the changes also impact
how the rest of the env accordion body is rendered.
2025-02-27 11:16:24 +01:00
Mateusz Kwasniewski
e29eb51f3c
chore: consumption model flag ( #9379 )
2025-02-27 09:45:07 +01:00
Thomas Heartman
0c6ef912d4
chore(1-3420): wrap strategy list in an ordered list ( #9377 )
...
Improves the semantic correctness of the strategy list by wrapping it
in an `ol` tag.
Strategy order matters (due to variant resolution etc), so the order
is important (hence the `ol` instead of a `ul`).
Dragging still works and it's visually the same.
2025-02-27 08:15:08 +00:00
Jaanus Sellin
be3fa73244
chore: fix text on last seen instances ( #9376 )
2025-02-27 09:21:40 +02:00
Jaanus Sellin
9ae9221960
feat: now instances are only shown for last 24 hours ( #9372 )
2025-02-27 09:19:48 +02:00
Thomas Heartman
e25fb9f7c0
chore(1-3389): new env strategy containers ( #9361 )
...
Updates the strategy list based on the new designs and moves the current
versions of the touched components into `Legacy...` files (the vast
majority of changes are that and updating imports). The relevant changes
to the components are listed in their original files.
Flag on:

Flag off:

## Next steps
There's two items to review for improving these current comments (also
noted inline):
- Whether to aria-hide the "or" separator or not (I need to read up a
bit and think whether it makes sense to show that or not)
- Changing the list of strategies into an actual ordered list (`ol`).
That'd reflect the semantics better.
Next would be checking the other places we use strategy lists and then
updating those too. In doing so, I might find that some things need to
be updated, but I'll handle those when I get there.
There's also handling release plans.
2025-02-26 16:24:50 +01:00
Nuno Góis
192bd83fa6
chore: improve release plan template form validation ( #9371 )
...
https://linear.app/unleash/issue/2-3321/improve-release-template-name-uniqueness-error-response-messages
https://linear.app/unleash/issue/2-3285/milestone-name-uniqueness
Slightly improves UX in our release plan template form validation.

2025-02-26 13:01:34 +00:00
Tymoteusz Czech
4e7ce65567
chore: remove uiGlobalFontSize flag ( #9331 )
...
1-3383
2025-02-26 12:39:53 +01:00
Thomas Heartman
27bd4e2491
feat: allow command bar navigation to wrap around ( #9370 )
...
Lets you navigate to the top of the list when you're at the bottom,
and vice versa.
Arrow down at the end of the list takes you to the search field and
arrow up from the search field takes you to the end of the list.
2025-02-26 10:35:44 +01:00
renovate[bot]
fb0dea7e42
chore(deps): update dependency swr to v2.3.2 ( #9365 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [swr](https://swr.vercel.app )
([source](https://redirect.github.com/vercel/swr )) | [`2.3.0` ->
`2.3.2`](https://renovatebot.com/diffs/npm/swr/2.3.0/2.3.2 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vercel/swr (swr)</summary>
###
[`v2.3.2`](https://redirect.github.com/vercel/swr/releases/tag/v2.3.2 )
[Compare
Source](https://redirect.github.com/vercel/swr/compare/v2.3.1...v2.3.2 )
#### Patches
- (fix) keepPreviousData: return fallback instead of undefined value by
[@​dvoytenko](https://redirect.github.com/dvoytenko ) in
[https://github.com/vercel/swr/pull/4087 ](https://redirect.github.com/vercel/swr/pull/4087 )
**Full Changelog**:
https://github.com/vercel/swr/compare/v2.3.1...v2.3.2
###
[`v2.3.1`](https://redirect.github.com/vercel/swr/releases/tag/v2.3.1 )
[Compare
Source](https://redirect.github.com/vercel/swr/compare/v2.3.0...v2.3.1 )
##### Fixes
- fix: missing `throwOnError` in SWRMutationHook options by
[@​Ram4GB](https://redirect.github.com/Ram4GB ) in
[https://github.com/vercel/swr/pull/3054 ](https://redirect.github.com/vercel/swr/pull/3054 )
- fix: sever env detection for deno by
[@​elrrrrrrr](https://redirect.github.com/elrrrrrrr ) in
[https://github.com/vercel/swr/pull/4064 ](https://redirect.github.com/vercel/swr/pull/4064 )
- keepPreviousData: return fallback instead of undefined value by
[@​dvoytenko](https://redirect.github.com/dvoytenko ) in
[https://github.com/vercel/swr/pull/4084 ](https://redirect.github.com/vercel/swr/pull/4084 )
##### Misc
- ci: update pnpm setup and lock pnpm vesion by
[@​huozhi](https://redirect.github.com/huozhi ) in
[https://github.com/vercel/swr/pull/4085 ](https://redirect.github.com/vercel/swr/pull/4085 )
- build: bump bundler by
[@​huozhi](https://redirect.github.com/huozhi ) in
[https://github.com/vercel/swr/pull/4086 ](https://redirect.github.com/vercel/swr/pull/4086 )
- refactor: type improvement of `useSWRHandler` by
[@​samuel871211](https://redirect.github.com/samuel871211 ) in
[https://github.com/vercel/swr/pull/4075 ](https://redirect.github.com/vercel/swr/pull/4075 )
##### New Contributors
- [@​Ram4GB](https://redirect.github.com/Ram4GB ) made their first
contribution in
[https://github.com/vercel/swr/pull/3054 ](https://redirect.github.com/vercel/swr/pull/3054 )
- [@​elrrrrrrr](https://redirect.github.com/elrrrrrrr ) made their
first contribution in
[https://github.com/vercel/swr/pull/4064 ](https://redirect.github.com/vercel/swr/pull/4064 )
- [@​dvoytenko](https://redirect.github.com/dvoytenko ) made their
first contribution in
[https://github.com/vercel/swr/pull/4084 ](https://redirect.github.com/vercel/swr/pull/4084 )
- [@​samuel871211](https://redirect.github.com/samuel871211 ) made
their first contribution in
[https://github.com/vercel/swr/pull/4075 ](https://redirect.github.com/vercel/swr/pull/4075 )
**Full Changelog**:
https://github.com/vercel/swr/compare/v2.3.0...v2.3.1
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-25 19:32:27 +00:00
Nuno Góis
a91876790e
chore: deprecate and undeprecate protected environments ( #9360 )
...
https://linear.app/unleash/issue/2-3320/allow-users-to-deprecate-and-undeprecate-protected-environments
Allows users to deprecate and undeprecate protected environments.

2025-02-25 13:41:41 +00:00
Nuno Góis
add4191381
chore: months old version banner ( #9352 )
...
https://linear.app/unleash/issue/2-3309/warn-users-of-lagging-versions-3-months-old
Adds a banner warning users in case they are running an outdated Unleash
version (>=3 months old) in case the build date data is present.
When clicking "Changelog" the users are redirected to
https://github.com/Unleash/unleash/releases .

2025-02-25 12:48:55 +00:00
Thomas Heartman
000ee66692
fix: long flag names push table to overflow and flag descriptions are not truncated ( #9350 )
...
Addresses two issues related to flag names and descriptions overflowing:
1: In the project flag overview, long flag names push the environments
off screen. This is handled by setting overflow-wrap: anywhere on the
offending text. The text will now use ellipses instead.
Before full-width:

Before narrower:

After full-width:

After narrower:

2: On the flag page, long descriptions are rendered in their entirety,
even if that's not sensible. They are now truncated after five lines.
There is a tooltip that shows the full text, or you can go the flag
settings to see the full description.
Before:

After:

After (with tooltip):

---
Note, I don't think this is necessarily the perfect solution (it'd be
nice to get tooltips for overflowing flag names a "show full
description" disclosure button instead of the stupidly long tooltip),
but I think it's a step in the right direction.
2025-02-25 13:39:30 +01:00
Tymoteusz Czech
7ec6c141f3
refactor: fix deprecation for string truncator ( #9359 )
2025-02-25 12:24:03 +00:00
Tymoteusz Czech
42a05ef418
feat: new environment box ( #9342 )
...
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2025-02-25 10:34:36 +00:00
renovate[bot]
d53efccde5
chore(deps): update dependency semver to v7.7.1 ( #9354 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://redirect.github.com/npm/node-semver ) | [`7.7.0` ->
`7.7.1`](https://renovatebot.com/diffs/npm/semver/7.7.0/7.7.1 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>npm/node-semver (semver)</summary>
###
[`v7.7.1`](https://redirect.github.com/npm/node-semver/blob/HEAD/CHANGELOG.md#771-2025-02-03 )
[Compare
Source](https://redirect.github.com/npm/node-semver/compare/v7.7.0...v7.7.1 )
##### Bug Fixes
-
[`af761c0`](af761c05bd
)
[#​764](https://redirect.github.com/npm/node-semver/pull/764 ) inc:
fully capture prerelease identifier
([#​764](https://redirect.github.com/npm/node-semver/issues/764 ))
([@​wraithgar](https://redirect.github.com/wraithgar ))
</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 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 23:10:25 +00:00
renovate[bot]
cdad65c098
chore(deps): update dependency @uiw/react-codemirror to v4.23.8 ( #9353 )
...
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.7` ->
`4.23.8`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.23.7/4.23.8 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror (@​uiw/react-codemirror)</summary>
###
[`v4.23.8`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.8 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.7...v4.23.8 )
[](https://jaywcjlove.github.io/#/sponsor )
[](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.8/file/README.md )
Documentation v4.23.8:
https://raw.githack.com/uiwjs/react-codemirror/62aac6a/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.7...v4.23.8
```shell
npm i @​uiw/react-codemirror@4.23.8
```
- 🐞 fix: Pass diffConfig to options in CodeMirrorMerge component
([#​712](https://redirect.github.com/uiwjs/react-codemirror/issues/712 ))
[`a95fb47`](https://redirect.github.com/uiwjs/react-codemirror/commit/a95fb47 )
[@​snelsi](https://redirect.github.com/snelsi )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 20:12:42 +00:00
David Leek
f19ffd0e7e
chore: fix small UI issues in release templates/plans ( #9341 )
2025-02-24 15:25:44 +01:00
Thomas Heartman
26e01177be
chore: add file and component names to styled
output class names in dev ( #9351 )
...
Updates the `vite.config.mts` file to include config for emotion,
telling it to add `<file name>--<component name>` to the class names
of generated components.
The class name modification only happens in development mode.
2025-02-24 14:45:20 +01:00
renovate[bot]
7f81c38daa
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.23.8 ( #9349 )
...
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.7` ->
`4.23.8`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.23.7/4.23.8 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror
(@​uiw/codemirror-theme-duotone)</summary>
###
[`v4.23.8`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.8 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.7...v4.23.8 )
[](https://jaywcjlove.github.io/#/sponsor )
[](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.8/file/README.md )
Documentation v4.23.8:
https://raw.githack.com/uiwjs/react-codemirror/62aac6a/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.7...v4.23.8
```shell
npm i @​uiw/react-codemirror@4.23.8
```
- 🐞 fix: Pass diffConfig to options in CodeMirrorMerge component
([#​712](https://redirect.github.com/uiwjs/react-codemirror/issues/712 ))
[`a95fb47`](https://redirect.github.com/uiwjs/react-codemirror/commit/a95fb47 )
[@​snelsi](https://redirect.github.com/snelsi )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 03:15:56 +00:00
Nuno Góis
7245112e14
chore: Edge observability width fix ( #9345 )
...
Makes the Edge instance node width consistent.
2025-02-21 12:11:50 +00:00
Thomas Heartman
1db97882c2
feat: make env selector filterable ( #9340 )
...
Makes the env selector on the flag page act the same way as the env
selector on the new project page or any of the filterable buttons in the
new project/flag dialogs.
Also slightly changes the styles of the existing dropdown lists to bring
them in line with the new env selector (more padding, full-width
highlights).
Selector:

Project/flag creation:
Before:

After:

## Technical notes
I was a little unsure how best to share the padding/spacing styles
between the search field and popover at first (as was requested by UX).
The easiest way (and most compliant with how we do it today) was to
define the spacing in a variable and move the relevant components into
the same file.
However, I actually think that using a CSS variable (e.g.
`--popover-spacing`) would be "better" here, but we don't really use
them much, so I've left that out for now. That said, if you agree, I'd
be more than happy to use that instead 🙋🏼
2025-02-21 11:20:43 +00:00
Nuno Góis
86c15d5253
chore: improve UX in the Edge observability latency table ( #9343 )
...
https://linear.app/unleash/issue/2-3298/make-latency-table-clearer
Improves UX of the Edge observability latency table.

2025-02-21 10:00:23 +00:00
Nuno Góis
17d3f67ec1
chore: upgrade vitest to 3.0.6 ( #9337 )
...
https://linear.app/unleash/issue/2-3296/upgrade-vitest
Follow-up to https://github.com/Unleash/unleash/pull/9212
The ☝️ PR was failing some tests because `chartjs-adapter-date-fns` is
imported as a [side
effect](https://stackoverflow.com/questions/41127479/es6-import-for-side-effects-meaning )
and seems to be CommonJS-only. When Vitest loads it, it fails to find
named exports (like `_adapters`). By inlining `chartjs-adapter-date-fns`
in our Vitest test config, esbuild transforms it into a proper ES module
for testing.
Additionally, we’re upgrading from v1.4.0 to v3.0.6 directly since our
code seems to be fully compatible.
>Vitest requires Vite >=v5.0.0 and Node >=v18.0.0
2025-02-20 14:24:28 +00:00
Thomas Heartman
9b282a436d
chore: reduce tab sizes on flag page + fix wrapping/overlapping issue with action buttons ( #9339 )
...
Reduces the size of the tab buttons on the flag page:
- Sets the min width to 100px instead of 160px on md screens. No change
for smaller screens
- Removes the min-height restriction imposed by theme.ts for the tab
bar, instead relying on the tab buttons to determine the height
(effectively changes the height from 70px to 62px).
Additionally: fixes an issue where the action buttons would overlap with
the tab buttons before wrapping and makes the tab bar scrollable. I can
no longer reproduce the issue where the action buttons force the tab bar
to be too small, but even if they should do that now, the tab bar is
scrollable so the remaining tabs are still accessible.
Because we only override the tabs' min-width on wider screens and mui
sets a default min-width, I changed the `onNarrowHeader` function to
`onWideHeader` and adjusted the other components accordingly. As a
bonus, the tab width and header wrapping now happens at the same time 🥳
After the change:

## Accessibility
This PR also addresses some of the a11y issues with this tab bar, namely
that it adds an `aria-label`, as mentioned in the [MUI
docs](https://v5.mui.com/material-ui/react-tabs/#accessibility ).
It does **not**, however, connect the tabs to their corresponding tab
panels. The main reason for this is that we're not using tab panels and
that they're spread over 4 different components. We're probably using
the tabs component for something it isn't really designed to do in this
way. (Arguably they should be links and not buttons, for instance.) I'm
not going to touch this now, because that would probably be a lot of
work and it's not something I expect the business would prioritize.
## Changing theme.ts
While it's tempting to go in and change the `min-height` in `theme.ts`,
that would potentially affect all the other tab bars we have (although
maybe not, because we set a different min height for the tabs
themselves), I want to leave that for now. There is apparently some work
being done/prepared for the tabs, so it's probably better to leave that
for then.
2025-02-20 15:02:04 +01:00
Nuno Góis
ac8d742e5f
chore: make Edge instance node width consistent ( #9335 )
...
https://linear.app/unleash/issue/2-3295/make-edge-instance-nodes-width-consistent-in-the-connected-edges-view
When manually testing this feature I noticed that sometimes Edge
instance nodes had different widths depending on their content.
This makes it so they stretch to the available space, making all
instance nodes in a group (app-name) the same width.
2025-02-20 09:53:43 +00:00
Thomas Heartman
6e1f683902
chore(1-3380): handle narrow windows for the flag header. ( #9321 )
...
Makes it so that the actions/tabs wrap on narrow width screens.
Constraints:
- When wrapping, the actions should go **before** the tabs, when not
wrapping, they should be placed **after**
- Need to maintain a logical tab order for wrapping, so just using
`flex-flow: row wrap-reverse` doesn't work because the tab order will be
wrong
- When the elements switch, you shouldn't lose your tab place in the
document
This solution uses container queries to determine the container size and
uses that to set the wrapping. Falls back to media queries if container
queries aren't supported (it's supported on >93% of browsers according
to caniuse).
The wrapping points don't use predefined media queries because:
- containers don't care about the size of the screen. It's the intrinsic
size of the container that matters.
- wrapping at 900px seemed too far out if container queries are
unsupported. But it's a fallback, so we can switch to that if we want.
If your keyboard focus is on one of the actions on a wide screen, and
the screen goes narrow, your focus will still be after the tabs (staying
consistent), so tabbing to the next element will take you into the flag
details, while backtab takes you back to the tabs.
Before wrapping:

After wrapping:

## A note on accessibility:
The spec for flexbox (taken from [MDN's
doc](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flexible_box_layout/Ordering_flex_items ))
states:
> "Authors must not use order or the *-reverse values of
[flex-flow](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-flow )/flex-direction
as a substitute for correct source ordering, as that can ruin the
accessibility of the document."
So even if wrap-reverse works visually, it's not a good solution for
this.
2025-02-20 09:31:08 +00:00
renovate[bot]
bdecad10c9
chore(deps): update dependency @types/node to v20.17.17 ( #9334 )
...
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.16` ->
`20.17.17`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.16/20.17.17 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](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 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-20 02:08:47 +00:00
Nuno Góis
7340c74b1b
refactor: rename networkViewEnabled to prometheusAPIAvailable ( #9330 )
...
https://linear.app/unleash/issue/2-3290/rename-networkviewenabled-to-prometheusapiavailable
Follow-up to: https://github.com/Unleash/unleash/pull/9325
See: https://github.com/Unleash/unleash/pull/9325#discussion_r1960085303
Renames `networkViewEnabled` to `prometheusAPIAvailable`. This new name
better reflects what it stands for.
2025-02-19 14:38:59 +00:00
Tymoteusz Czech
e095411de4
feat: show add strategy button when release plan ( #9329 )
...
Should show "add strategy" for redesigned page
2025-02-19 14:22:50 +01:00
Nuno Góis
b4bfadd95e
chore: visualize connected edges ( #9325 )
...
https://linear.app/unleash/issue/2-3233/visualize-connected-edge-instances
Adds a new tab in the Network page to visualize connected Edges.
This is behind a `edgeObservability` flag.
Also opens up the Network page even if you don't have a Prometheus API
configured. When accessing the tabs that require it to set, and it
isn't, we show some extra information about this and redirect you to the
respective section in our docs.



2025-02-19 12:23:52 +00:00
David Leek
c938b0fa6c
chore: await so change requests banner shows up after adding release plans changes ( #9328 )
2025-02-19 11:18:10 +01:00
Tymoteusz Czech
2a6487e7e9
feat: show and hide environments ( #9323 )
...
- Button to show and hide environments
- Refactored hook storing state of hidden environments
- Changed the way flag is triggered for feature overview
- Visual updates for new page look
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2025-02-19 09:48:07 +00:00
Gastón Fournier
1bb2756161
chore: remove references to admin token kill switch ( #9324 )
...
This feature has been removed
2025-02-19 09:08:21 +01:00