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
renovate[bot]
c1fc07f402
chore(deps): update dependency jsonpath-plus to v10.3.0 [security] ( #9326 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jsonpath-plus](https://redirect.github.com/s3u/JSONPath ) | [`10.2.0`
->
`10.3.0`](https://renovatebot.com/diffs/npm/jsonpath-plus/10.2.0/10.3.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/ )
|
### GitHub Vulnerability Alerts
#### [CVE-2025-1302](https://nvd.nist.gov/vuln/detail/CVE-2025-1302 )
Versions of the package jsonpath-plus before 10.3.0 are vulnerable to
Remote Code Execution (RCE) due to improper input sanitization. An
attacker can execute aribitrary code on the system by exploiting the
unsafe default usage of eval='safe' mode.
**Note:**
This is caused by an incomplete fix for CVE-2024-21534.
---
### Release Notes
<details>
<summary>s3u/JSONPath (jsonpath-plus)</summary>
###
[`v10.3.0`](https://redirect.github.com/s3u/JSONPath/blob/HEAD/CHANGES.md#1030 )
[Compare
Source](https://redirect.github.com/s3u/JSONPath/compare/v10.2.0...v10.3.0 )
- fix(eval): rce using non-string prop names
([#​237](https://redirect.github.com/s3u/JSONPath/issues/237 ))
- feat(demo): make demo link shareable
([#​238](https://redirect.github.com/s3u/JSONPath/issues/238 ))
- chore: update deps. and devDeps.
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2Ny4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 22:20:17 +00:00
Thomas Heartman
14b6b38238
feat(1-3379): add stale badge to the new header ( #9320 )
...
Without this, there's no way to tell if a flag is stale or not on the
flag page, so we're adding it back in. However, we'll only show the
badge if it's stale, not if it's an active flag.
Stale flag with badge:

When it wraps:

To make the badge line up properly when it wraps, I removed the
hard-coded margin in the badge. To counteract that, I've also removed
the hard-coded margin in the "copy name" button and switched to using
flex gaps to sort that.
It still looks right.
Before:

After:

2025-02-18 12:34:46 +00:00
Thomas Heartman
4701dc1552
refactor: move feature overview header into separate file ( #9319 )
...
This PR moves the flag page header into a separate file, so that the
overview file is more clearly focused on the overview.
Additionally, it moves the modals that are triggered from the header
into the new file. This should give a nice little performance boost, as
opening and closing these modals should no longer trigger a re-rendering
of the full flag overview page, only the header.
2025-02-18 11:35:40 +01:00
Tymoteusz Czech
2ede2a6578
feat: new flag info box ( #9308 )
...
- updated spacing of elements
- modified header and "flag type"
- added "collaborators"
- refactored tags
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2025-02-18 10:30:52 +01:00
Thomas Heartman
b15502ec5e
fix(1-3377): handle singular counts in project status lifecycle boxes ( #9317 )
...
If the average number of days in a stage is 1, use `1 day` instead of
`1 days`.
Likewise, if your total number of archived flags is 1, use `1 flag
archived` instead of `1 flags archived`.
I grepped through the file, but couldn't find any other hardcoded
instances of "flags" or "days", so I think this is everything.
2025-02-17 12:41:04 +00:00
Thomas Heartman
134c32589a
fix(1-3375): Fix unintended scroll on dashboard ( #9316 )
...
Fixes a bug where the dashboard would scroll you down from the top of
the page on load if your window was too short too see both the
selected flag and the selected project.
This solves it by immediately scrolling to the top of the page after
scrolling your selected element into view. Because this hook only runs
on page load, it shouldn't be safe. (At least I couldn't make this
misbehave with manual testing).
It also changes the list scroll behavior to scroll your selected item
to the top of the list instead of to the bottom (effectively). During
testing, that seems like a better solution to me.
## Background (or why do we auto-scroll here?)
The dashboard's flag and projects panels stores your last selection,
so that when you return to the page you'll be shown what you were
looking at last. This is especially useful if you have a lot of flags
but you're focusing on one in particular.
However, if you **do** have a lot of flags, then it's also quite
likely that your selection will be "below the fold" of the panel, and
you won't see your selected flag/project immediately in the
list (without scrolling).
It seemed like a nice UI affordance to automatically bring your
selected item into view (especially because without it, there's no way
to see what flag/project) you're looking at, so I added the
[`scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView )
hook.
What I didn't realize, however, is that it scrolls all scrollable
ancestor containers, which means that if your screen is too short,
it'll scroll you down the page.
From my reading of the docs and some local testing, I don't think
there is a way to limit the scrolling to only the nearest ancestor, so
the easiest way to ensure that we're always at the top seemed to be to
just scroll to the immediately after.
2025-02-17 12:07:35 +01:00
Mateusz Kwasniewski
b207606800
fix: delete project segment with change request ( #9315 )
2025-02-17 10:41:56 +01:00
Thomas Heartman
aafacc68cf
feat: new flag header ( #9302 )
...
Initial spike to add the new design for the flag page header
2025-02-14 14:33:35 +01:00
Tymoteusz Czech
8dc6fbf149
fix(1-3374): access e2e test ( #9313 )
...
Fix e2e test, failing because of subtle table syntax change. Nested `span`s are counted twice in Cypress `:contains`
2025-02-14 13:33:17 +00:00
Tymoteusz Czech
b5bd5ee3f2
refactor: MuiTab font sizes ( #9296 )
...
I didn't find where this style is taken into account, but I don't like
leaving `1rem` when everything else is scaled down to 15px
2025-02-12 15:13:22 +01:00
Thomas Heartman
243088fdca
fix: Add strategy and more strategies button are different heights ( #9300 )
...
Fixes the height discrepancy between add strategy and more strategies
buttons, both with and without the flag enabled.
The essence of the fix is to make the "more strategies" button's height
dynamic and grow to match the height of the other button.
Before (flag enabled):

After (flag enabled):

Before (flag disabled):

After (flag disabled):

As a bonus: also enables the ui font redesign flag for server-dev.
If you're very sharp-eyed, you might notice a few things:
1. There's more padding on the new button. This was done in concert with
UX when we noticed there was more padding on other buttons. So as a
result, we set the button type to the default instead of "small".
1. The kebab button isn't perfectly square with the flag on. There's a
few issues here, but essentially: to use `aspect-ratio: 1`, you need
either a height or a width set. Because we want everything here to be
auto-generated (use the button's intrinsic height), I couldn't make it
work. In the end, I think this is close enough. If you have other ideas,
you're very welcome to try and fix it.
2025-02-12 13:54:06 +01:00
Thomas Heartman
5c23a52119
fix: add some missing button labels on the project page ( #9299 )
...
Adds aria-labels to the env visibility toggle button and the "copy
env" button.
2025-02-12 09:39:03 +01:00
Thomas Heartman
f4e87389f1
fix: make the chip in the playground project selector small ( #9298 )
...
This makes it the same size as the env selector, fixing a slight
visual misalignment.
Doing a reference check, I can't find any other uses of this selector,
so I'm making the changes directly.
Before:

After:

2025-02-12 09:38:49 +01:00
Tymoteusz Czech
b035299a18
fix: command bar spacing ( #9288 )
2025-02-11 16:17:24 +01:00
Mateusz Kwasniewski
54766fd4a0
feat: connection count usage ( #9294 )
2025-02-11 16:15:45 +01:00
Thomas Heartman
abb0450a6a
fix: Use the right theme even if the payload is a variant. ( #9292 )
...
Also, use extra css selectors to increase specificity so that this
takes precedence over the MUI themes.
I don't like that we need to do this weird selector thing, but hey, it
is what it is.
2025-02-11 13:28:36 +00:00
Tymoteusz Czech
cac38b0cee
fix: font size flag change to boolean ( #9290 )
...
## About the changes
Fix for `uiGlobalFontSize` flag being returned as an object, which is truthy.
2025-02-11 13:24:18 +01:00
Thomas Heartman
63dbd40a2e
chore: add button styles to dark mode too ( #9285 )
...
This adds the same button stylings to the dark theme as we did to the
light theme in #9275 .
2025-02-11 11:17:05 +01:00
Thomas Heartman
43a5d59225
fix: add legacy button styles ( #9283 )
...
Adds the button styles that were removed from `app.css` into the
legacy theme file. These change very slightly when the flag is on, and
because the hardcoded `app.css` styles have been removed, we'll use
the legacy file as fallback.
2025-02-11 09:32:26 +00:00
Thomas Heartman
65bec89d3c
chore(1-3356): make mui buttons respect font size changes ( #9275 )
...
Makes the MUI buttons use `body1.fontSize` for their own font size.
Turns out we had a hardcoded `16px` in the `app.css` file, which made it
hard to override. This change removes mui button styling in `app.css`
and puts it into the `theme.ts` file instead.
Also updates the border radius to match the one we use in the theme
(from 3px to 4px). It's a subtle change:
before:

after:

2025-02-11 08:33:27 +00:00
Thomas Heartman
fd1ad5ac5b
fix: some accessibility issues ( #9282 )
...
Fixes a small number of accessibility issues that Firefox was
complaining about (and some that I noticed myself):
1. In `CommandBar.tsx`, use a `Label` element instead of aria-label. We
can hide it with the `ScreenReaderOnly` component.
2. Add an `aria-label` to the icon button in the sidebar. (side note:
should we do any fancy detection on whether it's cmd + b or ctrl+b
there? I think we do that in the command bar)
3. Update the playground guidance popper;
i. Add an aria-label to the icon button
ii. Make the popper a `Popover` instead. This fixes a few issues: It
wasn't possible to focus or close just using the keyboard before.
Because it didn't steal focus, it also meant that it'd cover other parts
of the page. Now it traps focus so you can navigate to the close button,
and escape will also close it for you.
iii. Remove aria-describedby. Using aria-describedby on the button would
mean that the **button** is described by its content, which seems wrong.
aria-describedby should also only be used for plain strings. Complex
markups isn't supported. For that aria-details is the right way to go.
But because the popover is only rendered when it's open, the details or
describedby link will point to nothing most of the time.
iv. In doing this, there is a slight change in the popover shadow (I
couldn't find onef of our shadows that did the same thing as before),
but it matches other popovers we have, such as on the data usage tab.
Before:

After:

2025-02-11 09:16:20 +01:00
Tymoteusz Czech
23e8040cd9
refactor: theme - font size ( #9273 )
2025-02-11 09:07:27 +01:00
renovate[bot]
a0164e4c88
chore(deps): update dependency @tanstack/react-virtual to v3.12.0 ( #9279 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-virtual](https://tanstack.com/virtual )
([source](https://redirect.github.com/TanStack/virtual/tree/HEAD/packages/react-virtual ))
| [`3.11.3` ->
`3.12.0`](https://renovatebot.com/diffs/npm/@tanstack%2freact-virtual/3.11.3/3.12.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>TanStack/virtual (@​tanstack/react-virtual)</summary>
###
[`v3.12.0`](https://redirect.github.com/TanStack/virtual/releases/tag/v3.12.0 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/v3.11.3...v3.12.0 )
Version 3.12.0 - 2/3/25, 4:02 AM
#### Changes
##### Feat
- virtual-core: add getVirtualIndexesAPI
([`a1cb9ce`](https://redirect.github.com/TanStack/virtual/commit/a1cb9ce ))
by Kevin Van Cott
##### Other
-
([`a485978`](https://redirect.github.com/TanStack/virtual/commit/a485978 ))
by Kevin Van Cott
#### Packages
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).12.0
-
[@​tanstack/lit-virtual](https://redirect.github.com/tanstack/lit-virtual )[@​3](https://redirect.github.com/3 ).12.0
-
[@​tanstack/react-virtual](https://redirect.github.com/tanstack/react-virtual )[@​3](https://redirect.github.com/3 ).12.0
-
[@​tanstack/solid-virtual](https://redirect.github.com/tanstack/solid-virtual )[@​3](https://redirect.github.com/3 ).12.0
-
[@​tanstack/svelte-virtual](https://redirect.github.com/tanstack/svelte-virtual )[@​3](https://redirect.github.com/3 ).12.0
-
[@​tanstack/vue-virtual](https://redirect.github.com/tanstack/vue-virtual )[@​3](https://redirect.github.com/3 ).12.0
-
[@​tanstack/angular-virtual](https://redirect.github.com/tanstack/angular-virtual )[@​3](https://redirect.github.com/3 ).12.0
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 18:10:28 +00:00
renovate[bot]
99a27d51a9
chore(deps): update dependency @codemirror/state to v6.5.2 ( #9278 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@codemirror/state](https://redirect.github.com/codemirror/state ) |
[`6.5.1` ->
`6.5.2`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.5.1/6.5.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>codemirror/state (@​codemirror/state)</summary>
###
[`v6.5.2`](https://redirect.github.com/codemirror/state/blob/HEAD/CHANGELOG.md#652-2025-02-03 )
[Compare
Source](https://redirect.github.com/codemirror/state/compare/6.5.1...6.5.2 )
##### Bug fixes
Fix a bug where reconfiguring a field with a new `init` value didn't
update the value of the field.
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 18:10:05 +00:00
Thomas Heartman
c3cef5be18
fix: don't check license in OSS ( #9277 )
...
The license check API call was giving me 404s in the console of the
OSS version of Unleash.
This changes the `useLicense` hook to use `useEnterpriseSWR` instead
of `useSWR` to avoid making the API call in the OSS version. This is
consistent with the `useLicenseCheck` hook in the same file.
2025-02-10 15:16:34 +01:00
Thomas Heartman
c4fa86b1aa
chore: make playground code editor height dynamic ( #9271 )
...
The playground code editor had a fixed height of `150px`. This works
well with the current font size, but if we're changing it, we'll end
up with too much height compared to the font size.
So instead, let's calculate the font size based on the current font
size.
Before this change (if you shrink font size):

After this change:

It still looks the same with the old font size:

Furthermore, this change uses `minHeight` instead of `height`, so that
if you have more JSON data, then you won't be stuck scrolling through 6
and 6 lines.
Before with lots of json:

After with lots of json:

And yes, the button doesn't respect the font size, but that's a
different task.
2025-02-10 12:36:16 +00:00
Nuno Góis
3bc72c84e0
chore: make truncator a span ( #9272 )
...
https://linear.app/unleash/issue/2-3255/make-truncator-a-span-instead-of-a-box
Makes the Truncator a `span` instead of a `Box`.
This should make it more flexible and help us avoid DOM nesting errors.
2025-02-10 12:29:58 +00:00
Simon Hornby
bf9fdd4f8d
feat: allow SCIM user deletion ( #9190 )
...
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2025-02-10 14:17:46 +02:00
Thomas Heartman
cdeb515488
chore: removes extra border on collapse for the event timeline ( #9270 )
...
Fixes a small visual glitch where the event timeline panel (which
usually doesn't have a bottom border on the summary) would get a
bottom border during the collapsing animation.
This happens because to make the border act as we want, we switch
between using the summary's bottom border and the content's top
border, and I'd only updated one of the borders to respect the new
design.
2025-02-10 10:52:32 +01:00
Thomas Heartman
2b668bc5c8
fix: open/close animation on personal dashboard is choppy ( #9253 )
...
Extracts each panel into its own component for the personal dashboard.
This lets us use separate states for each panel, which in turn lets each
panel change its open / close state without causing the other panels to
re-render.
When you have a lot of flags and/or projects, the list to render becomes
very long, which causes performance problems, especially when you need
to rerender both flags and projects and the timeline whenever one of
them changes.
The problems were especially noticeable in Firefox for me. Even with
this, the event timeline is a little choppy. I suspect that's because of
it might take a long time to paint? But we can look into that later.
Also updates the dashboard state hook to let you only pass in the
flags/projects you want. We could extract this into three different
hooks that all use the same localhost key, but I'm not sure whether
that's better or worse 🤷🏼
2025-02-10 10:40:26 +01:00
Nuno Góis
c07fb589a7
chore: add release management to new in unleash ( #9257 )
...
https://linear.app/unleash/issue/2-3244/add-release-management-to-new-in-unleash
Adds release management to "New in Unleash".

2025-02-07 14:33:25 +00:00
Nuno Góis
13ac0567c5
chore: make the milestone status a button ( #9255 )
...
https://linear.app/unleash/issue/2-3251/make-the-milestone-status-action-link-and-icon-a-proper-button-that
Makes the milestone status a button while trying to keep most of the
original design intact.

2025-02-07 14:03:59 +00:00
Thomas Heartman
c02c5a4d47
fix(1-3296): don't navigate through the list on tab ( #9259 )
...
Prevents tab from navigating you through the list of results. Instead
makes it so that the tab key always takes you to the next item in the
same hierarchy.
As a bonus: also automatically closes the menu when you navigate
away (the previous implementation has a bug where it wouldn't if you
shift-tab).
The behavior of not letting you navigate the list with tab is
consistent with native HTML select elements as well as MUI select
elements. You typically navigate them with the arrow keys.
2025-02-07 14:58:05 +01:00
Thomas Heartman
4f30ce7155
chore(1-3349): no border for event timeline / dropdowns to the right ( #9252 )
...
Removes the border between the accordion summary and its contents for
the event timeline, and moves dropdown selectors to the right to avoid
overcrowding on the left.

2025-02-07 11:11:54 +01:00
Thomas Heartman
f9bd9d2d03
Adds a more visible focus indicator to the filter chips ( #9251 )
...
When the filter chip is focused, adds a 1px solid outline in the theme's
primary color. This makes it easier to tell when the chip has focused.
Additionally, adds a slight refactor in how we call the event log result
component. I'm pretty sure I've seen react docs say that you should
always use the component calling instead of a regular function call, so
this does that.
Before (the first chip has focus; can you tell?):

After:

Optionally, we could do something similar to on hover (first one has
focus again), but it's kinda subtle and .. I don't think it's a theme
color we have defined:

2025-02-07 10:22:08 +01:00
renovate[bot]
9d453e6881
chore(deps): update yarn to v4.6.0 ( #9248 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [yarn](https://redirect.github.com/yarnpkg/berry )
([source](https://redirect.github.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli ))
| [`4.5.3` ->
`4.6.0`](https://renovatebot.com/diffs/npm/yarn/4.5.3/4.6.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>yarnpkg/berry (yarn)</summary>
###
[`v4.6.0`](2fe7d635e8...1871484db8
)
[Compare
Source](2fe7d635e8...1871484db8
)
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 18:49:16 +00:00
renovate[bot]
6602e664a1
chore(deps): update testing-library monorepo ( #9247 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/react](https://redirect.github.com/testing-library/react-testing-library )
| [`16.1.0` ->
`16.2.0`](https://renovatebot.com/diffs/npm/@testing-library%2freact/16.1.0/16.2.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/ )
|
|
[@testing-library/user-event](https://redirect.github.com/testing-library/user-event )
| [`14.5.2` ->
`14.6.1`](https://renovatebot.com/diffs/npm/@testing-library%2fuser-event/14.5.2/14.6.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>testing-library/react-testing-library
(@​testing-library/react)</summary>
###
[`v16.2.0`](https://redirect.github.com/testing-library/react-testing-library/releases/tag/v16.2.0 )
[Compare
Source](https://redirect.github.com/testing-library/react-testing-library/compare/v16.1.0...v16.2.0 )
##### Features
- Add support for React error handlers
([#​1354](https://redirect.github.com/testing-library/react-testing-library/issues/1354 ))
([9618c51](9618c51337
))
</details>
<details>
<summary>testing-library/user-event
(@​testing-library/user-event)</summary>
###
[`v14.6.1`](https://redirect.github.com/testing-library/user-event/releases/tag/v14.6.1 )
[Compare
Source](https://redirect.github.com/testing-library/user-event/compare/v14.6.0...v14.6.1 )
##### Bug Fixes
- correct description for `delay` option
([#​1175](https://redirect.github.com/testing-library/user-event/issues/1175 ))
([2edf14d](2edf14d2e7
))
- **keyboard:** add `ContextMenu` to `defaultKeyMap`
([#​1079](https://redirect.github.com/testing-library/user-event/issues/1079 ))
([3e471d1](3e471d1feb
))
- **keyboard:** add brackets to `defaultKeyMap`
([#​1226](https://redirect.github.com/testing-library/user-event/issues/1226 ))
([543ecb0](543ecb0ea9
))
- **keyboard:** walk through radio group per arrow keys
([#​1049](https://redirect.github.com/testing-library/user-event/issues/1049 ))
([bf8111c](bf8111ca9f
))
- **pointer:** dispatch mouse events if `pointerdown` is
`defaultPrevented`
([#​1121](https://redirect.github.com/testing-library/user-event/issues/1121 ))
([f681f7b](f681f7bbfe
))
- **pointer:** set `button` and `buttons` properties on `PointerEvent`
([#​1219](https://redirect.github.com/testing-library/user-event/issues/1219 ))
([6614f72](6614f7282c
))
- **pointer:** use `1` as default value for `PointerEvent.width` and
`PointerEvent.height`
([#​1224](https://redirect.github.com/testing-library/user-event/issues/1224 ))
([f0468d0](f0468d04d7
))
- prevent `click` event loop on form-associated custom element
([#​1238](https://redirect.github.com/testing-library/user-event/issues/1238 ))
([465fc7e](465fc7eb49
))
- prevent `click` event on non-focusable control
([#​1130](https://redirect.github.com/testing-library/user-event/issues/1130 ))
([e429094](e429094865
))
- **upload:** apply `accept` filter more leniently
([#​1064](https://redirect.github.com/testing-library/user-event/issues/1064 ))
([a344ad4](a344ad4dfe
))
###
[`v14.6.0`](https://redirect.github.com/testing-library/user-event/releases/tag/v14.6.0 )
[Compare
Source](https://redirect.github.com/testing-library/user-event/compare/v14.5.2...v14.6.0 )
##### Features
- dispatch `FocusEvent` in hidden documents
([#​1252](https://redirect.github.com/testing-library/user-event/issues/1252 ))
([1ed8b15](1ed8b1557b
))
##### Bug Fixes
- **clipboard:** await `DataTransferItem.getAsString()` callback
([#​1251](https://redirect.github.com/testing-library/user-event/issues/1251 ))
([7b11b0e](7b11b0e88a
))
- **event:** assign pointer coords to MouseEvent
([#​1039](https://redirect.github.com/testing-library/user-event/issues/1039 ))
([8528972](8528972577
))
- **pointer:** check `PointerCoords.x` in `isDifferentPointerPosition`
([#​1216](https://redirect.github.com/testing-library/user-event/issues/1216 ))
([75edef5](75edef5c06
))
- **pointer:** check all fields of `PointerCoords` in
`isDifferentPointerPosition()`
([#​1229](https://redirect.github.com/testing-library/user-event/issues/1229 ))
([5f3d28f](5f3d28fe3a
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 18:46:58 +00:00
Tymoteusz Czech
4e36d2285e
chore: remove sortProjectRoles flag ( #9226 )
2025-02-06 19:40:10 +01:00
Nuno Góis
21fb9a3118
chore: release management plausible events ( #9230 )
...
https://linear.app/unleash/issue/2-2834/plausible
Adds the following Plausible events to the Release management feature:
- Add plan
- Start milestone
- Remove plan
- Create template
- Edit template
- Delete template
2025-02-06 16:09:15 +00:00
David Leek
e689e2e3d2
feat: implement dialogs for changerequest milestone handling and removing release plans ( #9240 )
2025-02-06 16:45:24 +01:00
Thomas Heartman
61f8236711
chore: changes the panel title to "Event timeline" ( #9245 )
...
Keeps it consistent with the previous title for this component and
with what it's known as in the docs.
2025-02-06 15:30:27 +01:00
Thomas Heartman
56c9584bb6
feat: move timeline to panel ( #9243 )
...
Moves the event timeline to the personal dashboard from the header when
the `frontendHeaderRedesign` flag is active.
When the flag is active, it also:
- hides the event timeline and corresponding button in the header
- renders the environment selector next to the time selector instead of
at the other end of the header

---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2025-02-06 13:55:59 +00:00
Tymoteusz Czech
54e4fd2190
chore: remove lifecycle v2 flag ( #9224 )
2025-02-06 14:54:45 +01:00
Nuno Góis
4871cd57d1
chore: mark release management as an enterprise feature ( #9229 )
...
https://linear.app/unleash/issue/2-3093/sales-pitch-ui-for-release-management-to-show-non-enterprise-users
Marks Release Management as a premium Enterprise feature.
Once the `releasePlans` flag is enabled for everyone / removed, this is
what non-Enterprise users will see:

2025-02-06 09:59:38 +00:00
Thomas Heartman
2ff385a4b6
fix(1-3295): fix broken skip link ( #9239 )
...
Fixes the issue where the skip link wouldn't take you to the main
content of the page anymore.
Also includes a few related minor semantic and a11y improvements:
1. The `main` element now only surrounds the actual main content of the
page. The sidebar is nav content and shouldn't be within it. The easiest
way to do this was to change the element that was previously a `main` to
a `div` and make the main content wrapper a `main` instead.
2. Makes the skip link target visible when focused. But invisible
otherwise. This has two benefits:
1. It's immediately obvious that using the skip link has worked. It
tells you that it's at the start of the main content.
2. Because the link now has text, it can be targeted by link search
(e.g. in Firefox, press `'` to search for links (I use this **a lot**)),
making it super easy to move your focus to the main content directly.
(Yes, landmark navigation should also work here, though, especially with
the `main` change).
The implementation of UI considerations of the skip link are based on
the CSS-tricks article [a deep dive on skipping to
content](https://css-tricks.com/a-deep-dive-on-skipping-to-content/ )
from 2021.
Here's what it looks like when you skip to content:

When it doesn't have focus, it's invisible.
2025-02-06 10:21:56 +01:00
renovate[bot]
cc25a2134c
chore(deps): update dependency swr to v2.3.0 ( #9235 )
...
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.2.5` ->
`2.3.0`](https://renovatebot.com/diffs/npm/swr/2.2.5/2.3.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>vercel/swr (swr)</summary>
###
[`v2.3.0`](https://redirect.github.com/vercel/swr/compare/v2.2.5...v2.3.0 )
[Compare
Source](https://redirect.github.com/vercel/swr/compare/v2.2.5...v2.3.0 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 21:25:54 +00:00
renovate[bot]
bec490df3c
chore(deps): update dependency semver to v7.7.0 ( #9233 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://redirect.github.com/npm/node-semver ) | [`7.6.3` ->
`7.7.0`](https://renovatebot.com/diffs/npm/semver/7.6.3/7.7.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>npm/node-semver (semver)</summary>
###
[`v7.7.0`](https://redirect.github.com/npm/node-semver/blob/HEAD/CHANGELOG.md#770-2025-01-29 )
[Compare
Source](https://redirect.github.com/npm/node-semver/compare/v7.6.3...v7.7.0 )
##### Features
-
[`0864b3c`](0864b3ce79
)
[#​753](https://redirect.github.com/npm/node-semver/pull/753 ) add
"release" inc type
([#​753](https://redirect.github.com/npm/node-semver/issues/753 ))
([@​mbtools](https://redirect.github.com/mbtools ))
##### Bug Fixes
-
[`d588e37`](d588e37828
)
[#​755](https://redirect.github.com/npm/node-semver/pull/755 )
diff: fix prerelease to stable version diff logic
([#​755](https://redirect.github.com/npm/node-semver/issues/755 ))
([@​eminberkayd](https://redirect.github.com/eminberkayd ),
berkay.daglar)
-
[`8a34bde`](8a34bdecc7
)
[#​754](https://redirect.github.com/npm/node-semver/pull/754 ) add
identifier validation to `inc()`
([#​754](https://redirect.github.com/npm/node-semver/issues/754 ))
([@​mbtools](https://redirect.github.com/mbtools ))
##### Documentation
-
[`67e5478`](67e54785a0
)
[#​756](https://redirect.github.com/npm/node-semver/pull/756 )
readme: added missing period for consistency
([#​756](https://redirect.github.com/npm/node-semver/issues/756 ))
([@​shaymolcho](https://redirect.github.com/shaymolcho ))
-
[`868d4bb`](868d4bbe3d
)
[#​749](https://redirect.github.com/npm/node-semver/pull/749 )
clarify comment about obsolete prefixes
([#​749](https://redirect.github.com/npm/node-semver/issues/749 ))
([@​mbtools](https://redirect.github.com/mbtools ),
[@​ljharb](https://redirect.github.com/ljharb ))
##### Chores
-
[`145c554`](145c554b8c
)
[#​741](https://redirect.github.com/npm/node-semver/pull/741 ) bump
[@​npmcli/eslint-config](https://redirect.github.com/npmcli/eslint-config )
from 4.0.5 to 5.0.0
([@​dependabot](https://redirect.github.com/dependabot )\[bot])
-
[`753e02b`](753e02b9d0
)
[#​747](https://redirect.github.com/npm/node-semver/pull/747 ) bump
[@​npmcli/template-oss](https://redirect.github.com/npmcli/template-oss )
from 4.23.3 to 4.23.4
([#​747](https://redirect.github.com/npm/node-semver/issues/747 ))
([@​dependabot](https://redirect.github.com/dependabot )\[bot],
[@​npm-cli-bot](https://redirect.github.com/npm-cli-bot ))
-
[`0b812d5`](0b812d5fb5
)
[#​744](https://redirect.github.com/npm/node-semver/pull/744 )
postinstall for dependabot template-oss PR
([@​hashtagchris](https://redirect.github.com/hashtagchris ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 18:38:47 +00:00
renovate[bot]
811c1c64ad
chore(deps): update dependency react-confetti to v6.2.2 ( #9232 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-confetti](https://redirect.github.com/alampros/react-confetti )
| [`6.1.0` ->
`6.2.2`](https://renovatebot.com/diffs/npm/react-confetti/6.1.0/6.2.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>alampros/react-confetti (react-confetti)</summary>
###
[`v6.2.2`](https://redirect.github.com/alampros/react-confetti/releases/tag/v6.2.2 )
[Compare
Source](https://redirect.github.com/alampros/react-confetti/compare/v6.2.1...v6.2.2 )
##### Bug Fixes
- build multiple module types
([3be757d](3be757d656
)),
closes
[#​162](https://redirect.github.com/alampros/react-confetti/issues/162 )
[#​158](https://redirect.github.com/alampros/react-confetti/issues/158 )
###
[`v6.2.1`](https://redirect.github.com/alampros/react-confetti/blob/HEAD/CHANGELOG.md#621-2024-12-27 )
[Compare
Source](https://redirect.github.com/alampros/react-confetti/compare/v6.2.0...v6.2.1 )
##### Bug Fixes
- specify commonjs module
([aa99153](aa99153ccb
))
###
[`v6.2.0`](https://redirect.github.com/alampros/react-confetti/blob/HEAD/CHANGELOG.md#620-2024-12-27 )
[Compare
Source](https://redirect.github.com/alampros/react-confetti/compare/v6.1.0...v6.2.0 )
##### Features
- update `peerDependencies` to support React 19
([ce2d40a](ce2d40a65c
))
- upgrade tooling
([9c84a99](9c84a9941b
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 18:38:30 +00:00
Nuno Góis
9fa7f5aa7b
chore: release plan changes in change request view ( #9225 )
...
https://linear.app/unleash/issue/2-3169/add-release-plan-ui-representation-in-change-request-ui
Adds visual representations for release plan change requests.
### Add release plan

### Remove release plan

### Start milestone


2025-02-05 15:27:36 +00:00
Thomas Heartman
90e5adb695
chore: use union type for traffic search data ( #9221 )
...
Makes the data returned from the traffic search a union type to avoid
nasty object-is-undefined errors at runtime.
It requires more explicit handling, sure, but it means we don't need
to accept undefined.
2025-02-05 10:50:39 +00:00
Thomas Heartman
17a4099dbf
refactor: add functions to estimate monthly usage from data directly ( #9219 )
...
Adds new monthly estimation functions that operate on raw usage data
instead of chart data. This brings those methods in line with the rest
of the traffic calculation functions that we have in that file and means
we can remove other external dependencies.
This is somewhat inspired by #9218 , but not directly linked.
2025-02-05 11:12:17 +01:00
Thomas Heartman
543be6dede
chore(1-3342): extract into hook, use new endpoint if flag on ( #9218 )
...
Updates the existing BillingDetails pages (pro and payg) to use the new
traffic search endpoint (and calculations) if the flag to do so is on.
Otherwise, it falls back to using the existing method.
I've extracted the overage calculation into a separate shared hook.
2025-02-05 10:45:41 +01:00
Thomas Heartman
bd6a90ffd4
chore: add tests for new traffic usage functions ( #9208 )
...
This PR adds tests to all the TODOs created in
https://github.com/Unleash/unleash/pull/9191 .
Additionally it finally manages to refactor the `toChartData` function.
2025-02-05 09:47:36 +01:00
renovate[bot]
29a4fe6c5d
chore(deps): update dependency cypress-vite to v1.6.0 ( #9215 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cypress-vite](https://redirect.github.com/mammadataei/cypress-vite ) |
[`1.5.0` ->
`1.6.0`](https://renovatebot.com/diffs/npm/cypress-vite/1.5.0/1.6.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>mammadataei/cypress-vite (cypress-vite)</summary>
###
[`v1.6.0`](https://redirect.github.com/mammadataei/cypress-vite/blob/HEAD/CHANGELOG.md#160-2024-12-31 )
[Compare
Source](https://redirect.github.com/mammadataei/cypress-vite/compare/v1.5.0...v1.6.0 )
##### Features
- add support for vite v6
([#​104](https://redirect.github.com/mammadataei/cypress-vite/issues/104 ))
([6680e60](6680e60107
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 01:39:45 +00:00
renovate[bot]
31b1ee70e3
fix(deps): update dependency json-2-csv to v5.5.8 ( #9211 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [json-2-csv](https://mrodrig.github.io/json-2-csv )
([source](https://redirect.github.com/mrodrig/json-2-csv )) | [`5.5.7` ->
`5.5.8`](https://renovatebot.com/diffs/npm/json-2-csv/5.5.7/5.5.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>mrodrig/json-2-csv (json-2-csv)</summary>
###
[`v5.5.8`](https://redirect.github.com/mrodrig/json-2-csv/releases/tag/5.5.8 ):
NPM Release v5.5.8
[Compare
Source](https://redirect.github.com/mrodrig/json-2-csv/compare/5.5.7...5.5.8 )
- Incorporates [@​sevrai](https://redirect.github.com/sevrai )'s
fix from
[#​271](https://redirect.github.com/mrodrig/json-2-csv/issues/271 )
- Dev Dependency vulnerability patch
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 18:46:10 +00:00
Gastón Fournier
a4a5687687
feat: render markdown in toats ( #9207 )
...
## About the changes
Toasts sometimes render messages that are in markdown format. This
changes how we display them from

to this:

2025-02-04 16:35:25 +01:00
Gastón Fournier
ae65919f92
fix: license banner using message type ( #9209 )
...
## About the changes
Actually uses messageType and maps from warn to warning.
2025-02-04 15:14:47 +00:00
Thomas Heartman
c85c687816
chore(1-3335): filters data coming from the API to remove data points we're not interested in ( #9205 )
...
Implements a function that cleans and filters incoming data from the
new traffic API.
Specifically, it:
- Removes `/edge` data points
- Removes any data from before may 2024, which is the first full month
we have on record
Because all uses of the existing hook do this filtering themselves, I
have added the filtering at the hook level. This is to avoid
forgetting this filtering later. If we find out we need this data, we
can move the filtering.
2025-02-04 13:26:08 +01:00
Thomas Heartman
96dac84880
refactor: period selector component ( #9202 )
...
Refactors the period selector component now that the design / system is
pretty much finished.
Main points are: change from using CSS selectors to using styled
components; use props instead of classes. This is in keeping with the
general Unleash approach.
There's two very slight visual changes here:
1. There is 4px of added space below the "range" "header" text.
2. The months in the grid are a little closer together and not as wide.
This is because we remove the explicit column gap due to the grid having
a set width. Previously the width was automatic, but because we want
this to line up with the button, we need to set the width explicitly on
both items. As such, with the padding, the grid was a little too wide,
so there was too little padding on the right. This rectifies that.
2025-02-04 11:37:58 +01:00