1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

10792 Commits

Author SHA1 Message Date
Thomas Heartman
6025ad0f0d
fix: add forwardRef to ProjectSelect component (#6674)
Make the tooltip for project selection in the playground work properly
again. Right now, it doesn't work due to an error in react refs.

Because we wrap this in a tooltip in the Playground, we need to forward
the ref to the underlying component.

This follows the steps outlined in
https://mui.com/material-ui/guides/composition/#caveat-with-refs
2024-03-25 10:23:22 +01:00
Alvin Bryan
8a9d013545
Fixed syntax highlighting in the docs (#6678)
Adds support for Svelte syntax highlighting and lets us add support for
additional languages in the future
2024-03-25 09:10:41 +00:00
Mateusz Kwasniewski
888a5c1283
feat: project overview change requests (#6679) 2024-03-25 10:00:31 +01:00
Jaanus Sellin
a2a9a84974
feat: search includes feature last seen data last hour (#6677) 2024-03-25 10:32:19 +02:00
renovate[bot]
d22ecd0c73
chore(deps): update dependency vitest to v1.4.0 (#6680)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.3.1` ->
`1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (vitest)</summary>

###
[`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0)

#####    🚀 Features

- Throw error when using snapshot assertion with `not`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294)
[<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5)
- Add a flag to include test location in tasks  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342)
[<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209)
-   **cli**:
- Support wildcards in `--project` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295)
[<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067)
-   **config**:
- Add `shuffle.files` and `shuffle.tests` options  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281)
[<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b)
- Deprecate `cache.dir` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229)
[<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e)
-   **coverage**:
- Support `--changed` option  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314)
[<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6)
-   **vitest**:
- Support `clearScreen` cli flag  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241)
[<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6)

#####    🐞 Bug Fixes

