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

12656 Commits

Author SHA1 Message Date
Mateusz Kwasniewski
5a2663a451
test: session deleted toast (#8754) 2024-11-15 09:31:42 +01:00
Thomas Heartman
2014d367f8
1-3073: close sidebar when you click a link within it (#8763)
This change makes it so that the project status sidebar will close
when you follow a link within it. We do that by using JS event
bubbling and attaching a handler on the modal parent. We can listen
for events and check whether the target is an anchor and, if so, close
the modal.
2024-11-15 07:36:22 +00:00
Jaanus Sellin
1af204e0f0
feat: now pay as you go billing banner has link (#8761)
My intuition wanted to click on it to start paying, but it did not work.
Changed condition to show it for pay as you go.


![image](https://github.com/user-attachments/assets/d14ad947-ce4a-48cb-8bbd-c1d6dfb84a0a)
2024-11-15 09:26:49 +02:00
Thomas Heartman
c9b674f7ab
fix: Project Status UI fixes (#8762)
This PR fixes a few small UI issues reported by UX. It:
- Adds hover colors to the lifecycle boxes
- Adjusts the font size for the health widget to match project resources
and lifecycle
- Makes the `view health over time tooltip` take you to the insights
page with the current project preselected


![image](https://github.com/user-attachments/assets/f672a577-1b01-4d45-98da-d5c367c9a0bc)
2024-11-15 07:16:09 +00:00
renovate[bot]
7f9588618f
chore(deps): update swc monorepo (#8760)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://redirect.github.com/swc-project/swc)) | [`1.7.39` ->
`1.9.1`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.7.39/1.9.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.7.39/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.7.39/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@swc/jest](https://redirect.github.com/swc-project/pkgs/tree/main/packages/jest)
([source](https://redirect.github.com/swc-project/pkgs)) | [`0.2.36` ->
`0.2.37`](https://renovatebot.com/diffs/npm/@swc%2fjest/0.2.36/0.2.37) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fjest/0.2.37?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fjest/0.2.37?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fjest/0.2.36/0.2.37?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fjest/0.2.36/0.2.37?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.9.1`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#191---2024-11-06)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.9.0...v1.9.1)

##### Bug Fixes

- **(es/codegen)** Fix `ends_with_alpha_num`
([#&#8203;9720](https://redirect.github.com/swc-project/swc/issues/9720))
([569c799](569c799c2e))

###
[`v1.9.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#190---2024-11-06)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.8.0...v1.9.0)

##### Bug Fixes

- **(es/minifier)** Avoid generating reserved mangling names
([#&#8203;9710](https://redirect.github.com/swc-project/swc/issues/9710))
([b49317a](b49317a403))

- **(es/plugin)** Revert
[#&#8203;9696](https://redirect.github.com/swc-project/swc/issues/9696)
([#&#8203;9717](https://redirect.github.com/swc-project/swc/issues/9717))
([772f023](772f023fd2))

##### Features

- **(typescript)** Port deno `isolatedDeclarations` updates
([#&#8203;9712](https://redirect.github.com/swc-project/swc/issues/9712))
([6194044](6194044b42))

##### Miscellaneous Tasks

- **(deps)** Update rust crate is-macro to v0.3.7
([#&#8203;9713](https://redirect.github.com/swc-project/swc/issues/9713))
([d48e6e8](d48e6e838b))

###
[`v1.8.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#180---2024-11-04)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.7.42...v1.8.0)

##### Bug Fixes

- **(es/typescript)** Handle multiline type parameters in async arrow
functions
([#&#8203;9704](https://redirect.github.com/swc-project/swc/issues/9704))
([c5ed19c](c5ed19c710))

- **(es/typescript)** Handle ASI hazards in fast type strip
([#&#8203;9707](https://redirect.github.com/swc-project/swc/issues/9707))
([c135f71](c135f718ed))

##### Features

- **(es)** Add `es2023` and `es2024` to `EsVersion`
([#&#8203;9700](https://redirect.github.com/swc-project/swc/issues/9700))
([5a6f0e6](5a6f0e644e))

- **(es/plugin)** Introduce `manual-tokio-runtmie` to `swc` crate
([#&#8203;9701](https://redirect.github.com/swc-project/swc/issues/9701))
([97298c4](97298c4e36))

##### Performance

- **(common)** Make character analysis lazy
([#&#8203;9696](https://redirect.github.com/swc-project/swc/issues/9696))
([1c3eaf6](1c3eaf684a))

- **(es/renamer)** Modify parallel renaming threshold
([#&#8203;9706](https://redirect.github.com/swc-project/swc/issues/9706))
([91a9106](91a9106624))

###
[`v1.7.42`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1742---2024-10-31)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.7.40...v1.7.42)

##### Bug Fixes

- **(es/generator)** Fix code generation for `break` in nested while
([#&#8203;9684](https://redirect.github.com/swc-project/swc/issues/9684))
([65872af](65872afaf1))

- **(es/parser)** Parse `await using()` call
([#&#8203;9693](https://redirect.github.com/swc-project/swc/issues/9693))
([bcf05de](bcf05de2eb))

- **(es/resolver)** Skip resolving lowercase `JSXIdentifiers`
([#&#8203;9686](https://redirect.github.com/swc-project/swc/issues/9686))
([6ed1715](6ed1715b93))

- **(es/types)** Add `jsc.experimental.keepImportAssertions` to types
([#&#8203;9691](https://redirect.github.com/swc-project/swc/issues/9691))
([4b4dcfa](4b4dcfa4d8))

##### Features

- **(es/minifier)** Optimize switch with side effect and termination
tests
([#&#8203;9677](https://redirect.github.com/swc-project/swc/issues/9677))
([7344a63](7344a638b5))

- **(es/parser)** Ability to get script's potential module errors
([#&#8203;9682](https://redirect.github.com/swc-project/swc/issues/9682))
([2bbd1e8](2bbd1e8485))

##### Miscellaneous Tasks

- **(deps)** Update cargo (patch)
([#&#8203;9607](https://redirect.github.com/swc-project/swc/issues/9607))
([3597b0f](3597b0f53d))

##### Performance

- **(es)** Cache `current_dir()` system calls
([#&#8203;9683](https://redirect.github.com/swc-project/swc/issues/9683))
([7aab945](7aab945a21))

- **(es/lints)** Disable lints by default
([#&#8203;9689](https://redirect.github.com/swc-project/swc/issues/9689))
([4d887d0](4d887d062b))

- **(visit)** Introduce `Pass` API and adjust visitor APIs for it
([#&#8203;9680](https://redirect.github.com/swc-project/swc/issues/9680))
([581aafb](581aafb4df))

###
[`v1.7.40`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1740---2024-10-26)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.7.39...v1.7.40)

##### Bug Fixes

- **(bindings)** Update napi to handle string with `\0`
([#&#8203;9665](https://redirect.github.com/swc-project/swc/issues/9665))
([8f45eaf](8f45eaf837))

- **(bindings/node)** Add `VisitTsPropertySignature`
([#&#8203;9670](https://redirect.github.com/swc-project/swc/issues/9670))
([715c42c](715c42c0bf))

- **(es/codegen)** Improve EndsWithAlphaNum
([#&#8203;9675](https://redirect.github.com/swc-project/swc/issues/9675))
([ba2a942](ba2a942f56))

- **(es/renamer)** Check `preserved` in normal renaming mode
([#&#8203;9666](https://redirect.github.com/swc-project/swc/issues/9666))
([87b4e10](87b4e10e5d))

- **(typescript)** Check whether the method is abstract when checking
`is_overload`
([#&#8203;9678](https://redirect.github.com/swc-project/swc/issues/9678))
([78500af](78500af546))

##### Documentation

- **(contributing)** Document changeset
([#&#8203;9667](https://redirect.github.com/swc-project/swc/issues/9667))
([602c667](602c667b9d))

##### Miscellaneous Tasks

- **(deps)** Update dependency swc-plugin-coverage-instrument to ^0.0.25
([#&#8203;9676](https://redirect.github.com/swc-project/swc/issues/9676))
([b8d255b](b8d255bf5a))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 00:14:40 +00:00
renovate[bot]
efd1cce90d
chore(deps): update dependency react-dropzone to v14.3.5 (#8759)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-dropzone](https://redirect.github.com/react-dropzone/react-dropzone)
| [`14.2.10` ->
`14.3.5`](https://renovatebot.com/diffs/npm/react-dropzone/14.2.10/14.3.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-dropzone/14.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-dropzone/14.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-dropzone/14.2.10/14.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-dropzone/14.2.10/14.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>react-dropzone/react-dropzone (react-dropzone)</summary>

###
[`v14.3.5`](https://redirect.github.com/react-dropzone/react-dropzone/releases/tag/v14.3.5)

[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.4...v14.3.5)

##### Bug Fixes

- fix wrong file type msg ux and close
[#&#8203;1221](https://redirect.github.com/react-dropzone/react-dropzone/issues/1221)
([4ca683b](4ca683b9ed))

###
[`v14.3.4`](https://redirect.github.com/react-dropzone/react-dropzone/releases/tag/v14.3.4)

[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.3...v14.3.4)

##### Bug Fixes

- set {isDragRejected} on drop and close
[#&#8203;1238](https://redirect.github.com/react-dropzone/react-dropzone/issues/1238)
([589d01e](589d01ec00))

###
[`v14.3.3`](https://redirect.github.com/react-dropzone/react-dropzone/releases/tag/v14.3.3)

[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.2...v14.3.3)

##### Bug Fixes

- visually hide the input and close
[#&#8203;1268](https://redirect.github.com/react-dropzone/react-dropzone/issues/1268)
([edeef15](edeef159c4))

###
[`v14.3.2`](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.1...e35de09e0a8f4d492d02c7c1566cb9d89880bc77)

[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.1...v14.3.2)

###
[`v14.3.1`](4288d8e3c3...72c6c34866)

[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.0...v14.3.1)

###
[`v14.3.0`](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.2.10...4288d8e3c3e811e8ed4303b696adc7cb951455b1)

[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.2.10...v14.3.0)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 22:15:12 +00:00
renovate[bot]
0cbdc1439c
chore(deps): update dependency msw to v2.6.2 (#8758)
This PR contains the following updates:

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

---

### Release Notes

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

###
[`v2.6.2`](https://redirect.github.com/mswjs/msw/releases/tag/v2.6.2)

[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.6.1...v2.6.2)

##### v2.6.2 (2024-11-07)

##### Bug Fixes

- update `@bundled-es-modules/cookie` to 2.0.1
([#&#8203;2312](https://redirect.github.com/mswjs/msw/issues/2312))
([`c134352`](c134352e82))
[@&#8203;kettanaito](https://redirect.github.com/kettanaito)

###
[`v2.6.1`](https://redirect.github.com/mswjs/msw/releases/tag/v2.6.1)

[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.6.0...v2.6.1)

##### v2.6.1 (2024-11-06)

##### Bug Fixes

- prevent `instanceof` handler check failures between different MSW
versions
([#&#8203;2349](https://redirect.github.com/mswjs/msw/issues/2349))
([`28d26bd`](28d26bd7fa))
[@&#8203;kettanaito](https://redirect.github.com/kettanaito)

###
[`v2.6.0`](https://redirect.github.com/mswjs/msw/releases/tag/v2.6.0)

[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.5.2...v2.6.0)

#### v2.6.0 (2024-10-29)

##### Features

- support mocking WebSocket APIs
([#&#8203;2011](https://redirect.github.com/mswjs/msw/issues/2011))
([`ae786f5`](ae786f59eb))
[@&#8203;kettanaito](https://redirect.github.com/kettanaito)
[@&#8203;DanielleHuisman](https://redirect.github.com/DanielleHuisman)

###
[`v2.5.2`](https://redirect.github.com/mswjs/msw/releases/tag/v2.5.2)

[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.5.1...v2.5.2)

#### v2.5.2 (2024-10-27)

##### Bug Fixes

- enable provenance for publishing
([#&#8203;2334](https://redirect.github.com/mswjs/msw/issues/2334))
([`e9b0636`](e9b0636c2c))
[@&#8203;kettanaito](https://redirect.github.com/kettanaito)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 18:23:00 +00:00
Thomas Heartman
7e96033c4a
3111-1: Wires up stale data from the API (#8752)
Builds on the backend code added in
https://github.com/Unleash/unleash/pull/8751

This wires up the front end to use the data returned from the API
2024-11-14 14:23:05 +00:00
Thomas Heartman
5d32d149cd
feat: add stale flag count to project status payload (#8751)
This PR adds stale flag count to the project status payload. This is
useful for the project status page to show the number of stale flags in
the project.
2024-11-14 14:10:10 +00:00
Thomas Heartman
b4e2d5d270
Add close button, fix layout, refactor (#8755)
This PR consists of cleanup for the project status modal as well as
adding the missing button.

I've added inline comments to explain the different steps.

It now looks like this:

![image](https://github.com/user-attachments/assets/29a3c0b7-770c-4019-aaed-b363c5804138)
2024-11-14 15:00:32 +01:00
Nuno Góis
395a4b6be3
chore: PAYG billing (#8743)
https://linear.app/unleash/issue/CTO-95/unleash-billing-page-for-enterprise-payg

Adds support for PAYG in Unleash's billing page.

Includes some refactoring, like splitting Pro and PAYG into different
details components. We're now also relying on shared billing-related
constants (see `BillingPlan.tsx`). This should make it much easier to
change any of these values in the future. I already changed a few that
were static / wrongly relying on instanceStatus.seats (we decided we're
not doing that for now).


![image](https://github.com/user-attachments/assets/97a5a420-a4f6-4b6c-93d6-3fffddbacbc7)
2024-11-14 11:29:05 +00:00
Alvin Bryan
54444a395c
Fixed OpenAPI URL renaming (#8726)
## Problem

Our API docs are generated from a specfile that is hosted in
https://us.app.unleash-hosted.com/ushosted

By default the API docs UI will show that URL, which we don't want


![image](https://github.com/user-attachments/assets/c125cf6c-8c97-4a56-84a8-3989725d2e95)

## Previously

We ran a find-and-replace after the mdx files were generated with
`replace-in-file`

## Now

The previous solution is no longer possible because the openapi plugin
changed. Basically, before it generated markdown files that looked like
this:

```
# Create API Key

https://unleash-hosted/whatever

bla bla bla
```
Now it generates files that do not contain the URL and look like this:

```
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Configure project access"}
>
</Heading>
```
which themselves get compiled.

## Solution

This PR now downloads the specfile, makes a local copy, then an alters
the server URL in the copy, then uses that local file to generate the
docs.


![image](https://github.com/user-attachments/assets/039644a6-1e72-4145-9c67-9e6203b1673b)


I didn't want to make any changes to the actual spec logic because this
essentially just a plugin quirk

---

[PREVIEW
LINK](https://unleash-docs-git-alvin-fix-openapi-rename-unleash-team.vercel.app/reference/api/unleash/get-addon)
2024-11-14 11:07:23 +00:00
Tymoteusz Czech
3699646680
Restore additional feedback page (#8750)
Partial revert of 656483d819
Reuse search feedback.
2024-11-14 12:01:45 +02:00
Mateusz Kwasniewski
4fabf49706
feat: show deleted user sessions (#8749) 2024-11-14 10:30:31 +01:00
Jaanus Sellin
ec9be77383
feat: licensed users migration table (#8748) 2024-11-14 10:59:29 +02:00
Thomas Heartman
9440b52464
feat: Add stale flags counter (#8741)
This PR adds the stale flag component to the health grid. In doing so,
it also reworks the layout of the health row (now a grid) and updates
the health component.

In addition to removing the text from the component, I have adjust the
SVG a bit to make it not shrink on smaller screens and have adjusted
it's spacing, so that it's not full of dead space at the bottom. This
makes it easier to style because it doesn't add 15px of invisible
content.

This PR also touches up a few other visual issues I found, such as
header level and sidebar width.

Wide:

![image](https://github.com/user-attachments/assets/acb57b17-eb7f-4b69-9bfa-1113bb748467)

Medium:

![image](https://github.com/user-attachments/assets/a57331b0-825f-4b20-9b05-3ecd81804f5d)

Narrow:

![image](https://github.com/user-attachments/assets/65c6e8d1-1783-4354-b71b-2867eabcc9ec)
2024-11-14 08:55:21 +00:00
renovate[bot]
3e424ec20d
chore(deps): update dependency fast-check to v3.23.1 (#8747)
This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>dubzzz/fast-check (fast-check)</summary>

###
[`v3.23.1`](https://redirect.github.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3231)

[Compare
Source](https://redirect.github.com/dubzzz/fast-check/compare/v3.23.0...v3.23.1)

*Faster instantiation of internet-related arbitraries*

\[[Code](https://redirect.github.com/dubzzz/fast-check/tree/v3.23.1)]\[[Diff](https://redirect.github.com/dubzzz/fast-check/compare/v3.23.0...v3.23.1)]

#### Fixes

- ([PR#5402](https://redirect.github.com/dubzzz/fast-check/pull/5402))
Performance: Faster instantiation of internet-related arbitraries

###
[`v3.23.0`](https://redirect.github.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3230)

[Compare
Source](https://redirect.github.com/dubzzz/fast-check/compare/v3.22.0...v3.23.0)

*Extend usages of string-units and increased performance*

\[[Code](https://redirect.github.com/dubzzz/fast-check/tree/v3.23.0)]\[[Diff](https://redirect.github.com/dubzzz/fast-check/compare/v3.22.0...v3.23.0)]

#### Features

- ([PR#5366](https://redirect.github.com/dubzzz/fast-check/pull/5366))
Add support for string-`unit` on `object`/`anything` arbitrary
- ([PR#5367](https://redirect.github.com/dubzzz/fast-check/pull/5367))
Add support for string-`unit` on `json` arbitrary
- ([PR#5390](https://redirect.github.com/dubzzz/fast-check/pull/5390))
Add back strong unmapping capabilities to `string`

#### Fixes

- ([PR#5327](https://redirect.github.com/dubzzz/fast-check/pull/5327))
Bug: Resist even more to external poisoning for `string`
- ([PR#5368](https://redirect.github.com/dubzzz/fast-check/pull/5368))
Bug: Better support for poisoning on `stringMatching`
- ([PR#5344](https://redirect.github.com/dubzzz/fast-check/pull/5344))
CI: Adapt some tests for Node v23
- ([PR#5346](https://redirect.github.com/dubzzz/fast-check/pull/5346))
CI: Drop usages of `it.concurrent` due to Node 23 failing
- ([PR#5363](https://redirect.github.com/dubzzz/fast-check/pull/5363))
CI: Move to Vitest for `examples/`
- ([PR#5391](https://redirect.github.com/dubzzz/fast-check/pull/5391))
CI: Preview builds using `pkg.pr.new`
- ([PR#5392](https://redirect.github.com/dubzzz/fast-check/pull/5392))
CI: Connect custom templates to `pkg.pr.new` previews
- ([PR#5394](https://redirect.github.com/dubzzz/fast-check/pull/5394))
CI: Install dependencies before building changesets
- ([PR#5396](https://redirect.github.com/dubzzz/fast-check/pull/5396))
CI: Proper commit name on changelogs
- ([PR#5393](https://redirect.github.com/dubzzz/fast-check/pull/5393))
Clean: Drop unused `examples/jest.setup.js`
- ([PR#5249](https://redirect.github.com/dubzzz/fast-check/pull/5249))
Doc: Release note for fast-check 3.22.0
- ([PR#5369](https://redirect.github.com/dubzzz/fast-check/pull/5369))
Doc: Typo fix in model-based-testing.md
- ([PR#5370](https://redirect.github.com/dubzzz/fast-check/pull/5370))
Doc: Add new contributor jamesbvaughan
- ([PR#5383](https://redirect.github.com/dubzzz/fast-check/pull/5383))
Doc: Properly indent code snippets for the documentation
- ([PR#5372](https://redirect.github.com/dubzzz/fast-check/pull/5372))
Performance: Faster `canShrinkWithoutContext` for constants
- ([PR#5386](https://redirect.github.com/dubzzz/fast-check/pull/5386))
Performance: Faster generate process for `mapToConstant`
- ([PR#5387](https://redirect.github.com/dubzzz/fast-check/pull/5387))
Performance: Faster tokenizer of strings
- ([PR#5388](https://redirect.github.com/dubzzz/fast-check/pull/5388))
Performance: Faster initialization of `string` with faster slices
- ([PR#5389](https://redirect.github.com/dubzzz/fast-check/pull/5389))
Performance: Faster initialization of `string` with pre-cached slices
- ([PR#5371](https://redirect.github.com/dubzzz/fast-check/pull/5371))
Test: Add extra set of tests for `constant*`

***

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 04:01:32 +00:00
renovate[bot]
0f60542f85
chore(deps): update dependency @babel/core to v7.26.0 (#8746)
This PR contains the following updates:

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

---

### Release Notes

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

###
[`v7.26.0`](https://redirect.github.com/babel/babel/compare/v7.25.9...v7.26.0)

[Compare
Source](https://redirect.github.com/babel/babel/compare/v7.25.9...v7.26.0)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 01:24:15 +00:00
renovate[bot]
81277e109a
fix(deps): update dependency nodemailer to v6.9.16 (#8745)
This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>nodemailer/nodemailer (nodemailer)</summary>

###
[`v6.9.16`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#6916-2024-10-28)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v6.9.15...v6.9.16)

##### Bug Fixes

- **addressparser:** Correctly detect if user local part is attached to
domain part
([f2096c5](f2096c51b9))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 22:50:02 +00:00
renovate[bot]
b61c3fd7cc
fix(deps): update dependency compression to v1.7.5 (#8744)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [compression](https://redirect.github.com/expressjs/compression) |
[`1.7.4` ->
`1.7.5`](https://renovatebot.com/diffs/npm/compression/1.7.4/1.7.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/compression/1.7.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/compression/1.7.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/compression/1.7.4/1.7.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/compression/1.7.4/1.7.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>expressjs/compression (compression)</summary>

###
[`v1.7.5`](https://redirect.github.com/expressjs/compression/blob/HEAD/HISTORY.md#175--2024-10-31)

[Compare
Source](https://redirect.github.com/expressjs/compression/compare/1.7.4...1.7.5)

\==========

-   deps: Replace accepts with negotiator@~0.6.4
    -   Add preference option
-   deps: bytes@3.1.2
    -   Add petabyte (`pb`) support
    -   Fix "thousandsSeparator" incorrecting formatting fractional part
    -   Fix return value for un-parsable strings
-   deps: compressible@~2.0.18
    -   Mark `font/ttf` as compressible
    -   Remove compressible from `multipart/mixed`
    -   deps: mime-db@'>= 1.43.0 < 2'
-   deps: safe-buffer@5.2.1

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 19:42:37 +00:00
Tymoteusz Czech
60fb647489
Count active browser sessions per user (#8736)
Show info on how many devices a user is logged in to an admin.
2024-11-13 15:49:25 +00:00
Mateusz Kwasniewski
bcbbd5c3e6
refactor: sessions for user without error (#8742) 2024-11-13 16:37:05 +01:00
Tymoteusz Czech
fecf57c467
fix: send UI error tracking (#8725)
Put error boundary inside of stats provider.
2024-11-13 16:13:05 +01:00
Mateusz Kwasniewski
c6519cd95d
feat: delete stale user sessions (#8738) 2024-11-13 15:41:07 +01:00
Jaanus Sellin
d2daae5857
feat: prometheus now gets licensed users data (#8740)
We have the licensed users service implemented, this just spread the
data to prometheus.
2024-11-13 16:00:47 +02:00
Thomas Heartman
088eaedbc3
feat: add tooltips to lifecycle boxes (#8739)
This pr adds tooltips to lifecycle boxes when they're hovered or
focused. There's also some small copy tweaks.

We decided to go with tooltips instead of buttons for this iteration
because it'd be an easier thing to implement, especially in regards to
keyboard navigation and avoiding overlapping other elements.

I've also not changed the background color of the tooltips just yet.
There's two reasons for this:
1. The practical reason is that our `HtmlTooltipComponent` doesn't allow
you to do that and I didn't wanna start messing about with that.

2. If all our other tooltips follow this color scheme, why not do the
same here? Especially because they're not buttons anymore, so using the
same color as other tooltips seems sensible.

![image](https://github.com/user-attachments/assets/2e0ebf26-6809-4952-87db-9b7d2838eed7)
2024-11-13 14:52:43 +01:00
Jaanus Sellin
940182aaf0
feat: introduce new term licensed users (#8737)
Introducing new term Licensed users.
Added query to read it from database and extensive tests to cover the
logic.
2024-11-13 14:32:58 +02:00
Thomas Heartman
bc7511abd4
chore: prepare for lifecycle comments (#8733)
This PR is a preparation for adding lifecycle comments. It turns the
Lifecycle boxes into buttons, using MUI's
[`CardActionArea`](https://mui.com/material-ui/api/card-action-area/)
component, and allows you to select one at a time.

I'm not convinced about the a11y of this approach, but it appears to be
in line with what MUI suggests, so ...

I'll add the speech bubbles in a follow-up.

<img width="1059" alt="image"
src="https://github.com/user-attachments/assets/ad3f649f-10de-4418-a780-10321e90d001">
2024-11-13 12:02:33 +00:00
Mateusz Kwasniewski
61e297dd22
fix: password auth metrics (#8735) 2024-11-13 12:10:53 +01:00
David Leek
cb316f012c
feat: frontend initial page for creating release templates (#8732) 2024-11-13 11:03:19 +01:00
Jaanus Sellin
b6f573c6b9
feat: coloring of health chart (#8731)
1. Now properly color the chart based on 0-25,25-75,75-100 thresholds.
2. Fix spacing
3. Fix wrong svg implementation


![image](https://github.com/user-attachments/assets/1bd2f565-3156-4b09-896c-e126335d182c)
2024-11-13 11:49:16 +02:00
Thomas Heartman
b87c47d7c4
1-3083: add remaining lifecycle header + tooltip (#8722)
This PR adds a header and a tooltip to the lifecycle widget. Most of the
changes in ProjectLifecycleSummary is indentation changes due to
wrapping the component in another row container.

Additionally, this PR touches the `HelpIcon` component because we'd like
the tooltip to be wider than what we currently set as the default for
the help icon. The help icon uses the html tooltip component, which has
a maxWidth prop, but it does not expose that. So I've adjusted it to let
you do that.



Header with tooltip:

![image](https://github.com/user-attachments/assets/6ae1984b-256b-4f09-8fa2-b86ac2c17558)
2024-11-13 10:16:35 +01:00
Mateusz Kwasniewski
bb0403d551
feat: metrics for password and scim enabled (#8730) 2024-11-13 10:07:06 +01:00
David Leek
7feba0c4d4
feat: edit release plan template (#8723) 2024-11-13 09:37:47 +01:00
renovate[bot]
584be706ec
chore(deps): update dependency sass to v1.80.6 (#8729)
This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.80.6`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1806)

[Compare
Source](https://redirect.github.com/sass/dart-sass/compare/1.80.5...1.80.6)

##### Command-Line Interface

- Make `@parcel/watcher` an optional dependency so this can still be
installed
    on operating systems where it's unavailable.

###
[`v1.80.5`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1805)

[Compare
Source](https://redirect.github.com/sass/dart-sass/compare/1.80.4...1.80.5)

##### Embedded Host

- Don't produce phantom `@import` deprecations when using an importer
with the
    legacy API.

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 02:12:15 +00:00
renovate[bot]
9126e0a26f
chore(deps): update dependency cypress to v13.15.2 (#8728)
This PR contains the following updates:

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

---

### Release Notes

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

###
[`v13.15.2`](https://redirect.github.com/cypress-io/cypress/releases/tag/v13.15.2)

[Compare
Source](https://redirect.github.com/cypress-io/cypress/compare/v13.15.1...v13.15.2)

Changelog: https://docs.cypress.io/guides/references/changelog#13-15-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 is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 23:26:19 +00:00
renovate[bot]
34ce66ba63
chore(deps): update dependency @types/node to v20.17.6 (#8727)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.17.1` ->
`20.17.6`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.1/20.17.6)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.17.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.17.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.17.1/20.17.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.17.1/20.17.6?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 is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 19:37:17 +00:00
Thomas Heartman
a964868e00
1-3093: round the project health (#8718)
This PR rounds the average health score we show for a project. With
fractional numbers, it'd often overflow the graph. It also doesn't
really give you much extra info, so we can round it. The rounding is
then used both in the text, in the graph, and to calculate the graph
fill percentage.

Before:

![image](https://github.com/user-attachments/assets/8d0fea3d-411d-42fb-bd80-d2683a63cdf2)

After:

![image](https://github.com/user-attachments/assets/f5c51742-8a2c-4b1a-bca3-7e812b9a1072)
2024-11-12 15:44:29 +02:00
Thomas Heartman
20c5a6f7ce
1-3095: small UI tweaks sidebar boxes (#8721)
This PR fixes three minor UI issues:
1. The modal is too wide. Turns out that `SidebarModal` has a fixed
width of 1300. `DynamicSidebarModal` does not, so that switch makes it
much leaner.
2. The lifecycle boxes should grow in width to fill whatever space they
have available.
3. If you have 1 flag in any of the stages, we should say "1 flag"
instead of "1 flags".

Sidebar before:

![image](https://github.com/user-attachments/assets/d33d82ca-e04b-416d-b731-9a37f8df3b08)


Sidebar after:

![image](https://github.com/user-attachments/assets/060be979-484a-4481-8781-d171b4211b45)


The lifecycle boxes at their very widest:

![image](https://github.com/user-attachments/assets/817e437f-a0ee-4a85-9018-16ff84cb3819)
2024-11-12 14:31:23 +01:00
Melinda Fekete
ce271a635a
11 principles page improvements (#8704) 2024-11-12 13:44:45 +01:00
Jaanus Sellin
c8bc40146a
feat: email will be stored hashed now for all users (#8720)
Adding email_hash column to users table.
We will update all existing users to have hashed email. 
All new users will also get the hash.

We are fine to use md5, because we just need uniqueness. We have emails
in events table stored anyways, so it is not sensitive.
2024-11-12 13:28:19 +02:00
Thomas Heartman
42198cee83
chore: handle edge cases (#8719)
Handle a couple edge cases related to project lifecycle metrics:
1. If the average time spent was less than a day, we'd show "0 days".
Now we show "less than a day" instead.
2. If the number of flags grows very large, it'd start pushing out the
lifecycle icon. Instead, we now format in nicely.

Before:

![image](https://github.com/user-attachments/assets/a43cf021-7eb0-4edf-ab21-b379c1600299)

![image](https://github.com/user-attachments/assets/6243167a-cb43-4de5-a64c-a5231477d1b6)



After:

![image](https://github.com/user-attachments/assets/3efa630d-708d-4238-a4aa-09cdbbe459c1)

![image](https://github.com/user-attachments/assets/aa773ab8-7719-47f3-a684-18bec829da35)
2024-11-12 12:16:33 +01:00
Thomas Heartman
3bc9fe9a9a
[wip] add data to ui (#8710)
Hooks up the project status lifecycle data to the UI. Adds some minor
refactoring as part of that effort.

## Other files

There's been some small changes to
`frontend/src/component/feature/FeatureView/FeatureOverview/FeatureLifecycle/FeatureLifecycleStageIcon.tsx`
and `frontend/src/hooks/useLoading.ts` as well to accommodate their
usage here and to remove unused stuff. The inline comments mention the
same thing but for posterity (especially after this is merged), the
comments are:

For
`frontend/src/component/feature/FeatureView/FeatureOverview/FeatureLifecycle/FeatureLifecycleStageIcon.tsx`:

> The icon only needs the name to pick.
https://github.com/Unleash/unleash/pull/7049 deliberately changed the
logic so that the completed stage gets the same icon regardless of its
status. As such, to make the icon easier to use other places (such as in
the lifecycle widget), we'll only require the name.

For `frontend/src/hooks/useLoading.ts`:
> There's no reason we should only be able to put refs on divs, as far
as I'm aware. TS was complaining that that a `ul` couldn't hold a div
reference, so I gave it a type parameter that defaults to the old
version.
2024-11-12 11:35:42 +01:00
Thomas Heartman
24a30e5ec3
Update orval for project status lifecycle (#8716)
Update schema and orval for project status to add lifecycle information
2024-11-12 09:28:27 +00:00
Nuno Góis
11d264541d
chore: add release plan events (#8715)
Adds new release plan events. 

These will be triggered by the new release plans API.
2024-11-12 08:59:36 +00:00
renovate[bot]
d42c10b0fe
chore(deps): update dependency @uiw/react-codemirror to v4.23.6 (#8712)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://redirect.github.com/uiwjs/react-codemirror)) |
[`4.23.5` ->
`4.23.6`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.23.5/4.23.6)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.23.5/4.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.23.5/4.23.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror (@&#8203;uiw/react-codemirror)</summary>

###
[`v4.23.6`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.6)

[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.5...v4.23.6)

[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.23.6/file/README.md)

Documentation v4.23.6:
https://raw.githack.com/uiwjs/react-codemirror/57d9fb7/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.5...v4.23.6

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

- 🐞 fix: Implement 'exports' field in package.json for the core & basics
setup package
([#&#8203;692](https://redirect.github.com/uiwjs/react-codemirror/issues/692))
[`8f1ff2d`](https://redirect.github.com/uiwjs/react-codemirror/commit/8f1ff2d)
[@&#8203;fatton139](https://redirect.github.com/fatton139)
- 🐞 fix: resolve exports field issue causing README.md loading error in
documentation
[#&#8203;692](https://redirect.github.com/uiwjs/react-codemirror/issues/692)
[`c2437c7`](https://redirect.github.com/uiwjs/react-codemirror/commit/c2437c7)
[@&#8203;jaywcjlove](https://redirect.github.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 08:35:16 +00:00
sjaanus
27091f886d
feat: update zindex to theme 2024-11-12 10:33:00 +02:00
Jaanus Sellin
920c3e66cd
feat: now tooltip will not be over the main content (#8714)
Now when pressing on new feature or import button, the tooltip will stay
in background.
2024-11-12 10:30:34 +02:00
Jaanus Sellin
76b7b247fc
feat: define activity labels (#8713)
Now the label for total activities is more correct.


![image](https://github.com/user-attachments/assets/1748cf25-9605-4701-b4ab-6a16e9b760eb)
2024-11-12 09:51:24 +02:00
Melinda Fekete
5f3c83fbbd
Move value to be a property of payload, not variant (#8697) 2024-11-11 15:24:10 +01:00