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

3117 Commits

Author SHA1 Message Date
renovate[bot]
764a91b761
chore(deps): update dependency semver to v7.5.0 (#3671)
[![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.3.8` ->
`7.5.0`](https://renovatebot.com/diffs/npm/semver/7.3.8/7.5.0) |
[![age](https://badges.renovateapi.com/packages/npm/semver/7.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/semver/7.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/semver/7.5.0/compatibility-slim/7.3.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/semver/7.5.0/confidence-slim/7.3.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v7.5.0`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;750-httpsgithubcomnpmnode-semvercomparev740v750-2023-04-17)

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

##### Features

-
[`503a4e5`](503a4e52fe)
[#&#8203;548](https://togithub.com/npm/node-semver/pull/548) allow
identifierBase to be false
([#&#8203;548](https://togithub.com/npm/node-semver/issues/548))
([@&#8203;lsvalina](https://togithub.com/lsvalina))

##### Bug Fixes

-
[`e219bb4`](e219bb4540)
[#&#8203;552](https://togithub.com/npm/node-semver/pull/552) throw on
bad version with correct error message
([#&#8203;552](https://togithub.com/npm/node-semver/issues/552))
([@&#8203;wraithgar](https://togithub.com/wraithgar))
-
[`fc2f3df`](fc2f3df0b5)
[#&#8203;546](https://togithub.com/npm/node-semver/pull/546) incorrect
results from diff sometimes with prerelease versions
([#&#8203;546](https://togithub.com/npm/node-semver/issues/546))
([@&#8203;tjenkinson](https://togithub.com/tjenkinson))
-
[`2781767`](2781767779)
[#&#8203;547](https://togithub.com/npm/node-semver/pull/547) avoid
re-instantiating SemVer during diff compare
([#&#8203;547](https://togithub.com/npm/node-semver/issues/547))
([@&#8203;macno](https://togithub.com/macno))

###
[`v7.4.0`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;740-httpsgithubcomnpmnode-semvercomparev738v740-2023-04-10)

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

##### Features

-
[`113f513`](113f51312a)
[#&#8203;532](https://togithub.com/npm/node-semver/pull/532)
identifierBase parameter for .inc
([#&#8203;532](https://togithub.com/npm/node-semver/issues/532))
([@&#8203;wraithgar](https://togithub.com/wraithgar),
[@&#8203;b-bly](https://togithub.com/b-bly))
-
[`48d8f8f`](48d8f8fa63)
[#&#8203;530](https://togithub.com/npm/node-semver/pull/530) export new
RELEASE_TYPES constant
([@&#8203;hcharley](https://togithub.com/hcharley))

##### Bug Fixes

-
[`940723d`](940723d22b)
[#&#8203;538](https://togithub.com/npm/node-semver/pull/538) intersects
with v0.0.0 and v0.0.0-0
([#&#8203;538](https://togithub.com/npm/node-semver/issues/538))
([@&#8203;wraithgar](https://togithub.com/wraithgar))
-
[`aa516b5`](aa516b50b3)
[#&#8203;535](https://togithub.com/npm/node-semver/pull/535) faster
parse options
([#&#8203;535](https://togithub.com/npm/node-semver/issues/535))
([@&#8203;H4ad](https://togithub.com/H4ad))
-
[`61e6ea1`](61e6ea1e9b)
[#&#8203;536](https://togithub.com/npm/node-semver/pull/536) faster
cache key factory for range
([#&#8203;536](https://togithub.com/npm/node-semver/issues/536))
([@&#8203;H4ad](https://togithub.com/H4ad))
-
[`f8b8b61`](f8b8b619e7)
[#&#8203;541](https://togithub.com/npm/node-semver/pull/541) optimistic
parse ([#&#8203;541](https://togithub.com/npm/node-semver/issues/541))
([@&#8203;H4ad](https://togithub.com/H4ad))
-
[`796cbe2`](796cbe29b0)
[#&#8203;533](https://togithub.com/npm/node-semver/pull/533) semver.diff
prerelease to release recognition
([#&#8203;533](https://togithub.com/npm/node-semver/issues/533))
([@&#8203;wraithgar](https://togithub.com/wraithgar),
[@&#8203;dominique-blockchain](https://togithub.com/dominique-blockchain))
-
[`3f222b1`](3f222b1440)
[#&#8203;537](https://togithub.com/npm/node-semver/pull/537) reuse
comparators on subset
([#&#8203;537](https://togithub.com/npm/node-semver/issues/537))
([@&#8203;H4ad](https://togithub.com/H4ad))
-
[`f66cc45`](f66cc45c6e)
[#&#8203;539](https://togithub.com/npm/node-semver/pull/539) faster diff
([#&#8203;539](https://togithub.com/npm/node-semver/issues/539))
([@&#8203;H4ad](https://togithub.com/H4ad))

##### Documentation

-
[`c5d29df`](c5d29df6f7)
[#&#8203;530](https://togithub.com/npm/node-semver/pull/530) Add
"Constants" section to README
([@&#8203;hcharley](https://togithub.com/hcharley))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 16:00:07 +00:00
renovate[bot]
369e374ab7
chore(deps): update dependency sass to v1.62.1 (#3670)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.62.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1621)

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

- Fix a bug where `:has(+ &)` and related constructs would drop the
leading
    combinator.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 06:36:20 +00:00
renovate[bot]
0732eca667
chore(deps): update dependency @types/react-dom to v17.0.20 (#3669)
[![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-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.19` ->
`17.0.20`](https://renovatebot.com/diffs/npm/@types%2freact-dom/17.0.19/17.0.20)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/17.0.20/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/17.0.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/17.0.20/compatibility-slim/17.0.19)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/17.0.20/confidence-slim/17.0.19)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 03:10:53 +00:00
renovate[bot]
c904aa5323
chore(deps): update dependency eslint to v8.39.0 (#3661)
[![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.38.0` ->
`8.39.0`](https://renovatebot.com/diffs/npm/eslint/8.38.0/8.39.0) |
[![age](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/compatibility-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/confidence-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.38.0...v8.39.0)

#### Features

-
[`3f7af9f`](3f7af9f408)
feat: Implement `SourceCode#markVariableAsUsed()`
([#&#8203;17086](https://togithub.com/eslint/eslint/issues/17086))
(Nicholas C. Zakas)

#### Documentation

-
[`6987dc5`](6987dc59e4)
docs: Fix formatting in Custom Rules docs
([#&#8203;17097](https://togithub.com/eslint/eslint/issues/17097))
(Milos Djermanovic)
-
[`4ee92e5`](4ee92e5cbd)
docs: Update README (GitHub Actions Bot)
-
[`d8e9887`](d8e9887c2c)
docs: Custom Rules cleanup/expansion
([#&#8203;16906](https://togithub.com/eslint/eslint/issues/16906)) (Ben
Perlmutter)
-
[`1fea279`](1fea279780)
docs: Clarify how to add to tsc agenda
([#&#8203;17084](https://togithub.com/eslint/eslint/issues/17084))
(Nicholas C. Zakas)
-
[`970ef1c`](970ef1c868)
docs: Update triage board location (Nicholas C. Zakas)
-
[`6d8bffd`](6d8bffdf45)
docs: Update README (GitHub Actions Bot)

#### Chores

-
[`60a6f26`](60a6f2694d)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).39.0
([#&#8203;17102](https://togithub.com/eslint/eslint/issues/17102))
(Milos Djermanovic)
-
[`d5ba5c0`](d5ba5c0a85)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`f57eff2`](f57eff20f5)
ci: run tests on Node.js v20
([#&#8203;17093](https://togithub.com/eslint/eslint/issues/17093))
(Nitin Kumar)
-
[`9d1b8fc`](9d1b8fc60c)
perf: Binary search in token store `utils.search`
([#&#8203;17066](https://togithub.com/eslint/eslint/issues/17066))
(Francesco Trotta)
-
[`07a4435`](07a4435a0c)
chore: Add request for minimal repro to bug report
([#&#8203;17081](https://togithub.com/eslint/eslint/issues/17081))
(Nicholas C. Zakas)
-
[`eac4943`](eac4943ba2)
refactor: remove unnecessary use of `SourceCode#getAncestors` in rules
([#&#8203;17075](https://togithub.com/eslint/eslint/issues/17075))
(Milos Djermanovic)
-
[`0a7b60a`](0a7b60a9d5)
chore: update description of `SourceCode#getDeclaredVariables`
([#&#8203;17072](https://togithub.com/eslint/eslint/issues/17072))
(Milos Djermanovic)
-
[`6e2df71`](6e2df71cc3)
chore: remove unnecessary references to the LICENSE file
([#&#8203;17071](https://togithub.com/eslint/eslint/issues/17071))
(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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 23:14:55 +00:00
Nuno Góis
2e1064b1f7
feat: demo sorts features by name (#3663)
https://linear.app/unleash/issue/2-983/can-we-we-reverse-order-of-the-toggles

This PR makes it so that, on topic navigation to the project overview
page, we assume a feature toggle name sorting by default:


![image](https://user-images.githubusercontent.com/14320932/235666804-94511704-010d-4173-809b-0c61252b02d6.png)

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-02 16:20:23 +03:00
andreas-unleash
e61c4524b0
fix: fix broken ImportOptions.tsx (#3657)
<!-- 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 ImportOptions.tsx

## 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>
Co-authored-by: Prabodh Meshram <prabodh.meshram7@gmail.com>
2023-05-02 10:17:05 +03:00
Mateusz Kwasniewski
be55961e6f
feat: Footer sdks (#3654) 2023-04-28 15:56:35 +02:00
andreas-unleash
1ccbbfeb57
Feat: project default strategy (#3644)
<!-- 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 default strategy to project environment link 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-876](https://linear.app/unleash/issue/1-876/default-strategy-backend)

<!-- (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-04-28 14:59:04 +03:00
Nuno Góis
9df9095b1f
feat: demo small UI adjustments (#3653)
https://linear.app/unleash/issue/2-975/small-ui-adjustments

Adds some small UI adjustments we identified in the meantime:
 - "Get Unleash" -> "Get started" in the top banner;
 - Topics list header is now the same color as the top banner;
- Added `focus` capabilities to steps, added it to the appropriate
steps;
 - No longer closes tooltip when clicked when using `anyClick`;
 - Reversed the topics list header arrow rotation;

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


![image](https://user-images.githubusercontent.com/14320932/235139390-a40db29d-befe-44f9-9f61-a0ad120b7251.png)
2023-04-28 11:54:58 +00:00
Mateusz Kwasniewski
c8bce08e94
feat: remove project overview flag (#3648) 2023-04-28 12:25:59 +02:00
Jaanus Sellin
383aa3dde4
feat: remove bulk operations flag (#3643) 2023-04-28 11:18:03 +03:00
renovate[bot]
a309105553
chore(deps): update dependency sass to v1.62.0 (#3613)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.62.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1620)

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

- Deprecate the use of multiple `!global` or `!default` flags on the
same
    variable. This deprecation is named `duplicate-var-flags`.

- Allow special numbers like `var()` or `calc()` in the global
functions:
`grayscale()`, `invert()`, `saturate()`, and `opacity()`. These are also
native CSS `filter` functions. This is in addition to number values
which were
    already allowed.

- Fix a cosmetic bug where an outer rule could be duplicated after
nesting was
    resolved, instead of re-using a shared rule.

###
[`v1.61.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1610)

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

- **Potentially breaking change:** Drop support for End-of-Life Node.js
12.

- Fix remaining cases for the performance regression introduced in
1.59.0.

##### Embedded Sass

- The JS embedded host now loads files from the working directory when
using the
    legacy API.

###
[`v1.60.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1600)

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

- Add support for the `pi`, `e`, `infinity`, `-infinity`, and `NaN`
constants in
calculations. These will be interpreted as the corresponding numbers.

- Add support for unknown constants in calculations. These will be
interpreted
    as unquoted strings.

- Serialize numbers with value `infinity`, `-infinity`, and `NaN` to
`calc()`
expressions rather than CSS-invalid identifiers. Numbers with complex
units
    still can't be serialized.

###
[`v1.59.3`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1593)

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

-   Fix a performance regression introduced in 1.59.0.

- The NPM release of 1.59.0 dropped support for Node 12 without actually
indicating so in its pubspec. This release temporarily adds back support
so
that the latest Sass version that declares it supports Node 12 actually
does
so. However, Node 12 is now end-of-life, so we will drop support for it
    properly in an upcoming release.

###
[`v1.59.2`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1592)

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

-   No user-visible changes.

###
[`v1.59.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1591)

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

-   No user-visible changes.

###
[`v1.59.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1590)

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

##### Command Line Interface

- Added a new `--fatal-deprecation` flag that lets you treat a
deprecation
    warning as an error. You can pass an individual deprecation ID
    (e.g. `slash-div`) or you can pass a Dart Sass version to treat all
    deprecations initially emitted in that version or earlier as errors.

- New `--future-deprecation` flag that lets you opt into warning for use
of
certain features that will be deprecated in the future. At the moment,
the
only option is `--future-deprecation=import`, which will emit warnings
for
Sass `@import` rules, which are not yet deprecated, but will be in the
future.

##### Dart API

- New `Deprecation` enum, which contains the different current and
future
    deprecations used by the new CLI flags.

- The `compile` methods now take in `fatalDeprecations` and
`futureDeprecations`
    parameters, which work similarly to the CLI flags.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS41OC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTguMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-28 01:26:01 +00:00
Nuno Góis
3c48171c78
feat: add user tracking to demo (#3637)
https://linear.app/unleash/issue/2-946/explore-and-implement-options-for-user-tracking

Adds user tracking to the interactive demo, so we can measure how users
are using this feature and improve it in the feature.

## Events

- **start** - When the user starts the demo by clicking on the "Try
Unleash Demo" button;
- **finish** - When the user finishes the demo by seeing the "You
finished the demo" dialog;
- **restart** - When the user decides to restart the demo on the "You
finished the demo" dialog;
- **close** - When the user closes a demo dialog;
- **topic** - In what topic this happened (topic title, can also be
`start` if user closes on the start dialog);
- **step** - In what step this happened (step number, `1` would mean
first step);
- **start_topic** - When the user decides to start a specific topic by
clicking it in the list;
  - **topic** - What topic was clicked (topic title);
- **ask_questions** - When the user decides to ask questions by clicking
the appropriate option in the top banner;
- **see_plans** - When the user decides to see the plans by clicking the
appropriate option in the top banner;
- **plan** - What plan was clicked (one of: `open_source`, `pro`,
`enterprise` or `compare_plans`);
- **open_demo_web** - User decided to open the demo website using the
link on the start dialog;
- **view_demo_link** - User decided to open the start dialog again on
the bottom of the topics list;

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-04-27 14:12:02 +01:00
Christopher Kolstad
d7b1d1c9ce
fix: Updated cypress API usage to stop using deprecated API (#3636) 2023-04-27 08:49:55 +00:00
Nuno Góis
3599e7478c
feat: demo ui-ux improvements (#3634)
https://linear.app/unleash/issue/2-914/improve-demo-guide-uiux

Includes a big batch of UI/UX improvements, including but not limited
to:

- Updating steps text;
- Improve behavior of intro step dialogs (use normal dialogs);
- Improve overall design;
- Improve escape key and backdrop click behaviors;
- Add plans dialog;
- Add sticky demo banner;
- Assume `demo-app` project and `dev` environment to better fit our demo
instance;
- Misc fixes and refactors;

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


![image](https://user-images.githubusercontent.com/14320932/234637210-1936fd48-ce40-4980-81ae-f1fe64e65545.png)
2023-04-27 08:15:17 +01:00
andreas-unleash
2667e55d4a
chore: remove projectScopedStickinessFlag (#3620)
<!-- 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-04-26 17:07:09 +03:00
Tymoteusz Czech
3bb09c5ce4
Disable and enable strategies - frontend (#3582)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2023-04-26 11:41:24 +02:00
Simon Hornby
9521c452c5
chore: move google auth ui behind flag (#3606)
Moves the access tab for Google Auth behind a flag. The elements
are still accessible but hidden by default so this is a soft change.
This is a deprecated feature and is on its way out.
2023-04-26 10:55:55 +02:00
Mateusz Kwasniewski
e538cb8a7f
fix: add segment to strategy payload (#3611) 2023-04-25 10:57:53 +02:00
Mateusz Kwasniewski
545e231cae
feat: enable dark mode for all (#3614) 2023-04-25 10:13:06 +02:00
Mateusz Kwasniewski
abd19d46e7
feat: search cr by title (#3610) 2023-04-25 08:36:27 +02:00
renovate[bot]
cb6230e3b9
chore(deps): update dependency orval to v6.14.3 (#3612)
[![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.11.0` ->
`6.14.3`](https://renovatebot.com/diffs/npm/orval/6.11.0/6.14.3) |
[![age](https://badges.renovateapi.com/packages/npm/orval/6.14.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/orval/6.14.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/orval/6.14.3/compatibility-slim/6.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/orval/6.14.3/confidence-slim/6.11.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### Bug Fixes

- **core:** resolve value avoid infinite loop on multi files refs by
adding a parents relation
([9707881](9707881fb7))

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

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

##### Bug Fixes

- **core:** resolve value on readonly avoid infinite loop on multi files
refs
([05c966f](05c966fafa))

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

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

##### Bug Fixes

- **core:** add non readonly only inside implementation file when needed
([3be6a54](3be6a54131))

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

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

##### Bug Fixes

- correctly handle enums without type properties
([#&#8203;814](https://togithub.com/anymaniax/orval/issues/814))
([daf83a5](daf83a5e6b))
- **zod:** avoid deplicated consts declaration
([03a058f](03a058f3f5))
- **zod:** change import to handle synthetic import config
([8a37cda](8a37cdabd5))

##### Features

- **core:** remove readonly properties from request body
([#&#8203;813](https://togithub.com/anymaniax/orval/issues/813))
([f5b1ec9](f5b1ec9a6e))
- **packages:** add option to filter generated endpoints
([#&#8203;810](https://togithub.com/anymaniax/orval/issues/810))
([673bb55](673bb55e5a))
- **query:** generate query and mutation options functions
([#&#8203;821](https://togithub.com/anymaniax/orval/issues/821))
([79e9527](79e95277a2))

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

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

##### Bug Fixes

- **zod:** handling correctly deeper ref by deferencing
([3aa9162](3aa91622dc))

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

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

##### Features

- **clients:** add zod
([#&#8203;785](https://togithub.com/anymaniax/orval/issues/785))
([cebdb2e](cebdb2e802))
- **query-swr:** cache key as const
([b102f54](b102f54898))

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

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

##### Bug Fixes

- **core:** bump ibm-openapi-validator to resolve
[https://github.com/IBM/openapi-validator/issues/528](https://togithub.com/IBM/openapi-validator/issues/528)
([#&#8203;783](https://togithub.com/anymaniax/orval/issues/783))
([f69a84d](f69a84d02c))
- **jsdoc:** add jsDoc to query parameters
([#&#8203;741](https://togithub.com/anymaniax/orval/issues/741))
([b384ff4](b384ff4925))
- **query:** options without params remove extra bracket
([5ace2d2](5ace2d2dd9))
- use orval as devDependecy
([#&#8203;692](https://togithub.com/anymaniax/orval/issues/692))
([e480184](e480184cd8))
- **writers:** correctly provide all query mutators
([c997240](c9972402ea))

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

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

##### Bug Fixes

- **core:** request options without second argument correctly stringify
([c2554a7](c2554a7beb))
- **options:** normalize correctly query signal
([903e0b5](903e0b52b3))

##### Features

- **query:** add new tanstack vue query support and move to query object
([ba7ee98](ba7ee98855))
- **query:** add support of tanstack svelte query
([b26ce92](b26ce92e56))

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

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

##### Bug Fixes

- **core:** file loader use default path package to find correctly the
file on all os
([7147b72](7147b72527))
- **path:** add upath test functions
([a891796](a89179683d))
- **path:** correctly handle windows path
([6a34606](6a34606bd1))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS41OC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTguMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-25 04:01:28 +00:00
Jaanus Sellin
514961632f
feat: edit change requests (#3573) 2023-04-24 15:32:19 +02:00
Nuno Góis
697fb6aab5
feat: update the user-specific topic (#3608)
https://linear.app/unleash/issue/2-961/update-demo-guide-steps-to-not-include-a-userids-strategy

Updates the user-specific toggle topic to use a standard strategy with a
constraint instead (deprecate UserID strategy).

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537

<img width="1282" alt="image"
src="https://user-images.githubusercontent.com/14320932/233987506-380d89e3-bd5d-461d-a5dc-89e54ad21d88.png">
2023-04-24 13:02:06 +01:00
Nuno Góis
2129736ca6
chore: make login history GA (remove flag) (#3604)
https://linear.app/unleash/issue/2-956/remove-loginhistory-feature-flag

Promotes [login
history](https://docs.getunleash.io/reference/login-history) to GA by
removing the `loginHistory` feature flag.
2023-04-24 12:37:13 +01:00
renovate[bot]
f7c41baf2e
chore(deps): update dependency eslint to v8.38.0 (#3596)
[![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.34.0` ->
`8.38.0`](https://renovatebot.com/diffs/npm/eslint/8.34.0/8.38.0) |
[![age](https://badges.renovateapi.com/packages/npm/eslint/8.38.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.38.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/eslint/8.38.0/compatibility-slim/8.34.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.38.0/confidence-slim/8.34.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.37.0...v8.38.0)

#### Features

-
[`a1d561d`](a1d561d18e)
feat: Move getDeclaredVariables and getAncestors to SourceCode
([#&#8203;17059](https://togithub.com/eslint/eslint/issues/17059))
(Nicholas C. Zakas)

#### Bug Fixes

-
[`1c1ece2`](1c1ece26d1)
fix: do not report on `RegExp(...args)` in `require-unicode-regexp`
([#&#8203;17037](https://togithub.com/eslint/eslint/issues/17037))
(Francesco Trotta)

#### Documentation

-
[`7162d34`](7162d34df9)
docs: Mention new config system is complete
([#&#8203;17068](https://togithub.com/eslint/eslint/issues/17068))
(Nicholas C. Zakas)
-
[`0fd6bb2`](0fd6bb213a)
docs: Update README (GitHub Actions Bot)
-
[`c83531c`](c83531c1a6)
docs: Update/remove external links, eg. point to `eslint-community`
([#&#8203;17061](https://togithub.com/eslint/eslint/issues/17061))
(Pelle Wessman)
-
[`a3aa6f5`](a3aa6f5f14)
docs: Clarify `no-div-regex` rule docs
([#&#8203;17051](https://togithub.com/eslint/eslint/issues/17051))
(Francesco Trotta)
-
[`b0f11cf`](b0f11cf977)
docs: Update README (GitHub Actions Bot)
-
[`da8d52a`](da8d52a9d4)
docs: Update the second object instance for the "no-new" rule
([#&#8203;17020](https://togithub.com/eslint/eslint/issues/17020))
(Ahmadou Waly NDIAYE)
-
[`518130a`](518130ae79)
docs: switch language based on current path
([#&#8203;16687](https://togithub.com/eslint/eslint/issues/16687))
(Percy Ma)
-
[`24206c4`](24206c49a1)
docs: Update README (GitHub Actions Bot)

#### Chores

-
[`59ed060`](59ed06041d)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).38.0
([#&#8203;17069](https://togithub.com/eslint/eslint/issues/17069))
(Milos Djermanovic)
-
[`88c0898`](88c08984ec)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`cf682d2`](cf682d249f)
refactor: simplify new-parens rule schema
([#&#8203;17060](https://togithub.com/eslint/eslint/issues/17060)) (MHO)
-
[`0dde022`](0dde022112)
ci: bump actions/add-to-project from 0.4.1 to 0.5.0
([#&#8203;17055](https://togithub.com/eslint/eslint/issues/17055))
(dependabot\[bot])

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

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.36.0...v8.37.0)

#### Features

-
[`b6ab8b2`](b6ab8b2a2c)
feat: `require-unicode-regexp` add suggestions
([#&#8203;17007](https://togithub.com/eslint/eslint/issues/17007)) (Josh
Goldberg)
-
[`10022b1`](10022b1f4b)
feat: Copy getScope() to SourceCode
([#&#8203;17004](https://togithub.com/eslint/eslint/issues/17004))
(Nicholas C. Zakas)
-
[`1665c02`](1665c029ac)
feat: Use plugin metadata for flat config serialization
([#&#8203;16992](https://togithub.com/eslint/eslint/issues/16992))
(Nicholas C. Zakas)
-
[`b3634f6`](b3634f695d)
feat: docs license
([#&#8203;17010](https://togithub.com/eslint/eslint/issues/17010))
(Samuel Roldan)
-
[`892e6e5`](892e6e58c5)
feat: languageOptions.parser must be an object.
([#&#8203;16985](https://togithub.com/eslint/eslint/issues/16985))
(Nicholas C. Zakas)

#### Bug Fixes

-
[`619f3fd`](619f3fd173)
fix: correctly handle `null` default config in `RuleTester`
([#&#8203;17023](https://togithub.com/eslint/eslint/issues/17023)) (Brad
Zacher)
-
[`1fbf118`](1fbf1184fe)
fix: `getFirstToken`/`getLastToken` on comment-only node
([#&#8203;16889](https://togithub.com/eslint/eslint/issues/16889))
(Francesco Trotta)
-
[`129e252`](129e252132)
fix: Fix typo in `logical-assignment-operators` rule description
([#&#8203;17000](https://togithub.com/eslint/eslint/issues/17000))
(Francesco Trotta)

#### Documentation

-
[`75339df`](75339df994)
docs: fix typos and missing info in id-match docs
([#&#8203;17029](https://togithub.com/eslint/eslint/issues/17029)) (Ed
Lucas)
-
[`ec2d830`](ec2d830785)
docs: Fix typos in the `semi` rule docs
([#&#8203;17012](https://togithub.com/eslint/eslint/issues/17012))
(Andrii Lundiak)
-
[`e39f28d`](e39f28d857)
docs: add back to top button
([#&#8203;16979](https://togithub.com/eslint/eslint/issues/16979))
(Tanuj Kanti)
-
[`721c717`](721c71782a)
docs: Custom Processors cleanup and expansion
([#&#8203;16838](https://togithub.com/eslint/eslint/issues/16838)) (Ben
Perlmutter)
-
[`d049f97`](d049f97410)
docs: 'How ESLint is Maintained' page
([#&#8203;16961](https://togithub.com/eslint/eslint/issues/16961)) (Ben
Perlmutter)
-
[`5251a92`](5251a92186)
docs: Describe guard options for guard-for-in
([#&#8203;16986](https://togithub.com/eslint/eslint/issues/16986))
(alope107)
-
[`6157d81`](6157d813e1)
docs: Add example to guard-for-in docs.
([#&#8203;16983](https://togithub.com/eslint/eslint/issues/16983))
(alope107)
-
[`fd47998`](fd47998af6)
docs: update `Array.prototype.toSorted` specification link
([#&#8203;16982](https://togithub.com/eslint/eslint/issues/16982))
(Milos Djermanovic)
-
[`3e1cf6b`](3e1cf6bfc5)
docs: Copy edits on Maintain ESLint docs
([#&#8203;16939](https://togithub.com/eslint/eslint/issues/16939)) (Ben
Perlmutter)

#### Chores

-
[`c67f299`](c67f2992a7)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).37.0
([#&#8203;17033](https://togithub.com/eslint/eslint/issues/17033))
(Milos Djermanovic)
-
[`ee9ddbd`](ee9ddbd63e)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`dddb475`](dddb475288)
chore: upgrade
[@&#8203;eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@&#8203;2](https://togithub.com/2).0.2
([#&#8203;17032](https://togithub.com/eslint/eslint/issues/17032))
(Milos Djermanovic)
-
[`522431e`](522431e520)
chore: upgrade espree@9.5.1
([#&#8203;17031](https://togithub.com/eslint/eslint/issues/17031))
(Milos Djermanovic)
-
[`f5f9a88`](f5f9a88c79)
chore: upgrade eslint-visitor-keys@3.4.0
([#&#8203;17030](https://togithub.com/eslint/eslint/issues/17030))
(Milos Djermanovic)
-
[`4dd8d52`](4dd8d524e0)
ci: bump actions/stale from 7 to 8
([#&#8203;17026](https://togithub.com/eslint/eslint/issues/17026))
(dependabot\[bot])
-
[`ad9dd6a`](ad9dd6a933)
chore: remove duplicate scss,
([#&#8203;17005](https://togithub.com/eslint/eslint/issues/17005))
(Strek)
-
[`ada6a3e`](ada6a3e6e3)
ci: unpin Node 19
([#&#8203;16993](https://togithub.com/eslint/eslint/issues/16993))
(Milos Djermanovic)
-
[`c3da975`](c3da975e69)
chore: Remove triage label from template
([#&#8203;16990](https://togithub.com/eslint/eslint/issues/16990))
(Nicholas C. Zakas)
-
[`69bc0e2`](69bc0e2f44)
ci: pin Node 19 to 19.7.0
([#&#8203;16987](https://togithub.com/eslint/eslint/issues/16987))
(Milos Djermanovic)

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

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.35.0...v8.36.0)

#### Features

-
[`c89a485`](c89a485c49)
feat: Add `checkJSDoc` option to multiline-comment-style
([#&#8203;16807](https://togithub.com/eslint/eslint/issues/16807))
(Laurent Cozic)
-
[`f5f5e11`](f5f5e11bd5)
feat: Serialize parsers/processors in flat config
([#&#8203;16944](https://togithub.com/eslint/eslint/issues/16944))
(Nicholas C. Zakas)
-
[`4799297`](4799297ea5)
feat: use
[@&#8203;eslint-community](https://togithub.com/eslint-community)
dependencies
([#&#8203;16784](https://togithub.com/eslint/eslint/issues/16784))
(Michaël De Boey)

#### Bug Fixes

-
[`92c1943`](92c1943ba7)
fix: correctly iterate files matched by glob patterns
([#&#8203;16831](https://togithub.com/eslint/eslint/issues/16831))
(Nitin Kumar)

#### Documentation

-
[`b98fdd4`](b98fdd413a)
docs: Update README (GitHub Actions Bot)
-
[`caf08ce`](caf08ce0cc)
docs: fix estree link in custom formatters docs
([#&#8203;16967](https://togithub.com/eslint/eslint/issues/16967))
(Milos Djermanovic)
-
[`3398431`](3398431574)
docs: Custom Parsers cleanup/expansion
([#&#8203;16887](https://togithub.com/eslint/eslint/issues/16887)) (Ben
Perlmutter)
-
[`19d3531`](19d3531d9b)
docs: Update README (GitHub Actions Bot)
-
[`b09a512`](b09a512107)
docs: detect and fix broken links
([#&#8203;16837](https://togithub.com/eslint/eslint/issues/16837))
(Nitin Kumar)

#### Chores

-
[`602b111`](602b111219)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).36.0
([#&#8203;16978](https://togithub.com/eslint/eslint/issues/16978))
(Milos Djermanovic)
-
[`43c2345`](43c2345c27)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`00afb84`](00afb84e50)
chore: upgrade
[@&#8203;eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@&#8203;2](https://togithub.com/2).0.1
([#&#8203;16977](https://togithub.com/eslint/eslint/issues/16977))
(Milos Djermanovic)
-
[`698c5aa`](698c5aad50)
chore: upgrade espree@9.5.0
([#&#8203;16976](https://togithub.com/eslint/eslint/issues/16976))
(Milos Djermanovic)
-
[`75acdd2`](75acdd21c5)
chore: lint more js files in docs
([#&#8203;16964](https://togithub.com/eslint/eslint/issues/16964))
(Milos Djermanovic)
-
[`89d9844`](89d9844b31)
ci: bump actions/add-to-project from 0.4.0 to 0.4.1
([#&#8203;16943](https://togithub.com/eslint/eslint/issues/16943))
(dependabot\[bot])

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

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.34.0...v8.35.0)

#### Features

-
[`8e34a04`](8e34a04e3a)
feat: add `afterHashbangComment` option to `lines-around-comment` rule
([#&#8203;16920](https://togithub.com/eslint/eslint/issues/16920))
(SUZUKI Sosuke)
-
[`c8c0c71`](c8c0c715a2)
feat: Move all and recommended configs into package.
([#&#8203;16844](https://togithub.com/eslint/eslint/issues/16844))
(Nicholas C. Zakas)
-
[`71f6f0d`](71f6f0dcd5)
feat: report more cases with `??` in no-constant-binary-expression
([#&#8203;16826](https://togithub.com/eslint/eslint/issues/16826))
(Daiki Nishikawa)

#### Bug Fixes

-
[`9698bc5`](9698bc5cde)
fix: pin esquery v1.4.0 (fixes
[#&#8203;16896](https://togithub.com/eslint/eslint/issues/16896))
([#&#8203;16897](https://togithub.com/eslint/eslint/issues/16897)) (唯然)

#### Documentation

-
[`f9f195e`](f9f195ef12)
docs: Plugin docs cleanup & expansion
([#&#8203;16862](https://togithub.com/eslint/eslint/issues/16862)) (Ben
Perlmutter)
-
[`df809fd`](df809fdedc)
docs: Custom Formatters page cleanup/expansion
([#&#8203;16886](https://togithub.com/eslint/eslint/issues/16886)) (Ben
Perlmutter)
-
[`0700d1b`](0700d1b146)
docs: Add PostCSS/Autoprefixer/CSSNano
([#&#8203;16502](https://togithub.com/eslint/eslint/issues/16502)) (Nick
Schonning)
-
[`7b9e9bf`](7b9e9bf78b)
docs: support unicode anchors
([#&#8203;16782](https://togithub.com/eslint/eslint/issues/16782))
(Percy Ma)
-
[`5fbc0bf`](5fbc0bffdd)
docs: Update README (GitHub Actions Bot)
-
[`67865a0`](67865a064c)
docs: Remove mention of mailing list
([#&#8203;16869](https://togithub.com/eslint/eslint/issues/16869))
(Amaresh S M)
-
[`43af24a`](43af24a88b)
docs: Add explanation of when to use 'warn' severity
([#&#8203;16882](https://togithub.com/eslint/eslint/issues/16882))
(Nicholas C. Zakas)
-
[`ed2999b`](ed2999b38b)
docs: Shareable configs page edits and expansion
([#&#8203;16824](https://togithub.com/eslint/eslint/issues/16824)) (Ben
Perlmutter)
-
[`2780635`](27806358b5)
docs: fix typos
([#&#8203;16884](https://togithub.com/eslint/eslint/issues/16884))
(Lioness100)
-
[`5bdaae2`](5bdaae205c)
docs: Ways to Extend ESLint page
([#&#8203;16861](https://togithub.com/eslint/eslint/issues/16861)) (Ben
Perlmutter)

#### Chores

-
[`cdcbe12`](cdcbe127de)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).35.0
([#&#8203;16935](https://togithub.com/eslint/eslint/issues/16935))
(Brandon Mills)
-
[`c954c34`](c954c349c0)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`5a517da`](5a517da8e5)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`9f10926`](9f10926d76)
chore: upgrade
[@&#8203;eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@&#8203;2](https://togithub.com/2).0.0
([#&#8203;16928](https://togithub.com/eslint/eslint/issues/16928))
(Milos Djermanovic)
-
[`da728fa`](da728fae6c)
ci: use LTS node version in workflows
([#&#8203;16907](https://togithub.com/eslint/eslint/issues/16907))
(Nitin Kumar)
-
[`c57b4f3`](c57b4f3dc6)
perf: upgrade to esquery@1.4.2
([#&#8203;16901](https://togithub.com/eslint/eslint/issues/16901))
(Milos Djermanovic)
-
[`9122f07`](9122f07640)
chore: Update stale bot settings
([#&#8203;16870](https://togithub.com/eslint/eslint/issues/16870))
(Nicholas C. Zakas)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 22:27:50 +00:00
renovate[bot]
417b56913a
chore(deps): update dependency react-markdown to v8.0.7 (#3591)
[![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-markdown](https://togithub.com/remarkjs/react-markdown) |
[`8.0.4` ->
`8.0.7`](https://renovatebot.com/diffs/npm/react-markdown/8.0.4/8.0.7) |
[![age](https://badges.renovateapi.com/packages/npm/react-markdown/8.0.7/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-markdown/8.0.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-markdown/8.0.7/compatibility-slim/8.0.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-markdown/8.0.7/confidence-slim/8.0.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remarkjs/react-markdown</summary>

###
[`v8.0.7`](https://togithub.com/remarkjs/react-markdown/releases/tag/8.0.7)

[Compare
Source](https://togithub.com/remarkjs/react-markdown/compare/8.0.6...8.0.7)

##### Perf

-
[`c289176`](https://togithub.com/remarkjs/react-markdown/commit/c289176)
Fix performance for keys
by [@&#8203;wooorm](https://togithub.com/wooorm) in
[https://github.com/remarkjs/react-markdown/pull/738](https://togithub.com/remarkjs/react-markdown/pull/738)

##### Docs

-
[`9034dbd`](https://togithub.com/remarkjs/react-markdown/commit/9034dbd)
Fix types in syntax highlight example
by [@&#8203;dlqqq](https://togithub.com/dlqqq) in
[https://github.com/remarkjs/react-markdown/pull/736](https://togithub.com/remarkjs/react-markdown/pull/736)

**Full Changelog**:
https://github.com/remarkjs/react-markdown/compare/8.0.6...8.0.7

###
[`v8.0.6`](https://togithub.com/remarkjs/react-markdown/blob/HEAD/changelog.md#&#8203;806---2023-03-20)

[Compare
Source](https://togithub.com/remarkjs/react-markdown/compare/8.0.5...8.0.6)

-
[`33ab015`](https://togithub.com/remarkjs/react-markdown/commit/33ab015)
    Update to TS 5\
    by [**@&#8203;Methuselah96**](https://togithub.com/Methuselah96)
in
[#&#8203;734](https://togithub.com/remarkjs/react-markdown/issues/734)

###
[`v8.0.5`](https://togithub.com/remarkjs/react-markdown/blob/HEAD/changelog.md#&#8203;805---2023-01-17)

[Compare
Source](https://togithub.com/remarkjs/react-markdown/compare/8.0.4...8.0.5)

-
[`d640d40`](https://togithub.com/remarkjs/react-markdown/commit/d640d40)
    Update to use `node16` module resolution in `tsconfig.json`\
by [**@&#8203;ChristianMurphy**](https://togithub.com/ChristianMurphy)
in [#&#8203;723](https://togithub.com/remarkjs/react-markdown/pull/723)
-
[`402fea3`](https://togithub.com/remarkjs/react-markdown/commit/402fea3)
    Fix typo in `plugins` deprecation message\
    by [**@&#8203;marc2332**](https://togithub.com/marc2332)
in [#&#8203;719](https://togithub.com/remarkjs/react-markdown/pull/719)
-
[`4f98f73`](https://togithub.com/remarkjs/react-markdown/commit/4f98f73)
    Remove deprecated and unneeded `defaultProps`\
    by [**@&#8203;Lepozepo**](https://togithub.com/Lepozepo)
in [#&#8203;718](https://togithub.com/remarkjs/react-markdown/pull/718)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTYuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 07:19:54 +00:00
andreas-unleash
f9b8abfe34
fix: override built in stickiness options (#3563)
<!-- 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! ❤️ -->
Created migration for updating context fields
Context fields with stickiness are now the source of truth for
stickiness options.

## About the changes
`userId` context field is updated to have stickiness on by default
`sessionId` context field is added with stickiness on by default
If `default` or `random` are not part of the context field - we add them
This will allow for the option to disable them, by creating a eg.
`random` context field with stickiness off


https://user-images.githubusercontent.com/104830839/233581147-9a514af4-1fdd-4c2e-b954-3cfa13b1a203.mov



<!-- 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 to #
[1-794](https://linear.app/unleash/issue/1-794/reach-out-to-yousician-for-early-beta-test)

<!-- (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-04-21 17:13:42 +03:00
Nuno Góis
0b4df3f53c
feat: add demo guide finish dialog (#3578)
https://linear.app/unleash/issue/2-925/add-final-tutorial-complete-dialog

Adds the finish dialog, similar to
https://github.com/Unleash/unleash/pull/3574

Also includes some fixes and improvements identified in the meantime.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


![image](https://user-images.githubusercontent.com/14320932/233421564-447c559b-db70-4f72-a1d2-b6b5bef3707f.png)

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-04-21 11:48:44 +01:00
Gastón Fournier
4dd4d43cce
chore: remove deprecated strategies and allow deprecate default (#3575)
## About the changes
Improvements around strategies to steer users toward using [strategy
constraints](https://docs.getunleash.io/reference/strategy-constraints)
instead of [custom
strategies](https://docs.getunleash.io/reference/custom-activation-strategies)


Related to #1265 

Important changes:
1.[ Ability to deprecate default
strategy](https://github.com/Unleash/unleash/pull/3575/files#diff-3b49e566565b01580ff7a15f662d2cb824547fdfb3935d0a0baa7fae326d28d6L232-L235)
2. [Remove strategies that were deprecated in v4 only if they're not
used](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R7-R10)
3. [Fresh Unleash installations will not include deprecated strategies
from
v4](https://github.com/Unleash/unleash/pull/3575/files#diff-46265b0d51725a5acbf251589b98a8970e45d3a1c6f3d7ea77bdcc3714e672d8L31-L78)
4. [Deprecate userWithId
strategy](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R13)
(note: if in use it will continue to work, it'll be not listed when
selecting strategies for a feature toggle).
5. [Switch the order of strategies to make gradual rollout first and
change the comment to suggest using gradual rollout instead of other
existing
strategies](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R16-R18)
2023-04-21 11:42:36 +02:00
Gastón Fournier
ab4a6f5c92
chore: GA project specific segments (#3583)
## About the changes
General availability of project-specific segments 

Now new permissions can be assigned to non-admin users to allow them to
create segments specifically bounded to a project (note that unique
naming restriction applies across projects, this limitation can be
lifted later).

![image](https://user-images.githubusercontent.com/455064/233579161-40ab25c5-a306-4fbc-82e5-8d09b3cb6a5f.png)

This enables a section in the project configuration to add
project-specific segments

![image](https://user-images.githubusercontent.com/455064/233578924-7056c626-ff1f-4dad-b00c-7fbd851158a6.png)
2023-04-21 10:25:40 +02:00
dependabot[bot]
f266297892
chore(deps): bump vm2 from 3.9.16 to 3.9.17 in /frontend (#3576)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.16 to 3.9.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/patriksimek/vm2/releases">vm2's
releases</a>.</em></p>
<blockquote>
<h2>3.9.17</h2>
<p><strong>Fixes</strong></p>
<p><a
href="4b22e87b10</a>:
Fix issue in catch block protection. (Thanky to <a
href="https://twitter.com/0x10n">Xion</a> (SeungHyun Lee) of <a
href="https://kaist-hacking.github.io/">KAIST Hacking Lab</a>.)
<a
href="f3db4dee4d</a>:
Fix issue with host exceptions thrown in async functions leaking though
the Promise.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md">vm2's
changelog</a>.</em></p>
<blockquote>
<h2>v3.9.17 (2023-04-17)</h2>
<p>[fix] Multiple security fixes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4f63dc23fe"><code>4f63dc2</code></a>
Release 3.9.17</li>
<li><a
href="f3db4dee4d"><code>f3db4de</code></a>
Handle host errors captured in Promises</li>
<li><a
href="4b22e87b10"><code>4b22e87</code></a>
Ensure every catch block is protected</li>
<li>See full diff in <a
href="https://github.com/patriksimek/vm2/compare/3.9.16...3.9.17">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vm2&package-manager=npm_and_yarn&previous-version=3.9.16&new-version=3.9.17)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 09:49:18 +02:00
renovate[bot]
c417e39858
chore(deps): update dependency @types/react to v17.0.58 (#3570)
[![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.57` ->
`17.0.58`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.57/17.0.58)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.58/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.58/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.58/compatibility-slim/17.0.57)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.58/confidence-slim/17.0.57)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS40OS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:43:23 +00:00
renovate[bot]
606cffa44f
chore(deps): update dependency @uiw/react-codemirror to v4.19.16 (#3557)
[![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.11` ->
`4.19.16`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.11/4.19.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.16/compatibility-slim/4.19.11)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.16/confidence-slim/4.19.11)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

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

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

- 📖 doc: Update README.md
[`85c3468`](https://togithub.com/uiwjs/react-codemirror/commit/85c3468)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix editable/readOnly props.
([#&#8203;488](https://togithub.com/uiwjs/react-codemirror/issues/488))
[`606a5a1`](https://togithub.com/uiwjs/react-codemirror/commit/606a5a1)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.15:
https://raw.githack.com/uiwjs/react-codemirror/904a7d8/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.14...v4.19.15

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

- 🌟 feat(CodeMirrorMerge): add `orientation`, `revertControls`,
`highlightChanges`, `gutter` props.
[`3198a3c`](https://togithub.com/uiwjs/react-codemirror/commit/3198a3c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.14:
https://raw.githack.com/uiwjs/react-codemirror/996d43e/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.13...v4.19.14

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

- 🐞 fix(react-codemirror-merge): fix `ref` issue.
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455))
[`9f90348`](https://togithub.com/uiwjs/react-codemirror/commit/9f90348)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix bundle file name.
[`60fba4f`](https://togithub.com/uiwjs/react-codemirror/commit/60fba4f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.13:
https://raw.githack.com/uiwjs/react-codemirror/4745c35/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.12...v4.19.13

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

- 🐞 fix(react-codemirror-merge): fix extensions props issue.
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455))
[`eb6b780`](https://togithub.com/uiwjs/react-codemirror/commit/eb6b780)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.12:
https://raw.githack.com/uiwjs/react-codemirror/5ce6bf4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.11...v4.19.12

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

- 📖 - 📖 docs: fix indentWithTab prop description
([#&#8203;483](https://togithub.com/uiwjs/react-codemirror/issues/483))
[`ff629d7`](https://togithub.com/uiwjs/react-codemirror/commit/ff629d7)
[@&#8203;lloydlobo](https://togithub.com/lloydlobo)
- 💄 chore(deps): update dependency tsbb to v4
[#&#8203;481](https://togithub.com/uiwjs/react-codemirror/issues/481)
[`83f1d1f`](https://togithub.com/uiwjs/react-codemirror/commit/83f1d1f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add react-codemirror-merge component
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455)).
[`ba3d076`](https://togithub.com/uiwjs/react-codemirror/commit/ba3d076)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

```jsx
import CodeMirrorMerge from 'react-codemirror-merge';
import { EditorView } from 'codemirror';
import { EditorState } from '@&#8203;codemirror/state';

const Original = CodeMirrorMerge.Original;
const Modified = CodeMirrorMerge.Modified;
let doc = `one
two
three
four
five`;

export const Example = () => {
  return (
    <CodeMirrorMerge orientation="b-a">
      <Original value={doc} />
      <Modified
        value={doc.replace(/t/g, 'T') + 'Six'}
        extensions={[EditorView.editable.of(false), EditorState.readOnly.of(true)]}
      />
    </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:eyJjcmVhdGVkSW5WZXIiOiIzNS40OS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 15:32:50 +00:00
Nuno Góis
2cf6e689ee
feat: add demo guide welcome dialog (#3574)
https://linear.app/unleash/issue/2-923/add-initial-getting-started-dialog

Adds the welcome dialog with the static QR code pointing to our demo
website. Also changes how the run logic works a bit, so that we have
better control over it (only start demo steps once we click the start
button, etc).

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


![image](https://user-images.githubusercontent.com/14320932/233395897-133edc18-371f-424f-a276-9ca0c9ec5b49.png)
2023-04-20 16:32:26 +01:00
Simon Hornby
3b42e866ec
feat: root roles from groups (#3559)
feat: adds a way to specify a root role on a group, which will cause any user entering into that group to take on the permissions of that root role

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-04-20 12:29:30 +02:00
renovate[bot]
b1d73ba47c
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.16 (#3555)
[![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.11` ->
`4.19.16`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.11/4.19.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/compatibility-slim/4.19.11)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/confidence-slim/4.19.11)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

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

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

- 📖 doc: Update README.md
[`85c3468`](https://togithub.com/uiwjs/react-codemirror/commit/85c3468)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix editable/readOnly props.
([#&#8203;488](https://togithub.com/uiwjs/react-codemirror/issues/488))
[`606a5a1`](https://togithub.com/uiwjs/react-codemirror/commit/606a5a1)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.15:
https://raw.githack.com/uiwjs/react-codemirror/904a7d8/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.14...v4.19.15

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

- 🌟 feat(CodeMirrorMerge): add `orientation`, `revertControls`,
`highlightChanges`, `gutter` props.
[`3198a3c`](https://togithub.com/uiwjs/react-codemirror/commit/3198a3c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.14:
https://raw.githack.com/uiwjs/react-codemirror/996d43e/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.13...v4.19.14

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

- 🐞 fix(react-codemirror-merge): fix `ref` issue.
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455))
[`9f90348`](https://togithub.com/uiwjs/react-codemirror/commit/9f90348)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix bundle file name.
[`60fba4f`](https://togithub.com/uiwjs/react-codemirror/commit/60fba4f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.13:
https://raw.githack.com/uiwjs/react-codemirror/4745c35/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.12...v4.19.13

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

- 🐞 fix(react-codemirror-merge): fix extensions props issue.
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455))
[`eb6b780`](https://togithub.com/uiwjs/react-codemirror/commit/eb6b780)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.12:
https://raw.githack.com/uiwjs/react-codemirror/5ce6bf4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.11...v4.19.12

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

- 📖 - 📖 docs: fix indentWithTab prop description
([#&#8203;483](https://togithub.com/uiwjs/react-codemirror/issues/483))
[`ff629d7`](https://togithub.com/uiwjs/react-codemirror/commit/ff629d7)
[@&#8203;lloydlobo](https://togithub.com/lloydlobo)
- 💄 chore(deps): update dependency tsbb to v4
[#&#8203;481](https://togithub.com/uiwjs/react-codemirror/issues/481)
[`83f1d1f`](https://togithub.com/uiwjs/react-codemirror/commit/83f1d1f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add react-codemirror-merge component
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455)).
[`ba3d076`](https://togithub.com/uiwjs/react-codemirror/commit/ba3d076)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

```jsx
import CodeMirrorMerge from 'react-codemirror-merge';
import { EditorView } from 'codemirror';
import { EditorState } from '@&#8203;codemirror/state';

const Original = CodeMirrorMerge.Original;
const Modified = CodeMirrorMerge.Modified;
let doc = `one
two
three
four
five`;

export const Example = () => {
  return (
    <CodeMirrorMerge orientation="b-a">
      <Original value={doc} />
      <Modified
        value={doc.replace(/t/g, 'T') + 'Six'}
        extensions={[EditorView.editable.of(false), EditorState.readOnly.of(true)]}
      />
    </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:eyJjcmVhdGVkSW5WZXIiOiIzNS40OS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 00:20:18 +00:00
Nuno Góis
58fb1a21fd
feat: implement demo guide steps (#3569)
https://linear.app/unleash/issue/2-924/implement-the-guide-steps

While https://github.com/Unleash/unleash/pull/3528 implemented the basic
guide logic with some example steps, this PR adds the guide steps as per
the current demo, along with any necessary changes and features that
were needed to accomplish this.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


https://user-images.githubusercontent.com/14320932/233133252-a3790f11-ec5d-4ee3-952d-88348212bd3c.mp4
2023-04-19 19:40:29 +01:00
Tymoteusz Czech
169b2bd0c5
Strategy title frontend (#3556)
Ability to add a title to a strategy
2023-04-19 17:27:23 +00:00
renovate[bot]
d10623e0b6
chore(deps): update dependency @types/react to v17.0.57 (#3547)
[![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.56` ->
`17.0.57`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.56/17.0.57)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.57/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.57/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.57/compatibility-slim/17.0.56)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.57/confidence-slim/17.0.56)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS40OC4yIiwidXBkYXRlZEluVmVyIjoiMzUuNDguMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 22:46:59 +00:00
Jaanus Sellin
592b40f8c0
feat: deletion confirmation spelling (#3548) 2023-04-18 17:10:34 +02:00
Gastón Fournier
201c86838f
Test npm publish (#3554)
## About the changes

https://github.blog/changelog/2022-10-24-npm-v9-0-0-released/ introduced
a breaking change in the way they handle files inside package.json which
caused some issues with the way we pack and distribute Unleash:

> npm pack now follows a strict order of operations when applying ignore
rules. If a files array is present in the package.json, then rules in
.gitignore and .npmignore files from the root will be ignored.

What we discovered is that when having a nested .gitignore (the one we
have inside frontend), `npm publish` was taking that nested .gitignore
into account (despite the fact that we also have a package.json with
files inside the same folder). We tricked this by removing the `build`
folder from `frontend/.gitignore` and instead adding it into the root
`.gitignore` which is being ignored by `npm publish` following what's
stated in the release note above.

-----------------

Co-authored-by: Gard Rimestad <gard@getunleash.io>
2023-04-18 15:44:19 +02:00
Gastón Fournier
e6f3b3009a
fix: missing node engine upgrade to 18 (#3552)
## About the changes
Updates frontend engine minimum version to node 18 and also improves
some messages in the release GHA task
2023-04-18 12:42:49 +00:00
Nuno Góis
6c79c790a9
feat: implement demo guide steps logic (#3528)
https://linear.app/unleash/issue/2-915/implement-guide-steps-logic


https://user-images.githubusercontent.com/14320932/232099388-a8138b29-8256-4ed2-b8f4-f7607cf3ab9c.mp4

See discussion for context:
https://unleash-internal.slack.com/archives/C046LV85N3C/p1681723816687779?thread_ts=1681488537.345059&cid=C046LV85N3C

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-04-18 10:56:15 +01:00
Christopher Kolstad
867a514d1f
feat: Added configurable signing algorithm to OIDC configuration (#3522)
We've had requests from customers that use RS512 as the default signing
algorithm in their OIDC server deployment. This PR adds that as a config
variable to the OIDC form.
2023-04-18 10:42:32 +02:00
Gastón Fournier
0426dd505d
chore: update to node 18 (#3527)
## About the changes
This upgrades our main branch to use node 18 which is the active LTS
version and stops using node 14 which reaches the end of life in a few
weeks: https://nodejs.dev/en/about/releases/

This PR also adds `--no-experimental-fetch` for frontend tests and other
frontend commands. Related to:
https://github.com/node-fetch/node-fetch/issues/1566

More about the experimental fetch release:
https://nodejs.org/en/blog/announcements/v18-release-announce#fetch-experimental
2023-04-18 10:35:32 +02:00
Jaanus Sellin
56f09ce392
feat: list affected features (#3534) 2023-04-17 16:03:59 +03:00
Mateusz Kwasniewski
5fa13aba0e
feat: remove project overview flags (#3532) 2023-04-17 11:21:52 +02:00
dependabot[bot]
97f8f54d18
chore(deps): bump vm2 from 3.9.15 to 3.9.16 in /frontend (#3513)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/patriksimek/vm2/releases">vm2's
releases</a>.</em></p>
<blockquote>
<h2>3.9.16</h2>
<p><strong>Fixes</strong></p>
<p><a
href="24c724daa7</a>:
Fix issue in transformer issue by reworking replacement logic. (Thanky
to <a href="https://twitter.com/0x10n">Xion</a> (SeungHyun Lee) of <a
href="https://kaist-hacking.github.io/">KAIST Hacking Lab</a>.)</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md">vm2's
changelog</a>.</em></p>
<blockquote>
<h2>v3.9.16 (2023-04-11)</h2>
<p>[fix] Security fix (see <a
href="https://redirect.github.com/patriksimek/vm2/issues/516">patriksimek/vm2#516</a>).</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="24c724daa7"><code>24c724d</code></a>
Release 3.9.16</li>
<li>See full diff in <a
href="https://github.com/patriksimek/vm2/compare/3.9.15...3.9.16">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vm2&package-manager=npm_and_yarn&previous-version=3.9.15&new-version=3.9.16)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 10:47:25 +02:00
Mateusz Kwasniewski
c270344cff
feat: visualize adding a default strategy (#3521) 2023-04-14 12:33:04 +02:00
andreas-unleash
7e5838a681
fix: remove e2e tests (#3515)
<!-- 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! ❤️ -->
After discussions around e2e tests:
- Became clear that the intention is to test core functionality only

Removing 2 test files:
- notifications.spec.ts : because all PRs are run against the same
heroku backend - no guarantee that more notifications will not happen as
other tests run - so the test is flaky
- settings.spec.ts: depends on instance being enterprise and a flag on  
## 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-04-13 16:04:06 +03:00
Jaanus Sellin
5dd5b4f614
feat: linkify comments (#3517) 2023-04-13 15:48:03 +03:00
Jaanus Sellin
6874df66f0
feat: cr overview title (#3516) 2023-04-13 15:33:37 +03:00
Nuno Góis
d2da6de7d5
feat: adds demo feature flag (#3514)
https://linear.app/unleash/issue/2-912/create-demo-feature-flag

Adds `demo` as a feature flag that controls the new interactive demo
feature.
2023-04-13 12:06:00 +01:00
Jaanus Sellin
353cb8c05d
feat: CR title from review page (#3509) 2023-04-13 12:24:31 +03:00
dependabot[bot]
5ac6398c44
chore(deps): bump vm2 from 3.9.13 to 3.9.15 in /frontend (#3481)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.13 to 3.9.15.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/patriksimek/vm2/releases">vm2's
releases</a>.</em></p>
<blockquote>
<h2>3.9.15</h2>
<p><strong>Fixes</strong></p>
<p><a
href="d534e5785f</a>:
Ensure no host objects are passed through to
<code>Error.prepareStackTrace</code>. (Thanky to Seongil Wi from KAIST
<a href="https://wsp-lab.github.io/">WSP Lab</a>)</p>
<h2>3.9.14</h2>
<p><strong>Fixes</strong></p>
<p><a
href="fe3ab68832</a>:
Support conditional export resolution with custom resolver (thanks to
nick-klaviyo).</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md">vm2's
changelog</a>.</em></p>
<blockquote>
<h2>v3.9.15 (2023-04-06)</h2>
<p>[fix] Security fix (see <a
href="https://redirect.github.com/patriksimek/vm2/issues/515">patriksimek/vm2#515</a>).</p>
<h2>v3.9.14 (2023-02-05)</h2>
<p>[new] Support conditional export resolution with custom resolver.
(nick-klaviyo)</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="115d1644b7"><code>115d164</code></a>
Release 3.9.15</li>
<li><a
href="d534e5785f"><code>d534e57</code></a>
Wrap host objects passes through prepareStackTrace</li>
<li><a
href="e541782b7f"><code>e541782</code></a>
Merge pull request <a
href="https://redirect.github.com/patriksimek/vm2/issues/506">#506</a>
from XmiliaH/release-3.9.14</li>
<li><a
href="066afd1e62"><code>066afd1</code></a>
Release 3.9.14</li>
<li><a
href="fe3ab68832"><code>fe3ab68</code></a>
Merge pull request <a
href="https://redirect.github.com/patriksimek/vm2/issues/505">#505</a>
from NapkinHQ/fix-conditional-export-resolve</li>
<li><a
href="eefe3f1eb1"><code>eefe3f1</code></a>
update .eslintignore;update index.d.ts resolve return type</li>
<li><a
href="c70d945fc8"><code>c70d945</code></a>
add 'type':'module' in es module package.json</li>
<li><a
href="4659ce006e"><code>4659ce0</code></a>
add additional return type for resolve signature</li>
<li><a
href="1da44154ee"><code>1da4415</code></a>
add missing semicolon</li>
<li><a
href="5a86675641"><code>5a86675</code></a>
Support conditional export resolution with custom resolver</li>
<li>Additional commits viewable in <a
href="https://github.com/patriksimek/vm2/compare/3.9.13...3.9.15">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vm2&package-manager=npm_and_yarn&previous-version=3.9.13&new-version=3.9.15)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 16:51:32 +02:00
andreas-unleash
60a2c1a996
chore: Backport 4.22.3 (#3508)
<!-- 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! ❤️ -->
Backports stickiness fixes 
## 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>
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Mateusz Kwasniewski <kwasniewski.mateusz@gmail.com>
2023-04-12 16:22:13 +03:00
Jaanus Sellin
427030c390
feat: add username to CR overview and list (#3498) 2023-04-12 09:43:05 +03:00
Mateusz Kwasniewski
3b1157b869
feat: skip change request in UI (#3495) 2023-04-11 14:47:54 +02:00
Jaanus Sellin
ac04f4331f
feat: add comment when submitting CR (#3489) 2023-04-11 10:20:10 +03:00
renovate[bot]
8f659b02f1
chore(deps): update dependency @types/react to v17.0.56 (#3492)
[![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.55` ->
`17.0.56`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.55/17.0.56)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.56/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.56/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.56/compatibility-slim/17.0.55)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.56/confidence-slim/17.0.55)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 03:20:20 +00:00
renovate[bot]
8776c31f50
chore(deps): update dependency @xmldom/xmldom to v0.8.7 (#3491)
[![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.6` ->
`0.8.7`](https://renovatebot.com/diffs/npm/@xmldom%2fxmldom/0.8.6/0.8.7)
|
[![age](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.7/compatibility-slim/0.8.6)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.7/confidence-slim/0.8.6)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.8.7`](https://togithub.com/xmldom/xmldom/blob/HEAD/CHANGELOG.md#&#8203;087-httpsgithubcomxmldomxmldomcompare086087)

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

##### Fixed

- properly parse closing where the last attribute has no value
[`#485`](https://togithub.com/xmldom/xmldom/pull/485) /
[`#486`](https://togithub.com/xmldom/xmldom/issues/486)

Thank you, [@&#8203;bulandent](https://togithub.com/bulandent), 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:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 22:33:36 +00:00
renovate[bot]
343e833b20
chore(deps): update dependency @uiw/react-codemirror to v4.19.11 (#3484)
[![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.10` ->
`4.19.11`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.10/4.19.11)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.11/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.11/compatibility-slim/4.19.10)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.11/confidence-slim/4.19.10)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.11:
https://raw.githack.com/uiwjs/react-codemirror/79658d4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.10...v4.19.11

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

- 🐞 fix: fix dependencies issue.
([#&#8203;480](https://togithub.com/uiwjs/react-codemirror/issues/480))
[`3232f4c`](https://togithub.com/uiwjs/react-codemirror/commit/3232f4c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update workflows config.
[`c24f120`](https://togithub.com/uiwjs/react-codemirror/commit/c24f120)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNS4zNy4xIiwidXBkYXRlZEluVmVyIjoiMzUuMzcuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 17:18:28 +00:00
renovate[bot]
52cc633a0a
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.11 (#3483)
[![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.10` ->
`4.19.11`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.10/4.19.11)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.11/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.11/compatibility-slim/4.19.10)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.11/confidence-slim/4.19.10)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.11:
https://raw.githack.com/uiwjs/react-codemirror/79658d4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.10...v4.19.11

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

- 🐞 fix: fix dependencies issue.
([#&#8203;480](https://togithub.com/uiwjs/react-codemirror/issues/480))
[`3232f4c`](https://togithub.com/uiwjs/react-codemirror/commit/3232f4c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update workflows config.
[`c24f120`](https://togithub.com/uiwjs/react-codemirror/commit/c24f120)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNS4zNC4xIiwidXBkYXRlZEluVmVyIjoiMzUuMzQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 07:41:18 +00:00
renovate[bot]
6d7f71c5f5
chore(deps): update dependency @types/react to v17.0.55 (#3459)
[![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.53` ->
`17.0.55`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.53/17.0.55)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.55/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.55/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.55/compatibility-slim/17.0.53)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.55/confidence-slim/17.0.53)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS4zMi4yIiwidXBkYXRlZEluVmVyIjoiMzUuMzIuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 14:46:18 +00:00
Tymoteusz Czech
8f278cb726
Fix: feature schema (#3456) 2023-04-07 09:16:00 +00:00
Tymoteusz Czech
b20ac68605
fix: media query issue in feedback modal (#3470) 2023-04-07 11:10:14 +02:00
Tymoteusz Czech
e864657ef8
fix: bulk update delete flag (#3466)
Allow deleting with BULK_UPDATE flag turned off
2023-04-06 20:50:19 +03:00
Jaanus Sellin
33487d11b9
feat: authorization middleware (#3464) 2023-04-06 11:46:54 +02:00
andreas-unleash
c6ba6059cc
fix: reset stickiness to default on variants modal close (#3455)
<!-- 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! ❤️ -->
Expanded the onClose handler to reset stickiness to default for project
on modal close
## 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-04-05 14:20:58 +03:00
Gastón Fournier
0e37e68424
feat: add PAT kill switch (#3454)
## Add the ability to disable Personal Access Tokens (PAT) admin API

This PR disables PAT admin endpoints so it's not possible to create or
get PATs the kill switch is enabled, the UI is hidden but the existing
PATs will continue to work if they were created before. The delete
endpoint still works allowing an admin to delete old PATs

By default the kill switch is disabled (i.e. PAT is enabled by default)
2023-04-05 10:20:50 +02:00
Mateusz Kwasniewski
3912b57b09
feat: remove project mode flag (#3438) 2023-04-04 13:28:59 +02:00
andreas-unleash
99c555bf59
chore: refactor Cypress tests (#3445)
Adds proper typescript support.
Created reusable commands
Added README for cypress test
Refactored tests
Fixed bugs as I found them.
<!-- 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-04-04 11:46:28 +03:00
renovate[bot]
773469d715
chore(deps): update dependency immer to v9.0.21 (#3444)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>immerjs/immer</summary>

### [`v9.0.21`](https://togithub.com/immerjs/immer/releases/tag/v9.0.21)

[Compare
Source](https://togithub.com/immerjs/immer/compare/v9.0.20...v9.0.21)

##### Bug Fixes

- ensure type exports is first in package.json export declaration
([#&#8203;1018](https://togithub.com/immerjs/immer/issues/1018))
([b6ccd0f](b6ccd0f534))

### [`v9.0.20`](https://togithub.com/immerjs/immer/releases/tag/v9.0.20)

[Compare
Source](https://togithub.com/immerjs/immer/compare/v9.0.19...v9.0.20)

##### Bug Fixes

- patching maps failed when using number keys
([#&#8203;1025](https://togithub.com/immerjs/immer/issues/1025))
([dd83e2e](dd83e2e2db))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4zMS40IiwidXBkYXRlZEluVmVyIjoiMzUuMzEuNCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 15:42:06 +00:00
renovate[bot]
da47c08e0a
chore(deps): update dependency @uiw/react-codemirror to v4.19.10 (#3437)
[![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.9` ->
`4.19.10`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.9/4.19.10)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.10/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.10/compatibility-slim/4.19.9)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.10/confidence-slim/4.19.9)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.10:
https://raw.githack.com/uiwjs/react-codemirror/061c0a9/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.9...v4.19.10

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

- 🐞 fix(deps): update dependency
[@&#8203;codemirror/lang-markdown](https://togithub.com/codemirror/lang-markdown)
to ~6.1.0
([#&#8203;459](https://togithub.com/uiwjs/react-codemirror/issues/459))
[`68abb98`](https://togithub.com/uiwjs/react-codemirror/commit/68abb98)
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- 💄 chore(core): remove unused const
([#&#8203;467](https://togithub.com/uiwjs/react-codemirror/issues/467))
[`f284a8d`](https://togithub.com/uiwjs/react-codemirror/commit/f284a8d)
[@&#8203;jgbernalp](https://togithub.com/jgbernalp)
- 📖 doc(extensions): update README.md
[`6968faf`](https://togithub.com/uiwjs/react-codemirror/commit/6968faf)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: optimizing useCodeMirror rendering issues.
([#&#8203;474](https://togithub.com/uiwjs/react-codemirror/issues/474))
[`5eee5f4`](https://togithub.com/uiwjs/react-codemirror/commit/5eee5f4)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🔙 - 🐞 revert: "fix: optimizing useCodeMirror rendering issues.
([#&#8203;474](https://togithub.com/uiwjs/react-codemirror/issues/474))"
[`2fbfc8f`](https://togithub.com/uiwjs/react-codemirror/commit/2fbfc8f)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 15:08:35 +00:00
renovate[bot]
257db03f87
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.10 (#3436)
[![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.9` ->
`4.19.10`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.9/4.19.10)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.10/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.10/compatibility-slim/4.19.9)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.10/confidence-slim/4.19.9)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.10:
https://raw.githack.com/uiwjs/react-codemirror/061c0a9/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.9...v4.19.10

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

- 🐞 fix(deps): update dependency
[@&#8203;codemirror/lang-markdown](https://togithub.com/codemirror/lang-markdown)
to ~6.1.0
([#&#8203;459](https://togithub.com/uiwjs/react-codemirror/issues/459))
[`68abb98`](https://togithub.com/uiwjs/react-codemirror/commit/68abb98)
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- 💄 chore(core): remove unused const
([#&#8203;467](https://togithub.com/uiwjs/react-codemirror/issues/467))
[`f284a8d`](https://togithub.com/uiwjs/react-codemirror/commit/f284a8d)
[@&#8203;jgbernalp](https://togithub.com/jgbernalp)
- 📖 doc(extensions): update README.md
[`6968faf`](https://togithub.com/uiwjs/react-codemirror/commit/6968faf)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: optimizing useCodeMirror rendering issues.
([#&#8203;474](https://togithub.com/uiwjs/react-codemirror/issues/474))
[`5eee5f4`](https://togithub.com/uiwjs/react-codemirror/commit/5eee5f4)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🔙 - 🐞 revert: "fix: optimizing useCodeMirror rendering issues.
([#&#8203;474](https://togithub.com/uiwjs/react-codemirror/issues/474))"
[`2fbfc8f`](https://togithub.com/uiwjs/react-codemirror/commit/2fbfc8f)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-02 13:37:30 +00:00
Nuno Góis
e903a3ae89
fix: proper check for billing seats on user creation (#3432)
https://unleash-community.slack.com/archives/C033ES94QMT/p1680236503981349
Fixes the user creation extra seat billing alert to only show when the
total users exceed the number of free seats.
2023-03-31 13:37:33 +03:00
renovate[bot]
62c0febe9d
chore(deps): update dependency jsdom to v21.1.1 (#3427)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>jsdom/jsdom</summary>

###
[`v21.1.1`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#&#8203;2111)

[Compare
Source](https://togithub.com/jsdom/jsdom/compare/21.1.0...21.1.1)

- Fixed `jsdom.reconfigure()` to also adjust the URL as seen by the
history API, so that e.g. `history.replaceState(null, "")` would not
mess up the URL. (jdufresne)
-   Fixed `location.hash = ""` to leave any `#` in location.href.
- Fixes a few bugs with CSS parsing by replacing `cssom` with
`rweb-cssom`, since the latter is maintained. (seanparmelee)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMy4zIiwidXBkYXRlZEluVmVyIjoiMzUuMjMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 16:17:45 +00:00
Nuno Góis
2e6b6cd354
fix: dark theme UI fixes (#3423)
https://linear.app/unleash/issue/2-849/dark-mode-ui-fixes


![image](https://user-images.githubusercontent.com/14320932/228607663-fd474e42-b23d-4fc2-a083-d42b87332399.png)


![image](https://user-images.githubusercontent.com/14320932/228607757-bf53d67b-8ef1-4aba-bcc1-f2c6b9cc56a2.png)


![image](https://user-images.githubusercontent.com/14320932/228607875-5bfaeb46-e37c-41d3-941f-bc89e10ad43f.png)

Also includes misc UI fixes and improvements we identified along the
way.

Co-authored by @NicolaeUnleash

---------

Co-authored-by: NicolaeUnleash <103567375+NicolaeUnleash@users.noreply.github.com>
2023-03-30 16:57:35 +01:00
andreas-unleash
87c1407923
chore: remove showProjectApiAccess flag (#3406)
<!-- 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! ❤️ -->

Remove `showProjectApiAccess` flag

## 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-03-30 10:22:45 +03:00
Tymoteusz Czech
f124997485
E2E test - batch updates (#3392) 2023-03-29 14:47:12 +03:00
andreas-unleash
9b6f5cd198
fix: make api tokens ui consistent and remove check for deprecated envs. (#3410)
<!-- 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! ❤️ -->

This PR removes the check for deprecated environments when validating
api token environment.

Unifies global and project level tokens allow selection of deprecated
environments when creating an api token

Adds 'deprecated' to the EnvironmentSelector when appropriate

## 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-03-29 10:33:14 +03:00
Jaanus Sellin
7af5023511
fix: add export button behind flag (#3416) 2023-03-29 10:02:44 +03:00
Jaanus Sellin
99bcd7ca5c
feat: add import export flag (#3411) 2023-03-29 09:19:33 +03:00
renovate[bot]
fec4ed1b15
chore(deps): update dependency countries-and-timezones to v3.4.1 (#3401)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[countries-and-timezones](https://togithub.com/manuelmhtr/countries-and-timezones)
| [`3.4.0` ->
`3.4.1`](https://renovatebot.com/diffs/npm/countries-and-timezones/3.4.0/3.4.1)
|
[![age](https://badges.renovateapi.com/packages/npm/countries-and-timezones/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/countries-and-timezones/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/countries-and-timezones/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/countries-and-timezones/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>manuelmhtr/countries-and-timezones</summary>

###
[`v3.4.1`](https://togithub.com/manuelmhtr/countries-and-timezones/blob/HEAD/CHANGELOG.md#&#8203;341---2023-01-29)

[Compare
Source](https://togithub.com/manuelmhtr/countries-and-timezones/compare/v3.4.0...v3.4.1)

##### Fixed

-   Broken shield on Readme.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 02:47:19 +00:00
Nuno Góis
9e178de570
fix: update route modes (#3412)
Follow up to https://github.com/Unleash/unleash/pull/3409:
`Login history` and `Project roles` are also Enterprise features.
2023-03-28 20:14:57 +01:00
andreas-unleash
0d68febdf7
Fix: make stickiness accept any string (#3408)
<!-- 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! ❤️ -->
Changes the schema and api to accept any string for defaultStickiness
## 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-03-28 16:42:16 +03:00
Mateusz Kwasniewski
39acf9f104
fix: hide pro routes (#3409) 2023-03-28 15:12:24 +02:00
Tymoteusz Czech
00d2087737
fix: update notifications e2e specs 2023-03-28 14:26:51 +02:00
Tymoteusz Czech
583eb63e75
fix e2e notifications specs setup 2023-03-28 14:26:08 +02:00
Mateusz Kwasniewski
f09565f38f
feat: disable apply button on loading (#3404) 2023-03-28 13:13:51 +02:00
Jaanus Sellin
e9271d8eec
fix: notifcations word break (#3403) 2023-03-28 13:27:47 +03:00
andreas-unleash
6037542fc0
fix: Make api token environment selector accept environments (#3379)
<!-- 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 api token environment selector accept options to allow
different environment to be passed in according to the use case ie use
all envs when creating api tokens and use project envs when creating
project scoped tokens
## 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-811](https://linear.app/unleash/issue/1-811/change-environment-dropdown-to-show-all-environments-enabled-for-the)

<!-- (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-03-28 13:11:07 +03:00
Mateusz Kwasniewski
3b311f74c0
feat: stop change project on change request enabled (#3391) 2023-03-28 11:28:22 +02:00
renovate[bot]
27a6a657bb
chore(deps): update dependency @types/uuid to v9.0.1 (#3397)
[![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/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`9.0.0` ->
`9.0.1`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.0/9.0.1) |
[![age](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.1/compatibility-slim/9.0.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.1/confidence-slim/9.0.0)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMy4zIiwidXBkYXRlZEluVmVyIjoiMzUuMjMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 08:26:14 +00:00
Fredrik Strand Oseberg
a98bfb2229
fix: remove notification feature flag from oss (#3390)
Removes the notifications feature flag
2023-03-27 16:08:27 +02:00
Mateusz Kwasniewski
2caab45801
feat: disallow clone toggle on change request enabled (#3383) 2023-03-27 13:21:50 +02:00
Mateusz Kwasniewski
a1535aed91
fix: error boundary plausible (#3389) 2023-03-27 13:17:37 +02:00
Mateusz Kwasniewski
9abe859e60
chore: remove export import flag (#3371) 2023-03-27 12:31:19 +02:00
NicolaeUnleash
3e602ceed5
fix: header-responsiveness (#3381)
- when introducing dark mode icon in the header, on tablet the menu
items don't have enough space anymore, and this fix it

- fixing also the color for dark mode of the keyboard nav button "skip
to content"
2023-03-24 15:51:28 +02:00
andreas-unleash
f4e0c9a905
fix: settings endpoint add basePath (#3377)
<!-- 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 missing basePath for project settings endpoint
## 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-03-23 16:13:28 +02:00
Jaanus Sellin
117c31791d
fix: fix transparancy of sticky component (#3376) 2023-03-23 11:57:21 +00:00
Thomas Heartman
e9c2a332b6
Add collab mode docs to side bar + fix casing inconsistency in tooltip (#3375)
This change does two things:

- Adds project collaboration mode docs to the sidebar
- Fixes a casing inconsistency in the collaboration mode tooltip:
previously, one of the explanations started with a lowercase character
and the other with an uppercase character. Now they both start with
lowercase characters.
2023-03-23 10:27:54 +00:00
andreas-unleash
a1952aca9d
Feat: plausible tracking stickiness (#3363)
<!-- 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 plausible tracking when default project stickiness is changed

## 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-03-22 20:04:02 +02:00
Nuno Góis
e0d2536d6f
feat: dark mode switch (#3370)
https://linear.app/unleash/issue/1-802/replace-the-dark-mode-switch

<img width="221" alt="image"
src="https://user-images.githubusercontent.com/14320932/226900284-642f5f0d-5f10-47a5-92cc-080bddbcbfc1.png">
<img width="159" alt="image"
src="https://user-images.githubusercontent.com/14320932/226900684-13a044a3-4a18-41fc-bc76-f4f34a911a53.png">

**Note**: The second screenshot does not show the dark theme because
that's part of https://github.com/Unleash/unleash/pull/3298

Improves the dark mode switch to be a simple IconButton that acts as a
flip switch.
2023-03-22 14:39:02 +00:00
NicolaeUnleash
705462f0cf
feat: dark theme v1 (#3298)
## About the changes

Creating the first version of the Dark theme

Refactor: colors variables
Refactor: use theme variable instead 
- this change will help us to use MuiCssBaseline, and we can use classes
directly for easy customization when we can't identify MUI classes

Refactor: adjusting some files components
- i’ve touched also the structure of some files, not only the colors
variables (but only to adjust the style, not functionality)

Fix: dark mode persistence on refresh (by Nuno)

Feat: dark mode sees light logos, and light mode sees dark logos (by
Nuno)

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-03-22 16:37:40 +02:00
Tymoteusz Czech
5585a9bed0
Sticky batch actions bar (#3366) 2023-03-22 13:15:53 +01:00
Mateusz Kwasniewski
e03307e286
docs: Project collaboration mode docs (#3360) 2023-03-22 13:13:56 +01:00
Jaanus Sellin
55f8d5b09e
feat: batch operatsion plausible events (#3367) 2023-03-22 13:46:16 +02:00
Nuno Góis
6c697615dc
fix: revert overflow hidden in section, unset in modal (#3364)
This reverts and adapts
https://github.com/Unleash/unleash/pull/3307/files#r1135784293 -
Apparently it broke the form border radius when not in modal mode.

This change makes it so that we have `overflow: hidden` in most cases
but `overflow: unset` when using `FormTemplate` as a modal, effectively
covering both use cases.

Normal:

![image](https://user-images.githubusercontent.com/14320932/226637777-cc8dba05-4447-4bee-b517-59d4e1dc1923.png)

Modal (`position: sticky` header in variants still works correctly):

![image](https://user-images.githubusercontent.com/14320932/226637986-bb744c3f-822b-454b-b058-450e7263bf5f.png)
2023-03-22 10:58:39 +01:00
Gastón Fournier
64c41b8c6d
fix: properly escaping app names (#3368)
## About the changes
Network overview was not escaping square brackets from app names and
that caused mermaid graph to break. We've also identified problems with
quotes and some characters not showing properly when using utf-8 (but
still no solution for this). We're going to be testing the utf-8 issue
in our sandbox instances.
2023-03-22 10:40:22 +01:00
Fredrik Strand Oseberg
96da121863
Fix/show notification state (#3365)
Adds
* Missing notification switch state
* Fixed width
* Notification icon outline
2023-03-22 00:14:49 +01:00
Nuno Góis
27d48b3437
Feat segments project safeguards (#3359)
https://linear.app/unleash/issue/2-811/ability-to-move-project-specific-segments


![image](https://user-images.githubusercontent.com/14320932/226572047-19ed225c-13d5-4f2e-b10f-e17a7f7e6ae7.png)

Provides some safeguards to project-specific segments when managing them
on a global level (segments page):
- You can always promote a segment to global;
- You can't specify a project if the segment is currently in use in
multiple projects;
- You can't specify a different project if the segment is currently
already in use in a project;
2023-03-21 20:28:43 +00:00
Tymoteusz Czech
2147206b49
Bulk tags (#3337)
1-753/frontend-features-in-project-overview
2023-03-21 13:37:25 +01:00
Mateusz Kwasniewski
9495df6705
feat: project mode tooltip (#3353) 2023-03-21 10:27:46 +01:00
Jaanus Sellin
9969433f8c
refactor: not used cleanup (#3347) 2023-03-21 11:10:07 +02:00
Jaanus Sellin
076768215e
feat: delete features FE (#3350) 2023-03-21 10:45:02 +02:00
andreas-unleash
8a03e5526c
Fix/remove settings post endpoint (#3356)
<!-- 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! ❤️ -->
This PR removes the call the setDefaultProjectStickiness from
EditProject.

The value is part of the payload for the project
## 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-03-21 10:18:48 +02:00
Mateusz Kwasniewski
fe6324760e
fix: project stickiness behind flag (#3355) 2023-03-21 08:13:43 +01:00
Mateusz Kwasniewski
02dda7248f
fix: hidden notifications (#3354) 2023-03-20 15:36:57 +00:00
Mateusz Kwasniewski
476f246faa
feat: hide notifications from oss version (#3352) 2023-03-20 15:11:22 +01:00
Mateusz Kwasniewski
acc05a4b84
feat: verify project collaboration mode in CR permissions for buttons (#3349) 2023-03-20 14:50:50 +01:00
Jaanus Sellin
d28e65b94c
feat: revive features (#3344) 2023-03-17 18:21:13 +00:00
Nuno Góis
2c2da4ad3f
Feat project segments permissions (#3346)
- Adds `UPDATE_PROJECT_SEGMENT` permission checks;
- Allows `PermissionIconButton` to evaluate multiple permissions, just
like `PermissionButton`;
- Also includes a possible fix for `hasAccess` in `AccessProvider`.
2023-03-17 17:43:48 +00:00
Nuno Góis
71f6b8e172
fix: revert form section 100 height (#3345)
Small fix that reverts
https://github.com/Unleash/unleash/pull/3335/files#r1138829014 - Turns
out it wasn't totally harmless and broke some modals that had more than
100% height and no overflow.

This approach maintains the original logic and adds a new prop for the
segment forms to make them proper modals when used in the project
context.
2023-03-17 13:59:46 +00:00
andreas-unleash
32e1ad44ed
Feat/add cypress tests for project scoped stickiness (#3340)
<!-- 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-03-17 14:41:59 +02:00
Nuno Góis
292d6a7f60
feat: implement project-scoped segments in project settings (#3335)
https://linear.app/unleash/issue/2-743/have-a-project-specific-configuration-section


![image](https://user-images.githubusercontent.com/14320932/225657038-1a385e6e-deb3-4229-a30d-e7ca28ef2b3c.png)

Adds the "segments" option to project settings, providing the usual CRUD
operations but scoped to the specific project.
2023-03-17 08:23:27 +00:00
Mateusz Kwasniewski
f907dfad15
fix: remove stickiness error (#3338)
<!-- 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

Code was failing on create project because project id is empty
<img width="1123" alt="Screenshot 2023-03-16 at 16 43 55"
src="https://user-images.githubusercontent.com/1394682/225688715-98a2bd19-cb1a-43ce-a405-f1911645c638.png">


### 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-03-17 04:35:55 +02:00
Fredrik Strand Oseberg
e2ad0cae45
fix: refactor calculate time to prod (#3333)
This PR changes how we calculate average time to production. Instead of
calculating fleeting 30 day windows and calculating the past and current
window, we now calculate a flat average across the entire project life.
This is less error prone as each feature will be tied to the earliest
time it was turned on in a production environment.
2023-03-16 15:45:24 +01:00
Mateusz Kwasniewski
1064dfa40c
feat: project mode (#3334) 2023-03-16 15:29:52 +01:00
Tymoteusz Czech
a983cf15b9
UI/bulk stale (#3320)
Mark and un-mark selected toggles as stale.
2023-03-16 14:54:38 +01:00
Nuno Góis
bd17c631e0
feat: filter segments by project on the strategy (#3325)
https://linear.app/unleash/issue/2-737/when-listing-segments-project-specific-segments-should-also-be-present

Simple filter on the UI for segments that are either global or for the
specific project.
2023-03-16 12:17:33 +00:00
Fredrik Strand Oseberg
40f8ed771d
fix: project permissions (#3317)
This PR fixes an issue where permissions would not allow you to create
an API token in the new project API management view. In addition, it
fixes an issue where if you missed the permission to read API tokens,
you would be blocked from creating one as well.
2023-03-15 15:24:35 +01:00
Fredrik Strand Oseberg
fd4874eaec
fix: add container for EditGroups (#3318)
This PR fixes an issue that would manifest when you navigated directly
to the groups and tried to edit the group from the group card. When you
were redirected to the edit groups view, the data fields would be empty.
The root cause of this issue is that the data has not arrived over the
wire before we load the UI, resulting in the UI showing an empty
dataset.

Normally, if this data came directly from useSWR, the app would
re-render and display the data correctly. However, in this instance we
are passing the data to an intermediary hook (useGroupForm) which does
not have the same re-render logic. Therefore we are effectively working
from stale data. We solve this issue by adding a container that resolves
the group before the edit form is rendered, and that invokes the
intermediary hook only when the data is available.
2023-03-15 15:23:59 +01:00
andreas-unleash
933455e308
feat: use api instead of localStorage (#3305)
<!-- 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! ❤️ -->
This PR replaces localStorage with api calls for getting/setting project
scoped stickiness
## 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-03-15 16:06:25 +02:00
Tymoteusz Czech
0784afd255
UI/bulk archive (#3319)
Ability to archive multiple feature toggles from project overview
2023-03-15 14:10:16 +01:00
Tymoteusz Czech
ac1be475e4
re-generate fontend openapi schema 2023-03-15 13:30:07 +01:00
Tymoteusz Czech
2acfe8f110
don't add version header to generated api schema 2023-03-15 13:29:18 +01:00
Nuno Góis
4e36981c96
feat: improve variants modal UI/UX (#3307)
https://linear.app/unleash/issue/2-758/add-variant-improve-the-flow


![image](https://user-images.githubusercontent.com/14320932/225064841-7fdb3b23-a06d-4078-b33a-50166e54a8b8.png)

![image](https://user-images.githubusercontent.com/14320932/225063913-ff92a563-7aa8-493f-a0dd-ef16f1474151.png)

### Variants form

- Fix variants edit form to follow natural tab order;
- Update variants form UI to new design with multiple improvements and
fixes, including a sticky header;
- New variants are now added at the bottom of the edit form instead of
at the top, with a smooth scroll and focus;

### Change requests

- On the variants diff, use variant names instead of index;
- Use an object-based diff logic (instead of array-based) for cleaner
diffs on variants (thanks @thomasheartman !);
- Display a table with the new variants data and display the diff on a
`TooltipLink`;
- Adapt strategy CR changes to the new `TooltipLink` logic for
consistency;

### Other

- `TooltipLink` and `Badge` components are now tab-selectable;
- Small enhancements, refactors and improvements;

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-03-15 12:22:06 +00:00
Gastón Fournier
8cdd68914e
chore: avoid building frontend when possible (#3278)
## About the changes
This is based on @nunogois suggestion to split the build in two, so we
don't build the frontend every time we run `yarn`

e2e frontend tests were forced to run by modifying frontend/README.md

### Important files
Some github actions had to be updated to also build the frontend. The
Dockerfile building our docker image was also looked into but it should
work as is


## Discussion points
This is a potentially risky operation as we might overlook something
that requires building the frontend which might lead to invalid builds.
We need to make sure when we do this we don't have any release planned.
2023-03-15 13:17:32 +01:00
andreas-unleash
efd9e523ed
feat: Generate new OAS types, tags component upgrade (#3269)
<!-- 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! ❤️ -->
Create/Add/Remove at the same time per tag type


## 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-769](https://linear.app/unleash/issue/1-769/refactor-existing-tag-component-to-also-allow-removing-tags)

<!-- (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>
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2023-03-15 11:35:24 +02:00
Tymoteusz Czech
30a753b93f
UI/bulk select (#3267)
Select multiple toggles on project overview.
2023-03-14 08:56:03 +00:00
Nuno Góis
fe1e3566ee
fix: assume undefined instead of null on segment project (#3304)
Assume `undefined` instead of `null` for project in terms of interfacing
with segments: If the `project` field is not present, that means that it
is not set, which means we're dealing with a "global" segment. If we
want to unset `project` and make a segment global, we simply don't send
the `project` property on our PUT method.
2023-03-13 10:25:48 +00:00
David Leek
792d0e42de
feat: add projectid to the segments table (#3287)
https://linear.app/unleash/issue/2-742/add-an-extra-column-in-global-segments-configuration-to-display-the

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

Adds projectid column to the segments table and defaults to the value
"Global" if none is set.


![image](https://user-images.githubusercontent.com/707867/224053267-e52a398a-6f89-4d27-bd52-72b73eedc99a.png)


<!-- (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? -->
SegmentTable.tsx

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

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-03-10 14:45:10 +01:00
andreas-unleash
3193423d2d
feat: Project scoped stickiness (#3289)
Project scoped stickiness 
<!-- 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 `projectScopedStickiness` flag to experimental.ts
Refactor Stickiness select for reusability
Modify FlexibleStrategy to respect the setting.
Modify EnvironmentVariantModal to respect the setting

## 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-03-10 12:28:02 +02:00
Tymoteusz Czech
85b63bd8f7
Update frontend OpenAPI schema (#3294) 2023-03-10 09:36:31 +01:00
Nuno Góis
ff7185fe5b
feat: allow adding project to segment (#3290)
https://linear.app/unleash/issue/2-741/add-project-dropdown-into-creation-of-segments

Allows users to bind a segment to a project when creating or editing a
segment.

<img width="1051" alt="image"
src="https://user-images.githubusercontent.com/14320932/224103846-1fe1f849-496c-4a77-9831-53bcb36f822e.png">
2023-03-10 08:16:54 +00:00
Nuno Góis
d96a2134f3
fix: hide change password when simple auth is disabled (#3282)
https://linear.app/unleash/issue/2-764/change-password-should-be-disabled-when-password-login-is-disabled

Hides "Change password" option on the profile page when "Password based
login" is disabled.


![image](https://user-images.githubusercontent.com/14320932/224018081-d866a17f-97a4-4e6e-8057-2f60a20e3d52.png)
2023-03-09 14:13:40 +01:00
renovate[bot]
7c85cab6b2
chore(deps): update dependency swr to v2.0.4 (#3281)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>vercel/swr</summary>

### [`v2.0.4`](https://togithub.com/vercel/swr/releases/tag/v2.0.4)

[Compare
Source](https://togithub.com/vercel/swr/compare/v2.0.3...v2.0.4)

#### Patches

- build: fix release job condition by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2392](https://togithub.com/vercel/swr/pull/2392)
- types: fix some mutation type issue by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2421](https://togithub.com/vercel/swr/pull/2421)
- fix: Error retry should be handled by global revalidator instead of
local revalidation function by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2415](https://togithub.com/vercel/swr/pull/2415)
- fix: ensure initCache setter function stays within bounds of
subscriptions by [@&#8203;lfbergee](https://togithub.com/lfbergee) in
[https://github.com/vercel/swr/pull/2411](https://togithub.com/vercel/swr/pull/2411)

#### Misc

- test: stream ssr e2e by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2395](https://togithub.com/vercel/swr/pull/2395)
- test: fix an act warning by
[@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2403](https://togithub.com/vercel/swr/pull/2403)

#### New Contributors

- [@&#8203;lfbergee](https://togithub.com/lfbergee) made their first
contribution in
[https://github.com/vercel/swr/pull/2411](https://togithub.com/vercel/swr/pull/2411)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.0.3...v2.0.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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTkuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE1OS4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 12:46:05 +00:00
Jaanus Sellin
a52dd10cf8
feat: bulk update tags (#3274) 2023-03-09 11:58:06 +02:00