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

12877 Commits

Author SHA1 Message Date
Tymoteusz Czech
7820ca62ad
feat: show max count of sessions that users have to an admin (#8781)
Add info about large number of parallel sessions per user.
2024-11-18 15:15:56 +00:00
weekwith.me
695873132e
fix: Remove idNumberMiddleware and change to use parameters in validPath method instead (#8734)
## About the changes

- Remove `idNumberMiddleware` method and change to use `parameters`
field in `openApiService.validPath` method for the flexibility.
- Remove unnecessary `Number` type converting method and change them to
use `<{id: number}>` to specify the type.

### Reference

The changed response looks like the one below.

```JSON
{
   "id":"8174a692-7427-4d35-b7b9-6543b9d3db6e",
   "name":"BadDataError",
   "message":"Request validation failed: your request body or params contain invalid data. Refer to the `details` list for more information.",
   "details":[
      {
         "message":"The `/params/id` property must be integer. You sent undefined.",
         "path":"/params/id"
      }
   ]
}
```

I think it might be better to customize the error response, especially
`"You sent undefined."`, on another pull request if this one is
accepted. I prefer to separate jobs to divide the context and believe
that it helps reviewer easier to understand.
2024-11-18 15:08:07 +01:00
Thomas Heartman
18591dd017
fix: use the correct design token color for the health chart background (#8783)
This change swaps out the color of the health chart "unfilled" section
for `theme.palette.background.application`. This is the same color
that's used in the sketches, so it should apply better for dark mode.

Why? I noticed that the graph looks choppy in dark mode, so figured
I'd go and investigate. This update makes it look a lot smoother.

Light mode looks the same as before.

Before (notice the leaking light grey):

![image](https://github.com/user-attachments/assets/535ca24b-756b-460c-a7ab-78daf28d68ba)


After:

![image](https://github.com/user-attachments/assets/98d4c0de-bde3-4d10-9210-fdd0bf5dc572)
2024-11-18 14:07:40 +02:00
Thomas Heartman
a55a956772
1-3120: remove project connected environments (#8775)
Remove everything related to the connected environment count for project
status. We decided that because we don't have anywhere to link it to at
the moment, we don't want to show it yet.
2024-11-18 12:01:25 +01:00
Thomas Heartman
fb9c754008
feat: combine health and status widgets (#8782)
This PR combines the health and status widgets into a single widget. It
adds a new row with information on your unhealthy flags.

The stat prettifies large numbers to avoid overflows for very large
numbers. To keep it in line with the SVG, I've extracted some of the
constants so we can share them for size calculation.


![image](https://github.com/user-attachments/assets/0b66b6ba-b88c-412e-838f-bd5e7867cdc3)

When it folds, it uses the "space-around" algorithm to make the two
stats occupy their own positions:

![image](https://github.com/user-attachments/assets/eb3a4f0e-31fa-4895-ba12-c6f910112204)

The number uses a custom background color in dark mode because elevation
1 and 2 are the same there:

![image](https://github.com/user-attachments/assets/fa405c33-f38a-4fea-bf20-e1d9bf21bb1c)
2024-11-18 12:01:08 +01:00
dependabot[bot]
e712a65dff
chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 in /frontend (#8779) 2024-11-18 11:28:25 +01:00
dependabot[bot]
9bc64a91b0
chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 (#8780) 2024-11-18 11:25:42 +01:00
Gastón Fournier
f297d861ea
chore: use memoized stats for version (#8776)
## About the changes
Builds on top of #8766 to use memoized results from stats-service.
Because stats service depends on version service, and to avoid making
the version service depend on stats service creating a cyclic
dependency. I've introduced a telemetry data provider. It's not clean
code, but it does the job.

After validating this works as expected I'll clean up

Added an e2e test validating that the replacement is correct:
[8475492](847549234c)
and it did:
https://github.com/Unleash/unleash/actions/runs/11861854341/job/33060032638?pr=8776#step:9:294

Finally, cleaning up version service
2024-11-18 10:47:29 +01:00
Gastón Fournier
39d227c33b
chore: improve the performance of our instance stats (#8766)
## About the changes
Our stats are used for many places and many times to publish prometheus
metrics and some other things.

Some of these queries are heavy, traversing all tables to calculate
aggregates.

This adds a feature flag to be able to memoize 1 minute (by default) how
long to keep the calculated values in memory.

We can use the key of the function to individually control which ones
are memoized or not and for how long using a numeric variant.

Initially, this will be disabled and we'll test in our instances first
2024-11-18 08:45:34 +00:00
David Leek
0ce976a0d5
feat: implement call to add release-plan to feature environment (#8778) 2024-11-18 09:30:29 +01:00
renovate[bot]
69f73f45f4
fix(deps): update dependency unleash-client to v6.1.3 (#8777)
This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>Unleash/unleash-client-node (unleash-client)</summary>

###
[`v6.1.3`](https://redirect.github.com/Unleash/unleash-client-node/releases/tag/v6.1.3)

[Compare
Source](https://redirect.github.com/Unleash/unleash-client-node/compare/v6.1.2...v6.1.3)

#### What's Changed

- fix: stop storage save on repository stop by
[@&#8203;kwasniew](https://redirect.github.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/673](https://redirect.github.com/Unleash/unleash-client-node/pull/673)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v6.1.2...v6.1.3

</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-18 08:06:37 +00:00
Mateusz Kwasniewski
56db988a86
feat: log excessive logins (#8774) 2024-11-18 09:01:41 +01:00
Tymoteusz Czech
6d4e2e991f
fix: device count flag without variant (#8773) 2024-11-15 13:05:50 +01:00
Tymoteusz Czech
2ffff25a4a
test: device count without experimental env key (#8771) 2024-11-15 11:28:17 +00:00
Tymoteusz Czech
9d5fceb5bf
feat: show users with multiple parallel sessions (#8756) 2024-11-15 10:34:38 +00:00
Thomas Heartman
f89bc33645
1-3125: Update project navigation for the simplified view (#8770)
The changes are:
- Change "Flags" to "Overview"
- Also hide "Insights" and "Health"
- Change "Project settings" to "Settings"
2024-11-15 09:56:41 +00:00
Thomas Heartman
046573174b
fix(a11y): Fix keyboard navigation issues with sidebar (#8769)
This PR fixes a number of keyboard accessibility issues with the
feedback sidebar. They are (in no particular order):
1. The radio inputs don't have a focus style for `focus-visible` (when
keyboard focused).
2. There's two close buttons there for some reason? One is invisible,
but you can tab to it?
3. The sidebar doesn't trap focus, so you can tab out of the modal and
continue tabbing through the main page (with the modal still open)
4. The sidebar doesn't steal focus. When you open it, your focus remains
on the button you used to open it. So if you want to navigate to it, you
have to go through the entire page (behind the modal) to get to it.
5. The sidebar can't be closed by 'escape'.

The fixes are:
1. Apply the same styles when focus visible as when hover
2. Wrap the component in the `BaseModal` component
3. Wrap the component in the `BaseModal` component
4. Wrap the component in the `BaseModal` component
5. Wrap the component in the `BaseModal` component

(see a theme here?)

Additionally, because the base modal has its own `open` state, I removed
the wrapping conditionally render, reducing nesting by one stop. Most of
the changes in the file are just whitespace changes.


![image](https://github.com/user-attachments/assets/28832756-cfb3-4ced-8b8c-a344edced036)

I considered also applying an auto-focus to the first input in the
sidebar, but our linter doesn't like it. Additionally MDN lists the
following [accessibility
concerns](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_concerns)

> Automatically focusing a form control can confuse visually-impaired
people using screen-reading technology and people with cognitive
impairments. When autofocus is assigned, screen-readers "teleport" their
user to the form control without warning them beforehand.
>
> Use careful consideration for accessibility when applying the
autofocus attribute. Automatically focusing on a control can cause the
page to scroll on load. The focus can also cause dynamic keyboards to
display on some touch devices. While a screen reader will announce the
label of the form control receiving focus, the screen reader will not
announce anything before the label, and the sighted user on a small
device will equally miss the context created by the preceding content.

So I'll leave it off.
2024-11-15 10:24:53 +01:00
Thomas Heartman
b4d19862d7
1-3122: refetch CR notifs on actions (#8767)
Refetch actionable change requests whenever you perform an action on a
change request. This ensures that the change request notifications are
up-to-date for you. Of course, it can still get out of sync if someone
else performs an action on the change request, but that's more of an
edge case.
2024-11-15 10:02:36 +01:00
Mateusz Kwasniewski
b3437b8c34
feat: Max sessions limit (#8765) 2024-11-15 09:57:17 +01:00
Thomas Heartman
5d36862ddb
feat: add project status feedback (#8764)
This PR adds the feedback component to the project status page. When you
open the feedback modal, we close the status sidebar. Exiting the
feedback modal takes you back to the project page.

As a bonus: fixes the background color of the health grid, which was a
little bit off.


![image](https://github.com/user-attachments/assets/6e7e61cb-75f4-44ac-9efd-632b40ccab51)


![image](https://github.com/user-attachments/assets/6e049719-cff3-4b85-8f02-e0174b515ab2)
2024-11-15 10:51:00 +02:00
Nuno Góis
6db6cc2bd6
refactor: remove unused component UserSeats (#8757)
https://linear.app/unleash/issue/2-2974/remove-unused-component-userseats

Removes the unused component `UserSeats`.
2024-11-15 08:45:32 +00:00
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