renovate[bot]
a5082391bd
chore(deps): update material-ui monorepo
2025-02-22 02:24:28 +00:00
renovate[bot]
0079356fb7
chore(deps): update dependency @types/node to v20.17.19 ( #9347 )
...
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.19`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.16/20.17.19 )
|
[](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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-21 22:18:55 +00:00
renovate[bot]
f0302bbbf4
chore(deps): update dependency @babel/core to v7.26.9 ( #9346 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-core ))
| [`7.26.8` ->
`7.26.9`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.26.8/7.26.9 )
|
[](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>babel/babel (@​babel/core)</summary>
###
[`v7.26.9`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7269-2025-02-14 )
[Compare
Source](https://redirect.github.com/babel/babel/compare/v7.26.8...v7.26.9 )
##### 🐛 Bug Fix
- `babel-types`
- [#​17103](https://redirect.github.com/babel/babel/pull/17103 )
fix: Definition for `TSPropertySignature.kind`
([@​liuxingbaoyu](https://redirect.github.com/liuxingbaoyu ))
- `babel-generator`, `babel-types`
- [#​17062](https://redirect.github.com/babel/babel/pull/17062 )
Print TypeScript optional/definite in ClassPrivateProperty
([@​jamiebuilds-signal](https://redirect.github.com/jamiebuilds-signal ))
##### 🏠 Internal
- `babel-types`
- [#​17130](https://redirect.github.com/babel/babel/pull/17130 )
Use `.ts` files with explicit reexports to solve name conflicts
([@​nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo ))
- `babel-core`
- [#​17127](https://redirect.github.com/babel/babel/pull/17127 ) Do
not depend on `@types/gensync` in Babel 7
([@​nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo ))
</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-21 18:58:47 +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
Simon Hornby
87a207024c
docs: entra scim setup now includes SCIM compliance flag ( #9336 )
2025-02-21 13:09:35 +02:00
renovate[bot]
cdb5c83e17
chore(deps): update dependency @swc/core to v1.10.16 ( #9344 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs )
([source](https://redirect.github.com/swc-project/swc )) | [`1.10.15` ->
`1.10.16`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.10.15/1.10.16 )
|
[](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>swc-project/swc (@​swc/core)</summary>
###
[`v1.10.16`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#11016---2025-02-13 )
[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.10.15...v1.10.16 )
##### Bug Fixes
- **(es/minifier)** Check assign target before merge assign cond
([#​10020](https://redirect.github.com/swc-project/swc/issues/10020 ))
([6dab49a](6dab49a07c
))
- **(es/parser)** Preserve comment positions with leading semicolon
([#​10019](https://redirect.github.com/swc-project/swc/issues/10019 ))
([c9937b6](c9937b65bf
))
- **(swc_common)** Fix panic with non-narrow chars with width != 2
([#​10011](https://redirect.github.com/swc-project/swc/issues/10011 ))
([f9f4cac](f9f4cac0e5
))
- **(ts/fast-strip)** Handle unsupported `module` keyword
([#​10022](https://redirect.github.com/swc-project/swc/issues/10022 ))
([308f5d0](308f5d03c7
))
##### Performance
- **(es/codegen)** Reduce allocation using `compact_str`
([#​10008](https://redirect.github.com/swc-project/swc/issues/10008 ))
([7d7319f](7d7319f248
))
</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-21 10:05:32 +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
Jaanus Sellin
4630068b0a
feat: add tests for filterEventsByQuery ( #9338 )
2025-02-20 14:52:01 +02: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
renovate[bot]
0c1340dc2c
chore(deps): update dependency @swc/core to v1.10.15 ( #9333 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs )
([source](https://redirect.github.com/swc-project/swc )) | [`1.10.12` ->
`1.10.15`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.10.12/1.10.15 )
|
[](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>swc-project/swc (@​swc/core)</summary>
###
[`v1.10.15`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#11015---2025-02-08 )
[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.10.14...v1.10.15 )
##### Bug Fixes
- **(es/fixer)** Wrap object tagged templates
([#​9991](https://redirect.github.com/swc-project/swc/issues/9991 ))
([963c3a5](963c3a58c8
))
- **(es/minifier)** Dont't optimize swtich case before DCE
([#​9994](https://redirect.github.com/swc-project/swc/issues/9994 ))
([afe21b5](afe21b5e71
))
- **(es/minifier)** Revert
[#​10006](https://redirect.github.com/swc-project/swc/issues/10006 )
([#​10007](https://redirect.github.com/swc-project/swc/issues/10007 ))
([7e21323](7e21323b3b
))
- **(es/parser, es/codegen)** Handle trailing empty slots in array
patterns
([#​9992](https://redirect.github.com/swc-project/swc/issues/9992 ))
([1a87e76](1a87e76e95
))
- **(es/react)** Avoid adding `__self` in constructors of derived class
in the `jsx_self`
([#​9987](https://redirect.github.com/swc-project/swc/issues/9987 ))
([83f24af](83f24afad9
))
##### Features
- **(es/ast)** Add `ShrinkToFit` implementation
([#​10009](https://redirect.github.com/swc-project/swc/issues/10009 ))
([6849b6a](6849b6aba7
))
- **(es/helpers)** Update package exports for module-sync and webpack
compatibility
([#​9995](https://redirect.github.com/swc-project/swc/issues/9995 ))
([6f4e7ad](6f4e7adce4
))
- **(fast-ts)** Support Uint8Array Input
([#​9879](https://redirect.github.com/swc-project/swc/issues/9879 ))
([61ae579](61ae579a1c
))
##### Performance
- **(es/codegen)** Remove needless allocations
([#​9978](https://redirect.github.com/swc-project/swc/issues/9978 ))
([9c89d57](9c89d57cf9
))
- **(es/minifier)** Do not clone from `take_ident_of_pat_if_unused`
([#​10005](https://redirect.github.com/swc-project/swc/issues/10005 ))
([dc3b46e](dc3b46eff9
))
- **(es/minifier)** Allocate in once from `mark_property_mutation`
([#​10004](https://redirect.github.com/swc-project/swc/issues/10004 ))
([4a90e51](4a90e5197d
))
- **(es/minifier)** Limit infection analysis by the entry size
([#​10006](https://redirect.github.com/swc-project/swc/issues/10006 ))
([1a3a4b9](1a3a4b936c
))
- **(es/minifier)** Make the default pass 2
([#​10014](https://redirect.github.com/swc-project/swc/issues/10014 ))
([07dc423](07dc423b7f
))
###
[`v1.10.14`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#11014---2025-02-03 )
[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.10.12...v1.10.14 )
##### Bug Fixes
- **(deps)** Update cargo (patch)
([#​9971](https://redirect.github.com/swc-project/swc/issues/9971 ))
([e9843d8](e9843d8bb7
))
- **(es/transforms)** Pass `unresolved_mark` to `simplifier` instead of
`top_level_mark`
([#​9989](https://redirect.github.com/swc-project/swc/issues/9989 ))
([963b088](963b0881f9
))
- **(swc_core)** Fix typo in swc_core feature
([#​9979](https://redirect.github.com/swc-project/swc/issues/9979 ))
([99a6339](99a63397b6
))
##### Features
- **(ts/fast-strip)** Support type-only/uninstantiated namespaces
([#​9983](https://redirect.github.com/swc-project/swc/issues/9983 ))
([a72c6fa](a72c6fa28c
))
- Add (experimental) nodejs interop crates
([#​9974](https://redirect.github.com/swc-project/swc/issues/9974 ))
([37e0ea5](37e0ea5697
))
- Add (experimental) `js-interop` npm package
([#​9975](https://redirect.github.com/swc-project/swc/issues/9975 ))
([eebb0ea](eebb0ea14f
))
##### Performance
- Update `rustc-hash` to `v2` and drop `ahash`
([#​9982](https://redirect.github.com/swc-project/swc/issues/9982 ))
([6765db0](6765db0dfe
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-19 21:45:34 +00:00
renovate[bot]
8040a8f947
chore(deps): update dependency @babel/core to v7.26.8 ( #9332 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-core ))
| [`7.26.7` ->
`7.26.8`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.26.7/7.26.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>babel/babel (@​babel/core)</summary>
###
[`v7.26.8`](https://redirect.github.com/babel/babel/releases/tag/v7.26.8 )
[Compare
Source](https://redirect.github.com/babel/babel/compare/v7.26.7...v7.26.8 )
#### v7.26.8 (2025-02-08)
##### 🏠 Internal
- `babel-preset-env`
- [#​17097](https://redirect.github.com/babel/babel/pull/17097 )
Update dependency babel-plugin-polyfill-corejs3 to ^0.11.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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-19 19:41:21 +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
Github Actions Bot
c16f7208a1
6.7.2
2025-02-19 09:32:02 +00:00
Github Actions Bot
a5acf07df5
docs: Update CHANGELOG.md
2025-02-19 09:31:52 +00:00
Ivar Conradi Østhus
7811e4e264
fix: use bucket stop as timestamp for metrics bucket ( #9327 )
...
This fixes a problem where the yggdrasil-engine does not send the
correct value for bucket.start. In practice clients sends metrics every
60s and it does not matter if we use start or the stop timestamp to
resolve the nearest full hour.
2025-02-19 10:38:11 +02: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
Jaanus Sellin
ca562c548d
feat: project field to feature removed event ( #9322 )
...
Start sending out project for feature deleted, as we need it for edge to
keep exact copy.
2025-02-19 09:37:10 +02: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
Ivar Conradi Østhus
3f730bb7f3
fix: add a metric to track client registrations ( #9314 )
...
Adding a counter to track every time a client registers with Unleash.
2025-02-17 09:01:19 +01:00
Christopher Kolstad
edd03d02dd
task: add status_code to edge traffic table to store 304s as well ( #9312 )
2025-02-14 14:52:45 +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
Jaanus Sellin
4a72580b24
fix: return undefined from delta if no events ( #9311 )
...
Nameprefix can remove events from result, so we should send 304 in that
case.
2025-02-14 12:28:43 +02:00
Nuno Góis
0e208fd8eb
chore: add change request events to teams integration ( #9309 )
...
https://linear.app/unleash/issue/2-3265/investigate-teams-integration-for-change-request-notifications
Adds change request events to the Teams integration.
2025-02-14 09:43:56 +00:00
Christopher Kolstad
1dad28fdb5
task: add edge observability tables ( #9307 )
...
Adds two stat tables to store edge observability data.
2025-02-14 08:48:13 +00:00
Fredrik Strand Oseberg
fa43420ab9
fix: mutating delta events ( #9303 )
...
Fix a bug where delta events would be mutated due to Object.assign.
2025-02-14 10:30:14 +02:00
Jaanus Sellin
aa15fbee9a
fix: hydration event should update with every event ( #9310 )
...
We were not updating hydration event id. This fixes it.
2025-02-14 09:35:08 +02:00
Christopher Kolstad
8de801025f
task: make setting service handle conflict on insert ( #9160 )
...
Currently, in enterprise we're struggling with setting service and
transactionality; all our verfications says that the setting key is not
present, so setting-store happily tries to insert a new row with a new
PK. However, somehow at the same time, the key already exists. This
commit adds conflict handling to the insertNewRow.
2025-02-13 15:54:43 +01:00
Melinda Fekete
1036fb6012
Update js tutorial to fix bugs and writing style ( #9304 )
2025-02-13 15:14:51 +01:00
Jaanus Sellin
8d998c82d8
chore: bump unleash client version to beta 6.5 ( #9305 )
2025-02-13 10:42:54 +02:00
Gastón Fournier
cbbf255d9e
docs: include create db permission required for new tests ( #9301 )
2025-02-12 16:36:03 +01: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
Nuno Góis
151db95c2d
feat: frontend API POST endpoint ( #9291 )
...
https://linear.app/unleash/issue/2-3260/implement-post-request-support-in-unleashs-frontend-api
Implements the POST endpoint in Unleash's frontend API.
2025-02-12 11:56:51 +00: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