1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00
Commit Graph

11350 Commits

Author SHA1 Message Date
renovate[bot]
1cc8ca901c
chore(deps): update dependency vite to v5.2.11 (#7029)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.2.11`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5211-2024-05-02-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.2.10...v5.2.11)

- feat: improve dynamic import variable failure error message
([#&#8203;16519](https://togithub.com/vitejs/vite/issues/16519))
([f8feeea](https://togithub.com/vitejs/vite/commit/f8feeea)), closes
[#&#8203;16519](https://togithub.com/vitejs/vite/issues/16519)
- fix: dynamic-import-vars plugin normalize path issue
([#&#8203;16518](https://togithub.com/vitejs/vite/issues/16518))
([f71ba5b](https://togithub.com/vitejs/vite/commit/f71ba5b)), closes
[#&#8203;16518](https://togithub.com/vitejs/vite/issues/16518)
- fix: scripts and styles were missing from built HTML on Windows
([#&#8203;16421](https://togithub.com/vitejs/vite/issues/16421))
([0e93f58](https://togithub.com/vitejs/vite/commit/0e93f58)), closes
[#&#8203;16421](https://togithub.com/vitejs/vite/issues/16421)
- fix(deps): update all non-major dependencies
([#&#8203;16488](https://togithub.com/vitejs/vite/issues/16488))
([2d50be2](https://togithub.com/vitejs/vite/commit/2d50be2)), closes
[#&#8203;16488](https://togithub.com/vitejs/vite/issues/16488)
- fix(deps): update all non-major dependencies
([#&#8203;16549](https://togithub.com/vitejs/vite/issues/16549))
([2d6a13b](https://togithub.com/vitejs/vite/commit/2d6a13b)), closes
[#&#8203;16549](https://togithub.com/vitejs/vite/issues/16549)
- fix(dev): watch publicDir explicitly to include it outside the root
([#&#8203;16502](https://togithub.com/vitejs/vite/issues/16502))
([4d83eb5](https://togithub.com/vitejs/vite/commit/4d83eb5)), closes
[#&#8203;16502](https://togithub.com/vitejs/vite/issues/16502)
- fix(preload): skip preload for non-static urls
([#&#8203;16556](https://togithub.com/vitejs/vite/issues/16556))
([bb79c9b](https://togithub.com/vitejs/vite/commit/bb79c9b)), closes
[#&#8203;16556](https://togithub.com/vitejs/vite/issues/16556)
- fix(ssr): handle class declaration and expression name scoping
([#&#8203;16569](https://togithub.com/vitejs/vite/issues/16569))
([c071eb3](https://togithub.com/vitejs/vite/commit/c071eb3)), closes
[#&#8203;16569](https://togithub.com/vitejs/vite/issues/16569)
- fix(ssr): handle function expression name scoping
([#&#8203;16563](https://togithub.com/vitejs/vite/issues/16563))
([02db947](https://togithub.com/vitejs/vite/commit/02db947)), closes
[#&#8203;16563](https://togithub.com/vitejs/vite/issues/16563)

###
[`v5.2.10`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5210-2024-04-20-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.2.9...v5.2.10)

- revert: perf: use workspace root for fs cache
([#&#8203;15712](https://togithub.com/vitejs/vite/issues/15712))
([#&#8203;16476](https://togithub.com/vitejs/vite/issues/16476))
([77e7359](https://togithub.com/vitejs/vite/commit/77e7359)), closes
[#&#8203;15712](https://togithub.com/vitejs/vite/issues/15712)
[#&#8203;16476](https://togithub.com/vitejs/vite/issues/16476)
- fix: add base to virtual html
([#&#8203;16442](https://togithub.com/vitejs/vite/issues/16442))
([721f94d](https://togithub.com/vitejs/vite/commit/721f94d)), closes
[#&#8203;16442](https://togithub.com/vitejs/vite/issues/16442)
- fix: adjust esm syntax judgment logic
([#&#8203;16436](https://togithub.com/vitejs/vite/issues/16436))
([af72eab](https://togithub.com/vitejs/vite/commit/af72eab)), closes
[#&#8203;16436](https://togithub.com/vitejs/vite/issues/16436)
- fix: don't add outDirs to watch.ignored if emptyOutDir is false
([#&#8203;16453](https://togithub.com/vitejs/vite/issues/16453))
([6a127d6](https://togithub.com/vitejs/vite/commit/6a127d6)), closes
[#&#8203;16453](https://togithub.com/vitejs/vite/issues/16453)
- fix(cspNonce): don't overwrite existing nonce values
([#&#8203;16415](https://togithub.com/vitejs/vite/issues/16415))
([b872635](https://togithub.com/vitejs/vite/commit/b872635)), closes
[#&#8203;16415](https://togithub.com/vitejs/vite/issues/16415)
- feat: show warning if root is in build.outDir
([#&#8203;16454](https://togithub.com/vitejs/vite/issues/16454))
([11444dc](https://togithub.com/vitejs/vite/commit/11444dc)), closes
[#&#8203;16454](https://togithub.com/vitejs/vite/issues/16454)
- feat: write cspNonce to style tags
([#&#8203;16419](https://togithub.com/vitejs/vite/issues/16419))
([8e54bbd](https://togithub.com/vitejs/vite/commit/8e54bbd)), closes
[#&#8203;16419](https://togithub.com/vitejs/vite/issues/16419)
- chore(deps): update dependency eslint-plugin-n to v17
([#&#8203;16381](https://togithub.com/vitejs/vite/issues/16381))
([6cccef7](https://togithub.com/vitejs/vite/commit/6cccef7)), closes
[#&#8203;16381](https://togithub.com/vitejs/vite/issues/16381)

###
[`v5.2.9`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small529-2024-04-15-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.2.8...v5.2.9)

- fix: `fsp.rm` removing files does not take effect
([#&#8203;16032](https://togithub.com/vitejs/vite/issues/16032))
([b05c405](https://togithub.com/vitejs/vite/commit/b05c405)), closes
[#&#8203;16032](https://togithub.com/vitejs/vite/issues/16032)
- fix: fix accumulated stacks in error overlay
([#&#8203;16393](https://togithub.com/vitejs/vite/issues/16393))
([102c2fd](https://togithub.com/vitejs/vite/commit/102c2fd)), closes
[#&#8203;16393](https://togithub.com/vitejs/vite/issues/16393)
- fix(deps): update all non-major dependencies
([#&#8203;16376](https://togithub.com/vitejs/vite/issues/16376))
([58a2938](https://togithub.com/vitejs/vite/commit/58a2938)), closes
[#&#8203;16376](https://togithub.com/vitejs/vite/issues/16376)
- chore: update region comment
([#&#8203;16380](https://togithub.com/vitejs/vite/issues/16380))
([77562c3](https://togithub.com/vitejs/vite/commit/77562c3)), closes
[#&#8203;16380](https://togithub.com/vitejs/vite/issues/16380)
- perf: reduce size of injected \__vite\_\_mapDeps code
([#&#8203;16184](https://togithub.com/vitejs/vite/issues/16184))
([c0ec6be](https://togithub.com/vitejs/vite/commit/c0ec6be)), closes
[#&#8203;16184](https://togithub.com/vitejs/vite/issues/16184)
- perf(css): only replace empty chunk if imported
([#&#8203;16349](https://togithub.com/vitejs/vite/issues/16349))
([e2658ad](https://togithub.com/vitejs/vite/commit/e2658ad)), closes
[#&#8203;16349](https://togithub.com/vitejs/vite/issues/16349)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 02:24:33 +00:00
renovate[bot]
5fbd983463
chore(deps): update dependency vanilla-jsoneditor to v0.23.2 (#7028)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v0.23.2`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0232-2024-04-17)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 21:30:26 +00:00
renovate[bot]
a16354201c
chore(deps): update dependency @types/nodemailer to v6.4.15 (#7027)
[![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/nodemailer](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nodemailer))
| [`6.4.14` ->
`6.4.15`](https://renovatebot.com/diffs/npm/@types%2fnodemailer/6.4.14/6.4.15)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnodemailer/6.4.15?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnodemailer/6.4.15?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnodemailer/6.4.14/6.4.15?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnodemailer/6.4.14/6.4.15?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 20:38:11 +00:00
Jaanus Sellin
3f983d061a
feat: mark completed ui selector (#7025)
![image](https://github.com/Unleash/unleash/assets/964450/c6baa90b-5abb-4ba4-a3d9-36af6b426ed6)
2024-05-09 16:55:09 +03:00
Mateusz Kwasniewski
3fc7714e78
feat: Lifecycle in project overview (#7024) 2024-05-09 13:38:18 +02:00
Mateusz Kwasniewski
476959df8e
refactor: extract feature lifecycle component (#7023) 2024-05-09 12:19:24 +02:00
Jaanus Sellin
79739a1d7f
feat: add completed status backend (#7022)
1. Implemented controller, service, store for status saving
2024-05-09 12:05:19 +03:00
Mateusz Kwasniewski
97d702afeb
feat: expose lifecycle stage in project overview search (#7017) 2024-05-09 10:50:51 +02:00
Jaanus Sellin
28a7797aea
feat: feature lifecycle completed schema (#7021)
1. Added new schema and tests
2. Controller also accepts the data
3. Also sending fake data from frontend currently

Next steps, implement service/store layer and frontend
2024-05-09 09:51:44 +03:00
Jaanus Sellin
8ea034cc2f
feat: add status fields for feature lifecycle table (#7014) 2024-05-09 09:39:01 +03:00
renovate[bot]
0f65f8a943
chore(deps): update dependency tss-react to v4.9.10 (#7020)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

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

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.9...v4.9.10

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

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

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

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.8...v4.9.9

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

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

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

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.7...v4.9.8

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

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

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

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.6...v4.9.7

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 02:29:52 +00:00
renovate[bot]
74816465ee
chore(deps): update dependency tough-cookie to v4.1.4 (#7019)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>salesforce/tough-cookie (tough-cookie)</summary>

###
[`v4.1.4`](https://togithub.com/salesforce/tough-cookie/releases/tag/v4.1.4)

[Compare
Source](https://togithub.com/salesforce/tough-cookie/compare/v4.1.3...v4.1.4)

https://www.npmjs.com/package/tough-cookie/v/4.1.4

#### What's Changed

- Add local alias for `toString` by
[@&#8203;corvidism](https://togithub.com/corvidism) in
[https://github.com/salesforce/tough-cookie/pull/409](https://togithub.com/salesforce/tough-cookie/pull/409)
- Fix incorrect string validation for URL by
[@&#8203;coditva](https://togithub.com/coditva) in
[https://github.com/salesforce/tough-cookie/pull/261](https://togithub.com/salesforce/tough-cookie/pull/261)

#### New Contributors

- [@&#8203;corvidism](https://togithub.com/corvidism) made their first
contribution in
[https://github.com/salesforce/tough-cookie/pull/409](https://togithub.com/salesforce/tough-cookie/pull/409)
- [@&#8203;coditva](https://togithub.com/coditva) made their first
contribution in
[https://github.com/salesforce/tough-cookie/pull/261](https://togithub.com/salesforce/tough-cookie/pull/261)

**Full Changelog**:
https://github.com/salesforce/tough-cookie/compare/v4.1.3...v4.1.4

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 22:49:09 +00:00
renovate[bot]
1d874dc48d
chore(deps): update dependency qs to v6.12.1 (#7018)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>ljharb/qs (qs)</summary>

###
[`v6.12.1`](https://togithub.com/ljharb/qs/blob/HEAD/CHANGELOG.md#6121)

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

- \[Fix] `parse`: Disable `decodeDotInKeys` by default to restore
previous behavior
([#&#8203;501](https://togithub.com/ljharb/qs/issues/501))
- \[Performance] `utils`: Optimize performance under large data volumes,
reduce memory usage, and speed up processing
([#&#8203;502](https://togithub.com/ljharb/qs/issues/502))
-   \[Refactor] `utils`: use `+=`
-   \[Tests] increase coverage

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 18:23:06 +00:00
Thomas Heartman
b043bcdd4a
feat: front end can create projects without ids (#7009)
This PR updates the new project creation form to not include the project
ID in the payload (because it's generated by the back end now).
2024-05-08 14:57:07 +02:00
Thomas Heartman
9f532834c8
chore: update orval schemas (#7010)
Main purpose is to get the new deprecated `id` property in the project
creation payload required for
https://github.com/Unleash/unleash/pull/7009 to pass.
2024-05-08 14:44:27 +02:00
Ivar Conradi Østhus
ea9a232acc
fix: removed dupliacted component (#7013) 2024-05-08 14:44:21 +02:00
Ivar Conradi Østhus
64c10f9eff
poc: many strategies pagination (#7011)
This fixes the case when a customer have thousands of strategies causing
the react UI to crash. We still consider it incorrect to use that amount
of strategies and this is more a workaround to help the customer out of
a crashing state.

We put it behind a flag called `manyStrategiesPagination` and plan to
only enable it for the customer in trouble.
2024-05-08 14:20:51 +02:00
Jaanus Sellin
cd49ae2a26
feat: add project id to prometheus and feature flag (#7008)
Now we are also sending project id to prometheus, also querying from
database. This sets us up for grafana dashboard.
Also put the metrics behind flag, just incase it causes cpu/memory
issues.
2024-05-08 15:19:23 +03:00
Jaanus Sellin
81439d23f3
feat: lifecycle is now navigatable by tab (#7005)
![image](https://github.com/Unleash/unleash/assets/964450/ef5677e0-36c7-4cd6-a908-baa164190367)
2024-05-08 15:19:12 +03:00
Mateusz Kwasniewski
f6e85171d9
feat: completed stage lists all environments (#7007) 2024-05-08 14:16:10 +02:00
Thomas Heartman
95ac2e6b8d
feat: generate project ids if they're missing (#7003)
This PR updates the project service to automatically create a project id
if it is not provided. The feature is behind a flag. If an ID is
provided, it will still attempt to use that ID instead.
2024-05-08 12:45:11 +02:00
Jaanus Sellin
02440dfed2
feat: duration in stage, add feature lifecycle prometheus metrics (#6973)
Introduce a new concept. Duration in stage.
Also add it into prometheus metric.
2024-05-08 11:33:51 +03:00
Thomas Heartman
b30860c12f
fix: move slug to real deps (#7004)
This was in dev deps by mistake.
2024-05-08 08:06:31 +00:00
Mateusz Kwasniewski
f30910f628
fix: optimize table placeholder loading (#7002) 2024-05-08 09:40:37 +02:00
Thomas Heartman
861ae6aa93
chore: add automatic ID generation algorithm (#7001)
This PR adds a function to automatically generate a project ID on
creation. Using this when the id is missing will be handled in following
PRs.

The function uses the existing `slug` package to create a slug, and then
takes the 12 characters of a uuidv4 string to generate an ID.

The included tests check that the 12 character hash is added and that
the resulting string is url friendly (by checking that
`encodeURIComponent` doesn't change it).

We could also test a lot of edge cases (such as dealing with double
spaces, trimming the string, etc), but I think that's better handled by
the library itself (but you can check out what I removed in
2d9bcb6390
for an idea).

The function doesn't really need to be in the service; it could be moved to a util. But for proximity, I'll create it here first.
2024-05-08 07:26:35 +00:00
Thomas Heartman
6477ccf34b
test: test how the project form deals with project envs and cr env interaction (#6997)
This PR adds some tests around how project envs and change request envs
interact in the new project form. It tests that:
1. If you remove an env from the project setup, that env is also removed
from the change request list.
2. If you try to enable CRs for an env that isn't enabled, nothing
happens.
2024-05-08 07:26:49 +02:00
renovate[bot]
c70e88950d
chore(deps): update dependency msw to v2.2.14 (#7000)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>mswjs/msw (msw)</summary>

### [`v2.2.14`](https://togithub.com/mswjs/msw/releases/tag/v2.2.14)

[Compare
Source](https://togithub.com/mswjs/msw/compare/v2.2.13...v2.2.14)

#### v2.2.14 (2024-04-17)

##### Bug Fixes

- preserve search params in "onUnhandledRequest" messages
([#&#8203;2128](https://togithub.com/mswjs/msw/issues/2128))
([`64bcae7`](64bcae7c27))
[@&#8203;nagadevkrishna](https://togithub.com/nagadevkrishna)
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- give `node` export condition higher priority
([#&#8203;2134](https://togithub.com/mswjs/msw/issues/2134))
([`f948d13`](f948d13d2d))
[@&#8203;phryneas](https://togithub.com/phryneas)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 02:07:43 +00:00
renovate[bot]
22176d80f3
chore(deps): update dependency @babel/core to v7.24.5 (#6999)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/core)</summary>

###
[`v7.24.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7245-2024-04-29)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.4...v7.24.5)

##### 🐛 Bug Fix

-   `babel-plugin-transform-classes`, `babel-traverse`
- [#&#8203;16377](https://togithub.com/babel/babel/pull/16377) fix:
TypeScript annotation affects output
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-runtime-corejs3`
- [#&#8203;16440](https://togithub.com/babel/babel/pull/16440) Fix
suppressed error order ([@&#8203;sossost](https://togithub.com/sossost))
- [#&#8203;16408](https://togithub.com/babel/babel/pull/16408) Await
nullish async disposable
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 💅 Polish

-   `babel-parser`
- [#&#8203;16407](https://togithub.com/babel/babel/pull/16407) Recover
from exported `using` declaration
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🏠 Internal

-   Other
- [#&#8203;16414](https://togithub.com/babel/babel/pull/16414) Relax
ESLint peerDependency constraint to allow v9
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-parser`
- [#&#8203;16425](https://togithub.com/babel/babel/pull/16425) Improve
`@babel/parser` AST types
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#&#8203;16417](https://togithub.com/babel/babel/pull/16417) Always
pass type argument to `.startNode`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-helper-member-expression-to-functions`,
`babel-helper-module-transforms`,
`babel-helper-split-export-declaration`, `babel-helper-wrap-function`,
`babel-helpers`,
`babel-plugin-bugfix-firefox-class-in-computed-class-key`,
`babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-object-rest-spread`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-private-property-in-object`,
`babel-plugin-transform-react-jsx-self`,
`babel-plugin-transform-typeof-symbol`,
`babel-plugin-transform-typescript`, `babel-traverse`
- [#&#8203;16439](https://togithub.com/babel/babel/pull/16439) Make
`NodePath<T | U>` distributive
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-proposal-partial-application`, `babel-types`
- [#&#8203;16421](https://togithub.com/babel/babel/pull/16421) Remove
`JSXNamespacedName` from valid `CallExpression` args
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-class-properties`, `babel-preset-env`
- [#&#8203;16406](https://togithub.com/babel/babel/pull/16406) Do not
load unnecessary Babel 7 syntax plugins in Babel 8
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏃‍♀️ Performance

-   `babel-helpers`, `babel-preset-env`, `babel-runtime-corejs3`
- [#&#8203;16357](https://togithub.com/babel/babel/pull/16357)
Performance: improve `objectWithoutPropertiesLoose` on V8
([@&#8203;romgrk](https://togithub.com/romgrk))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 22:20:07 +00:00
renovate[bot]
f69536d1c9
chore(deps): update dependency superagent to v9 (#6990)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>ladjs/superagent (superagent)</summary>

###
[`v9.0.2`](https://togithub.com/ladjs/superagent/releases/tag/v9.0.2)

[Compare
Source](https://togithub.com/ladjs/superagent/compare/v9.0.1...v9.0.2)

- Merge pull request
[#&#8203;1803](https://togithub.com/ladjs/superagent/issues/1803) from
alumni/fix-url-parse
[`329cc63`](https://togithub.com/ladjs/superagent/commit/329cc63)
- fix: replace deprecated `url.parse()` with `new URL()`
[`8ead63f`](https://togithub.com/ladjs/superagent/commit/8ead63f)
- Merge pull request
[#&#8203;1804](https://togithub.com/ladjs/superagent/issues/1804) from
alumni/remove-semver
[`9406dae`](https://togithub.com/ladjs/superagent/commit/9406dae)
- chore: remove unnecessary semver checks
[`86c9bf4`](https://togithub.com/ladjs/superagent/commit/86c9bf4)
- Merge pull request
[#&#8203;1802](https://togithub.com/ladjs/superagent/issues/1802) from
alumni/fix-url-parse
[`e996382`](https://togithub.com/ladjs/superagent/commit/e996382)
- fix: replace deprecated `node:url` methods
[`7e20ced`](https://togithub.com/ladjs/superagent/commit/7e20ced)

###
[`v9.0.1`](https://togithub.com/ladjs/superagent/releases/tag/v9.0.1)

[Compare
Source](https://togithub.com/ladjs/superagent/compare/v9.0.0...v9.0.1)

- Merge pull request
[#&#8203;1796](https://togithub.com/ladjs/superagent/issues/1796) from
mmmmmrob/patch-2
[`68f7bb1`](https://togithub.com/ladjs/superagent/commit/68f7bb1)
- Merge branch 'master' into patch-2
[`450f7b2`](https://togithub.com/ladjs/superagent/commit/450f7b2)
- Merge pull request
[#&#8203;1794](https://togithub.com/ladjs/superagent/issues/1794) from
SukkaW/replace-polyfill-io
[`ea633d7`](https://togithub.com/ladjs/superagent/commit/ea633d7)
- Merge pull request
[#&#8203;1791](https://togithub.com/ladjs/superagent/issues/1791) from
HannesOberreiter/patch-1
[`e334068`](https://togithub.com/ladjs/superagent/commit/e334068)
- Update README.md
[`a5c39b2`](https://togithub.com/ladjs/superagent/commit/a5c39b2)
- Add superagent-cheerio to the readme
[`0165c7c`](https://togithub.com/ladjs/superagent/commit/0165c7c)
- docs: no longer recommend `polyfill.io`
[`da9ff20`](https://togithub.com/ladjs/superagent/commit/da9ff20)
- Update README.md
[`c4205e0`](https://togithub.com/ladjs/superagent/commit/c4205e0)

###
[`v9.0.0`](https://togithub.com/ladjs/superagent/releases/tag/v9.0.0)

[Compare
Source](https://togithub.com/ladjs/superagent/compare/v8.1.2...v9.0.0)

- fix: fixed ci job not installing npm deps
[`489708e`](https://togithub.com/ladjs/superagent/commit/489708e)
- fix: fix numeric identifier issue
[`ea2577e`](https://togithub.com/ladjs/superagent/commit/ea2577e)
- fix: drop support for node < v14.18.0 due to formidable node:fs scope
import statement (per
[#&#8203;1800](https://togithub.com/ladjs/superagent/issues/1800))
[`23fe5ab`](https://togithub.com/ladjs/superagent/commit/23fe5ab)
- Merge pull request
[#&#8203;1800](https://togithub.com/ladjs/superagent/issues/1800) from
tomstrong64/master
[`03de30c`](https://togithub.com/ladjs/superagent/commit/03de30c)
- fix: formidable v3 multipart form contents mapped to expected format
[`b9c7837`](https://togithub.com/ladjs/superagent/commit/b9c7837)
- Update formidable
[`3ee138d`](https://togithub.com/ladjs/superagent/commit/3ee138d)
- test: replace should with node:assert
([#&#8203;1782](https://togithub.com/ladjs/superagent/issues/1782))
[`1c8338b`](https://togithub.com/ladjs/superagent/commit/1c8338b)
- test: replace should with node:assert
([#&#8203;1780](https://togithub.com/ladjs/superagent/issues/1780))
[`0dc80d1`](https://togithub.com/ladjs/superagent/commit/0dc80d1)
- Merge pull request
[#&#8203;1777](https://togithub.com/ladjs/superagent/issues/1777) from
jimmywarting/classify
[`83e92cb`](https://togithub.com/ladjs/superagent/commit/83e92cb)
- classify agent
[`fca95a3`](https://togithub.com/ladjs/superagent/commit/fca95a3)

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 00:12:36 +02:00
Ivar Conradi Østhus
9090b18e2e
docs: make sure we use latest axios 2024-05-07 23:54:48 +02:00
Ivar Conradi Østhus
f1addd9ea1
fix: update dependencies in OSS docker file 2024-05-07 23:50:25 +02:00
Mateusz Kwasniewski
843aab7447
fix: remove columns from the search api query (#6996) 2024-05-07 14:44:09 +02:00
Egor Stronhin
8ae8cbbdb4
feat: Allow to use CA certificate file path for DB (#6985)
Regarding ticket #6892:

I would like to enable the use of a CA certificate without requiring
other certificates. This would be useful for AWS Helm, as AWS only
provides a single PEM file for DB connections.
2024-05-07 14:43:19 +02:00
Mateusz Kwasniewski
8ae78236d2
chore: remove project overview refactor flag (#6897) 2024-05-07 13:58:56 +02:00
Mateusz Kwasniewski
d1803b2e62
feat: increase possible number range for yes/no metrics (#6995) 2024-05-07 13:54:56 +02:00
Jaanus Sellin
b69c294272
feat: pass metrics to feature component (#6994)
![image](https://github.com/Unleash/unleash/assets/964450/39bb4551-dc03-4931-8a7f-cd9c0ceda056)
2024-05-07 11:52:38 +03:00
Jaanus Sellin
206d0190ff
feat: create initial stages for features (#6983)
We are getting questions from engineers, why I do not see lifecycle. The
same will happen with our customers. Now customers will see lifecycle
component unified across features.
2024-05-07 11:38:51 +03:00
Mateusz Kwasniewski
a45be8d10c
test: move tests from cypress to rtl (#6987) 2024-05-07 09:03:40 +02:00
Thomas Heartman
913f81b40c
feat: show documentation relating to the specific thing your configuring in the new project form (#6993)
This PR updates the documentation text in the new project form to show
the documentation relating to the specific thing you're configuring.
2024-05-07 08:56:53 +02:00
Jaanus Sellin
77d5156eba
feat: start exposing environment metrics from feature endpoint (#6986)
We want to start showing same donut that we do show in project page.
This is setting it up for UI.
2024-05-07 09:32:46 +03:00
Thomas Heartman
07871e73e5
feat: configure CRs when creating projects (#6979)
This PR adds the ability to configure CRs when creating a project.

The design is unfinished, and the code certainly needs cleanup, but I'd
like to get this into sandbox so we can look at it.

Things that still need to be done:

1. What do we do about this button when the user has no environments
selected? As a rough draft, I've disabled it. However, we should make it
possible to navigate to and give you an explanation why it was disabled,
e.g. "You have no project environments selected. Please select at least
one project environment.".
2. The form design is not done: the width should be constant and not
jumpy the way it is now. Also, the search field is too wide.
3. I've made the desicion that if you deselect a project env, we also
remove that env from your CR config it it's in there.
4. Potential improvement: if you enable and then disable CRs for an env,
we *could* probably store the data in between, so that if you set
required approvers 5 and then disabled it, it'd still be 5 when you
re-enabled it. That sounds like a good user experience. We should also
be able to extend that to adding/removing environments from project
envs.
2024-05-07 08:14:28 +02:00
Ivar Conradi Østhus
2d9fb90443
chore: version in package.json 2024-05-06 19:56:41 +02:00
Mateusz Kwasniewski
8d04772256
fix: duplicate column name in search query (#6989) 2024-05-06 19:26:23 +02:00
Mateusz Kwasniewski
5c27e75014
test: move 2 table tests from cypress to rtl (#6984) 2024-05-06 15:00:53 +02:00
renovate[bot]
975292d109
chore(deps): update dependency @swc/core to v1.4.17 (#6970)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.4.17`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1417---2024-04-23)

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

##### Bug Fixes

- **(es)** Ignore `sourceMappingURL` in string literals
([#&#8203;8879](https://togithub.com/swc-project/swc/issues/8879))
([d7188cd](d7188cdb66))

- **(es/codegen)** Use `Str.raw` for es5
([#&#8203;8873](https://togithub.com/swc-project/swc/issues/8873))
([c7a06b1](c7a06b1a5e))

- **(es/compat)** Fix async generator
([#&#8203;8881](https://togithub.com/swc-project/swc/issues/8881))
([063eabd](063eabd33c))

- **(es/resolver)** Prioritze `jsc.paths` by length in tsc resolver
([#&#8203;8875](https://togithub.com/swc-project/swc/issues/8875))
([e22c368](e22c3681a6))

- **(html/codegen)** Expand elements before which body isn’t elided
([#&#8203;8877](https://togithub.com/swc-project/swc/issues/8877))
([5419a94](5419a9477f))

###
[`v1.4.16`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1416---2024-04-18)

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

##### Bug Fixes

- **(es/helpers)** Fix resolving of `usingCtx` helper
([#&#8203;8874](https://togithub.com/swc-project/swc/issues/8874))
([6e9d1a4](6e9d1a4ebf))

###
[`v1.4.15`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1415---2024-04-17)

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

##### Bug Fixes

- **(es/codegen)** Fix `ascii_only` for identifiers
([#&#8203;8866](https://togithub.com/swc-project/swc/issues/8866))
([2075a23](2075a23373))

- **(es/minifier)** Remove `raw` of strings after modification
([#&#8203;8865](https://togithub.com/swc-project/swc/issues/8865))
([740c0bb](740c0bb00a))

- **(es/parser)** Fix span of `BindingIdent`
([#&#8203;8859](https://togithub.com/swc-project/swc/issues/8859))
([fbd32fb](fbd32fbff3))

- **(es/proposal)** Update explicit resource management to match spec
([#&#8203;8860](https://togithub.com/swc-project/swc/issues/8860))
([6d24076](6d240768b1))

##### Features

- **(es/transforms)** Allocate stacks dynamically
([#&#8203;8867](https://togithub.com/swc-project/swc/issues/8867))
([a1c5415](a1c5415b3b))

##### Refactor

- **(es/minifier)** Remove `mangle.safari10`
([#&#8203;8857](https://togithub.com/swc-project/swc/issues/8857))
([df2e056](df2e056f29))

##### Build

- **(cargo)** Update rustc to `nightly-2024-04-03`
([#&#8203;8821](https://togithub.com/swc-project/swc/issues/8821))
([ca9c76b](ca9c76b46f))

- **(cargo)** Update `rustc` to `nightly-2024-04-16`
([#&#8203;8870](https://togithub.com/swc-project/swc/issues/8870))
([f9459a8](f9459a8adf))

###
[`v1.4.14`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1414---2024-04-15)

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

##### Bug Fixes

- **(es/compat)** Handle class fields correctly
([#&#8203;8835](https://togithub.com/swc-project/swc/issues/8835))
([5cc585b](5cc585b8f3))

- **(es/helpers)** Add missing helpers
([#&#8203;8843](https://togithub.com/swc-project/swc/issues/8843))
([67bfcf4](67bfcf41f5))

- **(es/minifier)** Handle switch cases
([#&#8203;8854](https://togithub.com/swc-project/swc/issues/8854))
([7a89e5d](7a89e5da3b))

- **(es/plugin)** Create `tokio` runtime only if necessary
([#&#8203;8845](https://togithub.com/swc-project/swc/issues/8845))
([62c4f5e](62c4f5efb8))

- **(es/resolver)** Correctly check strict mode
([#&#8203;8851](https://togithub.com/swc-project/swc/issues/8851))
([f6ba92b](f6ba92b033))

- **(es/utils)** Preserve optional chain effect
([#&#8203;8850](https://togithub.com/swc-project/swc/issues/8850))
([a7a32c4](a7a32c4b6c))

##### Documentation

- **(swc_core)** Resolve build issue with `--all-features` flag
([#&#8203;8848](https://togithub.com/swc-project/swc/issues/8848))
([c0d901e](c0d901eac6))

##### Refactor

- **(es)** Make the code compile with `miri`
([#&#8203;8836](https://togithub.com/swc-project/swc/issues/8836))
([3a51140](3a51140dd7))

- **(es/decorator)** Remove unsafe code
([#&#8203;8839](https://togithub.com/swc-project/swc/issues/8839))
([e8c6344](e8c63447f6))

- **(visit)** Simplify `Vec::move_map`
([#&#8203;8838](https://togithub.com/swc-project/swc/issues/8838))
([b1973d4](b1973d490a))

##### Testing

- **(es)** Update `conformance` test suite from `tsc`
([#&#8203;8834](https://togithub.com/swc-project/swc/issues/8834))
([ea5d9cc](ea5d9cc524))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 12:46:00 +00:00
Mateusz Kwasniewski
d01100fbf0
test: move import test from cypress to RTL to make it less flaky (#6982) 2024-05-06 14:40:47 +02:00
Jaanus Sellin
d698eccb4a
fix: badge should render children 0 value (#6981)
When passing 0 in as child, the 0 was not rendred. Fixed the badge
component and added tests.


![image](https://github.com/Unleash/unleash/assets/964450/d681b70c-5d55-4818-86ea-7d05fa86c7b3)
2024-05-06 13:24:52 +03:00
Jaanus Sellin
233b882c7b
feat: merge feature toggle details with feature meta info box (#6977)
![image](https://github.com/Unleash/unleash/assets/964450/5286eb36-311d-42f9-90da-832724cc41d0)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2024-05-06 12:17:54 +03:00
Jaanus Sellin
2c05f1a0ce
feat: search order by final (#6976)
Final rank has always been ordering correctly by default. But after 5.12
I see some issues that sometimes it is not ordered. Just to be extra
sure, I am for ordering it.
2024-05-03 13:30:12 +03:00
Thomas Heartman
bd0cd018c9
support setting mode and stickiness in new project form (#6972)
This PR is a combination of two PRs:

This PR adds a functioning environment selection button to the new project creation form. Selected environments are added to the payload and to the API preview.

The implementation is mostly lifted from the existing FilterItem component we have for search filters. However, our need here is less complex, so I've removed some of the things we don't need. There is still more cleanup to be done, however, but I'd like to implement the rest of the submenus first, to see what we really do need in the end.

---

This PR adds support for stickiness and project mode in the new project
creation form.

Achieve this, it does a few things:

1. Moves `resolveStickinessOptions` from
`frontend/src/component/feature/StrategyTypes/FlexibleStrategy/StickinessSelect/StickinessSelect.tsx`
and into a separate hook. This component was used by the old project
creation form. Because the new form has a different input, but needs the
same option, moved that code into a reusable hook.
2. It adds functioning buttons for project stickiness and mode.
3. It adds labels to the search inputs for the dropdowns. Inputs *must*
have labels to meet a11y requirements. However, the designs don't have
labels, so we can hide them visually. Though that leads to another issue
(refer to the screen shot below).
4. It updates the `SelectionButton` component to handle both single- and
multiselect cases. It instead exports these two subcomponents. These are
currently in one file, but I'll split them out into their separate files
in a later PR.

As a side effect of working with the selection buttons, it also improves
how we handle keyboard interaction for these buttons.

Here's what it looks like for single-select lists. Notice the missing
part of the input's border around the top (where the label *would* be if
we showed it). We should figure out how best to handle it. I've done
like this for now, but we can sort it out later.


![image](https://github.com/Unleash/unleash/assets/17786332/5af979c2-6635-481e-8d3e-5aad1c0ab46f)
2024-05-03 07:27:13 +02:00