- Repeatable `--project` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265)
[<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730)
- `--inspect-brk` to pause before execution  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355)
[<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f)
- Correct locations in test.each tasks  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1)
-   **api**:
- Use resolvedUrls from devserver  -  by
[@&#8203;saitonakamura](https://togithub.com/saitonakamura) and
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289)
[<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e)
-   **browser**:
- Add `magic-string` to `optimizeDeps.include`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278)
[<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798)
-   **coverage**:
- Expensive regexp hangs v8 report generation  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259)
[<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390)
- V8 to ignore type-only files  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328)
[<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb)
- Respect source maps of pre-transpiled sources  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367)
[<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f)
- Prevent `reportsDirectory` from removing user's project  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376)
[<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779)
-   **expect**:
- Show diff on `toContain/toMatch` assertion error  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267)
[<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d)
-   **forks**:
- Wrap `defines` to support `undefined` values  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284)
[<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399)
-   **typecheck**:
- Update get-tsconfig 4.7.3 to fix false circularity error  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384)
[<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee)
-   **ui**:
- Escape html in error diff  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325)
[<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d)
-   **vitest**:
- Loosen `onConsoleLog` return type  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337)
[<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451)
- Ensure restoring terminal cursor on close  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292)
[<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247)
- Ignore timeout on websocket reporter rpc  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75)
- Correctly override api with --no-api flag  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386)
[<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472)
- Logs in `beforeAll` and `afterAll`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288)
[<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf)
-   **workspace**:
- Throw error when browser mode and `@vitest/coverage-v8` are used  - 
by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250)
[<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 18:14:17 +00:00
Mateusz Kwasniewski
a471f7369c
feat: when insights are enabled hide those widgets in other pages (#6675) 2024-03-22 12:09:31 +01:00
David Leek
e0994b088a
feat: traffic visibility UI and store (#6659)
Provides store method for retrieving traffic usage data based on
period parameter, and UI + ui hook with the new chart for displaying
traffic usage data spread out over selectable month.

![Skjermbilde 2024-03-21 kl 12 40
38](https://github.com/Unleash/unleash/assets/707867/539c6c98-b6f6-488a-97fb-baf4fccec687)

In this PR we copied and adapted a plugin written by DX for highlighting
a column in the chart:


![image](https://github.com/Unleash/unleash/assets/707867/70532b22-44ed-44c0-a9b4-75f65ed6a63d)

There are some minor improvements planned which will come in a separate
PR, reversing the order in legend and tooltip so the colors go from
light to dark, and adding a month -sum below the legend

## Discussion points

- Should any of this be extracted as a separate reusable component?

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2024-03-22 11:54:33 +01:00
renovate[bot]
4b89c8a74a
chore(deps): update dependency @biomejs/biome to v1.6.2 (#6095)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev)
([source](https://togithub.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome))
| [`1.6.1` ->
`1.6.2`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.6.1/1.6.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.6.1/1.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.6.1/1.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>biomejs/biome (@&#8203;biomejs/biome)</summary>

###
[`v1.6.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#162-2024-03-22)

[Compare
Source](4ed1cbe96b...7669b334ec)

##### Analyzer

##### Bug fixes

- The `noSuperWithoutExtends` rule now allows for calling `super()` in
derived class constructors of class expressions
([#&#8203;2108](https://togithub.com/biomejs/biome/issues/2108)).
Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant)

- Fix discrepancies on file source detection. Allow module syntax in
`.cts` files
([#&#8203;2114](https://togithub.com/biomejs/biome/issues/2114)).
Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant)

##### CLI

##### Bug fixes

- Fixes [#&#8203;2131](https://togithub.com/biomejs/biome/issues/2131),
where folders were incorrectly ignored when running the command `check`.
Now folders are correctly ignored based on their command. Contributed by
[@&#8203;ematipico](https://togithub.com/ematipico)

- Smoother handling of `"endOfLine": "auto"` in prettier migration:
falling back to `"lf"`
([#&#8203;2145](https://togithub.com/biomejs/biome/pull/2145)).
Contributed by [@&#8203;eMerzh](https://togithub.com/eMerzh)

##### Configuration

##### Bug fixes

- Fix enabled rules calculation. The precendence of individual rules,
`all` and `recommend` presets in top-level and group-level configs is
now correctly respected. More details can be seen in
([#&#8203;2072](https://togithub.com/biomejs/biome/pull/2072))
([#&#8203;2028](https://togithub.com/biomejs/biome/issues/2028)).
Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant)

##### Formatter

##### Bug fixes

- Fix [#&#8203;1661](https://togithub.com/biomejs/biome/issues/1661).
Now nested conditionals are aligned with Prettier's logic, and won't
contain mixed spaces and tabs. Contributed by
[@&#8203;ematipico](https://togithub.com/ematipico)

##### JavaScript APIs

##### Enhancements

- Support applying lint fixes when calling the `lintContent` method of
the `Biome` class
([#&#8203;1956](https://togithub.com/biomejs/biome/pull/1956)).
Contributed by [@&#8203;mnahkies](https://togithub.com/mnahkies)

##### Linter

##### Bug fixes

- Rule `noUndeclaredDependencies` now also validates `peerDependencies`
and `optionalDependencies`
([#&#8203;2122](https://togithub.com/biomejs/biome/issues/2122)).
Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant)

- Rule `noUndeclaredDependencies` won't check `declare module`
statements anymore
([#&#8203;2123](https://togithub.com/biomejs/biome/issues/2123)).
Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant)

- Fix [#&#8203;1925](https://togithub.com/biomejs/biome/issues/1925).
The fix for `useOptionalChain` would sometimes suggest an incorrect fix
that discarded optional chaining operators on the left-hand side of
logical expressions. These are now preserved. Contributed by
[@&#8203;arendjr](https://togithub.com/arendjr)

- Rule `noUndeclaredVariables` now also checks for worker globals
([#&#8203;2121](https://togithub.com/biomejs/biome/issues/2121)).
Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant)

##### LSP

##### Bug fixes

- Correctly parse `.jsonc` files. Contributed by
[@&#8203;Sec-ant](https://togithub.com/Sec-ant)

- Correctly resolve external `extends` configs. Contributed by
[@&#8203;Sec-ant](https://togithub.com/Sec-ant)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 10:19:27 +00:00
Nuno Góis
a00c17ba3d
chore: upgrade typescript in frontend to 5.4.2 (#6673)
Follow up to https://github.com/Unleash/unleash/pull/6605

This upgrades TypeScript in frontend to `5.4.2`, matching the version we
have on the server.
Only 2 things broke with this upgrade, so the changes are related to
fixing the types in those places.

This fixes https://github.com/Unleash/unleash/pull/6659
2024-03-22 10:13:44 +00:00
Tymoteusz Czech
ccb067c69c
fix: show segment details in targetting (#6640)
Preview (eye icon) on a segment in "targetting" when creating or editing
a strategy now corectly shows details of a segment.

Previously it was not showing constraints present in this segment
2024-03-22 10:14:19 +01:00
Mateusz Kwasniewski
86f229a69d
test: project insights service test (#6661) 2024-03-22 09:48:29 +01:00
Jaanus Sellin
f5a7cc9125
refactor: fix stats layout and unify components (#6671) 2024-03-22 10:07:44 +02:00
andreas-unleash
e6150def36
chore: call new insights endpoint (#6664)
What is says on the tin

Closes
#[1-2217](https://linear.app/unleash/issue/1-2217/point-fe-to-new-endpoint)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-22 09:04:15 +02:00
renovate[bot]
38adb97c03
chore(deps): update dependency @types/react to v17.0.78 (#6670)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 00:56:22 +00:00
renovate[bot]
8ddc753a62
chore(deps): update dependency @types/react to v17.0.77 (#6669)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 21:54:38 +00:00
renovate[bot]
2fa1df51b2
chore(deps): update dependency @swc/core to v1.4.8 (#6666)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.4.8`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#148---2024-03-14)

[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.4.7...v1.4.8)

##### Bug Fixes

- **(es/module)** Fix regression of resolving relative modules
([#&#8203;8748](https://togithub.com/swc-project/swc/issues/8748))
([f988b66](f988b66e1f))

- **(es/parser)** Allow `export` after decorators when valid
([#&#8203;8739](https://togithub.com/swc-project/swc/issues/8739))
([663261b](663261be97))

##### Miscellaneous Tasks

- **(es)** Allow using older `tokio`
([#&#8203;8740](https://togithub.com/swc-project/swc/issues/8740))
([9c1eb01](9c1eb017fc))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 19:45:55 +00:00
Gastón Fournier
5db197839c
docs: signals and actions documentation (#6641)
## About the changes
This is the initial documentation for actions and signals.

Preview the changes:
https://unleash-docs-git-signals-docs-unleash-team.vercel.app/

- Actions:
https://unleash-docs-git-signals-docs-unleash-team.vercel.app/reference/actions
- Signals:
https://unleash-docs-git-signals-docs-unleash-team.vercel.app/reference/signals

---------

Co-authored-by: Alvin Bryan <107407814+alvinometric@users.noreply.github.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
2024-03-21 19:40:09 +00:00
Mateusz Kwasniewski
cf7507db98
fix: Adjust health chart for large values (#6665) 2024-03-21 17:56:34 +01:00
Mateusz Kwasniewski
7ca95295bc
fix: render small values in project health (#6663) 2024-03-21 15:46:17 +01:00
andreas-unleash
9be15d4976
Chore/rename dashboard files to insights (#6662)
Renames everything related to `executive dashboard` to `insights`

Closes: # [1-2213](https://linear.app/unleash/issue/1-2213/rename-in-fe)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-21 16:39:03 +02:00
Fredrik Strand Oseberg
8532e08398
fix: default strategy ui update fix (#6652)
This PR fixes a bug where editing the default strategy would not refresh
the resource it was depending on to display the data. This also surfaces
another issue, which is that project settings is using data from the
getProjectOverview hook to display the default strategies in each
environment. This should be it's own resource, but that is beyond the
scope of this PR.
2024-03-21 15:13:23 +01:00
andreas-unleash
9233d4ca33
fix: chart info naming bug fix (#6660)
Rename param

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-21 13:16:01 +00:00
Jaanus Sellin
2f7580e6b1
feat: project members not hardcoded (#6658) 2024-03-21 14:33:23 +02:00
andreas-unleash
ce4a243165
feat: ttp for all projects should show median value per day (#6656)
Separates out the calculation of the median to its own file and tested

Closes #
[1-2212](https://linear.app/unleash/issue/1-2212/timetoproduction-for-all-projects-should-show-the-change-in-the-median)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-21 14:21:53 +02:00
andreas-unleash
bce25bf0f1
fix: do not show flagsPerUser when calculation results to NaN (#6639)
What it says on the tin

Closes #
[1-2209](https://linear.app/unleash/issue/1-2209/total-flag-widget-says-nan-when-no-data)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-03-21 13:29:48 +02:00
Mateusz Kwasniewski
3241d14a05
test: project insights read model test (#6657) 2024-03-21 12:09:13 +01:00
Mateusz Kwasniewski
85454bf488
refactor: reduce project insights coupling (#6655) 2024-03-21 11:37:25 +01:00
Jaanus Sellin
c41ec49615
feat: remove active/inactive members (#6654)
![image](https://github.com/Unleash/unleash/assets/964450/769ef8bb-834d-4917-898f-b2ba17a9062b)
2024-03-21 11:27:37 +02:00
Mateusz Kwasniewski
8080a1d907
feat: read change requests for insights (#6651) 2024-03-21 09:08:19 +01:00
renovate[bot]
fb88048acf
chore(deps): update dependency vanilla-jsoneditor to ^0.23.0 (#6648)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vanilla-jsoneditor](https://togithub.com/josdejong/svelte-jsoneditor)
| [`^0.22.0` ->
`^0.23.0`](https://renovatebot.com/diffs/npm/vanilla-jsoneditor/0.22.0/0.23.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vanilla-jsoneditor/0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vanilla-jsoneditor/0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vanilla-jsoneditor/0.22.0/0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vanilla-jsoneditor/0.22.0/0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>josdejong/svelte-jsoneditor (vanilla-jsoneditor)</summary>

###
[`v0.23.0`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0230-2024-03-13)

[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.22.0...v0.23.0)

##### ⚠ BREAKING CHANGES

- The `onRenderContextMenu` callback now also triggers when the editor
is `readOnly`,
    so you now have to handle that case in the callback.

##### Features

-
[#&#8203;399](https://togithub.com/josdejong/svelte-jsoneditor/issues/399)
enable onRenderContextMenu when the editor is readOnly
([#&#8203;411](https://togithub.com/josdejong/svelte-jsoneditor/issues/411))
([db3fb57](db3fb57dc6))
- extend the contexts of `onRenderMenu` and `onRenderContextMenu` with a
prop `readOnly`
([#&#8203;411](https://togithub.com/josdejong/svelte-jsoneditor/issues/411))
([4df5548](4df55481a1))
- search and replace in table mode
([#&#8203;415](https://togithub.com/josdejong/svelte-jsoneditor/issues/415))
([0860f3e](0860f3ea42))

##### Bug Fixes

- cannot convert an Array into an Object
([4b3af48](4b3af488fa))
- context menu not closing when clicking a button in a dropdown menu
([e2c419a](e2c419acb3))
- disable all relevant context menu buttons when readOnly (see
[#&#8203;411](https://togithub.com/josdejong/svelte-jsoneditor/issues/411))
([c66ee09](c66ee09165))
- disable wrapped line indent when using tabs because that doesn't work
well
([2a067e1](2a067e1551))
- editor not getting focus when clicking inside the welcome screen of
table mode
([919a31e](919a31ecd5))
- insert an object or array in tree mode in an empty document not
working
([5382e1c](5382e1ce75))
- status bar not visible when caret is at the start of the document
([dca87f0](dca87f0280))
- table row actions not disabled in the table mode context menu when
having an empty document
([7123249](7123249d28))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 01:11:34 +00:00
renovate[bot]
c7a5bf90b0
chore(deps): update dependency sass to v1.72.0 (#6647)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://togithub.com/sass/dart-sass) | [`1.71.1` ->
`1.72.0`](https://renovatebot.com/diffs/npm/sass/1.71.1/1.72.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.72.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.72.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.71.1/1.72.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.71.1/1.72.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sass/dart-sass (sass)</summary>

###
[`v1.72.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1720)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.71.1...1.72.0)

- Support adjacent `/`s without whitespace in between when parsing plain
CSS
    expressions.

- Allow the Node.js `pkg:` importer to load Sass stylesheets for
`package.json`
    `exports` field entries without extensions.

- When printing suggestions for variables, use underscores in variable
names
    when the original usage used underscores.

##### JavaScript API

- Properly resolve `pkg:` imports with the Node.js package importer when
    arguments are passed to the JavaScript process.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 01:11:14 +00:00
renovate[bot]
09c88e97e4
chore(deps): update dependency cypress to v13.7.0 (#6646)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cypress](https://cypress.io)
([source](https://togithub.com/cypress-io/cypress)) | [`13.6.6` ->
`13.7.0`](https://renovatebot.com/diffs/npm/cypress/13.6.6/13.7.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.6.6/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.6.6/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>cypress-io/cypress (cypress)</summary>

###
[`v13.7.0`](https://togithub.com/cypress-io/cypress/releases/tag/v13.7.0)

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v13.6.6...v13.7.0)

Changelog: <https://docs.cypress.io/guides/references/changelog#13-7-0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 23:49:59 +00:00
renovate[bot]
3e5598ac05
chore(deps): update dependency @types/node to v18.19.24 (#6644)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 23:49:30 +00:00
renovate[bot]
82f1469025
chore(deps): update dependency vite-tsconfig-paths to v4.3.2 (#6645)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[vite-tsconfig-paths](https://togithub.com/aleclarson/vite-tsconfig-paths)
| [`4.3.1` ->
`4.3.2`](https://renovatebot.com/diffs/npm/vite-tsconfig-paths/4.3.1/4.3.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite-tsconfig-paths/4.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-tsconfig-paths/4.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-tsconfig-paths/4.3.1/4.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-tsconfig-paths/4.3.1/4.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>aleclarson/vite-tsconfig-paths (vite-tsconfig-paths)</summary>

###
[`v4.3.2`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.3.1...c02e4a2da868a6a0dc5489108d7c2f85acd5a7df)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.3.1...v4.3.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 23:49:05 +00:00
renovate[bot]
dc61110ca8
chore(deps): update dependency @swc/core to v1.4.7 (#6643)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.4.7`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#147---2024-03-13)

[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.4.6...v1.4.7)

##### Bug Fixes

- **(es/minifier)** Fix eval of `toString` of array with holes
([#&#8203;8727](https://togithub.com/swc-project/swc/issues/8727))
([f3fbd9d](f3fbd9d549))

- **(es/minifier)** Do not evaluate `slice` calls with negative index
([#&#8203;8726](https://togithub.com/swc-project/swc/issues/8726))
([23f9635](23f9635d2c))

- **(es/minifier)** Handle cyclic references while dropping unused
properties
([#&#8203;8725](https://togithub.com/swc-project/swc/issues/8725))
([102241b](102241b812))

- **(es/minifier)** Fix evaluation of array literals with `void 0`
([#&#8203;8733](https://togithub.com/swc-project/swc/issues/8733))
([aa0154d](aa0154d2d8))

- **(es/minifier)** Fix removal of array pattern bindings
([#&#8203;8730](https://togithub.com/swc-project/swc/issues/8730))
([312f0d8](312f0d8427))

- **(es/minifier)** Make `Finalizer` handle `hoisted_props` correctly
([#&#8203;8738](https://togithub.com/swc-project/swc/issues/8738))
([95761b7](95761b76bf))

- **(es/proposal)** Fix var placement for using transform
([#&#8203;8732](https://togithub.com/swc-project/swc/issues/8732))
([633cd89](633cd89bac))

##### Features

- **(es/lints)** Add `no-prototype-builtins` rule
([#&#8203;8684](https://togithub.com/swc-project/swc/issues/8684))
([a5dbb17](a5dbb17612))

- **(es/lints)** Add `prefer-object-spread` rule
([#&#8203;8696](https://togithub.com/swc-project/swc/issues/8696))
([aa9297b](aa9297b42e))

##### Refactor

- **(es)** Prepare `wasm32-wasi-preview1-threads` target support
([#&#8203;8724](https://togithub.com/swc-project/swc/issues/8724))
([e3acd14](e3acd1476c))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 19:06:58 +00:00
andreas-unleash
859fe098fe
chore: verify chart names and tooltips (#6635)
Centralises and improves the chart title and tooltip descriptions.  

Closes

[1-2199](https://linear.app/unleash/issue/1-2199/verify-tooltip-texts-and-explanations-are-clear-enough)
[1-2200](https://linear.app/unleash/issue/1-2200/verify-chart-naming)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-03-20 17:38:49 +02:00
andreas-unleash
84707e2bf3
chore: create new flag to hide insights ui (#6638)
Creates a new flag to control the executive dashboard ui

Closes #
[1-2208](https://linear.app/unleash/issue/1-2208/create-separate-ui-flag-decoupled-from-the-backend-flag)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 17:21:46 +02:00
andreas-unleash
33ec7e1894
chore: fix react errors (#6637)
Fix hook usage react error (console)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 17:11:50 +02:00
Nnenna Ndukwe
b7232d0397
docs: Spring Boot Tutorial v1 (#6620)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

We have a v1 for a Java Spring Boot Tutorial:
- uses popular Java Spring Boot open source project Spring Pet Clinic
- uses Unleash Spring Boot SDK
- this is simple & introductory as we don't have data plugged into the
new page we build in the application.

<img width="899" alt="spring-boot-tutorial-app-in-browser"
src="https://github.com/Unleash/unleash/assets/22972707/c620f49c-d487-44ac-af7d-ce32bc3c85d8">


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

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

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


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

I added the tutorial to the Java section in the docs navigation menu. I
could have it stand alone, but I would consider it to be underneath the
Java language we have already listed in our menu.

<img width="301" alt="Screenshot 2024-03-19 at 8 49 11 PM"
src="https://github.com/Unleash/unleash/assets/22972707/404ff27b-0363-446a-9036-1b99e4ee5f80">
2024-03-20 10:25:29 -04:00
Mateusz Kwasniewski
87b9f4f713
refactor: Project insights subdomain (#6634) 2024-03-20 15:06:11 +01:00
Alvin Bryan
efb2df78c2
Fixed missing video in the Sveltekit tutorial (#6631)
The mp4 was missing in the Sveltekit tutorial, this fixes it
2024-03-20 13:52:05 +00:00
andreas-unleash
c67ad4222e
fix: ttp stat show latest date (#6626)
Makes the time to production stats show the current value (latest date).
This aligns it with other stats on the page.

Closes #
[1-2203](https://linear.app/unleash/issue/1-2203/make-the-time-to-production-stats-show-the-latest-current-data)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 15:46:00 +02:00
Thomas Heartman
990ef4144e
fix: render values that are N/A (#6633)
This change makes the tooltip still render values and headers that are
`N/A` (instead of not rendering them at all).

This makes the tooltip more consistent and predictable. At least to
me, it was confusing that some of the values were just hidden sometimes.

I've also added a test to make sure that the tooltip renders the N/A
values.

This is what it looks like now:


![image](https://github.com/Unleash/unleash/assets/17786332/46cb9250-6ce2-4567-a02d-b186f86c1de5)
2024-03-20 13:44:03 +00:00
Jaanus Sellin
0c0530ddcf
feat: make table scrollable (#6632) 2024-03-20 15:29:15 +02:00
Jaanus Sellin
99b5db1691
feat: connect lead time with backend (#6629) 2024-03-20 14:40:57 +02:00
Mateusz Kwasniewski
6dc6e36084
feat: expose stats, health and flag types insights (#6630) 2024-03-20 13:34:48 +01:00
Jaanus Sellin
1becfc0202
feat: project members widget (#6628)
![image](https://github.com/Unleash/unleash/assets/964450/7e27dbab-da24-44b2-8336-36df9660bd78)
2024-03-20 14:30:27 +02:00
Mateusz Kwasniewski
f0e5d075a7
feat: Fetch backend api data insights (#6622) 2024-03-20 10:54:21 +01:00
Gastón Fournier
ae921aed69
fix: linting (#6625) 2024-03-20 10:22:50 +01:00
Mateusz Kwasniewski
8ea4aec3d4
chore: orval with project insights (#6621) 2024-03-20 09:20:54 +01:00