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

3223 Commits

Author SHA1 Message Date
andreas-unleash
fc35f227dc
fix: autocomplete bug when changing context field (#4064)
<!-- 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! ❤️ -->
Fixes a bug with the Autocomplete tags not clearing when moving from on
context field with values to another
## 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. -->

<!-- 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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-22 14:19:41 +03:00
Thomas Heartman
8cd89bb5a7
chore: update orval models (#4062)
Updates orval model based on the current enterprise changes.

Mostly doc/comment changes, but does introduce the new
strategySchemaLinks model.
2023-06-22 09:52:21 +00:00
Jaanus Sellin
e769cdd2ac
feat: plausible for new strategy flow (#4057) 2023-06-22 12:04:36 +03:00
andreas-unleash
559caee642
fix: multi env select should always have an environment selected (#4061)
<!-- 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. -->

<!-- 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-22 11:55:15 +03:00
Mateusz Kwasniewski
374d49f5bf
feat: ui tweaks for playground (#4058) 2023-06-22 10:13:17 +02:00
andreas-unleash
566b91e298
feat: advanced playground multi value context fields (#4053)
<!-- 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! ❤️ -->
Makes the autocomplete component in the playground context field - when
selecting a custom context field that has legal values - able to
select/edit multiple values.

## 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. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-1006](https://linear.app/unleash/issue/1-1006/multi-value-context-field)

<!-- (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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-22 11:06:25 +03:00
Nuno Góis
7e9069e390
refactor: token permissions, drop admin-like permissions (#4050)
https://linear.app/unleash/issue/2-1155/refactor-permissions

- Our `rbac-middleware` now supports multiple OR permissions;
- Drops non-specific permissions (e.g. CRUD API token permissions
without specifying the token type);
- Makes our permission descriptions consistent;
- Drops our higher-level permissions that basically mean ADMIN (e.g.
ADMIN token permissions) in favor of `ADMIN` permission in order to
avoid privilege escalations;

This PR may help with
https://linear.app/unleash/issue/2-1144/discover-potential-privilege-escalations
as it may prevent privilege escalations altogether.

There's some UI permission logic around this, but in the future
https://linear.app/unleash/issue/2-1156/adapt-api-tokens-creation-ui-to-new-permissions
could take it a bit further by adapting the creation of tokens as well.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-06-22 08:35:54 +01:00
renovate[bot]
7c5971a2b4
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.3 (#4046)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

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://togithub.com/uiwjs/react-codemirror)) | [`4.21.1` ->
`4.21.3`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/4.21.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.3/compatibility-slim/4.21.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.3/confidence-slim/4.21.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror</summary>

###
[`v4.21.3`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.3)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.2...v4.21.3)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.3/file/README.md)

Documentation v4.21.3:
https://raw.githack.com/uiwjs/react-codemirror/04175a5/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.2...v4.21.3

```shell
npm i @&#8203;uiw/react-codemirror@4.21.3
```

- 💄 chore: update workflows config.
[`a1d6627`](https://togithub.com/uiwjs/react-codemirror/commit/a1d6627)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore(deps): update dependency lerna to v7
[#&#8203;48](https://togithub.com/uiwjs/react-codemirror/issues/48)
[`38e78b8`](https://togithub.com/uiwjs/react-codemirror/commit/38e78b8)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update lerna config.
[`043a23c`](https://togithub.com/uiwjs/react-codemirror/commit/043a23c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style: fix scroller height style.
([#&#8203;519](https://togithub.com/uiwjs/react-codemirror/issues/519))
[`fa8b6f9`](https://togithub.com/uiwjs/react-codemirror/commit/fa8b6f9)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.2`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.2)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.1...v4.21.2)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.2/file/README.md)

Documentation v4.21.2:
https://raw.githack.com/uiwjs/react-codemirror/a04cba4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.1...v4.21.2

```shell
npm i @&#8203;uiw/react-codemirror@4.21.2
```

- 🌍 website: update CodeMirror height style.
[`ec18778`](https://togithub.com/uiwjs/react-codemirror/commit/ec18778)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix view update bug.
([#&#8203;520](https://togithub.com/uiwjs/react-codemirror/issues/520))
[`a48c6b6`](https://togithub.com/uiwjs/react-codemirror/commit/a48c6b6)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 04:30:54 +00:00
Nuno Góis
5c9bf7b0e9
refactor: misc cleanups (#4022)
Misc cleanups of unused imports / variables.
2023-06-21 15:08:52 +01:00
andreas-unleash
57066cf129
Feat/multi env select (#4028)
<!-- 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. -->

<!-- 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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-21 17:08:27 +03:00
Mateusz Kwasniewski
91f1072519
feat: initial scroll trigger (#4036) 2023-06-21 15:37:04 +02:00
Tymoteusz Czech
02ca60511f
Splitted strategy button (#4025)
## About the changes

![image](https://github.com/Unleash/unleash/assets/2625371/afaaaedf-4539-4a0b-a0fb-916d858ac6d3)


https://linear.app/unleash/issue/1-1038/strategy-creation-split-into-two-buttons
2023-06-21 15:26:07 +02:00
Jaanus Sellin
71d242a299
chore: remove variant metrics flag (#4042) 2023-06-21 15:55:21 +03:00
Jaanus Sellin
3763e1b24d
fix: default segments should only be selected when using default stra… (#4040) 2023-06-21 15:38:47 +03:00
renovate[bot]
624172d331
chore(deps): update dependency @emotion/react to v11.11.1 (#4014)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@emotion/react](https://togithub.com/emotion-js/emotion/tree/main#readme)
([source](https://togithub.com/emotion-js/emotion)) | [`11.11.0` ->
`11.11.1`](https://renovatebot.com/diffs/npm/@emotion%2freact/11.11.0/11.11.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.11.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.11.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.11.1/compatibility-slim/11.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.11.1/confidence-slim/11.11.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>emotion-js/emotion</summary>

###
[`v11.11.1`](https://togithub.com/emotion-js/emotion/releases/tag/%40emotion/react%4011.11.1)

[Compare
Source](https://togithub.com/emotion-js/emotion/compare/@emotion/react@11.11.0...@emotion/react@11.11.1)

##### Patch Changes

- [#&#8203;3048](https://togithub.com/emotion-js/emotion/pull/3048)
[`9357f337`](9357f33720)
Thanks [@&#8203;naari3](https://togithub.com/naari3)! - Added
`ElementType` to the Emotion's `JSX` namespace. It's defined in the same
way as the one in `@types/react` and should make it possible to use
components that return `string`s, `Promise`s and other types that are
valid in React.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 11:39:25 +00:00
Mateusz Kwasniewski
50d4de86dd
fix: infinite playground rendering (#4031) 2023-06-21 11:52:53 +02:00
Nuno Góis
a9e9ae8c3e
feat: use new role components in project access (#4018)
https://linear.app/unleash/issue/2-1143/adapt-project-roles-to-use-the-new-role-selector-and-role-description

This PR further unifies roles, by having a single `IRole` interface to
cover both types, and re-using the same components for project roles.
2023-06-21 08:16:37 +01:00
Mateusz Kwasniewski
a5ee50cfc9
test: advanced playground error (#4023) 2023-06-21 08:17:53 +02:00
Mateusz Kwasniewski
a0862cfc10
feat: Query complexity validation (#4017) 2023-06-20 14:28:02 +02:00
Mateusz Kwasniewski
2e4f55707d
feat: store playground settings in local storage (#4012) 2023-06-20 11:34:27 +02:00
renovate[bot]
9aa175ce60
chore(deps): update dependency eslint to v8.42.0 (#3976)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [eslint](https://eslint.org)
([source](https://togithub.com/eslint/eslint)) | [`8.41.0` ->
`8.42.0`](https://renovatebot.com/diffs/npm/eslint/8.41.0/8.42.0) |
[![age](https://badges.renovateapi.com/packages/npm/eslint/8.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/eslint/8.42.0/compatibility-slim/8.41.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.42.0/confidence-slim/8.41.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>eslint/eslint</summary>

### [`v8.42.0`](https://togithub.com/eslint/eslint/releases/tag/v8.42.0)

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.41.0...v8.42.0)

#### Features

-
[`b8448ff`](b8448ff1ae)
feat: correct no-useless-return behaviour in try statements
([#&#8203;16996](https://togithub.com/eslint/eslint/issues/16996))
(Nitin Kumar)

#### Bug Fixes

-
[`a589636`](a5896360c3)
fix: Config with `ignores` and without `files` should not always apply
([#&#8203;17181](https://togithub.com/eslint/eslint/issues/17181))
(Milos Djermanovic)
-
[`c4fad17`](c4fad173c7)
fix: Correct ignore message for "node_modules" subfolders
([#&#8203;17217](https://togithub.com/eslint/eslint/issues/17217))
(Francesco Trotta)

#### Documentation

-
[`01d7142`](01d7142642)
docs: Update README (GitHub Actions Bot)
-
[`e5182b7`](e5182b723f)
docs: Update README (GitHub Actions Bot)

#### Chores

-
[`6ca5b7c`](6ca5b7ca3b)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).42.0
([#&#8203;17236](https://togithub.com/eslint/eslint/issues/17236))
(Milos Djermanovic)
-
[`67fc5e7`](67fc5e730e)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`0892412`](0892412556)
refactor: remove `Identifier` listener in no-irregular-whitespace
([#&#8203;17235](https://togithub.com/eslint/eslint/issues/17235))
(Milos Djermanovic)
-
[`f67d298`](f67d2984c3)
test: Add `FlatESLint` tests with missing config files
([#&#8203;17164](https://togithub.com/eslint/eslint/issues/17164))
(Milos Djermanovic)
-
[`5b68d51`](5b68d51e3e)
chore: Fix `fixedsize` attribute in code path analysis DOT debug output
([#&#8203;17202](https://togithub.com/eslint/eslint/issues/17202))
(Milos Djermanovic)
-
[`37432f2`](37432f27dc)
chore: update descriptions in key-spacing tests
([#&#8203;17195](https://togithub.com/eslint/eslint/issues/17195))
(Milos Djermanovic)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTUuMiIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 18:31:04 +00:00
andreas-unleash
7534ada672
Fix multiple env select (#4011)
<!-- 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! ❤️ -->
Fixes a bug with the multiple env select breaking playground
## 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. -->

<!-- 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-19 17:25:10 +03:00
Mateusz Kwasniewski
11e6236c0f
feat: environment diff (#4007) 2023-06-19 14:32:39 +02:00
Mateusz Kwasniewski
15dc98b497
fix: playground link (#4008) 2023-06-19 14:02:30 +02:00
Nuno Góis
3a27f2a4bd
feat: implement better roles sub-tabs (#4009)
https://linear.app/unleash/issue/2-1145/improve-roles-sub-tabs

Improves UI/UX of the roles sub-tabs.

Some of the logic is a bit specific due to the feature flag, will be
nice to clean this up once we remove it.

Before:

![image](https://github.com/Unleash/unleash/assets/14320932/cc277920-557c-45a9-a560-6026167dab1d)

After:

![image](https://github.com/Unleash/unleash/assets/14320932/51d1b5b3-068a-4bf5-84ca-24fdf708f899)
2023-06-19 12:52:56 +01:00
Ivar Conradi Østhus
02600880d1
fix: specific actions for enterprise trial messages (#4001)
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-06-19 13:48:26 +02:00
andreas-unleash
b97c6bdc7b
chore: Add advanced playground table test (#4005)
<!-- 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! ❤️ -->
Adds a frontend test for AdvancedPlaygroundResultsTable
## 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. -->

<!-- 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-19 13:54:26 +03:00
Jaanus Sellin
54654c6368
feat: change CR strategy title and name behaviour (#4004) 2023-06-19 13:33:12 +03:00
Mateusz Kwasniewski
16a3f6069c
feat: Playground environment diff table (#4002) 2023-06-19 11:44:32 +02:00
Nuno Góis
eb8f16da8d
feat: roles unification (#3999)
https://linear.app/unleash/issue/2-1137/roles-unification-on-the-ui

Root and project roles should be managed in a similar manner, which
means using the same roles route and tab for both.

Additionally, this includes a big revamp to the project roles to align
them more closely with the modern and standardized custom root roles
that were recently developed. They mostly use the same components.

There are still more things we want to improve and unify, but we've left
some of that out of this PR due to PR size concerns.
2023-06-19 09:41:40 +01:00
Jaanus Sellin
60f4ce31f7
fix: usage of default strategy (#3995) 2023-06-19 11:31:08 +03:00
Jaanus Sellin
f7b0f0e410
fix: demo to use new query param (#4000) 2023-06-19 11:17:40 +03:00
Mateusz Kwasniewski
4035327d56
test: playground env table display (#3989) 2023-06-16 13:49:17 +02:00
Mateusz Kwasniewski
ce6ff2578a
fix: can review CR with skip change request (#3998) 2023-06-16 13:36:23 +02:00
Ivar Conradi Østhus
dcac61e4d9
fix: add trial expired warning for enterprise (#3997)
Adds the trial expired warning for enterprise as well.
2023-06-16 13:35:24 +02:00
Nuno Góis
58607f7f48
refactor: address custom root roles PR comments (#3994)
https://linear.app/unleash/issue/2-1135/address-3975-pr-comments-by-refactoring-some-of-the-new-custom-root

This pull request addresses the majority of the comments raised in issue
#3975 and lays the groundwork for unifying roles. The idea is for
project roles to also be managed in the "Roles" tab, and several
components, such as `RoleForm` and the `useRoleForm` can potentially be
reused.

I'll leave the further investigation and implementation of unifying
roles to be addressed in a separate task.

As a mostly unrelated UI fix, this also adds an arrow to the tooltip in
the `RoleBadge` component.
2023-06-15 14:03:47 +01:00
Mateusz Kwasniewski
c7ff3b472e
feat: Virtualized table with parent ref (#3993) 2023-06-15 14:11:04 +02:00
Tymoteusz Czech
221e3218df
fix: column initial state for project features (#3983) 2023-06-15 14:39:58 +03:00
Tymoteusz Czech
06f9e71f39
fix: show environment reorder handle (#3990)
## About the changes
Handle icon for reordering environments was not showing up.

**Before:**

![image](https://github.com/Unleash/unleash/assets/2625371/977cdda4-6cf2-4acf-affc-f812907bb543)

**After**

![image](https://github.com/Unleash/unleash/assets/2625371/ce495682-5366-4d31-8f5d-1601949d5089)
2023-06-15 13:39:22 +02:00
Jaanus Sellin
6e374be790
feat: strategy tooltip grouping and default (#3986) 2023-06-15 14:29:37 +03:00
Tymoteusz Czech
e0ed2fb830
fix: table imports (#3982)
## About the changes
Quick fix for build warnings on frontend - prevent circular
dependencies.
2023-06-15 13:02:14 +02:00
andreas-unleash
650f6cc857
feat: Advanced playground table (#3978)
<!-- 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! ❤️ -->
Implements the Advanced Playground Table

## 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. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-1007](https://linear.app/unleash/issue/1-1007/env-aware-results-table)

<!-- (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? -->


![Screenshot 2023-06-14 at 15 04
08](https://github.com/Unleash/unleash/assets/104830839/2f76d6f5-f92b-4586-bb4b-265f26eeb836)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-15 09:29:31 +00:00
Mateusz Kwasniewski
9853aa0217
feat:playground environment table (#3985) 2023-06-15 09:56:13 +02:00
Nuno Góis
bb026c0ba1
feat: custom root roles (#3975)
## About the changes
Implements custom root roles, encompassing a lot of different areas of
the project, and slightly refactoring the current roles logic. It
includes quite a clean up.

This feature itself is behind a flag: `customRootRoles`

This feature covers root roles in:
 - Users;
 - Service Accounts;
 - Groups;

Apologies in advance. I may have gotten a bit carried away 🙈 

### Roles

We now have a new admin tab called "Roles" where we can see all root
roles and manage custom ones. We are not allowed to edit or remove
*predefined* roles.

![image](https://github.com/Unleash/unleash/assets/14320932/1ad8695c-8c3f-440d-ac32-39746720d588)
This meant slightly pushing away the existing roles to `project-roles`
instead. One idea we want to explore in the future is to unify both
types of roles in the UI instead of having 2 separate tabs. This
includes modernizing project roles to fit more into our current design
and decisions.

Hovering the permissions cell expands detailed information about the
role:

![image](https://github.com/Unleash/unleash/assets/14320932/81c4aae7-8b4d-4cb4-92d1-8f1bc3ef1f2a)

### Create and edit role

Here's how the role form looks like (create / edit):

![image](https://github.com/Unleash/unleash/assets/14320932/85baec29-bb10-48c5-a207-b3e9a8de838a)
Here I categorized permissions so it's easier to visualize and manage
from a UX perspective.

I'm using the same endpoint as before. I tried to unify the logic and
get rid of the `projectRole` specific hooks. What distinguishes custom
root roles from custom project roles is the extra `root-custom` type we
see on the payload. By default we assume `custom` (custom project role)
instead, which should help in terms of backwards compatibility.

### Delete role

When we delete a custom role we try to help the end user make an
informed decision by listing all the entities which currently use this
custom root role:

![image](https://github.com/Unleash/unleash/assets/14320932/352ed529-76be-47a8-88da-5e924fb191d4)
~~As mentioned in the screenshot, when deleting a custom role, we demote
all entities associated with it to the predefined `Viewer` role.~~
**EDIT**: Apparently we currently block this from the API
(access-service deleteRole) with a message:

![image](https://github.com/Unleash/unleash/assets/14320932/82a8e50f-8dc5-4c18-a2ba-54e2ae91b91c)
What should the correct behavior be?

### Role selector

I added a new easy-to-use role selector component that is present in:
 - Users 

![image](https://github.com/Unleash/unleash/assets/14320932/76953139-7fb6-437e-b3fa-ace1d9187674)
 - Service Accounts

![image](https://github.com/Unleash/unleash/assets/14320932/2b80bd55-9abb-4883-b715-15650ae752ea)
- Groups

![image](https://github.com/Unleash/unleash/assets/14320932/ab438f7c-2245-4779-b157-2da1689fe402)

### Role description

I also added a new role description component that you can see below the
dropdown in the selector component, but it's also used to better
describe each role in the respective tables:

![image](https://github.com/Unleash/unleash/assets/14320932/a3eecac1-2a34-4500-a68c-e3f62ebfa782)

I'm not listing all the permissions of predefined roles. Those simply
show the description in the tooltip:

![image](https://github.com/Unleash/unleash/assets/14320932/7e5b2948-45f0-4472-8311-bf533409ba6c)

### Role badge

Groups is a bit different, since it uses a list of cards, so I added yet
another component - Role badge:

![image](https://github.com/Unleash/unleash/assets/14320932/1d62c3db-072a-4c97-b86f-1d8ebdd3523e)

I'm using this same component on the profile tab:

![image](https://github.com/Unleash/unleash/assets/14320932/214272db-a828-444e-8846-4f39b9456bc6)

## Discussion points
- Are we being defensive enough with the use of the flag? Should we
cover more?
 - Are we breaking backwards compatibility in any way?
 - What should we do when removing a role? Block or demote?
- Maybe some existing permission-related issues will surface with this
change: Are we being specific enough with our permissions? A lot of
places are simply checking for `ADMIN`;
- We may want to get rid of the API roles coupling we have with the
users and SAs and instead use the new hooks (e.g. `useRoles`)
explicitly;
 - We should update the docs;
- Maybe we could allow the user to add a custom role directly from the
role selector component;

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-06-14 14:40:40 +01:00
Mateusz Kwasniewski
1bd182d02a
chore: upgrade orval types (#3981) 2023-06-14 14:40:24 +02:00
Jaanus Sellin
b91b7276c5
feat: split strategies table into two with new design (#3969) 2023-06-14 09:10:04 +03:00
Jaanus Sellin
41370be591
feat: update predefined strategies tooltip (#3964) 2023-06-14 08:46:15 +03:00
renovate[bot]
ec8a03bcf4
chore(deps): update dependency @uiw/react-codemirror to v4.21.1 (#3963)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.20.2` ->
`4.21.1`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.20.2/4.21.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.1/compatibility-slim/4.20.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.1/confidence-slim/4.20.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror</summary>

###
[`v4.21.1`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.1)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.0...v4.21.1)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.1/file/README.md)

Documentation v4.21.1:
https://raw.githack.com/uiwjs/react-codemirror/194eaff/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.0...v4.21.1

```shell
npm i @&#8203;uiw/react-codemirror@4.21.1
```

- 🌍 website(deps): update devDependencies.
[`8a5c149`](https://togithub.com/uiwjs/react-codemirror/commit/8a5c149)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix Original/Modified props issue.
([#&#8203;515](https://togithub.com/uiwjs/react-codemirror/issues/515))
[`2a3efaf`](https://togithub.com/uiwjs/react-codemirror/commit/2a3efaf)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.0`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.0)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.4...v4.21.0)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.0/file/README.md)

Documentation v4.21.0:
https://raw.githack.com/uiwjs/react-codemirror/cdfb457/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.4...v4.21.0

```shell
npm i @&#8203;uiw/react-codemirror@4.21.0
```

- 📖 doc(codemirror-themes-all): update document.
[`f01d52b`](https://togithub.com/uiwjs/react-codemirror/commit/f01d52b)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(codemirror-merge): add theme/ref props.
([#&#8203;515](https://togithub.com/uiwjs/react-codemirror/issues/515))
[`c608dd3`](https://togithub.com/uiwjs/react-codemirror/commit/c608dd3)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.20.4`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.4)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.3...v4.20.4)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.4/file/README.md)

Documentation v4.20.4:
https://raw.githack.com/uiwjs/react-codemirror/294f246/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.3...v4.20.4

```shell
npm i @&#8203;uiw/react-codemirror@4.20.4
```

- 🌍 website: update router link.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`f8f65af`](https://togithub.com/uiwjs/react-codemirror/commit/f8f65af)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update router link.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`54a6882`](https://togithub.com/uiwjs/react-codemirror/commit/54a6882)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(langs): add more langs support.
[`7a3fdda`](https://togithub.com/uiwjs/react-codemirror/commit/7a3fdda)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.20.3`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.3)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.2...v4.20.3)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.3/file/README.md)

Documentation v4.20.3:
https://raw.githack.com/uiwjs/react-codemirror/655a470/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.2...v4.20.3

```shell
npm i @&#8203;uiw/react-codemirror@4.20.3
```

- 🌍 website: update example.
[`7d69894`](https://togithub.com/uiwjs/react-codemirror/commit/7d69894)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update example.
[`250cf04`](https://togithub.com/uiwjs/react-codemirror/commit/250cf04)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(merge): fix extensions props issue.
[`edef72d`](https://togithub.com/uiwjs/react-codemirror/commit/edef72d)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 15:11:05 +00:00
renovate[bot]
1122a54e22
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.1 (#3960)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

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://togithub.com/uiwjs/react-codemirror)) | [`4.20.2` ->
`4.21.1`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.20.2/4.21.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/compatibility-slim/4.20.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/confidence-slim/4.20.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror</summary>

###
[`v4.21.1`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.1)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.0...v4.21.1)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.1/file/README.md)

Documentation v4.21.1:
https://raw.githack.com/uiwjs/react-codemirror/194eaff/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.0...v4.21.1

```shell
npm i @&#8203;uiw/react-codemirror@4.21.1
```

- 🌍 website(deps): update devDependencies.
[`8a5c149`](https://togithub.com/uiwjs/react-codemirror/commit/8a5c149)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix Original/Modified props issue.
([#&#8203;515](https://togithub.com/uiwjs/react-codemirror/issues/515))
[`2a3efaf`](https://togithub.com/uiwjs/react-codemirror/commit/2a3efaf)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.0`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.0)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.4...v4.21.0)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.0/file/README.md)

Documentation v4.21.0:
https://raw.githack.com/uiwjs/react-codemirror/cdfb457/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.4...v4.21.0

```shell
npm i @&#8203;uiw/react-codemirror@4.21.0
```

- 📖 doc(codemirror-themes-all): update document.
[`f01d52b`](https://togithub.com/uiwjs/react-codemirror/commit/f01d52b)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(codemirror-merge): add theme/ref props.
([#&#8203;515](https://togithub.com/uiwjs/react-codemirror/issues/515))
[`c608dd3`](https://togithub.com/uiwjs/react-codemirror/commit/c608dd3)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.20.4`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.4)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.3...v4.20.4)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.4/file/README.md)

Documentation v4.20.4:
https://raw.githack.com/uiwjs/react-codemirror/294f246/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.3...v4.20.4

```shell
npm i @&#8203;uiw/react-codemirror@4.20.4
```

- 🌍 website: update router link.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`f8f65af`](https://togithub.com/uiwjs/react-codemirror/commit/f8f65af)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update router link.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`54a6882`](https://togithub.com/uiwjs/react-codemirror/commit/54a6882)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(langs): add more langs support.
[`7a3fdda`](https://togithub.com/uiwjs/react-codemirror/commit/7a3fdda)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.20.3`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.3)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.2...v4.20.3)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.3/file/README.md)

Documentation v4.20.3:
https://raw.githack.com/uiwjs/react-codemirror/655a470/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.2...v4.20.3

```shell
npm i @&#8203;uiw/react-codemirror@4.20.3
```

- 🌍 website: update example.
[`7d69894`](https://togithub.com/uiwjs/react-codemirror/commit/7d69894)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update example.
[`250cf04`](https://togithub.com/uiwjs/react-codemirror/commit/250cf04)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(merge): fix extensions props issue.
[`edef72d`](https://togithub.com/uiwjs/react-codemirror/commit/edef72d)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 20:09:18 +00:00
Jaanus Sellin
4a2867bd78
feat: context/segment usage plausible (#3956) 2023-06-12 12:41:03 +03:00
Mateusz Kwasniewski
7b8b6bceaf
feat: walking skeleton of the advanced playground (#3949) 2023-06-12 11:01:52 +02:00
Jaanus Sellin
9f0d94287e
feat: context field usage frontend (#3938) 2023-06-12 10:55:58 +03:00
renovate[bot]
dbb95ceed4
chore(deps): update dependency orval to v6.16.0 (#3943)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [orval](https://togithub.com/anymaniax/orval) | [`6.15.0` ->
`6.16.0`](https://renovatebot.com/diffs/npm/orval/6.15.0/6.16.0) |
[![age](https://badges.renovateapi.com/packages/npm/orval/6.16.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/orval/6.16.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/orval/6.16.0/compatibility-slim/6.15.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/orval/6.16.0/confidence-slim/6.15.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>anymaniax/orval</summary>

###
[`v6.16.0`](https://togithub.com/anymaniax/orval/releases/tag/v6.16.0):
Release 6.16.0

[Compare
Source](https://togithub.com/anymaniax/orval/compare/v6.15.0...v6.16.0)

##### Bug Fixes

- **core:** file parsing handling esnext correctly
([d415077](d415077b4b))

##### Features

- **query:** add useMutation options
([2b2e2b7](2b2e2b72bf))
- **zod:** add nullable & nullish to output
([#&#8203;856](https://togithub.com/anymaniax/orval/issues/856))
([4e73c03](4e73c03a0f))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 12:34:16 +00:00
renovate[bot]
209017e421
chore(deps): update dependency tss-react to v4.8.6 (#3931)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tss-react](https://www.tss-react.dev)
([source](https://togithub.com/garronej/tss-react)) | [`4.8.4` ->
`4.8.6`](https://renovatebot.com/diffs/npm/tss-react/4.8.4/4.8.6) |
[![age](https://badges.renovateapi.com/packages/npm/tss-react/4.8.6/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/tss-react/4.8.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/tss-react/4.8.6/compatibility-slim/4.8.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/tss-react/4.8.6/confidence-slim/4.8.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>garronej/tss-react</summary>

###
[`v4.8.6`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.6)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.8.5...v4.8.6)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.8.5...v4.8.6

###
[`v4.8.5`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.5)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.8.4...v4.8.5)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.8.4...v4.8.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 08:34:27 +00:00
andreas-unleash
69e1c73db1
fix: only show simple tag type if there are no tag types in the server (#3919)
<!-- 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! ❤️ -->
Fixes `simple` tag type still visible in dropdown even after deleted
## 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. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-997](https://linear.app/unleash/issue/1-997/simple-tag-type-still-visible-in-dropdown-after-deletion)

<!-- (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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-09 09:59:27 +03:00
renovate[bot]
69645f7f37
chore(deps): update dependency vitest to v0.31.4 (#3932)
[![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) | [`0.31.1` ->
`0.31.4`](https://renovatebot.com/diffs/npm/vitest/0.31.1/0.31.4) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/compatibility-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/confidence-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4)

#####    🚀 Features

- Enable experimentalOptimizer  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3413](https://togithub.com/vitest-dev/vitest/issues/3413)
[<samp>(5a894)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a894aa2)

#####    🐞 Bug Fixes

- **vite-node**: Deps.inline doesn't work  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3485](https://togithub.com/vitest-dev/vitest/issues/3485)
[<samp>(be930)</samp>](https://togithub.com/vitest-dev/vitest/commit/be93032f)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3)

#####    🚀 Features

- Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3471](https://togithub.com/vitest-dev/vitest/issues/3471)
[<samp>(393bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/393bf60c)

#####    🐞 Bug Fixes

- **logger**: Print unhandled errors before summary  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3474](https://togithub.com/vitest-dev/vitest/issues/3474)
[<samp>(4c9a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/4c9a7d58)
- **runner**: Suite options do not propagate to nested suites (fix:
[#&#8203;3467](https://togithub.com/vitest-dev/vitest/issues/3467))  - 
by [@&#8203;xsjcTony](https://togithub.com/xsjcTony) in
[https://github.com/vitest-dev/vitest/issues/3473](https://togithub.com/vitest-dev/vitest/issues/3473)
and
[https://github.com/vitest-dev/vitest/issues/3467](https://togithub.com/vitest-dev/vitest/issues/3467)
[<samp>(9fb9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fb9dacb)
- **vite-node**: Clear importers when invalidating module  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3475](https://togithub.com/vitest-dev/vitest/issues/3475)
[<samp>(add29)</samp>](https://togithub.com/vitest-dev/vitest/commit/add29c86)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2)

#####    🚀 Features

- Throw error if using inline snapshot inside of `test.each` or
`describe.each`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3360](https://togithub.com/vitest-dev/vitest/issues/3360)
[<samp>(7c2f7)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c2f7088)
- Pass down meta information to Node.js process  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3449](https://togithub.com/vitest-dev/vitest/issues/3449)
[<samp>(e39ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/e39adea8)
- **coverage**: Add `reportOnFailure` option  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3453](https://togithub.com/vitest-dev/vitest/issues/3453)
[<samp>(1988f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1988fcb4)
- **dev**: Add moduleDirectories option to the vitest config  -  by
[@&#8203;fooddilsn](https://togithub.com/fooddilsn) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3337](https://togithub.com/vitest-dev/vitest/issues/3337)
[<samp>(b3602)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3602bcc)

#####    🐞 Bug Fixes

- Don't print empty diff  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3437](https://togithub.com/vitest-dev/vitest/issues/3437)
[<samp>(32b53)</samp>](https://togithub.com/vitest-dev/vitest/commit/32b5361f)
- Don't restore methods in automocked dependencies  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3438](https://togithub.com/vitest-dev/vitest/issues/3438)
[<samp>(d1afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1afd262)
- Dot reporter scrollback buffer spam  -  by
[@&#8203;gtm-nayan](https://togithub.com/gtm-nayan) in
[https://github.com/vitest-dev/vitest/issues/3415](https://togithub.com/vitest-dev/vitest/issues/3415)
[<samp>(e6792)</samp>](https://togithub.com/vitest-dev/vitest/commit/e6792a94)
- Gracefully exit when first `SIGINT` is received  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3407](https://togithub.com/vitest-dev/vitest/issues/3407)
[<samp>(a2cc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a2cc2b38)
- `rejects` & `resolves` breaks with thenable objects  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/3456](https://togithub.com/vitest-dev/vitest/issues/3456)
[<samp>(4e996)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e996ae5)
- Prevent `birpc` timeouts when `Math.random` mock is not restored  - 
by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3460](https://togithub.com/vitest-dev/vitest/issues/3460)
[<samp>(cd5d5)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd5d58b7)
- Assertion diff message now handle non writable property correctly  - 
by [@&#8203;PCreations](https://togithub.com/PCreations) in
[https://github.com/vitest-dev/vitest/issues/3422](https://togithub.com/vitest-dev/vitest/issues/3422)
[<samp>(f75ab)</samp>](https://togithub.com/vitest-dev/vitest/commit/f75ab650)
- Extend logging of process timeout errors  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3452](https://togithub.com/vitest-dev/vitest/issues/3452)
[<samp>(42643)</samp>](https://togithub.com/vitest-dev/vitest/commit/42643904)
- Support requiring files with `less` extension  -  by
[@&#8203;rluvaton](https://togithub.com/rluvaton) in
[https://github.com/vitest-dev/vitest/issues/3465](https://togithub.com/vitest-dev/vitest/issues/3465)
[<samp>(4d045)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d045695)
-   **cli**:
- Improve colors used when erroring  -  by
[@&#8203;ghiscoding](https://togithub.com/ghiscoding) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3349](https://togithub.com/vitest-dev/vitest/issues/3349)
[<samp>(16681)</samp>](https://togithub.com/vitest-dev/vitest/commit/16681791)
-   **runner**:
- Suite timeout does not take effect  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3455](https://togithub.com/vitest-dev/vitest/issues/3455)
[<samp>(82547)</samp>](https://togithub.com/vitest-dev/vitest/commit/82547376)
-   **spy**:
- Don't print received calls if there are no calls  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3405](https://togithub.com/vitest-dev/vitest/issues/3405)
[<samp>(41e11)</samp>](https://togithub.com/vitest-dev/vitest/commit/41e11dad)
-   **typecheck**:
- Show tsc errors not related to test files  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3441](https://togithub.com/vitest-dev/vitest/issues/3441)
[<samp>(a1da5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1da5714)
-   **types**:
- Fix `PartialMock` with async TReturns  -  by
[@&#8203;ghry5](https://togithub.com/ghry5) in
[https://github.com/vitest-dev/vitest/issues/3462](https://togithub.com/vitest-dev/vitest/issues/3462)
[<samp>(b664d)</samp>](https://togithub.com/vitest-dev/vitest/commit/b664d42c)
-   **vite-node**:
- Circular import stuck  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing) in
[https://github.com/vitest-dev/vitest/issues/3418](https://togithub.com/vitest-dev/vitest/issues/3418)
[<samp>(632ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/632eef40)
- Coerce to string in import(dep)  -  by
[@&#8203;jcbhmr](https://togithub.com/jcbhmr) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3430](https://togithub.com/vitest-dev/vitest/issues/3430)
[<samp>(b72eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/b72ebdb9)
- Don't remove sourcemap string in source code  -  by
[@&#8203;rxliuli](https://togithub.com/rxliuli) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2918](https://togithub.com/vitest-dev/vitest/issues/2918)
and
[https://github.com/vitest-dev/vitest/issues/3379](https://togithub.com/vitest-dev/vitest/issues/3379)
[<samp>(02dc9)</samp>](https://togithub.com/vitest-dev/vitest/commit/02dc9ea7)
- Don't externalize "dist" by default  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3446](https://togithub.com/vitest-dev/vitest/issues/3446)
[<samp>(306b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/306b2337)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 04:34:43 +00:00
renovate[bot]
5c9a2dd699
chore(deps): update dependency @xmldom/xmldom to v0.8.8 (#3926)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@xmldom/xmldom](https://togithub.com/xmldom/xmldom) | [`0.8.7` ->
`0.8.8`](https://renovatebot.com/diffs/npm/@xmldom%2fxmldom/0.8.7/0.8.8)
|
[![age](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.8/compatibility-slim/0.8.7)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.8/confidence-slim/0.8.7)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>xmldom/xmldom</summary>

### [`v0.8.8`](https://togithub.com/xmldom/xmldom/releases/tag/0.8.8)

[Compare
Source](https://togithub.com/xmldom/xmldom/compare/0.8.7...0.8.8)

[Commits](https://togithub.com/xmldom/xmldom/compare/0.8.7...0.8.8)

##### Fixed

- extend list of HTML entities
[`#489`](https://togithub.com/xmldom/xmldom/pull/489)

Thank you, [@&#8203;zorkow](https://togithub.com/zorkow), for your
contributions

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 16:25:31 +00:00
renovate[bot]
5d0f3edf5e
chore(deps): update dependency @types/jest to v29.5.2 (#3923)
[![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/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`29.5.1` ->
`29.5.2`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.1/29.5.2)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.2/compatibility-slim/29.5.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.2/confidence-slim/29.5.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 11:39:33 +00:00
renovate[bot]
93f88534fc
chore(deps): update dependency @types/react to v17.0.60 (#3917)
[![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)) |
[`17.0.59` ->
`17.0.60`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.59/17.0.60)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.60/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.60/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.60/compatibility-slim/17.0.59)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.60/confidence-slim/17.0.59)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 11:08:17 +00:00
andreas-unleash
84a3a4cb61
fix: remove unneseccary constraint validation request (#3914)
<!-- 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! ❤️ -->
Fixes over-validating constraint
## 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. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-949](https://linear.app/unleash/issue/1-949/fix-overvalidating-constraint)

<!-- (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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-07 15:35:20 +03:00
renovate[bot]
81e461a53f
chore(deps): update dependency @codemirror/state to v6.2.1 (#3911)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@codemirror/state](https://togithub.com/codemirror/state) | [`6.2.0`
->
`6.2.1`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.2.0/6.2.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.2.1/compatibility-slim/6.2.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.2.1/confidence-slim/6.2.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>codemirror/state</summary>

###
[`v6.2.1`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#&#8203;621-2023-05-23)

[Compare
Source](https://togithub.com/codemirror/state/compare/6.2.0...6.2.1)

##### Bug fixes

Fix an issue that could cause `RangeSet.compare` to miss changes in the
set of active ranges around a point range.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 09:56:44 +00:00
renovate[bot]
bf99f6fa6e
chore(deps): update dependency vite to v4.3.9 [security] (#3905)
[![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](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.3.8` ->
`4.3.9`](https://renovatebot.com/diffs/npm/vite/4.3.8/4.3.9) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.9/compatibility-slim/4.3.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.9/confidence-slim/4.3.8)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2023-34092](https://togithub.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67)

### Summary
Vite Server Options (`server.fs.deny`) can be bypassed using double
forward-slash (//) allows any unauthenticated user to read file from the
Vite root-path of the application including the default [`fs.deny`
settings](https://vitejs.dev/config/server-options.html#server-fs-deny)
(`['.env', '.env.*', '*.{crt,pem}']`)

### Impact
Only users explicitly exposing the Vite dev server to the network (using
`--host` or [`server.host` config
option](https://vitejs.dev/config/server-options.html#server-host)) are
affected, and only files in the immediate Vite project root folder could
be exposed.

### Patches
Fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5
And in the latest minors of the previous two majors: vite@3.2.7,
vite@2.9.16

### Details
Vite serve the application with under the root-path of the project while
running on the dev mode. By default, vite using server options fs.deny
to protected the sensitive information of the file. But, with simply
double forward-slash, we can bypass this fs restriction.

### PoC
1. Create a new latest project of vite using any package manager. (here
I'm using react and vue templates for tested and pnpm)
2. Serve the application on dev mode using pnpm run dev.
3. Directly access the file from url using double forward-slash (`//`)
(e.g: `//.env`, `//.env.local`)
4. Server Options `fs.deny` restrict successfully bypassed.

Proof Images:

![proof-1](https://user-images.githubusercontent.com/30733517/241105344-6ecbc7f6-57b7-45c7-856a-6421a577dda1.png)

![proof-2](https://user-images.githubusercontent.com/30733517/241105349-ab9561e7-8aff-4f29-97f9-b784e673c122.png)

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

###
[`v4.3.9`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small439-2023-05-26-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.8...v4.3.9)

- fix: fs.deny with leading double slash
([#&#8203;13348](https://togithub.com/vitejs/vite/issues/13348))
([813ddd6](https://togithub.com/vitejs/vite/commit/813ddd6)), closes
[#&#8203;13348](https://togithub.com/vitejs/vite/issues/13348)
- fix: optimizeDeps during build and external ids
([#&#8203;13274](https://togithub.com/vitejs/vite/issues/13274))
([e3db771](https://togithub.com/vitejs/vite/commit/e3db771)), closes
[#&#8203;13274](https://togithub.com/vitejs/vite/issues/13274)
- fix(css): return deps if have no postcss plugins
([#&#8203;13344](https://togithub.com/vitejs/vite/issues/13344))
([28923fb](https://togithub.com/vitejs/vite/commit/28923fb)), closes
[#&#8203;13344](https://togithub.com/vitejs/vite/issues/13344)
- fix(legacy): style insert order
([#&#8203;13266](https://togithub.com/vitejs/vite/issues/13266))
([e444375](https://togithub.com/vitejs/vite/commit/e444375)), closes
[#&#8203;13266](https://togithub.com/vitejs/vite/issues/13266)
- chore: revert prev release commit
([2a30a07](https://togithub.com/vitejs/vite/commit/2a30a07))
- release: v4.3.9
([5c9abf7](https://togithub.com/vitejs/vite/commit/5c9abf7))
- docs: optimizeDeps.needsInterop
([#&#8203;13323](https://togithub.com/vitejs/vite/issues/13323))
([b34e79c](https://togithub.com/vitejs/vite/commit/b34e79c)), closes
[#&#8203;13323](https://togithub.com/vitejs/vite/issues/13323)
- test: respect commonjs options in playgrounds
([#&#8203;13273](https://togithub.com/vitejs/vite/issues/13273))
([19e8c68](https://togithub.com/vitejs/vite/commit/19e8c68)), closes
[#&#8203;13273](https://togithub.com/vitejs/vite/issues/13273)
- refactor: simplify SSR options' if statement
([#&#8203;13254](https://togithub.com/vitejs/vite/issues/13254))
([8013a66](https://togithub.com/vitejs/vite/commit/8013a66)), closes
[#&#8203;13254](https://togithub.com/vitejs/vite/issues/13254)
- perf(ssr): calculate stacktrace offset lazily
([#&#8203;13256](https://togithub.com/vitejs/vite/issues/13256))
([906c4c1](https://togithub.com/vitejs/vite/commit/906c4c1)), closes
[#&#8203;13256](https://togithub.com/vitejs/vite/issues/13256)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), 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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 16:08:48 +00:00
Mateusz Kwasniewski
44f752e714
feat: display strategy title and type (#3908) 2023-06-06 15:04:55 +02:00
Jaanus Sellin
0efaa346c4
feat: usage on context fields in list (#3906) 2023-06-06 13:59:41 +03:00
Mateusz Kwasniewski
5ec59c6e92
feat: change own password confirmation (#3894) 2023-06-05 11:58:25 +02:00
Mateusz Kwasniewski
ae1136075e
feat: autocomplete off on login password (#3901) 2023-06-05 11:29:38 +02:00
Mateusz Kwasniewski
b0a003ea58
feat: disable notifications flag (#3874) 2023-05-29 08:28:47 +02:00
Jaanus Sellin
5d269efa33
feat: segment usage ui test (#3872) 2023-05-28 21:26:09 +03:00
renovate[bot]
2815e38fb2
chore(deps): update dependency mermaid to v9.4.3 (#3601)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mermaid](https://togithub.com/mermaid-js/mermaid) | [`9.3.0` ->
`9.4.3`](https://renovatebot.com/diffs/npm/mermaid/9.3.0/9.4.3) |
[![age](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/compatibility-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/confidence-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mermaid-js/mermaid</summary>

###
[`v9.4.3`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.3)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.4.2...v9.4.3)

**Full Changelog**:
https://github.com/mermaid-js/mermaid/compare/v9.4.2...v9.4.3

Fixes imports for dayjs and cytoscape.

###
[`v9.4.2`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.2)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2)

#### What's Changed

- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4044](https://togithub.com/mermaid-js/mermaid/pull/4044)
- chore(deps): update dependency
[@&#8203;types/uuid](https://togithub.com/types/uuid) to v9 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4067](https://togithub.com/mermaid-js/mermaid/pull/4067)
- build(lint:fix): cache eslint in pnpm run lint:fix by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4073](https://togithub.com/mermaid-js/mermaid/pull/4073)
- chore(deps): update dependency rimraf to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4070](https://togithub.com/mermaid-js/mermaid/pull/4070)
- chore(deps): update dependency jsdom to v21 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4069](https://togithub.com/mermaid-js/mermaid/pull/4069)
- chore(deps): update timonvs/pr-labeler-action action to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4072](https://togithub.com/mermaid-js/mermaid/pull/4072)
- chore(deps): update actions/configure-pages action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4065](https://togithub.com/mermaid-js/mermaid/pull/4065)
- chore(deps): update actions/dependency-review-action action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4066](https://togithub.com/mermaid-js/mermaid/pull/4066)
- docs: minor fix on markdown by
[@&#8203;Jeff-Tian](https://togithub.com/Jeff-Tian) in
[https://github.com/mermaid-js/mermaid/pull/4015](https://togithub.com/mermaid-js/mermaid/pull/4015)
- Add logo to readme by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4076](https://togithub.com/mermaid-js/mermaid/pull/4076)
- Release 9.4.1 by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4095](https://togithub.com/mermaid-js/mermaid/pull/4095)
- chore(deps): update dependency vite to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4071](https://togithub.com/mermaid-js/mermaid/pull/4071)
- chore(deps): update dependency cypress to v12 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4068](https://togithub.com/mermaid-js/mermaid/pull/4068)
- fix(api): tree shaking package.json import by
[@&#8203;AielloChan](https://togithub.com/AielloChan) in
[https://github.com/mermaid-js/mermaid/pull/4101](https://togithub.com/mermaid-js/mermaid/pull/4101)

#### New Contributors

- [@&#8203;Jeff-Tian](https://togithub.com/Jeff-Tian) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4015](https://togithub.com/mermaid-js/mermaid/pull/4015)
- [@&#8203;AielloChan](https://togithub.com/AielloChan) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4101](https://togithub.com/mermaid-js/mermaid/pull/4101)

**Full Changelog**:
https://github.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2

###
[`v9.4.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.0)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0)

#### What's Changed

##### Features

- Timeline Diagram by
[@&#8203;ashishjain0512](https://togithub.com/ashishjain0512) in
[https://github.com/mermaid-js/mermaid/pull/4014](https://togithub.com/mermaid-js/mermaid/pull/4014)
- feat: Flowchart layout using elkjs by
[@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/3984](https://togithub.com/mermaid-js/mermaid/pull/3984)
- Layout v3 continued by [@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/3938](https://togithub.com/mermaid-js/mermaid/pull/3938)
- feat(er): add unique key by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/3917](https://togithub.com/mermaid-js/mermaid/pull/3917)
- feat: Set svg role to 'graphics-document document' by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[https://github.com/mermaid-js/mermaid/pull/3897](https://togithub.com/mermaid-js/mermaid/pull/3897)
- feat: Wait for rendering to finish before taking image snapshots by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/3995](https://togithub.com/mermaid-js/mermaid/pull/3995)
- feat(er): add multiple key constraints by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/4030](https://togithub.com/mermaid-js/mermaid/pull/4030)
- Add support for YAML frontmatter in Markdown docs (used for Vitepress
config) by [@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3962](https://togithub.com/mermaid-js/mermaid/pull/3962)
- feat(er): allow leading underscore for attributes name by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/4033](https://togithub.com/mermaid-js/mermaid/pull/4033)
- Add links to theme listing by
[@&#8203;BD103](https://togithub.com/BD103) in
[https://github.com/mermaid-js/mermaid/pull/3890](https://togithub.com/mermaid-js/mermaid/pull/3890)
- Adding support for parenthesis in the er diagram attribute types. by
[@&#8203;mahomedalid](https://togithub.com/mahomedalid) in
[https://github.com/mermaid-js/mermaid/pull/3892](https://togithub.com/mermaid-js/mermaid/pull/3892)
- Support parsing indented mermaid/YAML only from HTML by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3859](https://togithub.com/mermaid-js/mermaid/pull/3859)
- Parse style string and number font size values from configuration
inputs by [@&#8203;jonabc](https://togithub.com/jonabc) in
[https://github.com/mermaid-js/mermaid/pull/3993](https://togithub.com/mermaid-js/mermaid/pull/3993)
- Mindmaps: differentiate the colors between the root node and the first
section
[#&#8203;4017](https://togithub.com/mermaid-js/mermaid/issues/4017) by
[@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/4018](https://togithub.com/mermaid-js/mermaid/pull/4018)
- Add Box support in Sequence Diagrams by
[@&#8203;oleveau](https://togithub.com/oleveau) in
[https://github.com/mermaid-js/mermaid/pull/3965](https://togithub.com/mermaid-js/mermaid/pull/3965)

##### Breaking changes

- Mind map and timeline diagrams are lazy loaded by mermaid. In order to
use these diagrams you need to use the renderAsync method of rendering.
The
[@&#8203;mermaid-js/mermaid-mindmap](https://togithub.com/mermaid-js/mermaid-mindmap)
package is deprecated by this.

##### Documentation

- doc: remove links from atom.io; add note Atom has been archived by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[https://github.com/mermaid-js/mermaid/pull/3899](https://togithub.com/mermaid-js/mermaid/pull/3899)
- docs(README.zh-CN): fix book image src by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3920](https://togithub.com/mermaid-js/mermaid/pull/3920)
- docs: fix typo by [@&#8203;Foo-x](https://togithub.com/Foo-x) in
[https://github.com/mermaid-js/mermaid/pull/3925](https://togithub.com/mermaid-js/mermaid/pull/3925)
- docs: update navbar by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/3906](https://togithub.com/mermaid-js/mermaid/pull/3906)
- docs: fix text overflow by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/3907](https://togithub.com/mermaid-js/mermaid/pull/3907)
- docs: Remove duplicate example in ER-diagram documentation by
[@&#8203;guilhermgonzaga](https://togithub.com/guilhermgonzaga) in
[https://github.com/mermaid-js/mermaid/pull/3964](https://togithub.com/mermaid-js/mermaid/pull/3964)
- Docs: Too many `primaryBorderColor` field by
[@&#8203;LiHowe](https://togithub.com/LiHowe) in
[https://github.com/mermaid-js/mermaid/pull/3986](https://togithub.com/mermaid-js/mermaid/pull/3986)
- docs(sequenceDiagram): subvert prettification of arrow types by
[@&#8203;cakemanny](https://togithub.com/cakemanny) in
[https://github.com/mermaid-js/mermaid/pull/3988](https://togithub.com/mermaid-js/mermaid/pull/3988)
- Add Swimm to the list of integrations by
[@&#8203;Omerr](https://togithub.com/Omerr) in
[https://github.com/mermaid-js/mermaid/pull/3936](https://togithub.com/mermaid-js/mermaid/pull/3936)
- Website/homepage updates by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/3945](https://togithub.com/mermaid-js/mermaid/pull/3945)
- Update sequenceDiagram.md to include line break by
[@&#8203;Odogwudozilla](https://togithub.com/Odogwudozilla) in
[https://github.com/mermaid-js/mermaid/pull/3960](https://togithub.com/mermaid-js/mermaid/pull/3960)
- Support GitHub Flavored Markdown in markdown documentation by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3954](https://togithub.com/mermaid-js/mermaid/pull/3954)
- Update integrations.md by
[@&#8203;Barry1](https://togithub.com/Barry1) in
[https://github.com/mermaid-js/mermaid/pull/4011](https://togithub.com/mermaid-js/mermaid/pull/4011)
- docs(readme): update broken twitter badge by
[@&#8203;LeoDog896](https://togithub.com/LeoDog896) in
[https://github.com/mermaid-js/mermaid/pull/4032](https://togithub.com/mermaid-js/mermaid/pull/4032)
- Update mindmap.md by [@&#8203;GavinPen](https://togithub.com/GavinPen)
in
[https://github.com/mermaid-js/mermaid/pull/4042](https://togithub.com/mermaid-js/mermaid/pull/4042)
- Showcase section to the docs - keepings docs up to date by
[@&#8203;Omerr](https://togithub.com/Omerr) in
[https://github.com/mermaid-js/mermaid/pull/4055](https://togithub.com/mermaid-js/mermaid/pull/4055)

##### Bug Fixes

- fix(docs): remove duplicate section by
[@&#8203;Joxtacy](https://togithub.com/Joxtacy) in
[https://github.com/mermaid-js/mermaid/pull/3908](https://togithub.com/mermaid-js/mermaid/pull/3908)
- fix: Typescript error in usage by
[@&#8203;tommoor](https://togithub.com/tommoor) in
[https://github.com/mermaid-js/mermaid/pull/3914](https://togithub.com/mermaid-js/mermaid/pull/3914)
- fix: dev server watch mode by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/3904](https://togithub.com/mermaid-js/mermaid/pull/3904)
- fix(er): switch to deterministic UUIDs in ER by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3916](https://togithub.com/mermaid-js/mermaid/pull/3916)
- fixed Composition arrow by
[@&#8203;Frank-Mayer](https://togithub.com/Frank-Mayer) in
[https://github.com/mermaid-js/mermaid/pull/3930](https://togithub.com/mermaid-js/mermaid/pull/3930)
- fix(generic): fix generic type detection by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/3921](https://togithub.com/mermaid-js/mermaid/pull/3921)
- fix typos accessing techn property in drawC4Shape function by
[@&#8203;nekikara](https://togithub.com/nekikara) in
[https://github.com/mermaid-js/mermaid/pull/3943](https://togithub.com/mermaid-js/mermaid/pull/3943)
- fix(deps): update dependency dompurify to v2.4.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3977](https://togithub.com/mermaid-js/mermaid/pull/3977)
- Fix nonstandard syntax by
[@&#8203;atmikeguo](https://togithub.com/atmikeguo) in
[https://github.com/mermaid-js/mermaid/pull/3972](https://togithub.com/mermaid-js/mermaid/pull/3972)
- Fix failing tests due to semantic merge conflict by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3985](https://togithub.com/mermaid-js/mermaid/pull/3985)
- fix(deps): update dependency dagre-d3-es to v7.0.6 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3996](https://togithub.com/mermaid-js/mermaid/pull/3996)
-
fix([#&#8203;4003](https://togithub.com/mermaid-js/mermaid/issues/4003)):
Remove unhandled promises by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4004](https://togithub.com/mermaid-js/mermaid/pull/4004)
- Bug/3858 \[state] trailing whitespace in ids for named state container
by [@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[https://github.com/mermaid-js/mermaid/pull/3902](https://togithub.com/mermaid-js/mermaid/pull/3902)
- fix: moment-mini default exporter by
[@&#8203;emersonbottero](https://togithub.com/emersonbottero) in
[https://github.com/mermaid-js/mermaid/pull/4034](https://togithub.com/mermaid-js/mermaid/pull/4034)
- fix(deps): update dependency dagre-d3-es to v7.0.8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4058](https://togithub.com/mermaid-js/mermaid/pull/4058)
- bugfix: add missing d3 curves to flowchart and docs by
[@&#8203;natasha-jarus](https://togithub.com/natasha-jarus) in
[https://github.com/mermaid-js/mermaid/pull/4038](https://togithub.com/mermaid-js/mermaid/pull/4038)
- Bug/3865 C4Context: $borderColor has no effect by
[@&#8203;nekikara](https://togithub.com/nekikara) in
[https://github.com/mermaid-js/mermaid/pull/3947](https://togithub.com/mermaid-js/mermaid/pull/3947)
- Mindmaps: Handling rows with only spaces in them
([#&#8203;4012](https://togithub.com/mermaid-js/mermaid/issues/4012)) by
[@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/4013](https://togithub.com/mermaid-js/mermaid/pull/4013)

##### Chores

- ci: disable checking twitter links by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3973](https://togithub.com/mermaid-js/mermaid/pull/3973)
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3905](https://togithub.com/mermaid-js/mermaid/pull/3905)
- chore(deps): update pnpm to v7.18.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3929](https://togithub.com/mermaid-js/mermaid/pull/3929)
- chore(pr): add documentation task in PR template by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/3935](https://togithub.com/mermaid-js/mermaid/pull/3935)
- (chore) Docs: add tag to produce only a diagram, not code example by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[https://github.com/mermaid-js/mermaid/pull/3946](https://togithub.com/mermaid-js/mermaid/pull/3946)
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3944](https://togithub.com/mermaid-js/mermaid/pull/3944)
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3997](https://togithub.com/mermaid-js/mermaid/pull/3997)
- chore(deps): update pnpm to v7.25.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4024](https://togithub.com/mermaid-js/mermaid/pull/4024)
- build(lint): cache prettier on `pnpm run lint` by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4035](https://togithub.com/mermaid-js/mermaid/pull/4035)
- Cache `eslint` in pre-commit script (makes `git commit` 5x faster) by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4057](https://togithub.com/mermaid-js/mermaid/pull/4057)

#### New Contributors

- [@&#8203;Joxtacy](https://togithub.com/Joxtacy) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3908](https://togithub.com/mermaid-js/mermaid/pull/3908)
- [@&#8203;BD103](https://togithub.com/BD103) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3890](https://togithub.com/mermaid-js/mermaid/pull/3890)
- [@&#8203;mahomedalid](https://togithub.com/mahomedalid) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/3892](https://togithub.com/mermaid-js/mermaid/pull/3892)
- [@&#8203;tomperr](https://togithub.com/tomperr) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3917](https://togithub.com/mermaid-js/mermaid/pull/3917)
- [@&#8203;Foo-x](https://togithub.com/Foo-x) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3925](https://togithub.com/mermaid-js/mermaid/pull/3925)
- [@&#8203;Frank-Mayer](https://togithub.com/Frank-Mayer) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/3930](https://togithub.com/mermaid-js/mermaid/pull/3930)
- [@&#8203;Omerr](https://togithub.com/Omerr) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3936](https://togithub.com/mermaid-js/mermaid/pull/3936)
- [@&#8203;nekikara](https://togithub.com/nekikara) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3943](https://togithub.com/mermaid-js/mermaid/pull/3943)
- [@&#8203;guilhermgonzaga](https://togithub.com/guilhermgonzaga) made
their first contribution in
[https://github.com/mermaid-js/mermaid/pull/3964](https://togithub.com/mermaid-js/mermaid/pull/3964)
- [@&#8203;Odogwudozilla](https://togithub.com/Odogwudozilla) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/3960](https://togithub.com/mermaid-js/mermaid/pull/3960)
- [@&#8203;atmikeguo](https://togithub.com/atmikeguo) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3972](https://togithub.com/mermaid-js/mermaid/pull/3972)
- [@&#8203;LiHowe](https://togithub.com/LiHowe) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3986](https://togithub.com/mermaid-js/mermaid/pull/3986)
- [@&#8203;cakemanny](https://togithub.com/cakemanny) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3988](https://togithub.com/mermaid-js/mermaid/pull/3988)
- [@&#8203;jonabc](https://togithub.com/jonabc) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3993](https://togithub.com/mermaid-js/mermaid/pull/3993)
- [@&#8203;MermaidChart](https://togithub.com/MermaidChart) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4013](https://togithub.com/mermaid-js/mermaid/pull/4013)
- [@&#8203;Barry1](https://togithub.com/Barry1) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4011](https://togithub.com/mermaid-js/mermaid/pull/4011)
- [@&#8203;LeoDog896](https://togithub.com/LeoDog896) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4032](https://togithub.com/mermaid-js/mermaid/pull/4032)
- [@&#8203;GavinPen](https://togithub.com/GavinPen) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4042](https://togithub.com/mermaid-js/mermaid/pull/4042)
- [@&#8203;oleveau](https://togithub.com/oleveau) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3965](https://togithub.com/mermaid-js/mermaid/pull/3965)
- [@&#8203;natasha-jarus](https://togithub.com/natasha-jarus) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4038](https://togithub.com/mermaid-js/mermaid/pull/4038)

**Full Changelog**:
https://github.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 15:19:28 +00:00
renovate[bot]
76b51f2931
chore(deps): update dependency eslint to v8.41.0 (#3883)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [eslint](https://eslint.org)
([source](https://togithub.com/eslint/eslint)) | [`8.40.0` ->
`8.41.0`](https://renovatebot.com/diffs/npm/eslint/8.40.0/8.41.0) |
[![age](https://badges.renovateapi.com/packages/npm/eslint/8.41.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.41.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/eslint/8.41.0/compatibility-slim/8.40.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.41.0/confidence-slim/8.40.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>eslint/eslint</summary>

### [`v8.41.0`](https://togithub.com/eslint/eslint/releases/tag/v8.41.0)

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.40.0...v8.41.0)

#### Features

-
[`880a431`](880a4317b9)
feat: change default ignore pattern to `**/node_modules/` in flat config
([#&#8203;17184](https://togithub.com/eslint/eslint/issues/17184))
(Milos Djermanovic)
-
[`8bf5505`](8bf550594f)
feat: expose `shouldUseFlatConfig`
([#&#8203;17169](https://togithub.com/eslint/eslint/issues/17169))
(Connor Prussin)

#### Bug Fixes

-
[`4f5440d`](4f5440db63)
fix: incorrect warning message for ignored dotfiles
([#&#8203;17196](https://togithub.com/eslint/eslint/issues/17196))
(Milos Djermanovic)
-
[`94da96c`](94da96cbf0)
fix: unify `LintMessage` type
([#&#8203;17076](https://togithub.com/eslint/eslint/issues/17076))
(Brandon Mills)
-
[`0c415cd`](0c415cda5d)
fix: validate `ignorePatterns` constructor option in `FlatESLint` class
([#&#8203;17139](https://togithub.com/eslint/eslint/issues/17139))
(Milos Djermanovic)
-
[`9682d66`](9682d669e4)
fix: switch `grapheme-splitter` to `graphemer`
([#&#8203;17160](https://togithub.com/eslint/eslint/issues/17160))
(fisker Cheung)

#### Documentation

-
[`7709b14`](7709b14e18)
docs: Update README (GitHub Actions Bot)
-
[`7f183e0`](7f183e0205)
docs: Update triage process description
([#&#8203;17157](https://togithub.com/eslint/eslint/issues/17157))
(Nicholas C. Zakas)
-
[`b68346b`](b68346b290)
docs: fix license to reflect relicensing of jshint
([#&#8203;17165](https://togithub.com/eslint/eslint/issues/17165))
(Stefan Bischof)

#### Chores

-
[`f43216a`](f43216a8c7)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).41.0
([#&#8203;17200](https://togithub.com/eslint/eslint/issues/17200))
(Milos Djermanovic)
-
[`95c3007`](95c300780a)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`ddc5291`](ddc5291deb)
chore: don't use deprecated `context` methods in `ast-utils` tests
([#&#8203;17194](https://togithub.com/eslint/eslint/issues/17194))
(Milos Djermanovic)
-
[`b1516db`](b1516db515)
chore: Fix return type of `findFlatConfigFile`
([#&#8203;17161](https://togithub.com/eslint/eslint/issues/17161))
(Milos Djermanovic)
-
[`918b0fd`](918b0fd217)
perf: Store indent descriptors in a plain array
([#&#8203;17148](https://togithub.com/eslint/eslint/issues/17148))
(Francesco Trotta)
-
[`4caa344`](4caa344495)
refactor: locateConfigFileToUse returns an Error object
([#&#8203;17159](https://togithub.com/eslint/eslint/issues/17159)) (唯然)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjEwMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 09:53:24 +00:00
renovate[bot]
144149d3a6
chore(deps): update dependency @uiw/react-codemirror to v4.20.2 (#3879)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.19.16` ->
`4.20.2`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.16/4.20.2)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.20.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.20.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.20.2/compatibility-slim/4.19.16)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.20.2/confidence-slim/4.19.16)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror</summary>

###
[`v4.20.2`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.2)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.1...v4.20.2)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.2/file/README.md)

Documentation v4.20.2:
https://raw.githack.com/uiwjs/react-codemirror/082c9bd/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.1...v4.20.2

```shell
npm i @&#8203;uiw/react-codemirror@4.20.2
```

- 🐞 fix(merge): fix onChange props issue.
([#&#8203;502](https://togithub.com/uiwjs/react-codemirror/issues/502))
[`523b2c1`](https://togithub.com/uiwjs/react-codemirror/commit/523b2c1)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update markdown preview.
[`ec88a44`](https://togithub.com/uiwjs/react-codemirror/commit/ec88a44)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.20.1`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.1)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.0...v4.20.1)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.1/file/README.md)

Documentation v4.20.1:
https://raw.githack.com/uiwjs/react-codemirror/4b7e680/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.0...v4.20.1

```shell
npm i @&#8203;uiw/react-codemirror@4.20.1
```

- 🐞 fix(merge): fix onChange props.
([#&#8203;502](https://togithub.com/uiwjs/react-codemirror/issues/502))
[`6708e6e`](https://togithub.com/uiwjs/react-codemirror/commit/6708e6e)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.20.0`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.0)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.19.16...v4.20.0)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.0/file/README.md)

Documentation v4.20.0:
https://raw.githack.com/uiwjs/react-codemirror/6eeb98c/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.16...v4.20.0

```shell
npm i @&#8203;uiw/react-codemirror@4.20.0
```

- 🌍 website: refactor the documentation website.
[`e79442e`](https://togithub.com/uiwjs/react-codemirror/commit/e79442e)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- ⛑ test: fix test case error.
[`e938690`](https://togithub.com/uiwjs/react-codemirror/commit/e938690)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 📖 doc: Fix broken theme editor link
([#&#8203;493](https://togithub.com/uiwjs/react-codemirror/issues/493))
[`d48bb95`](https://togithub.com/uiwjs/react-codemirror/commit/d48bb95)
[@&#8203;Bowen7](https://togithub.com/Bowen7)
- 🌟 feat(merge): add onChange props.
([#&#8203;502](https://togithub.com/uiwjs/react-codemirror/issues/502))
[`faf5b24`](https://togithub.com/uiwjs/react-codemirror/commit/faf5b24)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

```jsx
import CodeMirrorMerge from 'react-codemirror-merge';
const Original = CodeMirrorMerge.Original;
const Modified = CodeMirrorMerge.Modified;

<CodeMirrorMerge
  style={{ height: 300, overflow: 'auto' }}
>
  <Original
    value={originalCode}
    onChange={(value) => {
      console.log('value3:', value)
    }}
  />
  <Modified
    value={modifiedCode}
    onChange={(value) => {
      console.log('value3:', value)
    }}
  />
</CodeMirrorMerge>
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjEwMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-27 20:36:50 +00:00
renovate[bot]
ab11ce9886
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.20.2 (#3878)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

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://togithub.com/uiwjs/react-codemirror)) | [`4.19.16` ->
`4.20.2`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/4.20.2)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.20.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.20.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.20.2/compatibility-slim/4.19.16)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.20.2/confidence-slim/4.19.16)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror</summary>

###
[`v4.20.2`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.2)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.1...v4.20.2)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.2/file/README.md)

Documentation v4.20.2:
https://raw.githack.com/uiwjs/react-codemirror/082c9bd/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.1...v4.20.2

```shell
npm i @&#8203;uiw/react-codemirror@4.20.2
```

- 🐞 fix(merge): fix onChange props issue.
([#&#8203;502](https://togithub.com/uiwjs/react-codemirror/issues/502))
[`523b2c1`](https://togithub.com/uiwjs/react-codemirror/commit/523b2c1)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update markdown preview.
[`ec88a44`](https://togithub.com/uiwjs/react-codemirror/commit/ec88a44)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.20.1`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.1)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.20.0...v4.20.1)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.1/file/README.md)

Documentation v4.20.1:
https://raw.githack.com/uiwjs/react-codemirror/4b7e680/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.0...v4.20.1

```shell
npm i @&#8203;uiw/react-codemirror@4.20.1
```

- 🐞 fix(merge): fix onChange props.
([#&#8203;502](https://togithub.com/uiwjs/react-codemirror/issues/502))
[`6708e6e`](https://togithub.com/uiwjs/react-codemirror/commit/6708e6e)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.20.0`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.20.0)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.19.16...v4.20.0)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.20.0/file/README.md)

Documentation v4.20.0:
https://raw.githack.com/uiwjs/react-codemirror/6eeb98c/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.16...v4.20.0

```shell
npm i @&#8203;uiw/react-codemirror@4.20.0
```

- 🌍 website: refactor the documentation website.
[`e79442e`](https://togithub.com/uiwjs/react-codemirror/commit/e79442e)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- ⛑ test: fix test case error.
[`e938690`](https://togithub.com/uiwjs/react-codemirror/commit/e938690)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 📖 doc: Fix broken theme editor link
([#&#8203;493](https://togithub.com/uiwjs/react-codemirror/issues/493))
[`d48bb95`](https://togithub.com/uiwjs/react-codemirror/commit/d48bb95)
[@&#8203;Bowen7](https://togithub.com/Bowen7)
- 🌟 feat(merge): add onChange props.
([#&#8203;502](https://togithub.com/uiwjs/react-codemirror/issues/502))
[`faf5b24`](https://togithub.com/uiwjs/react-codemirror/commit/faf5b24)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

```jsx
import CodeMirrorMerge from 'react-codemirror-merge';
const Original = CodeMirrorMerge.Original;
const Modified = CodeMirrorMerge.Modified;

<CodeMirrorMerge
  style={{ height: 300, overflow: 'auto' }}
>
  <Original
    value={originalCode}
    onChange={(value) => {
      console.log('value3:', value)
    }}
  />
  <Modified
    value={modifiedCode}
    onChange={(value) => {
      console.log('value3:', value)
    }}
  />
</CodeMirrorMerge>
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjEwMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-27 11:16:15 +00:00
renovate[bot]
a4c475dddc
chore(deps): update dependency tss-react to v4.8.4 (#3877)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tss-react](https://www.tss-react.dev)
([source](https://togithub.com/garronej/tss-react)) | [`4.8.3` ->
`4.8.4`](https://renovatebot.com/diffs/npm/tss-react/4.8.3/4.8.4) |
[![age](https://badges.renovateapi.com/packages/npm/tss-react/4.8.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/tss-react/4.8.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/tss-react/4.8.4/compatibility-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/tss-react/4.8.4/confidence-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>garronej/tss-react</summary>

###
[`v4.8.4`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.4)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.8.3...v4.8.4)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.8.3...v4.8.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjEwMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-27 09:51:52 +00:00
renovate[bot]
8a6b85e103
chore(deps): update dependency vite to v4.3.8 (#3866)
[![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](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.3.7` ->
`4.3.8`](https://renovatebot.com/diffs/npm/vite/4.3.7/4.3.8) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.8/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.8/compatibility-slim/4.3.7)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.8/confidence-slim/4.3.7)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

###
[`v4.3.8`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small438-2023-05-18-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.7...v4.3.8)

- fix: avoid outdated module to crash in importAnalysis after restart
([#&#8203;13231](https://togithub.com/vitejs/vite/issues/13231))
([3609e79](https://togithub.com/vitejs/vite/commit/3609e79)), closes
[#&#8203;13231](https://togithub.com/vitejs/vite/issues/13231)
- fix(ssr): skip updateCjsSsrExternals if legacy flag disabled
([#&#8203;13230](https://togithub.com/vitejs/vite/issues/13230))
([13fc345](https://togithub.com/vitejs/vite/commit/13fc345)), closes
[#&#8203;13230](https://togithub.com/vitejs/vite/issues/13230)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-26 23:28:34 +00:00
andreas-unleash
89df3f364e
Fix: laggy toggles (#3873)
This PR removes the `disabled` state for the feature toggle env
switches.

This is what causes the lag from when you toggle the switch to when it
becomes available for actions again.


Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-05-26 16:42:42 +02:00
Jaanus Sellin
f73d36fda3
feat: add usage of segment in list (#3853) 2023-05-26 14:37:00 +03:00
Nuno Góis
959ac33905
fix: misc UI fixes mostly responsiveness related (#3868)
Includes:
 - https://linear.app/unleash/issue/2-1050/ui-fixes
 - https://linear.app/unleash/issue/2-1088/mobile-ui
 - https://linear.app/unleash/issue/2-1090/tablet-table

Which include things like:
 - zIndex adjustments;
 - Make the plans dialog more responsive;
 - Hide interactive demo guide on small screens;
 - Improve demo banner responsiveness;
 - Fix console error on `ResponsiveButton`;
 - Adjust sidebar header to be more consistent;
 
 

![image](https://github.com/Unleash/unleash/assets/14320932/e1fce811-a05a-42e6-abca-94789c9f3e37)![image](https://github.com/Unleash/unleash/assets/14320932/c7ce6528-25a6-4592-8c8a-aee765464873)

Co-authored-by @nicolaesocaciu
2023-05-25 20:28:08 +03:00
renovate[bot]
16209dabf4
chore(deps): update react-router monorepo to v6.11.2 (#3862)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router) |
[`6.11.1` ->
`6.11.2`](https://renovatebot.com/diffs/npm/react-router/6.11.1/6.11.2)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.11.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.11.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.11.2/compatibility-slim/6.11.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.11.2/confidence-slim/6.11.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.11.1` ->
`6.11.2`](https://renovatebot.com/diffs/npm/react-router-dom/6.11.1/6.11.2)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.2/compatibility-slim/6.11.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.2/confidence-slim/6.11.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v6.11.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#&#8203;6112)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.11.1...react-router@6.11.2)

##### Patch Changes

- Fix `basename` duplication in descendant `<Routes>` inside a
`<RouterProvider>`
([#&#8203;10492](https://togithub.com/remix-run/react-router/pull/10492))
-   Updated dependencies:
    -   `@remix-run/router@1.6.2`

</details>

<details>
<summary>remix-run/react-router (react-router-dom)</summary>

###
[`v6.11.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#&#8203;6112)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.11.1...react-router-dom@6.11.2)

##### Patch Changes

- Export `SetURLSearchParams` type
([#&#8203;10444](https://togithub.com/remix-run/react-router/pull/10444))
-   Updated dependencies:
    -   `react-router@6.11.2`
    -   `@remix-run/router@1.6.2`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-25 15:25:49 +02:00
renovate[bot]
ed4eff71fe
chore(deps): update dependency vitest to v0.31.1 (#3861)
[![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) | [`0.31.0` ->
`0.31.1`](https://renovatebot.com/diffs/npm/vitest/0.31.0/0.31.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1)

#####    🚀 Features

- **watch**: Press `r` should rerun current pattern tests  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing) and
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3305](https://togithub.com/vitest-dev/vitest/issues/3305)
[<samp>(69d27)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d27117)

#####    🐞 Bug Fixes

- Make sure thrown error is an object  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3298](https://togithub.com/vitest-dev/vitest/issues/3298)
[<samp>(a93be)</samp>](https://togithub.com/vitest-dev/vitest/commit/a93be56c)
- Remove duplicate type  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3303](https://togithub.com/vitest-dev/vitest/issues/3303)
[<samp>(5382e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5382e8b6)
- Throw an error, if tests are collected with a different vitest version
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3301](https://togithub.com/vitest-dev/vitest/issues/3301)
[<samp>(708b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/708b10fe)
- Support application/x-gzip metadata in html report  -  by
[@&#8203;mzanelee](https://togithub.com/mzanelee) and **Michael Lee** in
[https://github.com/vitest-dev/vitest/issues/3333](https://togithub.com/vitest-dev/vitest/issues/3333)
[<samp>(5bf7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5bf7eb6e)
- Correctly restore vi.fn implementation  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3341](https://togithub.com/vitest-dev/vitest/issues/3341)
[<samp>(2aff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/2aff8c5f)
- Display error message correctly  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3314](https://togithub.com/vitest-dev/vitest/issues/3314)
[<samp>(a5b3d)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5b3d78e)
- Exclude `cwd` from test name filter  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3353](https://togithub.com/vitest-dev/vitest/issues/3353)
[<samp>(324a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/324a9b54)
- Check error type before modifying it  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3385](https://togithub.com/vitest-dev/vitest/issues/3385)
[<samp>(c44d9)</samp>](https://togithub.com/vitest-dev/vitest/commit/c44d9912)
- `toMatchInlineSnapshot` fails when file path includes parentheses  - 
by [@&#8203;pacexy](https://togithub.com/pacexy) in
[https://github.com/vitest-dev/vitest/issues/3370](https://togithub.com/vitest-dev/vitest/issues/3370)
and
[https://github.com/vitest-dev/vitest/issues/3371](https://togithub.com/vitest-dev/vitest/issues/3371)
[<samp>(dcf13)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf1346a)
- Stop spying on a method, when it's restored  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3386](https://togithub.com/vitest-dev/vitest/issues/3386)
[<samp>(2cb1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb1a15a)
- Test repeats  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/3369](https://togithub.com/vitest-dev/vitest/issues/3369)
[<samp>(fb8fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/fb8fc7ab)
-   **browser**:
- Throw an error if test failed to load  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3390](https://togithub.com/vitest-dev/vitest/issues/3390)
[<samp>(b354b)</samp>](https://togithub.com/vitest-dev/vitest/commit/b354bc1c)
- Keep default export when rewriting exports  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3389](https://togithub.com/vitest-dev/vitest/issues/3389)
[<samp>(6501d)</samp>](https://togithub.com/vitest-dev/vitest/commit/6501d2e3)
-   **cli**:
- Improve cac errors when mixing boolean and dot notation  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3302](https://togithub.com/vitest-dev/vitest/issues/3302)
[<samp>(93fbd)</samp>](https://togithub.com/vitest-dev/vitest/commit/93fbd02d)
-   **reporter**:
- Prevent deleting test reports stored in coverage directory  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3331](https://togithub.com/vitest-dev/vitest/issues/3331)
[<samp>(ddbba)</samp>](https://togithub.com/vitest-dev/vitest/commit/ddbba396)
-   **typecheck**:
- Correctly resolve custom tsconfig path  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3342](https://togithub.com/vitest-dev/vitest/issues/3342)
[<samp>(c53ae)</samp>](https://togithub.com/vitest-dev/vitest/commit/c53ae079)
-   **vite-node**:
- Allow returning id not wrapped in promise  -  by
[@&#8203;danielroe](https://togithub.com/danielroe) in
[https://github.com/vitest-dev/vitest/issues/3312](https://togithub.com/vitest-dev/vitest/issues/3312)
[<samp>(9836c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9836ccb4)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-25 04:58:39 +00:00
renovate[bot]
7f907eb44c
chore(deps): update emotion monorepo to v11.11.0 (#3823)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@emotion/react](https://togithub.com/emotion-js/emotion/tree/main#readme)
([source](https://togithub.com/emotion-js/emotion)) | [`11.10.8` ->
`11.11.0`](https://renovatebot.com/diffs/npm/@emotion%2freact/11.10.8/11.11.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.11.0/compatibility-slim/11.10.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.11.0/confidence-slim/11.10.8)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@emotion/styled](https://togithub.com/emotion-js/emotion/tree/main#readme)
([source](https://togithub.com/emotion-js/emotion)) | [`11.10.8` ->
`11.11.0`](https://renovatebot.com/diffs/npm/@emotion%2fstyled/11.10.8/11.11.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@emotion%2fstyled/11.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@emotion%2fstyled/11.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@emotion%2fstyled/11.11.0/compatibility-slim/11.10.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@emotion%2fstyled/11.11.0/confidence-slim/11.10.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>emotion-js/emotion</summary>

###
[`v11.11.0`](https://togithub.com/emotion-js/emotion/releases/tag/%40emotion/styled%4011.11.0)

[Compare
Source](https://togithub.com/emotion-js/emotion/compare/@emotion/react@11.10.8...@emotion/react@11.11.0)

##### Minor Changes

- [#&#8203;3031](https://togithub.com/emotion-js/emotion/pull/3031)
[`336f3d50`](336f3d50fd)
Thanks [@&#8203;Andarist](https://togithub.com/Andarist)! - Added
support for cascade `@layer`s by updating the underlying parser
([stylis](https://togithub.com/thysultan/stylis)).

##### Patch Changes

- [#&#8203;3029](https://togithub.com/emotion-js/emotion/pull/3029)
[`eed5e6cf`](eed5e6cf00)
Thanks [@&#8203;Andarist](https://togithub.com/Andarist)! - Fixed
importing in Node ESM

- Updated dependencies
\[[`336f3d50`](336f3d50fd),
[`eed5e6cf`](eed5e6cf00)]:
-
[@&#8203;emotion/babel-plugin](https://togithub.com/emotion/babel-plugin)[@&#8203;11](https://togithub.com/11).11.0
-
[@&#8203;emotion/is-prop-valid](https://togithub.com/emotion/is-prop-valid)[@&#8203;1](https://togithub.com/1).2.1
-
[@&#8203;emotion/serialize](https://togithub.com/emotion/serialize)[@&#8203;1](https://togithub.com/1).1.2
-
[@&#8203;emotion/use-insertion-effect-with-fallbacks](https://togithub.com/emotion/use-insertion-effect-with-fallbacks)[@&#8203;1](https://togithub.com/1).0.1
-
[@&#8203;emotion/utils](https://togithub.com/emotion/utils)[@&#8203;1](https://togithub.com/1).2.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-25 00:50:38 +00:00
renovate[bot]
4b02e33bea
chore(deps): update dependency vite to v4.3.7 (#3860)
[![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](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.3.6` ->
`4.3.7`](https://renovatebot.com/diffs/npm/vite/4.3.6/4.3.7) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.7/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.7/compatibility-slim/4.3.6)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.7/confidence-slim/4.3.6)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

###
[`v4.3.7`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small437-2023-05-16-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.6...v4.3.7)

- fix: revert only watch .env files in envDir
([#&#8203;12587](https://togithub.com/vitejs/vite/issues/12587))
([#&#8203;13217](https://togithub.com/vitejs/vite/issues/13217))
([0fd4616](https://togithub.com/vitejs/vite/commit/0fd4616)), closes
[#&#8203;12587](https://togithub.com/vitejs/vite/issues/12587)
[#&#8203;13217](https://togithub.com/vitejs/vite/issues/13217)
- fix(assetImportMetaUrl): allow ternary operator in template literal
urls ([#&#8203;13121](https://togithub.com/vitejs/vite/issues/13121))
([d5d9a31](https://togithub.com/vitejs/vite/commit/d5d9a31)), closes
[#&#8203;13121](https://togithub.com/vitejs/vite/issues/13121)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-24 20:39:47 +00:00
andreas-unleash
1ec4fd06d2
fix: rollout not reflected correctly for default strategy (#3859)
<!-- 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. -->

<!-- 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-05-24 16:17:26 +03:00
andreas-unleash
46d5e507f4
fix: default strategy screen not loading (#3857)
<!-- 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! ❤️ -->

Fixes the default strategy modal.  

The bug was the placement of the route component to `edit`

## 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. -->

<!-- Does it close an issue? Multiple? -->
Closes #
https://linear.app/unleash/issue/1-965/fix-default-strategy-modal-re-render

<!-- (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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-05-24 15:02:56 +03:00
Nuno Góis
9f0de72e1a
fix: change password alert when password based login is disabled (#3856)
Accessing `/profile/change-password` directly would still allow you to
change your password on the UI when "password based login" is disabled.

This PR makes it so we show an alert in that scenario explaining why
you're not allowed to change your password.

We still allow users to change their password on the API level, but I
think that's fine. The UI should be consistent though.


![image](https://github.com/Unleash/unleash/assets/14320932/0406c773-7bc3-4519-83f8-9eddeb627e28)
2023-05-24 12:14:14 +01:00
Nuno Góis
ea057c0473
fix: profile should wait for loaded state before rendering (#3855)
Small change that makes it so that the profile page waits for the loaded
state before rendering.

E.g. Before this, there was a flash of the "change password" tab being
visible for a very short time before the auth settings loaded.
2023-05-24 10:33:40 +00:00
Nuno Góis
c0bcc50b28
fix: add confirmation to disable password login (#3829)
https://linear.app/unleash/issue/2-1071/prevent-users-from-disabling-password-authentication-when-there-are-no

Improves the behavior of disabling password based login by adding some
relevant information and a confirmation dialog with a warning. This felt
better than trying to disable the toggle, by still allowing the end
users to make the decision, except now it should be a properly informed
decision with confirmation.


![image](https://github.com/Unleash/unleash/assets/14320932/2ca754d8-cfa2-4fda-984d-0c34b89750f3)

- **Password based administrators**: Admin accounts that have a password
set;
- **Other administrators**: Other admin users that do not have a
password. May be SSO, but may also be users that did not set a password
yet;
- **Admin service accounts**: Service accounts that have the admin root
role. Depending on how you're using the SA this may not necessarily mean
locking yourself out of an admin account, especially if you secured its
token beforehand;
- **Admin API tokens**: Similar to the above. If you secured an admin
API token beforehand, you still have access to all features through the
API;

Each one of them link to the respective page inside Unleash (e.g. users
page, service accounts page, tokens page...);

If you try to disable and press "save", and only in that scenario, you
are presented with the following confirmation dialog:


![image](https://github.com/Unleash/unleash/assets/14320932/5ad6d105-ad47-4d31-a1df-04737aed4e00)
2023-05-23 15:56:34 +01:00
andreas-unleash
2a3f743daa
fix: default strategy screen not loading when no default strategy (#3840)
<!-- 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! ❤️ -->
Fixes a bug where default strategy would not edit 
## 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. -->

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

<!-- (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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-05-23 15:34:37 +03:00
Thomas Heartman
f7006642a6
fix: Only show names as changed when titles have changed. (#3843)
Related to [linear task
1-954](https://linear.app/unleash/issue/1-954/disabling-last-strategy-in-change-request-shows-strikethrough).

This PR changes the display logic for showing titles as changed: it
previously fell back to always being `true` if there was a custom title
set for a strategy. This PR makes it so that it only shows as changed if
the title has actually changed, either from one custom title to another,
or to and from the display name.

To accommodate the last bit, it also shows display names with a
strikethrough if the strategy had no title previously, but now it does. This is consistent with how it displays the strategy name if you delete a title from a strategy.


Here's a number of different examples: 


![image](https://github.com/Unleash/unleash/assets/17786332/034bcc01-8715-4052-afec-56caf7edea51)
2023-05-23 12:16:20 +00:00
Mateusz Kwasniewski
3e84d2ed09
fix: make area behind bulk actions clickable (#3838) 2023-05-23 10:41:01 +02:00
andreas-unleash
8aadbc8ae9
Fix/cr should activate disabled lag free (#3826)
<!-- 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! ❤️ -->

- Adds change request option to activate disabled strategies UI
- Fixes Disable strategy bug (onSuggestDisable)

## 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. -->

<!-- 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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-05-23 10:16:09 +03:00
renovate[bot]
6b21a8b809
chore(deps): update dependency vite to v4.3.6 (#3833)
[![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](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.3.5` ->
`4.3.6`](https://renovatebot.com/diffs/npm/vite/4.3.5/4.3.6) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.6/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.6/compatibility-slim/4.3.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.6/confidence-slim/4.3.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

###
[`v4.3.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small436-2023-05-15-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.5...v4.3.6)

- fix: avoid dev-server crash when ws proxy error
([#&#8203;12829](https://togithub.com/vitejs/vite/issues/12829))
([87e1f58](https://togithub.com/vitejs/vite/commit/87e1f58)), closes
[#&#8203;12829](https://togithub.com/vitejs/vite/issues/12829)
- fix: call `tryFsResolve` for relative `new URL(foo, import.meta.url)`
([#&#8203;13142](https://togithub.com/vitejs/vite/issues/13142))
([eeb0617](https://togithub.com/vitejs/vite/commit/eeb0617)), closes
[#&#8203;13142](https://togithub.com/vitejs/vite/issues/13142)
- fix: don't inject CSS sourcemap for direct requests
([#&#8203;13115](https://togithub.com/vitejs/vite/issues/13115))
([7d80a47](https://togithub.com/vitejs/vite/commit/7d80a47)), closes
[#&#8203;13115](https://togithub.com/vitejs/vite/issues/13115)
- fix: handle more yarn pnp load errors
([#&#8203;13160](https://togithub.com/vitejs/vite/issues/13160))
([adf61d9](https://togithub.com/vitejs/vite/commit/adf61d9)), closes
[#&#8203;13160](https://togithub.com/vitejs/vite/issues/13160)
- fix(build): declare moduleSideEffects for vite:modulepreload-polyfill
([#&#8203;13099](https://togithub.com/vitejs/vite/issues/13099))
([d63129b](https://togithub.com/vitejs/vite/commit/d63129b)), closes
[#&#8203;13099](https://togithub.com/vitejs/vite/issues/13099)
- fix(css): respect `esbuild.charset` when minify
([#&#8203;13190](https://togithub.com/vitejs/vite/issues/13190))
([4fd35ed](https://togithub.com/vitejs/vite/commit/4fd35ed)), closes
[#&#8203;13190](https://togithub.com/vitejs/vite/issues/13190)
- fix(server): intercept ping requests
([#&#8203;13117](https://togithub.com/vitejs/vite/issues/13117))
([d06cc42](https://togithub.com/vitejs/vite/commit/d06cc42)), closes
[#&#8203;13117](https://togithub.com/vitejs/vite/issues/13117)
- fix(ssr): stacktrace uses abs path with or without sourcemap
([#&#8203;12902](https://togithub.com/vitejs/vite/issues/12902))
([88c855e](https://togithub.com/vitejs/vite/commit/88c855e)), closes
[#&#8203;12902](https://togithub.com/vitejs/vite/issues/12902)
- perf: skip windows absolute paths for node resolve
([#&#8203;13162](https://togithub.com/vitejs/vite/issues/13162))
([e640939](https://togithub.com/vitejs/vite/commit/e640939)), closes
[#&#8203;13162](https://togithub.com/vitejs/vite/issues/13162)
- chore: remove useless dep
([#&#8203;13165](https://togithub.com/vitejs/vite/issues/13165))
([9a7ec98](https://togithub.com/vitejs/vite/commit/9a7ec98)), closes
[#&#8203;13165](https://togithub.com/vitejs/vite/issues/13165)
- chore(reporter): reuse clearLine
([#&#8203;13156](https://togithub.com/vitejs/vite/issues/13156))
([535795a](https://togithub.com/vitejs/vite/commit/535795a)), closes
[#&#8203;13156](https://togithub.com/vitejs/vite/issues/13156)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-23 05:40:23 +00:00
Mateusz Kwasniewski
e34c9bc0bf
feat: disable bulk toggles flag (#3827) 2023-05-22 13:31:31 +02:00
Tymoteusz Czech
40185e9066
Update strategies table (#3811)
- split strategies table in two
  - one for predefined strategies
  - one for custom strategies
- move custom strategy button
- add guidance why custom strategies are not recommended

https://linear.app/unleash/issue/1-894/improve-the-list-of-strategies
2023-05-22 12:46:27 +02:00
renovate[bot]
048ad16c05
chore(deps): update dependency cypress to v12.12.0 (#3809)
[![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://togithub.com/cypress-io/cypress) | [`12.11.0` ->
`12.12.0`](https://renovatebot.com/diffs/npm/cypress/12.11.0/12.12.0) |
[![age](https://badges.renovateapi.com/packages/npm/cypress/12.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/cypress/12.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/cypress/12.12.0/compatibility-slim/12.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/cypress/12.12.0/confidence-slim/12.11.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v12.11.0...v12.12.0)

Changelog:
https://docs.cypress.io/guides/references/changelog#&#8203;12-12-0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45My4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 15:32:52 +00:00
andreas-unleash
adfd79c261
Revert "feat: change requests UI for activate disabled strategies (#3… (#3817)
…787)"

This reverts commit 896b63616d.

<!-- 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. -->

<!-- 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? -->
2023-05-20 09:40:48 +02:00
renovate[bot]
99c6be695a
chore(deps): update dependency semver to v7.5.1 (#3805)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://togithub.com/npm/node-semver) | [`7.5.0` ->
`7.5.1`](https://renovatebot.com/diffs/npm/semver/7.5.0/7.5.1) |
[![age](https://badges.renovateapi.com/packages/npm/semver/7.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/semver/7.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/semver/7.5.1/compatibility-slim/7.5.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/semver/7.5.1/confidence-slim/7.5.0)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/semver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`7.3.13` ->
`7.5.0`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.3.13/7.5.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fsemver/7.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fsemver/7.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fsemver/7.5.0/compatibility-slim/7.3.13)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fsemver/7.5.0/confidence-slim/7.3.13)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>npm/node-semver</summary>

###
[`v7.5.1`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;751-httpsgithubcomnpmnode-semvercomparev750v751-2023-05-12)

[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.5.0...v7.5.1)

##### Bug Fixes

-
[`d30d25a`](d30d25a5c1)
[#&#8203;559](https://togithub.com/npm/node-semver/pull/559) show type
on invalid semver error
([#&#8203;559](https://togithub.com/npm/node-semver/issues/559))
([@&#8203;tjenkinson](https://togithub.com/tjenkinson))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45My4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 20:27:18 +00:00
Gastón Fournier
6e847d0015
Revert "fix: laggy switch" (#3815)
Reverts Unleash/unleash#3814 forcing merge to fix issue in demo instance: https://github.com/Unleash/unleash/pull/3815#issuecomment-1554712970
2023-05-19 16:55:14 +02:00
Nuno Góis
0c538f070a
refactor: change plausible events to be more specific at the top level (#3810)
Splits the `demo` event into multiple more specific events so it's
easier to track on Plausible (fix `(none)` in Plausible).
2023-05-19 15:32:08 +01:00
andreas-unleash
e1dd1701cc
fix: laggy switch (#3814)
<!-- 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! ❤️ -->
Fixes laggy environment switch
## 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. -->

Stabilising the functions with useCallback seems necessary in the table
view
Changed the `checked` property to be dependent on `isChecked` which
wraps the value in useOptimisticUpdate hook made the most difference

<!-- Does it close an issue? Multiple? -->
Closes
#(1-942)[https://linear.app/unleash/issue/1-942/bug-laggy-environment-toggles-in-the-ui]

<!-- (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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-05-19 13:13:43 +00:00
andreas-unleash
6e2cd602c4
fix: Move title at the top in default strategy (#3812)
<!-- 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! ❤️ -->
Fix for consistency
## 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. -->

<!-- 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-05-19 11:27:34 +00:00