Thomas Heartman
8ade5b5dbb
feat: add tab switcher for change to json diff view in CR ( #10179 )
...
Updates the strategy change component used in change requests to have a
"tab"-like functionality, where you can switch between "Change" (the
rendered strategy) and "View diff" (the JSON diff). This is a tab
switcher, so you navigate it with arrow keys if on a keyboard, and I've
set selection to follow focus for now. This is my preference as it saves
you extra space/enter taps, but we can remove it later if we want.
Most of the changes in this PR is wrapping the existing strategy change
components/sections in tab panels and tab context providers.
Later changes in this project will remove the existing "view diff" hover
link in favor of this view.
There is some work to do on the design front (in terms of spacing,
borders, etc), but this covers the core functionality.
The pre-existing strategy change component has been moved into the
"LegacyStrategyChange" file with no changes beyond a deprecation
comment. The existing tests now test the new component instead with no
breakage. (I anticipate breaking when we remove the view diff link,
though)
Change with strategy variants:
<img width="991" alt="image"
src="https://github.com/user-attachments/assets/ac28912f-5b08-4a9c-96da-81bfd0b2e68e "
/>
<img width="1005" alt="image"
src="https://github.com/user-attachments/assets/4addaacc-101c-46cb-888f-95dc3b1cac25 "
/>
## Edge case: deleted strat with no reference strategy
There is a case in the code where "reference strategy" can be undefined
for a deleted strategy. It is defined as follows:
```ts
const referenceStrategy =
changeRequestState === 'Applied'
? change.payload.snapshot
: currentStrategy;
```
I've decided to still show the "(no changes)" json diff in that setting,
so that the tabs actually affect something. I don't know how often this
happens, though: probably not anymore unless your CR is _ancient_, as we
introduced the snapshot quite a while ago, and `currentStrategy`
shouldn't really be undefined here, I should think.
Deleted strategy with no reference strategy:
Change:
<img width="1013" alt="image"
src="https://github.com/user-attachments/assets/352eaec9-c0ef-4d5a-b765-11304daf4474 "
/>
Diff:
<img width="1029" alt="image"
src="https://github.com/user-attachments/assets/e69c81a6-1ef7-47ff-853a-9fb900b26303 "
/>
2025-06-30 11:04:44 +02:00
Tymoteusz Czech
39cdc170f2
Feat: impact metrics fronted ( #10182 )
2025-06-30 09:48:00 +02:00
Nuno Góis
c5ddcdbc3c
chore: allow backdrop click through on AddValuesPopover ( #10214 )
...
Follow-up to: https://github.com/Unleash/unleash/pull/10213
This makes our `AddValuesPopover` backdrop click-through. This means you
can interact with any element in the "background" right away and it will
work, while closing the popover at the same time.
If this works well it may be worth extracting to a reusable
ClickThroughPopover or similar.
2025-06-30 08:14:23 +01:00
David Leek
28caa82ad1
feat(changerequests): add requested approvers to overview ( #10232 )
2025-06-30 08:51:51 +02:00
Thomas Heartman
f2766b6b3b
Add various fixes to the CR view ( #10231 )
...
Adds a number of small corrections and fixes to (mainly) CR-related
component. Discovered as part of adding the new JSON diff view. Refer to
the various inline comments for explanations.
---------
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2025-06-27 12:16:11 +02:00
Thomas Heartman
4eedf88627
add crDiffView
to Unleash ( #10228 )
...
This change adds the `crDiffView` flag to Unleash, potentially enabling
the new JSON diff tab in change request changes instead of the "view
json diff" hover functionality.
2025-06-27 11:24:44 +02:00
renovate[bot]
75d2217ac6
chore(deps): update dependency @types/node to v22.15.33 ( #10223 )
...
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 ))
| [`22.15.32` ->
`22.15.33`](https://renovatebot.com/diffs/npm/@types%2fnode/22.15.32/22.15.33 )
|
[](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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-27 07:58:41 +00:00
renovate[bot]
49b712eeb7
chore(deps): update react monorepo ( #10221 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react )
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ))
| [`18.3.18` ->
`18.3.23`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.18/18.3.23 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@types/react-dom](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom )
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ))
| [`18.3.5` ->
`18.3.7`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.3.5/18.3.7 )
|
[](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.
👻 **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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-27 02:51:07 +00:00
renovate[bot]
8be2ba8583
chore(deps): update dependency ws to v8.18.2 ( #10220 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ws](https://redirect.github.com/websockets/ws ) | [`8.18.1` ->
`8.18.2`](https://renovatebot.com/diffs/npm/ws/8.18.1/8.18.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>websockets/ws (ws)</summary>
###
[`v8.18.2`](https://redirect.github.com/websockets/ws/releases/tag/8.18.2 )
[Compare
Source](https://redirect.github.com/websockets/ws/compare/8.18.1...8.18.2 )
### Bug fixes
Fixed an issue that, during message decompression when the maximum size
was
exceeded, led to the emission of an inaccurate error and closure of the
connection with an improper close code
([#​2285](https://redirect.github.com/websockets/ws/issues/2285 )).
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 23:56:27 +00:00
renovate[bot]
abc7b68045
chore(deps): update dependency @codemirror/lang-json to v6.0.2 ( #10219 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@codemirror/lang-json](https://redirect.github.com/codemirror/lang-json )
| [`6.0.1` ->
`6.0.2`](https://renovatebot.com/diffs/npm/@codemirror%2flang-json/6.0.1/6.0.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/lang-json (@​codemirror/lang-json)</summary>
###
[`v6.0.2`](https://redirect.github.com/codemirror/lang-json/blob/HEAD/CHANGELOG.md#602-2025-06-19 )
[Compare
Source](https://redirect.github.com/codemirror/lang-json/compare/6.0.1...6.0.2 )
##### Bug fixes
Add a .d.cts file to make TypeScript happy.
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 20:14:18 +00:00
renovate[bot]
85cba75fab
chore(deps): update dependency unleash-proxy-client to v3.7.6 ( #10215 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[unleash-proxy-client](https://redirect.github.com/unleash/unleash-proxy-client-js )
| [`3.7.3` ->
`3.7.6`](https://renovatebot.com/diffs/npm/unleash-proxy-client/3.7.3/3.7.6 )
|
[](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>unleash/unleash-proxy-client-js
(unleash-proxy-client)</summary>
###
[`v3.7.6`](https://redirect.github.com/Unleash/unleash-proxy-client-js/releases/tag/v3.7.6 )
[Compare
Source](https://redirect.github.com/unleash/unleash-proxy-client-js/compare/v3.7.5...v3.7.6 )
#### What's Changed
- Handle already aborted controllers before re-aborting by
[@​ActuallyConnor](https://redirect.github.com/ActuallyConnor ) in
[https://github.com/Unleash/unleash-proxy-client-js/pull/250 ](https://redirect.github.com/Unleash/unleash-proxy-client-js/pull/250 )
#### New Contributors
- [@​ActuallyConnor](https://redirect.github.com/ActuallyConnor )
made their first contribution in
[https://github.com/Unleash/unleash-proxy-client-js/pull/250 ](https://redirect.github.com/Unleash/unleash-proxy-client-js/pull/250 )
**Full Changelog**:
https://github.com/Unleash/unleash-proxy-client-js/compare/v3.7.5...v3.7.6
###
[`v3.7.5`](https://redirect.github.com/Unleash/unleash-proxy-client-js/releases/tag/v3.7.5 )
[Compare
Source](https://redirect.github.com/unleash/unleash-proxy-client-js/compare/v3.7.4...v3.7.5 )
#### What's Changed
- fix(metrics): use clearInterval instead of clearTimeout in stop() by
[@​isawalhi](https://redirect.github.com/isawalhi ) in
[https://github.com/Unleash/unleash-proxy-client-js/pull/246 ](https://redirect.github.com/Unleash/unleash-proxy-client-js/pull/246 )
#### New Contributors
- [@​isawalhi](https://redirect.github.com/isawalhi ) made their
first contribution in
[https://github.com/Unleash/unleash-proxy-client-js/pull/246 ](https://redirect.github.com/Unleash/unleash-proxy-client-js/pull/246 )
**Full Changelog**:
https://github.com/Unleash/unleash-proxy-client-js/compare/v3.7.4...v3.7.5
###
[`v3.7.4`](https://redirect.github.com/Unleash/unleash-proxy-client-js/releases/tag/v3.7.4 )
[Compare
Source](https://redirect.github.com/unleash/unleash-proxy-client-js/compare/v3.7.3...v3.7.4 )
#### What's Changed
- fix: unstable async bootstrap initialization by
[@​Tymek](https://redirect.github.com/Tymek ) in
[https://github.com/Unleash/unleash-proxy-client-js/pull/244 ](https://redirect.github.com/Unleash/unleash-proxy-client-js/pull/244 )
**Full Changelog**:
https://github.com/Unleash/unleash-proxy-client-js/compare/v3.7.3...v3.7.4
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 00:18:36 +00:00
Nuno Góis
ce55d60804
chore: fix demo by adapting to new constraints flow ( #10213 )
...
https://linear.app/unleash/issue/2-3641/fix-demo-by-adapting-to-the-new-constraints-flow
This fixes our demo by adapting to the new constraints flow and
components.
The new `onStep` handler should allow us to hack our way around most
scenarios.
2025-06-25 17:26:03 +01:00
renovate[bot]
4471b3ff00
chore(deps): update dependency tss-react to v4.9.18 ( #10208 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tss-react](https://www.tss-react.dev )
([source](https://redirect.github.com/garronej/tss-react )) | [`4.9.15`
-> `4.9.18`](https://renovatebot.com/diffs/npm/tss-react/4.9.15/4.9.18 )
|
[](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>garronej/tss-react (tss-react)</summary>
###
[`v4.9.18`](https://redirect.github.com/garronej/tss-react/releases/tag/v4.9.18 )
[Compare
Source](https://redirect.github.com/garronej/tss-react/compare/v4.9.17...v4.9.18 )
<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->
#### What's Changed
##### Other Changes
- React 19 full compat by
[@​garronej](https://redirect.github.com/garronej ) in
[https://github.com/garronej/tss-react/pull/229 ](https://redirect.github.com/garronej/tss-react/pull/229 )
**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.17...v4.9.18
###
[`v4.9.17`](https://redirect.github.com/garronej/tss-react/releases/tag/v4.9.17 )
[Compare
Source](https://redirect.github.com/garronej/tss-react/compare/v4.9.16...v4.9.17 )
<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->
**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.16...v4.9.17
###
[`v4.9.16`](https://redirect.github.com/garronej/tss-react/releases/tag/v4.9.16 )
[Compare
Source](https://redirect.github.com/garronej/tss-react/compare/v4.9.15...v4.9.16 )
<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->
#### What's Changed
##### Other Changes
- Add Material UI 7 to peer dependencies by
[@​ghostd](https://redirect.github.com/ghostd ) in
[https://github.com/garronej/tss-react/pull/225 ](https://redirect.github.com/garronej/tss-react/pull/225 )
#### New Contributors
- [@​ghostd](https://redirect.github.com/ghostd ) made their first
contribution in
[https://github.com/garronej/tss-react/pull/225 ](https://redirect.github.com/garronej/tss-react/pull/225 )
**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.15...v4.9.16
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-25 02:36:43 +00:00
David Leek
3054b65f6a
feat(change-requests): requesting reviews when submitting change requests ( #10202 )
2025-06-24 13:24:33 +02:00
Tymoteusz Czech
34973967d0
docs: update technical debt info ( #10132 )
...
Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2025-06-23 14:12:34 +02:00
renovate[bot]
b48be7b29c
chore(deps): update dependency semver to v7.7.2 ( #10188 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://redirect.github.com/npm/node-semver ) | [`7.7.1` ->
`7.7.2`](https://renovatebot.com/diffs/npm/semver/7.7.1/7.7.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/ )
|
|
[@types/semver](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver )
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ))
| [`7.5.8` ->
`7.7.0`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.5.8/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.2`](https://redirect.github.com/npm/node-semver/blob/HEAD/CHANGELOG.md#772-2025-05-12 )
[Compare
Source](https://redirect.github.com/npm/node-semver/compare/v7.7.1...v7.7.2 )
##### Bug Fixes
-
[`fcafb61`](fcafb61ed5
)
[#​780](https://redirect.github.com/npm/node-semver/pull/780 ) add
missing `'use strict'` directives
([#​780](https://redirect.github.com/npm/node-semver/issues/780 ))
([@​Fdawgs](https://redirect.github.com/Fdawgs ))
-
[`c99f336`](c99f336fa3
)
[#​781](https://redirect.github.com/npm/node-semver/pull/781 )
prerelease identifier starting with digits
([#​781](https://redirect.github.com/npm/node-semver/issues/781 ))
([@​mbtools](https://redirect.github.com/mbtools ))
##### Chores
-
[`c760403`](c760403b93
)
[#​784](https://redirect.github.com/npm/node-semver/pull/784 )
template-oss-apply for workflow permissions
([#​784](https://redirect.github.com/npm/node-semver/issues/784 ))
([@​wraithgar](https://redirect.github.com/wraithgar ))
-
[`2677f2a`](2677f2a883
)
[#​778](https://redirect.github.com/npm/node-semver/pull/778 ) bump
[@​npmcli/template-oss](https://redirect.github.com/npmcli/template-oss )
from 4.23.6 to 4.24.3
([#​778](https://redirect.github.com/npm/node-semver/issues/778 ))
([@​dependabot](https://redirect.github.com/dependabot )\[bot],
[@​npm-cli-bot](https://redirect.github.com/npm-cli-bot ))
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42MC4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-20 18:11:05 +00:00
Ivar Conradi Østhus
2ecb4b0a4f
Chore/remove flag disable bulk toggle ( #10183 )
...
Prompt used:

LLM: Gemini 2.5 Pro (preview)
@kwasniew do we still need this kill-switch?
2025-06-20 13:18:50 +02:00
renovate[bot]
f9ca769179
chore(deps): update dependency react-github-calendar to v4.5.7 ( #10186 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-github-calendar](https://grubersjoe.github.io/react-github-calendar/ )
([source](https://redirect.github.com/grubersjoe/react-github-calendar ))
| [`4.5.6` ->
`4.5.7`](https://renovatebot.com/diffs/npm/react-github-calendar/4.5.6/4.5.7 )
|
[](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>grubersjoe/react-github-calendar
(react-github-calendar)</summary>
###
[`v4.5.7`](5a4339780b...cbc9989b03
)
[Compare
Source](5a4339780b...cbc9989b03
)
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42MC4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-20 01:21:18 +00:00
renovate[bot]
3fe2fab47d
chore(deps): update dependency @uiw/react-codemirror to v4.23.13 ( #10185 )
...
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.10` ->
`4.23.13`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.23.10/4.23.13 )
|
[](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.13`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.13 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.12...v4.23.13 )
[](https://jaywcjlove.github.io/#/sponsor )
[](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.13/file/README.md )
Documentation v4.23.13:
https://raw.githack.com/uiwjs/react-codemirror/40401ed/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.12...v4.23.13
```shell
npm i @​uiw/react-codemirror@4.23.13
```
- 🐞 fix(merge): Update react codemirror merge to work in shadow dom
([#​735](https://redirect.github.com/uiwjs/react-codemirror/issues/735 ))
[`154727c`](https://redirect.github.com/uiwjs/react-codemirror/commit/154727c )
[@​boopeshmahendran227](https://redirect.github.com/boopeshmahendran227 )
- 🆎 type(merge): fix type error.
[#​735](https://redirect.github.com/uiwjs/react-codemirror/issues/735 )
[`9e9776b`](https://redirect.github.com/uiwjs/react-codemirror/commit/9e9776b )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
###
[`v4.23.12`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.12 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.11...v4.23.12 )
[](https://jaywcjlove.github.io/#/sponsor )
[](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.12/file/README.md )
Documentation v4.23.12:
https://raw.githack.com/uiwjs/react-codemirror/e780cd8/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.11...v4.23.12
```shell
npm i @​uiw/react-codemirror@4.23.12
```
- 🐞 fix: Fix ESM import in core package by adding .babelrc and
babel-plugin-add-import-extension
([#​732](https://redirect.github.com/uiwjs/react-codemirror/issues/732 ))
[`9a5ce28`](https://redirect.github.com/uiwjs/react-codemirror/commit/9a5ce28 )
[@​Shellishack](https://redirect.github.com/Shellishack )
- 🐞 fix: resolve ESM import issue in the package.
[#​732](https://redirect.github.com/uiwjs/react-codemirror/issues/732 )
[`8ce4ceb`](https://redirect.github.com/uiwjs/react-codemirror/commit/8ce4ceb )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
###
[`v4.23.11`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.11 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.10...v4.23.11 )
[](https://jaywcjlove.github.io/#/sponsor )
[](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.11/file/README.md )
Documentation v4.23.11:
https://raw.githack.com/uiwjs/react-codemirror/4f9af7b/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.10...v4.23.11
```shell
npm i @​uiw/react-codemirror@4.23.11
```
- 🌍 website: fix example issue.
[#​717](https://redirect.github.com/uiwjs/react-codemirror/issues/717 )
[`d589c09`](https://redirect.github.com/uiwjs/react-codemirror/commit/d589c09 )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
- 📄 example: update nextjs example.
[`3bf96a6`](https://redirect.github.com/uiwjs/react-codemirror/commit/3bf96a6 )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
- 🐞 fix: Set correct module type in basic package
([#​729](https://redirect.github.com/uiwjs/react-codemirror/issues/729 ))
[`d6ee7f8`](https://redirect.github.com/uiwjs/react-codemirror/commit/d6ee7f8 )
[@​danez](https://redirect.github.com/danez )
- 🐞 fix(react-codemirror): Set correct module type in basic package
([#​729](https://redirect.github.com/uiwjs/react-codemirror/issues/729 ))
[`d1271a6`](https://redirect.github.com/uiwjs/react-codemirror/commit/d1271a6 )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42MC4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-19 21:58:13 +00:00
renovate[bot]
a3d253ce52
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.23.13 ( #10184 )
...
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.10` ->
`4.23.13`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.23.10/4.23.13 )
|
[](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.13`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.13 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.12...v4.23.13 )
[](https://jaywcjlove.github.io/#/sponsor )
[](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.13/file/README.md )
Documentation v4.23.13:
https://raw.githack.com/uiwjs/react-codemirror/40401ed/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.12...v4.23.13
```shell
npm i @​uiw/react-codemirror@4.23.13
```
- 🐞 fix(merge): Update react codemirror merge to work in shadow dom
([#​735](https://redirect.github.com/uiwjs/react-codemirror/issues/735 ))
[`154727c`](https://redirect.github.com/uiwjs/react-codemirror/commit/154727c )
[@​boopeshmahendran227](https://redirect.github.com/boopeshmahendran227 )
- 🆎 type(merge): fix type error.
[#​735](https://redirect.github.com/uiwjs/react-codemirror/issues/735 )
[`9e9776b`](https://redirect.github.com/uiwjs/react-codemirror/commit/9e9776b )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
###
[`v4.23.12`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.12 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.11...v4.23.12 )
[](https://jaywcjlove.github.io/#/sponsor )
[](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.12/file/README.md )
Documentation v4.23.12:
https://raw.githack.com/uiwjs/react-codemirror/e780cd8/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.11...v4.23.12
```shell
npm i @​uiw/react-codemirror@4.23.12
```
- 🐞 fix: Fix ESM import in core package by adding .babelrc and
babel-plugin-add-import-extension
([#​732](https://redirect.github.com/uiwjs/react-codemirror/issues/732 ))
[`9a5ce28`](https://redirect.github.com/uiwjs/react-codemirror/commit/9a5ce28 )
[@​Shellishack](https://redirect.github.com/Shellishack )
- 🐞 fix: resolve ESM import issue in the package.
[#​732](https://redirect.github.com/uiwjs/react-codemirror/issues/732 )
[`8ce4ceb`](https://redirect.github.com/uiwjs/react-codemirror/commit/8ce4ceb )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
###
[`v4.23.11`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.11 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.10...v4.23.11 )
[](https://jaywcjlove.github.io/#/sponsor )
[](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.11/file/README.md )
Documentation v4.23.11:
https://raw.githack.com/uiwjs/react-codemirror/4f9af7b/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.10...v4.23.11
```shell
npm i @​uiw/react-codemirror@4.23.11
```
- 🌍 website: fix example issue.
[#​717](https://redirect.github.com/uiwjs/react-codemirror/issues/717 )
[`d589c09`](https://redirect.github.com/uiwjs/react-codemirror/commit/d589c09 )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
- 📄 example: update nextjs example.
[`3bf96a6`](https://redirect.github.com/uiwjs/react-codemirror/commit/3bf96a6 )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
- 🐞 fix: Set correct module type in basic package
([#​729](https://redirect.github.com/uiwjs/react-codemirror/issues/729 ))
[`d6ee7f8`](https://redirect.github.com/uiwjs/react-codemirror/commit/d6ee7f8 )
[@​danez](https://redirect.github.com/danez )
- 🐞 fix(react-codemirror): Set correct module type in basic package
([#​729](https://redirect.github.com/uiwjs/react-codemirror/issues/729 ))
[`d1271a6`](https://redirect.github.com/uiwjs/react-codemirror/commit/d1271a6 )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42MC4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-19 19:37:50 +00:00
Jaanus Sellin
406b985e5d
feat: support id in search event ( #10180 )
...
Now id will be parsed from query, it will be StringParam, as it is not
coming from UI filters, its coming directly from query params.
2025-06-19 19:09:49 +03:00
Thomas Heartman
e466e72e0d
chore(1-3842): don't reorder constraint properties / make id's non-optional ( #10160 )
...
This PR takes two steps towards better constraint handling:
## New type: `IConstraintWithId`
Introduces a new type, `IConstraintWithId`. This is the same as an
`IConstraint`, except the constraint id property is required. The idea
is that the list of editable constraints should move towards using this
instead of just `IConstraint`. That should prevent us (on a type-level)
from seeing more of the same kind of errors we saw with the segment
constraints yesterday.
I don't want to go ahead and update all the upstream uses of this to
IConstraintWithId in this PR, so I'll look at that separately.
## API payload constraint replacer
Introduces an api payload constraint "replacer", which we can use for
[JSON.stringify's `replacer`
parameter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#the_replacer_parameter ).
The current implementation works both for strategies and for segments
and has been added to edit + create forms for both of these resources.
This has a couple benefits:
1. We can clearly state exactly how we want them to be rendered,
including property order. I've decided to go with context -> operator ->
value(s) as the main one (check the screenie), as I believe this is the
most logical reading order.
2. We can exclude value/values (whichever one doesn't work with the
operator)
3. It doesn't matter how we treat constraints internally, we can still
present the payload how we want
4. Importantly: this only affects the stringification for the
user-facing API payload, so it's very low risk. It does not affect
anything that we actually send to the api.
Here's what it can look like with ordered properties:
<img width="392" alt="image"
src="https://github.com/user-attachments/assets/f46f77c8-0b5a-4ded-b13a-bb567df60bd3 "
/>
2025-06-19 10:09:38 +02:00
Thomas Heartman
2e460b16fd
Chore(1 3836)/no changes in json diff ( #10175 )
...
Contains several improvements for the new json diff render:
1. Removes extra left-inset of the +/- icons for changed lines. This
means that the +/- icons will now show up in the change request popover,
whereas they were hidden (pushed outside the frame) previously).
2. Change styling based on whether it's an edit or a full replacement.
If it's an edit, keep the +/- icons per changed line. If it's a full
replacement (e.g. the object has been created or deleted), don't show
the +/- icons, and make the whole object the right color (specifically:
this also colors the surrounding braces that weren't colored before).
Not showing +/- for new/deleted objects is in line with how the previous
system worked.
3. If there are no changes, show `(no changes)`, as we did before.
Unfortunately, I don't think the component has any fallback for this
case, so we can't render arbitrary code. However, when it does happen,
the .diff container doesn't have any children, so we can render it with
CSS. It's not ideal for accessibility reasons etc, but it's better than
nothing, I think.
4. Adds a +/- to the button to open and close the full diff to indicate
better what it does. Also, only shows the button if it's an edit. When
it's a replacement, we show the full diff anyway, so the button has no
effect.
5. Does not exclude any keys by default anymore, but makes it a
parameter
## Left inset change + no excluded keys:
Before:
<img width="277" alt="image"
src="https://github.com/user-attachments/assets/65d4c972-ccbd-4202-b162-1c94a49920cc "
/>
After:
<img width="462" alt="image"
src="https://github.com/user-attachments/assets/14408bf2-cc00-4710-869b-83479d72f2f3 "
/>
## Edit vs full replacement
Before:
<img width="324" alt="image"
src="https://github.com/user-attachments/assets/5a7f6727-f4a6-40f1-becf-184f2f390e9b "
/>
(notice the surrounding braces (`{}`) aren't the right color)
<img width="339" alt="image"
src="https://github.com/user-attachments/assets/65247bde-469d-4408-90da-3867c1b4d650 "
/>
After:
<img width="364" alt="image"
src="https://github.com/user-attachments/assets/972fe602-fe2a-46b3-ba52-d13e4427db5b "
/>
<img width="374" alt="image"
src="https://github.com/user-attachments/assets/0d2f194b-3194-469b-9096-9a946c362178 "
/>
## No changes
Before:
<img width="276" alt="image"
src="https://github.com/user-attachments/assets/dac79332-1739-4ee8-91ca-c0e5950424fa "
/>
After:
<img width="271" alt="image"
src="https://github.com/user-attachments/assets/23f70e8e-c9ef-42e0-9862-303c5a7df0b9 "
/>
(The show all props button will show the whole object regardless):
<img width="352" alt="image"
src="https://github.com/user-attachments/assets/c2f7cba0-3afa-4c54-aa5a-6e01120a5eee "
/>
## Button
Before:
<img width="240" alt="image"
src="https://github.com/user-attachments/assets/45201048-5946-41fe-999c-b95c6617b384 "
/>
After:
<img width="274" alt="image"
src="https://github.com/user-attachments/assets/68cf96cf-4536-47db-903e-2e7884fa045f "
/>
2025-06-19 10:08:28 +02:00
renovate[bot]
d49ca50816
chore(deps): update dependency @types/node to v22.15.31 ( #10172 )
...
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 ))
| [`22.15.18` ->
`22.15.31`](https://renovatebot.com/diffs/npm/@types%2fnode/22.15.18/22.15.31 )
|
[](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:eyJjcmVhdGVkSW5WZXIiOiI0MC42MC4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 19:11:26 +00:00
Thomas Heartman
ef3ffc4d94
fix: Order properties correctly when mapping from Editable Constraint to IConstraint ( #10163 )
...
Prevents the property order from changing when constraints are set from
the editable constraint component. When we render out the API command,
we don't specify the order of properties in the objects, which means
that it can change dramatically, which can be a little jarring.
As it is right now, it first renders in one order when you open the
strategy form:
<img width="299" alt="image"
src="https://github.com/user-attachments/assets/52cf2445-d9eb-402c-b5bc-0fece5fbe822 "
/>
And when you navigate to the targeting section of the strategy form, it
changes to:
<img width="299" alt="image"
src="https://github.com/user-attachments/assets/e4cb7006-dcf4-4e88-befb-ccba5b647ddd "
/>
This also applies to constraints in segments.
With this change, the order will remain the same before and after.
Additionally, there's some extra tests around constraint ids being kept
the same and being set if it doesn't exist.
## Further work
This came about as part of the issue we had with constraint editing in
segments being broken as of now. As part of that, I would like to make
some further improvements (such as making the ID required when you use a
list of editable constraints), but that will be in a follow-up. There
are some complications that might not make it a viable option, sadly.
We could also try to stabilize the property order in the API rendering
methods (which I think might be a good idea), but because there's
multiple different ones, this seems to be a faster solution.
2025-06-18 11:47:37 +00:00
Jaanus Sellin
9b61977d3e
fix: increase line height for project title ( #10158 )
...
Removing overflow hidden did not fix it, also it breaks the overflow.
Line height is by default 1.4, bumped it up to 1.5. This solved it.
2025-06-18 10:55:26 +02:00
renovate[bot]
25f1f36521
chore(deps): update dependency @tanstack/react-virtual to v3.13.10 ( #10154 )
...
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.13.9` ->
`3.13.10`](https://renovatebot.com/diffs/npm/@tanstack%2freact-virtual/3.13.9/3.13.10 )
|
[](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.13.10`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#31310 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/@tanstack/react-virtual@3.13.9...@tanstack/react-virtual@3.13.10 )
##### Patch Changes
- Updated dependencies
\[[`b3b7e7d`](b3b7e7dc8b
)]:
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).13.10
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC41MC4wIiwidXBkYXRlZEluVmVyIjoiNDAuNTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 20:04:35 +00:00
Thomas Heartman
95049b8f9f
Fix/constraint editing is broken in segment form ( #10152 )
...
This adds constraint ids to segment constraints used in editing
segments. Without them, there was a bug where when you went to edit the
segment, all constraints would be invisibly set to the same constraint.
2025-06-17 13:38:42 +00:00
Thomas Heartman
c619cb9ec5
chore(1-3835): improve json diff view ( #10146 )
...
Replaces the existing JSON diff implementation we use with
`json-diff-react` (35kb unpacked, according to npm), a react-fork of the
popular `json-diff` library. The change is behind a new flag.
The new library has several advantages:
- nicer formatting (including nested objects)
- we don't need to calculate the diff manually anymore
- option to hide/reveal unchanged properties
There's still a few more things to put in place (such as handling of no
changes) and overflow handling when you have very long properties.
Here's a few comparison screenies:
Old (below) vs new (above):

Fold and unfold:


In change requests:

Strategy re-ordering:
Folded:

Unfolded:

Old:

2025-06-17 12:01:17 +02:00
Serhii Sydoruk
369280ae85
fix: correct upgrade link ( #10138 )
...
Description:
| State | URL |
| ------------- | ------------- |
| Not working (404) | https://www.getunleash.io/upgrade_unleash |
| Working (200) | https://www.getunleash.io/upgrade-unleash |
Co-authored-by: Сидорук Сергій Віталійович <ssydoruk@alliancedigital.tech>
2025-06-17 09:30:35 +02:00
Nuno Góis
dbc34a10bd
chore: remove flag enterprise-payg ( #10139 )
...
https://linear.app/unleash/issue/2-3602/clean-up-flag-enterprise-payg
Removes
[enterprise-payg](https://app.unleash-hosted.com/hosted/projects/eg/features/enterprise-payg )
Doesn't seem like this is being used anywhere.
2025-06-13 12:05:48 +01:00
Thomas Heartman
366915bf71
chore(1-3832): clean up flag overview redesign ( #10140 )
...
Addresses and removes all leftover comments related to the flag overview
redesign flag.
There's four changes here:
1. Remove release plan milestone strategy and environment footer.
Dangling files, no references.
2. Delete old code without references in theme.ts
3. Delete legacy playground result chip. Replace all references to it
with references to the new chip. The API is the exact same and the
legacy chip was just passing through everything to the new chip anyway,
so nothing should change.
4. Remove a now-redundant way to supply a default
2025-06-13 10:41:08 +00:00
Thomas Heartman
b66cff9af5
Chore(1-3825)/remove legacy strategy separator ( #10137 )
...
Deletes the legacy strategy separator and removes all references to it.
Luckily, all references to the separator were in dangling files that
could themselves be deleted directly.
2025-06-13 10:06:48 +00:00
Thomas Heartman
74ae35298d
Chore(1-3831)/add edit strategy cleanup pt iv ( #10135 )
...
This PR addresses and removes the last comment related to the
addEditStrategy flag. In doing so, I have also removed the remaining
dangling files from the new constraint accordion directory. I believe
that everything that's left in there now is currently in use.
2025-06-13 10:02:12 +00:00
Thomas Heartman
d7c32d688a
Chore(1 3829)/cleanup pt 3 ( #10133 )
...
This PR removes more constraint inputs and validators that are not in
use anymore. Additionally, the old constraint components that are still
being used by the project action filter item, have been moved to that
directory. This also goes for ResolveInput which has been simplified to
only the inputs and operators used by actions filter item.
I've done a manual side-by-side comparison of the old and newly
refactored filter item, and it appears to be working the exact same.
2025-06-13 11:48:50 +02:00
Tymoteusz Czech
d34acb6999
fix: health to debt with ui-flag ( #10131 )
...
useFlag is only connected to unleash-frontend project - it's easier to
switch to `useUiFlag` then moving a flag to this project
2025-06-13 11:12:02 +02:00
Tymoteusz Czech
4e48d90ed8
fix: use technicalDebt property from backend ( #10111 )
...
Frontend should load `technicaDebt` from backend instead of
re-calculating it.
2025-06-12 16:50:29 +02:00
Thomas Heartman
d7da5fe6a4
chore(ux): If there's only a single available filter, always show that filter (don't hide it beneath a filters button) ( #10127 )
...
This PR offers a little QoL upgrade in cases where you have only a
single available filter: Instead of having to first click "filters" and
then select the only option, we'll now always show the available filter,
whether it's marked as persistent or not.
The filter still gets a 'delete filter' button that clears the filter
(which is more convenient than having to deselect every one of the
options one by one), but the filter won't disappear when you clear it.
Additionally, because the `state` of the filter item will be undefined
if it has no value, I've added a `preventAutoOpen` prop to the
underlying Filter component.
~~I don't understand why we want to auto-open the filter, but it was
added by @kwasniew in https://github.com/Unleash/unleash/pull/5611 , so
it appears to be deliberate.~~ The fact that we auto-open the filter
when state is undefined makes this a little tricky. I realized during
this that the reason we do it is that we want the filter to auto-open
when you select it from the dropdown. Maybe there's a better way to do
that than useEffect, but maybe not 🤷🏼
Further, the filter handling logic is quite complex (what filters to
show, ordering, etc), so I've moved as much of that into the multifilter
component, leaving the singlefilter as simple as possible.
I'm ... not particularly proud of the code here, so I'm happy to take
any suggestions for improvements. Happy to throw it all away if you have
a better way to achieve this goal.
## Rendered
The lifecycle insights use the persistent, single filter, the
performance insights do not:
<img width="1629" alt="image"
src="https://github.com/user-attachments/assets/b8599883-97dc-428e-a98f-ad59ad1c74ab "
/>
<img width="1556" alt="image"
src="https://github.com/user-attachments/assets/eacdc4bf-bc60-4e26-a88c-8be7dc5e31be "
/>
2025-06-12 12:25:58 +00:00
Thomas Heartman
e010f31a15
chore(1-3811): use real data for lifecycle trends ( #10117 )
...
Connects the lifecycle trends UI to the API and adds a functioning
projects filter. This PR also includes the generated orval models.
<img width="1534" alt="image"
src="https://github.com/user-attachments/assets/6da748d1-3625-4e36-86ee-295ab79e7ccb "
/>
2025-06-12 13:52:10 +02:00
Thomas Heartman
3034e94b20
Make headers smaller ( #10128 )
...
Makes headers a little smaller. the default h2 size is not the same as
in the theme, but Typography handles it for you.
2025-06-12 12:12:46 +02:00
Christopher Kolstad
bf67dea2f7
chore: Bumped Yarn to 4.9.2 ( #10126 )
2025-06-12 12:01:43 +02:00
Mateusz Kwasniewski
8ee43be6ca
feat: adjust feedback columns ( #10119 )
2025-06-11 15:50:26 +02:00
Thomas Heartman
0e818c54ad
chore: fix weird button styling ( #10113 )
2025-06-11 14:07:24 +02:00
Thomas Heartman
c3dda01d53
delete legacy constraint accordion ( #10110 )
...
This PR continues the cleanup after removing the addEditStrategy flag
(part 2 of ???). The primary purpose of this PR is to delete and remove
all references to the LegacyConstraintAccordion.
I've gone and updated all references to the legacy files in external
components and verified manually that they still work.
Most of the files in this PR are changing references. I've extracted two
bits into more general constants/utils:
1. Constraint IDs are a symbol. it was exported as a const from the
previous createEmptyConstraint file. I've moved it into constants.
2. formatOperatorDescription was similarly used all over the place, so
I've placed it in the shared utils directory.
In reviewing this, you can ignore any changes in the legacy constraint
accordion folder, because that's all been deleted. Instead, focus on the
changes in the other files. It's primarily just import updates, but
would be good to get a second set of eyes, anyway.
2025-06-11 12:22:55 +02:00
Thomas Heartman
fa28ee2d6a
Fix invalid dom nesting error and remove redundant braces ( #10115 )
...
Fixes a console log about invalid dom nesting:
<img width="1256" alt="image"
src="https://github.com/user-attachments/assets/0849103c-6901-4b64-a124-00eaf8cc7dde "
/>
I've changed the offending div to a span. We set `display: flex` on it,
anyway, so it shouldn't make a difference.
I've also removed some redundant functions and braces that we don't
need.
2025-06-11 12:21:11 +02:00
Mateusz Kwasniewski
4e283dc579
feat: feedback score N/A ( #10114 )
2025-06-11 12:15:40 +02:00
Thomas Heartman
d2233bc71d
Remove margin right for cleanup box ( #10112 )
...
It was misaligned with the rest of the content with this margin. The
original author doesn't remember why it was there, so it's probably safe
to remove.
Before:

After:

2025-06-11 09:26:15 +00:00
Thomas Heartman
f299c2b652
chore: fix skeleton loading indicator colors for lifecycle trend tiles ( #10109 )
...
Updates the skeleton loading colors for the lifecycle trend tiles
because the previous color was invisible on the median stats section in
light mode. You also wouldn't see any movement in the total number of
flags.
I have not touched the original skeleton color assignment because that
might have unintended consequences throughout the app. Also, I'm not
aware of a way (at the moment) that would do this automatically when
necessary. As such, I have only touched the loading indicators in the
lifecycle tile.
## Before:
Light mode:

Dark mode:

## After:
Light mode:

Dark mode:

2025-06-11 10:15:59 +02:00
Thomas Heartman
7e61e0dd09
Chore(1-3807)/remove flag add edit strategy take2 ( #10108 )
...
Removes all usages of flag addEditStrategy and refactors code where
necessary.
This is only the first step of the cleanup. After this, there's still
lots of code to be removed. I've got a different PR that removes ~5k
lines of code (https://github.com/Unleash/unleash/pull/10105 ) that I
want to reach in pieces to make sure that everythnig works on the way
there.
2025-06-11 06:03:34 +00:00
David Leek
7b0cae2b3e
chore!: remove project health report frontend ( #10101 )
2025-06-10 14:56:41 +02:00
Tymoteusz Czech
d5acbea711
chore: update frontend schema - technicalDebt ( #10098 )
...
generated with `api:gen`
2025-06-10 14:15:09 +02:00
Tymoteusz Czech
1e7d022b5a
chore: remove flag sideMenuCleanup ( #10093 )
...
- remove flag
- remove unused components
- adjust e2e test snapshots
2025-06-10 12:23:47 +02:00
David Leek
ffe40cab59
chore: hide/disallow new instances of deprecated integrations ( #10104 )
2025-06-10 12:19:37 +02:00
Thomas Heartman
45d48d12a9
Chore: add skeleton loaders for lifecycle trend numbers ( #10103 )
...
Adds skeleton loading indicators for the lifecycle trend tile numbers:
- total flag count
- median stats
In doing so, I have added the `data-loading` attribute to the
PrettifyLargeNumber component (to avoid having to wrap it in a separate
element for that alone), and have added refs to the InsightsSection
component.
The loading indicators look better in dark mode than in light mode,
because they use the same background color as the text box in light
mode, so only the big number is visible. There is a task in Linear to
look into fixing this.
<img width="1548" alt="image"
src="https://github.com/user-attachments/assets/9e58d681-724e-45cb-baa1-b824dda48008 "
/>
<img width="1554" alt="image"
src="https://github.com/user-attachments/assets/7738fac0-5660-464f-8d10-1bf2eacc9ca0 "
/>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-10 09:35:32 +00:00
Thomas Heartman
6d7a344ca3
chore: replace flags per user with total number of flags ( #10102 )
...
Switches the "flags per user" box with a "total number of flags" label
for the number in the box and an additional description available via
the help icon.
To accurately label the help text and link it to the figure, I've added
a tooltipId prop to the HelpIcon component.
<img width="551" alt="image"
src="https://github.com/user-attachments/assets/f3227e74-5976-454e-9b7d-db0d05927261 "
/>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-10 10:02:50 +02:00
Thomas Heartman
f0c19af5a9
chore: rename insights -> analytics ( #10095 )
...
Update the title of the insights / analytics page when the menu item
changes
While the side menu item has already changed, this change also updates
the page header and title.
Also fixes an error with a prop that shouldn't have been forwarded.
2025-06-10 08:11:35 +02:00
Mateusz Kwasniewski
444d3ef705
feat: improve feedback UX ( #10099 )
2025-06-09 13:30:43 +02:00
Tymoteusz Czech
c8933cc8e6
feat: rename health insights to technical debt insights on dashboard ( #10082 )
2025-06-09 13:00:17 +02:00
Thomas Heartman
c739ea71cf
Fix(1-3804)/store flag creation form state ( #10089 )
...
Adds caching via localstorage to the flag creation form, so that if you
(accidentally) close the form before submitting it, you'll retain (most)
of the same data when you reopen it.
Specifically, we'll store:
- name
- description
- type
- tags
- impression data
We can't store the project as it is now, because it gets overridden by
whatever is in the URL. However, this is probably a good thing. It means
that if you navigate to a different project and open the feature
creation form there, it'll retain everything from the last one, but
it'll use the current project.
The stored data is cleared when you successfully create a feature, so
that you don't get dangling data.
The data is also stored in a shared cache for all projects, so that you
don't have different caches per project.
The behavior of seeding the form is hidden behind a flag (that doesn't
exist yet). We'll still read and write to the cache if the flag is off,
but we won't use it to populate the feature form, so it has no
discernible impact on the user.
## Bug detected 🐛 ... and squashed
Working on this, I came to realize that there was a bug in how the
config button and use feature form hooks interacted. We (in this case
probably me) have assumed that it's fine to use a set for any option
checking in the config buttons. Also, we're using a set to store tags in
the feature form. But objects aren't compared by value in JS, so the set
will happily accept multiple instances of the same tag. Likewise, these
tags won't show up as selected in the dropdown because when the dropdown
checks if the set `has` the value, it's using reference equality.
To get around this, I have normalized the values of the Tags set to
strings (`<type>:<value>`), which are easily comparable.
We can iterate on this later if we need to.
## `useLocalStorageState`
In doing this, I have also made a change to the useLocalStorageState
hook:
the exposed "setState" function now writes to the localstorage
immediately. This is because the useEffect method might not have time to
save the data if the component unmounts (this was the case with the flag
dialog).
However, I have kept the useEffect because it gets run on component
mount and then only when it changes. This means that we will get double
saves to localstorage, but it'll be with the same data, so it's benign.
I've tried out two other uses of the hook (event timeline props and
environment columns in the project flags table) and see no discernible
difference in behavior.
## `useFeatureForm`
I have also made a change to the useFeatureForm hook and removed a
`useEffect` that would reset the name to whatever you passed in as the
initial name if you cleared it out. This essentially meant that you
couldn't clear the name completely, because it would just refill with
the initial name.
As far as I can tell, there is no need to have this sticking around
anymore. The hook is only used in two places: the flag creation dialog
and the flag edit page. The flag edit page doesn't allow you to change
the name anyway and it was causing issues in the dialog. It's likely a
holdover from the way something worked 3 years ago. Both the dialog and
the edit screen seem to work just fine with this change.
I have also changed the function parameters from ordered parameters to
an object. There's so many of them that even you don't think it's a good
idea to use objects when you have multiple params with the same type,
it's just nigh-impossible to remember the order by now.
## Minor changes
Additionally, I came across three issues that were causing react errors,
and have fixed them.
1. we'd forgotten to interpolate a variable and just used the variable
name in a string instead
2. an html attribute that doesn't exist (`aria-role` instead of `role`)
3. Providing a disabled button inside a tooltip. I've seen this one
around for ages and it prevented tooltips from working on disabled
buttons. The solution was wrapping it in a span.
2025-06-06 13:01:16 +02:00
Thomas Heartman
d6f76a098e
Chore/lifecycle tile layout ( #10094 )
...
Fixes a few lifecycle-related points:
- The layout for insights graphs now wraps when necessary
- Change the wording to be `X flags in <Stage>`
- Update the wording in the project health lifecycle boxes to match this
- Update the tooltips for the project health lifecycle to use new names
for stages instead of the old ones.
<img width="1145" alt="image"
src="https://github.com/user-attachments/assets/d1cfbf58-f79b-4751-b8b7-2ee7e31849ab "
/>
<img width="1075" alt="image"
src="https://github.com/user-attachments/assets/4a07b3ce-cf78-4009-82aa-1c276a2e9e5d "
/>
2025-06-06 11:56:20 +02:00
Thomas Heartman
e1cfd8e050
Feat(1-3801)/add more data to lifecycle tiles ( #10092 )
...
This is the first pass at the full lifecycle tiles. It adds the tile
header and current and historical median data.
I have also added large number handling to all the number instances in
the tile: in the header, the graph, and the median data. In doing so, I
exposed the algorithm we use in the PrettifyLargeNumber component.
Returning a react component isn't always a valid option (such as in the
chart). This does mean that you don't get a tooltip when you use the
function directly, but in things like the chart and the median
measurement that makes sense to me.
I've decided to return "No data" if the median days value is 0 or lower.
There's no data for historical medians yet, so I'm using the same number
for now.
<img width="1538" alt="image"
src="https://github.com/user-attachments/assets/72e6a90a-6b84-47ce-af02-59596a7ff91f "
/>
2025-06-06 10:12:02 +02:00
Tymoteusz Czech
553ffc62b7
fix: orval for ESM ( #10086 )
...
updated Orval and configured it to be compatible with v7.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2025-06-05 10:40:58 +00:00
Thomas Heartman
385f4ab1ad
Updates lifecycle trend chart colors for dark mode. ( #10085 )
2025-06-05 10:04:48 +02:00
Thomas Heartman
5da7d50291
Chore(1-3800)/add aria content to charts ( #10084 )
...
Adds aria label and description to the lifecycle trend charts
The label explains that it's a bar chart, which stage it's describing,
and
the number of flags in each category.
The description provides more information about the split between new
flags this week and older flags.
2025-06-05 09:40:58 +02:00
Thomas Heartman
16df33b078
feat: add lifecycle trend graphs ( #10077 )
...
Adds lifecycle trend graphs to the insights page.
The graphs are each placed within their own boxes. The boxes do not have
any more information in them yet.
Also, because the data returned from the API is still all zeroes, I've
used mock data that matches the sketches.
Finally, the chart configuration and how it's split into a
LifecycleChart that lazy loads a LifecycleChartComponent is based on the
LineChart and LineChartComponent that we use elsewhere on the insights
page.
Light mode:
<img width="1562" alt="image"
src="https://github.com/user-attachments/assets/6dd11168-be24-42d4-aa97-a7a55651fa0e "
/>
We might want to tweak some colors in dark mode, but maybe not? 🤷🏼

2025-06-05 08:35:14 +02:00
Tymoteusz Czech
37548c3436
feat: rename health to technical debt ( #10063 )
...
On insights and project status, we would like to show "technica debt"
instead of "health". New value is that of `1/health`, or simplified:
`healthy flags / total flags`
2025-06-04 11:01:17 +02:00
Gastón Fournier
5019f4fcbc
chore!: removing userId strategy for new installations of Unleash ( #9800 )
...
This removes a strategy that was already deprecated, but only for new
installations.
I tested starting with an installation with this strategy being used and
then updating, and I was still able to edit the strategy, so this should
not impact current users.
On a fresh install the strategy is no longer available.
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2025-06-04 09:30:13 +02:00
Christopher Kolstad
8050f25add
chore(adminapi)!: Remove feature variant endpoints ( #10071 )
...
BREAKING CHANGE: This removes the
GET /api/admin/projects/{project}/features/{featureName}/variants
PATCH /api/admin/projects/{project}/features/{featureName}/variants
PUT /api/admin/projects/{project}/features/{featureName}/variants
endpoints
Users should move to environment or strategy specific variant methods
rather than feature level variant methods.
2025-06-04 09:09:52 +02:00
Mateusz Kwasniewski
0819b2cf32
chore: remove link flags ( #10076 )
2025-06-03 13:47:24 +02:00
Mateusz Kwasniewski
280c9c3f64
chore: remove flag cleanup reminder ( #10074 )
2025-06-03 13:13:51 +02:00
Nuno Góis
c24c58c51c
chore!: remove deprecated get metrics traffic ( #10064 )
...
https://linear.app/unleash/issue/2-3370/remove-get-apiadminmetricstrafficperiod-deprecated-in-680
Removes GET `/api/admin/metrics/traffic/{period}` which was deprecated
in v6.8.
Also cleans up related code.
For OSS this means switching to `/traffic` using an expand and contract
approach. We can drop the `/traffic-search` endpoint in Enterprise after
this is merged.
2025-06-03 10:24:48 +01:00
Thomas Heartman
f7c667e410
Feat(1-3760)/filters per analytics section ( #10039 )
...
Splits the insights page into separate sections with their own separate
filters. Each filter is sticky to the top of the page, similar to how
the previous filters worked.
In doing this, I have also moved around a lot of code. Refer to the
inline comments for more specific examples, but on a high level, this
PR:
- Moves the flag check from InsightsCharts into Insights itself. Because
the old Insights had filters and state, and the new one does not, it
made sense to fork off higher up in the tree. Because the new version
doesn't have state, I have also simplified it and removed an
intermediate component (InsightsCharts) that doesn't feel necessary
anymore.
- Because InsightsCharts isn't used anymore, I've moved the
LegacyInsightsCharts file back into InsightsCharts. However, I'm happy
to move it back if we think that's useful.
- Instead of all charts living in InsightsCharts, I've split each
section into its own file in the new sections directory. Because the
sections have separate filters, they don't share any state anymore, so
there's nothing they share.
- I'm reusing the existing hook and endpoint. As it stands, the
performance insights use **most** of the data from that payload (but not
all of it). The user insights use some of it. Flag lifecycle insights
doesn't use anything, but I've wired it up to make the filters work. I
expect that we'll iterate on the API endpoints etc later.

2025-06-03 10:47:30 +02:00
Nuno Góis
6d70265edd
chore: clean up project related tech debt ( #10065 )
...
https://linear.app/unleash/issue/2-3581/remove-project-related-legacy-code
Identified some clean up opportunities during deprecated endpoint
removal, mostly related to project insights.
2025-06-03 09:21:55 +01:00
Thomas Heartman
b26e0469be
fix: case sensitive icon has wrong fill color in dark mode ( #10068 )
...
The case sensitive buttons looked off in dark mode because we'd
forgotten to properly target the path element. We didn't notice, because
they looked right in light mode.
## Before:
Dark:
<img width="267" alt="image"
src="https://github.com/user-attachments/assets/2c91953c-9dbd-4dff-943e-ef35105d3863 "
/>
<img width="291" alt="image"
src="https://github.com/user-attachments/assets/02ba40d2-92ca-4237-abd6-a1c1dda301d4 "
/>
Light:
<img width="275" alt="image"
src="https://github.com/user-attachments/assets/028b4980-463b-4e42-833d-edba26364f62 "
/>
<img width="318" alt="image"
src="https://github.com/user-attachments/assets/f1a38dc1-5e4c-4309-801e-3b5b6635a96c "
/>
## After:
Dark:
<img width="421" alt="image"
src="https://github.com/user-attachments/assets/0bc38579-319b-472a-8877-7320a99403ab "
/>
<img width="366" alt="image"
src="https://github.com/user-attachments/assets/836cba98-7998-403f-b8f3-e989845086a2 "
/>
Light:
<img width="429" alt="image"
src="https://github.com/user-attachments/assets/85abd5f4-d6b9-4b62-930f-b17f1085172c "
/>
<img width="313" alt="image"
src="https://github.com/user-attachments/assets/661eab6f-7717-4b0c-9a35-0a075de1a10e "
/>
2025-06-02 08:36:59 +00:00
Thomas Heartman
895cb1aab3
fix: regexes in flag naming patterns will now break when necessary ( #10067 )
...
This prevents the regex pattterns from causing overflows in chrome and
pushing the create button off screen (firefox already handled it
🤷 ).
We don't provide the *best* experience when you have super long flag
patterns, but we can potentially look into that later. For now, this
fixes the immediate issue.
Before the fix:
Chrome:
<img width="1519" alt="image"
src="https://github.com/user-attachments/assets/5bcb717c-67f0-4c7b-9ac1-29e9bdaf568e "
/>
Firefox:
<img width="1385" alt="image"
src="https://github.com/user-attachments/assets/19f38233-f6cd-45f0-9766-76b954f2eed4 "
/>
After the fix:
Chrome:
<img width="1383" alt="image"
src="https://github.com/user-attachments/assets/3d9bb6dd-b31c-45aa-9c4e-baa96ba1c16b "
/>
Firefox is the same
2025-06-02 06:53:51 +00:00
Tymoteusz Czech
016d82a797
feat: update configuration menu ( #10041 )
...
Updated "Configure" navigation, with all interactions including expanding/collapsing size of the menu.
2025-05-29 11:26:26 +00:00
renovate[bot]
e67e60a363
chore(deps): update dependency typescript to v5.8.3 ( #7480 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [typescript](https://www.typescriptlang.org/ )
([source](https://redirect.github.com/microsoft/TypeScript )) | [`5.6.3`
-> `5.8.3`](https://renovatebot.com/diffs/npm/typescript/5.6.3/5.8.3 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
| [typescript](https://www.typescriptlang.org/ )
([source](https://redirect.github.com/microsoft/TypeScript )) | [`5.4.5`
-> `5.8.3`](https://renovatebot.com/diffs/npm/typescript/5.4.5/5.8.3 ) |
[](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>microsoft/TypeScript (typescript)</summary>
###
[`v5.8.3`](https://redirect.github.com/microsoft/TypeScript/compare/v5.8.2...68cead182cc24afdc3f1ce7c8ff5853aba14b65a )
[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.8.2...v5.8.3 )
###
[`v5.8.2`](https://redirect.github.com/microsoft/TypeScript/compare/v5.7.3...beb69e4cdd61b1a0fd9ae21ae58bd4bd409d7217 )
[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2 )
###
[`v5.7.3`](https://redirect.github.com/microsoft/TypeScript/releases/tag/v5.7.3 ):
TypeScript 5.7.3
[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.7.2...v5.7.3 )
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/ ).
- [fixed issues query for Typescript 5.7.0
(Beta)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.0%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.1
(RC)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.1%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.2
(Stable)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.3
(Stable)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+ ).
Downloads are available on
[npm](https://www.npmjs.com/package/typescript )
###
[`v5.7.2`](https://redirect.github.com/microsoft/TypeScript/releases/tag/v5.7.2 ):
TypeScript 5.7
[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.2 )
For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/ ).
- [fixed issues query for Typescript 5.7.0
(Beta)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.0%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.1
(RC)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.1%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.2
(Stable)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+ ).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjQwLjExLjkiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
2025-05-29 10:49:07 +00:00
Mateusz Kwasniewski
08e6c77d9c
feat: prepopulate new user ( #10057 )
2025-05-29 12:08:46 +02:00
renovate[bot]
83abd2bff8
chore(deps): update dependency @tanstack/react-virtual to v3.13.9 ( #10049 )
...
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.13.2` ->
`3.13.9`](https://renovatebot.com/diffs/npm/@tanstack%2freact-virtual/3.13.2/3.13.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>TanStack/virtual (@​tanstack/react-virtual)</summary>
###
[`v3.13.9`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#3139 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/@tanstack/react-virtual@3.13.8...@tanstack/react-virtual@3.13.9 )
##### Patch Changes
- Updated dependencies
\[[`9e33cdb`](9e33cdb1c8
)]:
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).13.9
###
[`v3.13.8`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#3138 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/@tanstack/react-virtual@3.13.7...@tanstack/react-virtual@3.13.8 )
##### Patch Changes
- Updated dependencies
\[[`60719f6`](60719f61b5
)]:
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).13.8
###
[`v3.13.7`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#3137 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/@tanstack/react-virtual@3.13.6...@tanstack/react-virtual@3.13.7 )
##### Patch Changes
- Updated dependencies
\[[`e2d93c2`](e2d93c2dcd
)]:
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).13.7
###
[`v3.13.6`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#3136 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/@tanstack/react-virtual@3.13.5...@tanstack/react-virtual@3.13.6 )
##### Patch Changes
- Updated dependencies
\[[`042616f`](042616f39c
)]:
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).13.6
###
[`v3.13.5`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#3135 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/@tanstack/react-virtual@3.13.4...@tanstack/react-virtual@3.13.5 )
##### Patch Changes
- Updated dependencies
\[[`51656d9`](51656d94a2
)]:
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).13.5
###
[`v3.13.4`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#3134 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/@tanstack/react-virtual@3.13.3...@tanstack/react-virtual@3.13.4 )
##### Patch Changes
- Updated dependencies
\[[`514b62d`](514b62d049
),
[`f03d814`](f03d8142c0
)]:
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).13.4
###
[`v3.13.3`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#3133 )
[Compare
Source](https://redirect.github.com/TanStack/virtual/compare/v3.13.2...@tanstack/react-virtual@3.13.3 )
##### Patch Changes
- Updated dependencies
\[[`02ef309`](02ef3097de
)]:
-
[@​tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core )[@​3](https://redirect.github.com/3 ).13.3
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-28 23:13:37 +00:00
renovate[bot]
a9dba46c2c
chore(deps): update dependency @tanstack/react-table to v8.21.3 ( #10048 )
...
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.21.2` ->
`8.21.3`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.21.2/8.21.3 )
|
[](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.3`](https://redirect.github.com/TanStack/table/releases/tag/v8.21.3 )
[Compare
Source](https://redirect.github.com/TanStack/table/compare/v8.21.2...v8.21.3 )
Version 8.21.3 - 4/14/25, 8:19 PM
#### Changes
##### Fix
- table-core: use right Document instance on getResizeHandler
(column-sizing feature)
([#​5989](https://redirect.github.com/TanStack/table/issues/5989 ))
([`54ce673`](https://redirect.github.com/TanStack/table/commit/54ce673 ))
by [@​riccardoperra](https://redirect.github.com/riccardoperra )
##### Docs
- fix all 158 broken links
([#​5972](https://redirect.github.com/TanStack/table/issues/5972 ))
([`f7bf6f1`](https://redirect.github.com/TanStack/table/commit/f7bf6f1 ))
by [@​kisaragi-hiu](https://redirect.github.com/kisaragi-hiu )
- add vue example for grouping
([#​5941](https://redirect.github.com/TanStack/table/issues/5941 ))
([`3efa59c`](https://redirect.github.com/TanStack/table/commit/3efa59c ))
by Harshil Patel
#### Packages
-
[@​tanstack/table-core](https://redirect.github.com/tanstack/table-core )[@​8](https://redirect.github.com/8 ).21.3
-
[@​tanstack/angular-table](https://redirect.github.com/tanstack/angular-table )[@​8](https://redirect.github.com/8 ).21.3
-
[@​tanstack/lit-table](https://redirect.github.com/tanstack/lit-table )[@​8](https://redirect.github.com/8 ).21.3
-
[@​tanstack/qwik-table](https://redirect.github.com/tanstack/qwik-table )[@​8](https://redirect.github.com/8 ).21.3
-
[@​tanstack/react-table](https://redirect.github.com/tanstack/react-table )[@​8](https://redirect.github.com/8 ).21.3
-
[@​tanstack/solid-table](https://redirect.github.com/tanstack/solid-table )[@​8](https://redirect.github.com/8 ).21.3
-
[@​tanstack/svelte-table](https://redirect.github.com/tanstack/svelte-table )[@​8](https://redirect.github.com/8 ).21.3
-
[@​tanstack/vue-table](https://redirect.github.com/tanstack/vue-table )[@​8](https://redirect.github.com/8 ).21.3
-
[@​tanstack/react-table-devtools](https://redirect.github.com/tanstack/react-table-devtools )[@​8](https://redirect.github.com/8 ).21.3
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-28 17:21:15 +00:00
Gastón Fournier
241b7e8165
chore: simplify serving of static openapi assets ( #10046 )
...
Use existing public folder from frontend to serve opeanapi static
assets. We also benefit from frontend image optimizations
2025-05-28 19:14:55 +02:00
Tymoteusz Czech
b111abc96f
feat: update sidebar navigation - refactors ( #10037 )
...
- added `sideMenuCleanup` flag
- extracted `SecondaryNavigation`, `SecondaryNavigationList` and
`MobileNavigationSidebar` into separate files
- hidden recent projects and flags
- renamed 'Insights' to 'Analytics'
2025-05-28 12:00:28 +02:00
dependabot[bot]
e65865d410
chore(deps-dev): bump http-proxy-middleware from 2.0.7 to 2.0.9 in /frontend ( #9786 )
...
Bumps
[http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware )
from 2.0.7 to 2.0.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/chimurai/http-proxy-middleware/releases ">http-proxy-middleware's
releases</a>.</em></p>
<blockquote>
<h2>v2.0.9</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(fixRequestBody): check readableLength by <a
href="https://github.com/chimurai "><code>@chimurai</code></a> in <a
href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1097 ">chimurai/http-proxy-middleware#1097</a></li>
<li>chore(package): v2.0.9 by <a
href="https://github.com/chimurai "><code>@chimurai</code></a> in <a
href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1099 ">chimurai/http-proxy-middleware#1099</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/chimurai/http-proxy-middleware/compare/v2.0.8...v2.0.9 ">https://github.com/chimurai/http-proxy-middleware/compare/v2.0.8...v2.0.9 </a></p>
<h2>v2.0.8</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(fixRequestBody): prevent multiple .write() calls by <a
href="https://github.com/chimurai "><code>@chimurai</code></a> in <a
href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1090 ">chimurai/http-proxy-middleware#1090</a></li>
<li>fix(fixRequestBody): handle invalid request by <a
href="https://github.com/chimurai "><code>@chimurai</code></a> in <a
href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1091 ">chimurai/http-proxy-middleware#1091</a></li>
<li>chore(package): v2.0.8 by <a
href="https://github.com/chimurai "><code>@chimurai</code></a> in <a
href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1094 ">chimurai/http-proxy-middleware#1094</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.8 ">https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.8 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md ">http-proxy-middleware's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.9 ">v2.0.9</a></h2>
<ul>
<li>fix(fixRequestBody): check readableLength</li>
</ul>
<h2><a
href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8 ">v2.0.8</a></h2>
<ul>
<li>fix(fixRequestBody): prevent multiple .write() calls</li>
<li>fix(fixRequestBody): handle invalid request</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="617a7c9da9
"><code>617a7c9</code></a>
chore(package): v2.0.9 (<a
href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1099 ">#1099</a>)</li>
<li><a
href="d22d587648
"><code>d22d587</code></a>
fix(fixRequestBody): check readableLength (<a
href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1097 ">#1097</a>)</li>
<li><a
href="d03d51b54a
"><code>d03d51b</code></a>
chore(package): v2.0.8 (<a
href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1094 ">#1094</a>)</li>
<li><a
href="c50dd06d91
"><code>c50dd06</code></a>
fix(fixRequestBody): handle invalid request (<a
href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1091 ">#1091</a>)</li>
<li><a
href="76a9d8d6dc
"><code>76a9d8d</code></a>
fix(fixRequestBody): prevent multiple .write() calls (<a
href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1090 ">#1090</a>)</li>
<li>See full diff in <a
href="https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.9 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 17:58:42 +02:00
Nuno Góis
a419b8e098
chore: prefer searchEvents over deprecated methods ( #10031 )
...
https://linear.app/unleash/issue/2-3577/prefer-the-new-searchevents-method-over-deprecated-methods
We should favor our new `searchEvents` method over the other deprecated
methods. This PR removes these deprecated methods, replaces them with
the new `searchEvents` and `searchEventsCount` methods, and marks the
old endpoints as deprecated.
Follow-up to: https://github.com/Unleash/unleash/pull/10030
2025-05-27 16:19:10 +01:00
Thomas Heartman
3e57c4803c
Chore(1-3755)/split insights in three ( #10035 )
...
Creates sections for the insights dashboard and moves charts around into
the same order as the sketches and into the right sections. There's no
charts for the top section (lifecycle currently) yet, and the sections
also don't have their own filters.
To make this re-ordering easier, I've also moved the previous insights
chart into a legacy file and set up a proxy component that handles
switching based on the flag.

Next step is separating the filters.
2025-05-27 15:06:48 +02:00
Thomas Heartman
5df074bd14
Remove entire row for median time to production ( #10034 )
...
Removes the "median time to production" snapshot + graph when the
lifecycleMetrics flag is active.
In other words: this entire box is gone 💨
<img width="1326" alt="image"
src="https://github.com/user-attachments/assets/929a9097-82a6-493d-b0dd-614000ffcfe7 "
/>
2025-05-27 14:00:08 +02:00
Thomas Heartman
092c525531
chore: add lifecycleMetrics flag definition ( #10033 )
...
Adds the new lifecycleMetrics flag.
2025-05-27 11:53:22 +00:00
David Leek
9fca29f254
feat: custom metrics ( #10022 )
2025-05-22 09:58:54 +02:00
Tymoteusz Czech
b0954f213c
chore: remove flagsReleaseManagementUI and flagsOverviewSearch flags ( #10011 )
...
Removing the `flagsReleaseManagementUI` and `flagsOverviewSearch`
feature flags - we're keeping these enabled.
2025-05-16 15:13:32 +02:00
Jaanus Sellin
a08db953b8
fix: now feature component is not loaded before we have feature infor… ( #10012 )
...
We were seeing strange errors when the feature component was rendered
before the feature data was returned from the backend. Now, we ensure
the component is not rendered until the feature is available.
2025-05-16 16:03:26 +03:00
Gastón Fournier
beb29f5b5b
chore: stop using deprecated properties and lean on resourceLimits cfg ( #9994 )
...
This removes segmentValuesLimit and strategySegmentsLimit from
ui-config-schema, deprecated in 5.11.0
2025-05-16 09:41:04 +00:00
Nuno Góis
995d69a352
fix: hide project archive in OSS ( #10004 )
...
https://linear.app/unleash/issue/2-3569/fix-hide-project-archive-in-oss
Hides "project archive" in OSS.
I believe this is a bug. OSS only has one project and the project
archive was acting unexpectedly anyways since it was showing the same
default project as being archived. This is because in OSS we use the OSS
project-controller, not the Enterprise version (override) of it.
2025-05-15 14:45:29 +01:00
Thomas Heartman
ffdf85c8b8
Fix: deleted legal values not being cleared when you select new ones ( #9986 )
...
Updates how we handle deleted legal values for the constraint reducer.
The previous iteration used useState and took the deleted legal values
as a third argument. This isn't possible anymore because a reducer can
take only two args. The simplest way forward for this was to move the
deleted legal values into the state itself, so that it's available in
the reducer. Because deleted legal values can be updated whenever (when
we get a response for that specific context field), we'll update it via
`useEffect`.
I'm not crazy about this approach, so if you have better suggestions,
I'm listening.
I've changed the signature of the reducer, so I've also updated the
tests. In doing so, I thought it now makes more sense to have the base
objects be objects instead of functions, so the changes there are
primarily updating that.
2025-05-15 13:06:08 +00:00
Thomas Heartman
e09b839ac0
chore: disable delete button if a context field has usage ( #10002 )
...
Blocks deletion of context fields from the UI if the context field has
any usage.
<img width="1399" alt="image"
src="https://github.com/user-attachments/assets/e6c26671-761b-4e54-9850-c505ba7b42f3 "
/>
2025-05-15 13:55:56 +02:00
Thomas Heartman
082a03afd7
Fix(1-3485)/handle deleted constraints ( #9999 )
...
Improves handling of constraints in use that have been deleted.
This change implments a few small changes on both the front and the back
end on how we deal with constraints that have been deleted.
The most important change is on the back end, in the
`/constraints/validate` endpoint. We used to throw here if the
constraint couldn't be found, but the only reason we wanted to look for
the constraint in the db was to check for legal values. Now, instead,
we'll allow you to pass a constraint field that doesn't exist in the
database. We'll still check the values against the operator for
validity, we just don't control legal values anymore (because there
aren't any).
On the front end, we improve the handling by showing the deleted context
filed in the dropdown, both when the selector dropdown is closed and
when it is open. However, if you change the context field, we remove the
deleted field from the list. This seems like a sensible tradeoff. Means
you can't select it if you've deselected it.
2025-05-15 13:08:54 +02:00
Nuno Góis
480689e828
chore: revive archive page ( #10001 )
...
Related to:
-
https://linear.app/unleash/issue/2-3366/remove-get-apiadminarchivefeatures-deprecated-in-4100
-
https://linear.app/unleash/issue/2-3367/remove-get-apiadminarchivefeaturesprojectid-deprecated-in-4110
Brings back the overall flag archive page and table using the feature
flag search endpoint.
2025-05-15 11:54:52 +01:00
Jaanus Sellin
0255cf137a
fix: now feature is not pulled from server if not defined ( #10000 )
2025-05-15 11:54:40 +03:00
Jaanus Sellin
9aa0c4c738
feat: constraints that are in recents will have generated key ( #9996 )
...
Previously it was trying to get constraint id for key, but id did not
exist. Now for unique keys, I am using the hashed constraint payload.
2025-05-15 10:50:59 +03:00
Thomas Heartman
a2723ec0c0
chore remove and clean some stuff ( #9993 )
...
- Deletes an unused file
- Fixes a console.error due to a prop being passed on to the HTML
component
- Puts all editable constraint files within a separate directory.
2025-05-15 07:23:33 +00:00
Thomas Heartman
a80b667cf5
chore(1-3747): minor strategy edit header updates ( #9992 )
...
Makes a few small changes to the strategy header:
- Removes the rollout percentage and environment indicator
- Changes the env disabled alert from warning to info
- Maybe moves the alert to the end of the form, only on the general tab
panel
I've placed the removal of the rollout percentage and env header behind
a flag, but not the alert changes.
Before:

After:
<img width="1239" alt="image"
src="https://github.com/user-attachments/assets/db73c9c8-3244-40db-9991-c412c9aadc18 "
/>
2025-05-14 12:48:46 +00:00