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

4858 Commits

Author SHA1 Message Date
Gastón Fournier
3f00d3132a
fix: SCIM UI flag removal (#7856)
We overlooked removing this flag from UI
2024-08-13 14:14:14 +02:00
Tymoteusz Czech
067d0b15c7
Fix: time to production (#7835) (#7848)
- filter out time to production data points of `0 days to production`
- allow for gathering data for quickly enabled feature flags
2024-08-13 10:43:55 +02:00
Thomas Heartman
bc1f261cf2
fix: display feature naming patterns in dialog (#7837)
Updates the dialog form template to include a `namingPattern` prop that
can be used to display the naming pattern of whatever the form is used
for.

Also updates the create feature dialog to display the naming pattern in
the current project.

The naming pattern component re-uses the pattern that we have in place
for feature naming patterns, but puts it in an expandable dialog
instead.

Screenies:

Naming pattern closed:

![image](https://github.com/user-attachments/assets/145e4268-1aa0-4c1b-8f08-97857447e2f5)


![image](https://github.com/user-attachments/assets/1613c846-e7d4-41c8-a1c8-a66ab87b6e5f)



Naming pattern open:

![image](https://github.com/user-attachments/assets/1aa37162-500b-4b83-926f-07aa777e8017)
2024-08-12 13:58:07 +02:00
Thomas Heartman
6f9492ef12
fix: don't always fetch all flags on project flag screen (#7834)
There's a bug where the UI will fetch all features every time you load a
project screen (including every time you filter the project results).

The reason is that the create flag dialog was rendered (just not open)
every time. To solve it, we instead wrap it in an extra component that
prevents all the fetching and setup from running when the dialog isn't
open.

Additionally, we'll lower the page size for the global fetch limit to 1,
so that we send less data.
2024-08-12 11:21:36 +02:00
Jaanus Sellin
7d4cc87a92
fix: allow for empty groupId in form (#7798) (#7802)
`groupId` parameter because of the change in validation wasn't parsed
correctly. Intent was to fill it when it is empty, when the form is
loaded. By mistake the same logic applies when you manually remove all
characters from the text field.

<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

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

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


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

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-08-08 11:04:05 +03:00
Thomas Heartman
e155cb9923
fix: don't delete projects screen from history (#7787)
Fixes a bug in the navigation when you create a project. It used to be
that we'd replace the current entry in the browser history when we
took you to a separate form for it. However, now that we instead
use a dialog, we don't want to replace the history.

Before: if you created a project and navigated back, you'd be taken to
the page you were at BEFORE you went to the projects page, whether
that was in Unleash or otherwise.

Now you'll be taken back to the projects page.
2024-08-07 09:33:27 +02:00
Tymoteusz Czech
29975a62c4
feat: link to release notes from orphaned tokens (#7731)
Adding a link "Read more in [release
notes](https://github.com/Unleash/unleash/releases/tag/v6.1.0)" to
orphaned tokens.

This needs to be added on v6.1, with the following changelog entry:


> **SDK tokens for deleted projects**
> 
> In previous versions of Unleash, when a project was deleted, the
associated SDK tokens were not removed. This issue has been addressed in
the current version of Unleash.
> 
> Unfortunately, if you deleted a project in the past without manually
removing the associated tokens, these "orphaned" tokens were
automatically converted to “wildcard” tokens, granting access to all
feature flags across all projects.
> 
> Our assessment indicates this poses a minor security concern due to
the following reasons:
> 
> This issue only affects tokens whose entire project scope has been
deleted. 
> 
> Access requires knowledge of the token.
> 
> SDK tokens have limited read access and must be assigned to a single
environment.
> 
> In the SDK tokens overview, orphaned tokens are flagged with a
warning. We recommend discontinuing the use of these tokens and creating
new, dedicated tokens instead.
> 
> With the latest version, when a project is deleted, all API tokens
scoped to that project will be removed as well. If you need further
assistance, please contact customer support.
2024-08-06 14:12:33 +03:00
Mateusz Kwasniewski
c7ececc429
feat: link to frontend api url (#7770) 2024-08-06 13:09:37 +02:00
renovate[bot]
51bbd6366b
chore(deps): update dependency vite to v5.3.5 (#7762)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v5.3.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small535-2024-07-25-small)

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

- refactor(asset): remove rollup 3 public file watch workaround
([#&#8203;16331](https://togithub.com/vitejs/vite/issues/16331))
([66bdb1d](66bdb1d7b4)),
closes [#&#8203;16331](https://togithub.com/vitejs/vite/issues/16331)
- fix: make `server` type less restrictive (fix
[#&#8203;17627](https://togithub.com/vitejs/vite/issues/17627))
([#&#8203;17628](https://togithub.com/vitejs/vite/issues/17628))
([b55c32f](b55c32f7e3)),
closes [#&#8203;17627](https://togithub.com/vitejs/vite/issues/17627)
[#&#8203;17628](https://togithub.com/vitejs/vite/issues/17628)
- fix: show error if vite client cannot be loaded
([#&#8203;17419](https://togithub.com/vitejs/vite/issues/17419))
([db5ab1d](db5ab1dfc4)),
closes [#&#8203;17419](https://togithub.com/vitejs/vite/issues/17419)
- fix(build): env output is not stable
([#&#8203;17748](https://togithub.com/vitejs/vite/issues/17748))
([b240a83](b240a8347e)),
closes [#&#8203;17748](https://togithub.com/vitejs/vite/issues/17748)
- fix(client): fix vite error path
([#&#8203;17744](https://togithub.com/vitejs/vite/issues/17744))
([3c1bde3](3c1bde3406)),
closes [#&#8203;17744](https://togithub.com/vitejs/vite/issues/17744)
- fix(css): resolve url aliases with fragments (fix:
[#&#8203;17690](https://togithub.com/vitejs/vite/issues/17690))
([#&#8203;17691](https://togithub.com/vitejs/vite/issues/17691))
([d906d3f](d906d3f8e1))
- fix(deps): update all non-major dependencies
([#&#8203;17629](https://togithub.com/vitejs/vite/issues/17629))
([93281b0](93281b0e09)),
closes [#&#8203;17629](https://togithub.com/vitejs/vite/issues/17629)
- fix(importMetaGlob): handle alias that starts with hash
([#&#8203;17743](https://togithub.com/vitejs/vite/issues/17743))
([b58b423](b58b423ba8)),
closes [#&#8203;17743](https://togithub.com/vitejs/vite/issues/17743)
- fix(ssrTransform): sourcemaps with multiple sources
([#&#8203;17677](https://togithub.com/vitejs/vite/issues/17677))
([f321fa8](f321fa8de2)),
closes [#&#8203;17677](https://togithub.com/vitejs/vite/issues/17677)
- chore: extend commit hash
([#&#8203;17709](https://togithub.com/vitejs/vite/issues/17709))
([4fc9b64](4fc9b6424c)),
closes [#&#8203;17709](https://togithub.com/vitejs/vite/issues/17709)
- chore(deps): update all non-major dependencies
([#&#8203;17734](https://togithub.com/vitejs/vite/issues/17734))
([9983731](998373120c)),
closes [#&#8203;17734](https://togithub.com/vitejs/vite/issues/17734)
- chore(deps): update typescript
([#&#8203;17699](https://togithub.com/vitejs/vite/issues/17699))
([df5ceb3](df5ceb35b7)),
closes [#&#8203;17699](https://togithub.com/vitejs/vite/issues/17699)
- revert: fix(logger): truncate log over 5000 characters long
([#&#8203;16581](https://togithub.com/vitejs/vite/issues/16581))
([#&#8203;17729](https://togithub.com/vitejs/vite/issues/17729))
([f4f488f](f4f488fe83)),
closes [#&#8203;16581](https://togithub.com/vitejs/vite/issues/16581)
[#&#8203;17729](https://togithub.com/vitejs/vite/issues/17729)

###
[`v5.3.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small534-2024-07-16-small)

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

- fix: update Terser type definitions (fix
[#&#8203;17668](https://togithub.com/vitejs/vite/issues/17668))
([#&#8203;17669](https://togithub.com/vitejs/vite/issues/17669))
([b723a75](https://togithub.com/vitejs/vite/commit/b723a75)), closes
[#&#8203;17668](https://togithub.com/vitejs/vite/issues/17668)
[#&#8203;17669](https://togithub.com/vitejs/vite/issues/17669)
- fix(build): skip preload treeshaking for nested braces
([#&#8203;17687](https://togithub.com/vitejs/vite/issues/17687))
([4be96b4](https://togithub.com/vitejs/vite/commit/4be96b4)), closes
[#&#8203;17687](https://togithub.com/vitejs/vite/issues/17687)
- fix(css): include `.css?url` in assets field of manifest
([#&#8203;17623](https://togithub.com/vitejs/vite/issues/17623))
([1465b20](https://togithub.com/vitejs/vite/commit/1465b20)), closes
[#&#8203;17623](https://togithub.com/vitejs/vite/issues/17623)
- fix(worker): nested inlined worker always fallbacked to data URI
worker instead of using blob worker
([07bc489](https://togithub.com/vitejs/vite/commit/07bc489)), closes
[#&#8203;17509](https://togithub.com/vitejs/vite/issues/17509)
- refactor: replace includes with logical operations
([#&#8203;17620](https://togithub.com/vitejs/vite/issues/17620))
([c4a2227](https://togithub.com/vitejs/vite/commit/c4a2227)), closes
[#&#8203;17620](https://togithub.com/vitejs/vite/issues/17620)
- chore: add callback to http-proxy.d.ts jsdoc
([#&#8203;17646](https://togithub.com/vitejs/vite/issues/17646))
([d8a5d70](https://togithub.com/vitejs/vite/commit/d8a5d70)), closes
[#&#8203;17646](https://togithub.com/vitejs/vite/issues/17646)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 19:00:35 +00:00
renovate[bot]
9b57f2b473
chore(deps): update dependency vanilla-jsoneditor to v0.23.8 (#7761)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v0.23.8`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0238-2024-07-26)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 17:41:19 +00:00
renovate[bot]
6c89ccfd57
chore(deps): update dependency tss-react to v4.9.11 (#7760)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

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

#### What's Changed

##### Other Changes

- New caching strat by [@&#8203;garronej](https://togithub.com/garronej)
in
[https://github.com/garronej/tss-react/pull/214](https://togithub.com/garronej/tss-react/pull/214)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 17:40:54 +00:00
Thomas Heartman
cd7697db62
feat: new useEventSearch hook (#7757)
Creates a new useEventSearch hook based on the useFeatureSearch hook.
Moves the old useEventSearch hook into useLegacyEventSearch and updates
references to it.

I don't know yet whether this'll work entirely as expected, but I plan
on making any necessary configurations when I implement the state
management in a follow-up PR.

But because this is pretty much a straight copy-paste from
useFeatureSearch (only adjusting types, I think), I also think it might
be possible to turn this into a generic search template. Not sure if now
is the time, but worth thinking about, I think.
2024-08-05 13:12:45 +00:00
Thomas Heartman
dd71fe32bb
Update front end schemas for new event search (#7758)
Updates the orval spec for the new event search.
2024-08-05 12:48:01 +00:00
Thomas Heartman
00f4c67c17
meta: use a default value (of nothing) for NODE_OPTIONS (#7759)
This makes the existing scripts work even if you don't have anything
assigned to that variable.
2024-08-05 14:31:25 +02:00
Mateusz Kwasniewski
ecdae7fee7
feat: playground try configuration mode (#7752) 2024-08-05 12:34:24 +02:00
Thomas Heartman
6dde9082f1
refactor: simplify event log filters component and adds more data (#7736)
This change primarily adds all flags to the flag filter and restructures
the filters component. Instead of splitting into three smaller
components, we now handle more data in the main component.

We might wanna turn them back to smaller components later, but I think
this'll be easier to work with.
2024-08-05 10:07:23 +00:00
Tymoteusz Czech
c37c86f7a0
fix: show api token on playground (#7753)
Fix CR condition preventing API token from showing up
2024-08-05 09:52:49 +00:00
Thomas Heartman
f89b8249f7
fix: decrease collaborator font size (#7754)
Decreases the collaborator font size to make it less eye-catching.

Before:

![image](https://github.com/user-attachments/assets/9a55d7fc-13eb-4656-aead-ca9e25100a63)

After:

![image](https://github.com/user-attachments/assets/3b1e0f26-9fa7-4ae2-ad2c-dc68839c8197)
2024-08-05 09:48:57 +00:00
Tymoteusz Czech
11612931b9
fix: insights health info link placement (#7750)
Fixing link placement on smaller screens.
2024-08-05 10:39:48 +02:00
Thomas Heartman
0284daf2ba
fix: Avoid collaborators being smooshed together (#7741)
Fixes an issue where the collaborator component would be smooshed
together when you have too many collaborators and too many flag tab
items.

The primary things I have done are:
1. Limit the amount of collaborators we show to 6 instead of 8. I
believe the number 8 was arbitrary, so let's go with 6 for now.
2. Instead of using a fixed gap, use a separator element that grows up
to a certain limit. I've added a `Separator` component, which is an
empty div with flex-grow. It feels like you should be able to do that
with gap too, but I can't think of how right now.
3. Don't allow collaborator component text (or avatars) to wrap. We
don't have a lot of space in this header, so let's keep it tight.

Additionally, I've added the `className` prop to the AvatarGroup
component so that it can be styled externally. I also cleaned up some
naming that was left in while I was at it.

Before:

![image](https://github.com/user-attachments/assets/98525a23-c086-433a-8f60-3e281805409f)


After:

![image](https://github.com/user-attachments/assets/559f8975-9cbe-4260-ba5a-409a303375ed)
2024-08-05 10:33:10 +02:00
renovate[bot]
3a00a6a5e6
chore(deps): update dependency semver to v7.6.3 (#7749)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v7.6.3`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#763-2024-07-16)

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

##### Bug Fixes

-
[`73a3d79`](73a3d79c4e)
[#&#8203;726](https://togithub.com/npm/node-semver/pull/726) optimize
Range parsing and formatting
([#&#8203;726](https://togithub.com/npm/node-semver/issues/726))
([@&#8203;jviide](https://togithub.com/jviide))

##### Documentation

-
[`2975ece`](2975ece120)
[#&#8203;719](https://togithub.com/npm/node-semver/pull/719) fix extra
backtick typo
([#&#8203;719](https://togithub.com/npm/node-semver/issues/719))
([@&#8203;stdavis](https://togithub.com/stdavis))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 00:53:57 +00:00
Tymoteusz Czech
301454838b
fix: strategy edit required param error (#7747)
Fixing error "Missing required path param: featureId", on editing
default project strategy.
2024-08-03 10:03:10 +02:00
renovate[bot]
a918fbb49d
chore(deps): update dependency sass to v1.77.8 (#7746)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.77.8`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1778)

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

-   No user-visible changes.

###
[`v1.77.7`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1777)

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

- Declarations that appear after nested rules are deprecated, because
the
semantics Sass has historically used are different from the semantics
specified by CSS. In the future, Sass will adopt the standard CSS
semantics.

See [the Sass website](https://sass-lang.com/d/mixed-decls) for details.

- **Potentially breaking bug fix:** `//` in certain places such as
unknown
at-rule values was being preserved in the CSS output, leading to
potentially
invalid CSS. It's now properly parsed as a silent comment and omitted
from the
    CSS output.

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 18:58:20 +00:00
Tymoteusz Czech
ebd9c5111e
tests: flexible strategy component stickiness and groupId (#7735)
Follow-up for #7713
2024-08-02 18:52:44 +00:00
Mateusz Kwasniewski
4c55632313
chore: generate orval types (#7742) 2024-08-02 14:55:46 +02:00
Tymoteusz Czech
43c8152515
feat: Change request preview integration (#7743)
Use API to check change request evaluation
2024-08-02 14:35:48 +02:00
Thomas Heartman
993d87516d
fix: show "System" for system users, instead of "User ID n" where n is the project's number in the order. (#7734)
Fixes a bug introduced with the new tooltips where the system user was
shown as "User ID n" instead of "System". The "n" in this case is
actually the user's index number in the list of project owners
(including duplicates).

There's a few things happening: 
1. Change the object for system owners: use `name` instead of
`description`. At the same time, remove the `description` property
completely because it's not used at the moment.
2. Remove the assignnment of `id: objectId(user)` to the user sent to
the User Avatar component. This was a leftover from when we split out
the AvatarGroup component, and is not something we use anymore.

Before:

![image](https://github.com/user-attachments/assets/bd348daf-c81e-4ea9-b8a9-f10af71a0da7)

After:

![image](https://github.com/user-attachments/assets/d147f7c7-d683-43ac-9ee2-6116f155dad6)
2024-08-02 11:29:31 +00:00
Tymoteusz Czech
4b6813aa5e
Playground fields with Change request (#7724)
using `changeRequest` value from URL
2024-08-02 11:01:29 +00:00
Mateusz Kwasniewski
65131727c1
feat: add projects and environments to cr preview (#7740) 2024-08-02 12:56:29 +02:00
Thomas Heartman
ca35ca1b24
chore[demo]: update handling of strategy deletion for demo walkthrough (#7719)
This PR makes some small changes to how we handle strategy deletion in
the demo environment, which has become extra important with the recent
soft limits.

The changes are:
- lower the strategy limit from 30 to 25. The standard limit is 30, so
we want to make sure we're below that.
- when checking whether we should delete a strategy, check whether we're
**at or above** the limit. It used to only check if we were above, but
if soft limits would prevent you from adding more, then you'd never be
able to go above the limit.
- Also delete strategies for step3.
2024-08-02 11:13:42 +02:00
Tymoteusz Czech
a676b1bc20
fix: strategy parameters UI (#7713)
Old versions of Unleash allow for creating "Gradual Rollout" strategies
without `groupId` or `stickiness`. UI will now populate those fields,
not getting stuck when editing strategies without said fields.
2024-08-02 11:11:58 +02:00
Thomas Heartman
2d0fb765f0
fix: align event log filter buttons (#7726)
Fixes an issue where the filter buttons were both too far down and too
far to the right.

The issue was that the wrapper body imposed a pretty substantial bit
of padding. However, the filter buttons already came with their own
bit of padding. The result of this was alignment issues.

To fix it I have:
- opened the `Filters` component up to be styled with styled components

And conditionally (when isEnterprise and the flag is on):
- set the page body to have no padding.
- added a wrapper with padding around the event search results for 

This feels a little messy to me, but I also think that because it's
still in heavy development, it might change later. I'd be happy to have
suggestions forbetter implementations.

What makes this extra tricky is that the top padding differs depending
on whether you have the filters there or not, so I couldn't find a way
to just remove that component and be done with it. I may very well have
missed somehing, though.

Before:

![image](https://github.com/user-attachments/assets/1552d1ec-2c14-450f-9ce8-8e74389f11a1)

After: 

![image](https://github.com/user-attachments/assets/d58b6fe5-437f-4488-bf01-cabfef669e2e)
2024-08-02 11:09:55 +02:00
Thomas Heartman
643cfeb5bb
chore: use EventSchema instead of IEvent (#7732)
Changes the type used by the useEventSearch hook to be `EventSchema`
from OpenAPI instead. This is more accurate with what we're actually
getting. And crucially for the event log search, it contains the
`createdByUserId` property that we need to filter out events.

It's mostly a straightforward find and replace except for one instance
where we need to do some extra fiddling. There's an inline comment
explaining that.
2024-08-02 11:05:42 +02:00
Thomas Heartman
6458d461b9
feat: add event types to filter button (#7733)
Add event types to the event log filter button.

The event types are taken from the OpenAPI definition.
2024-08-02 10:25:25 +02:00
Mateusz Kwasniewski
5cd657065f
feat: copy strategy to current environment (#7730) 2024-08-02 09:46:57 +02:00
renovate[bot]
e0f7146402
chore(deps): update dependency msw to v2.3.4 (#7729)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### v2.3.4 (2024-07-23)

##### Bug Fixes

- **cookieStore:** remove left-over `console.log`
([#&#8203;2217](https://togithub.com/mswjs/msw/issues/2217))
([`00fdbb2`](00fdbb265d))
[@&#8203;Lalem001](https://togithub.com/Lalem001)

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

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

#### v2.3.3 (2024-07-23)

##### Bug Fixes

- implement cookie persistence using `tough-cookie`
([#&#8203;2206](https://togithub.com/mswjs/msw/issues/2206))
([`c30613c`](c30613c2ba))
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- support async generators as response resolvers
([#&#8203;2108](https://togithub.com/mswjs/msw/issues/2108))
([`d38fc3d`](d38fc3dd64))
[@&#8203;kettanaito](https://togithub.com/kettanaito)
[@&#8203;jakebailey](https://togithub.com/jakebailey)

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

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

#### v2.3.2 (2024-07-19)

##### Bug Fixes

- support typescript@5.5 (deprecate v4.7)
([#&#8203;2190](https://togithub.com/mswjs/msw/issues/2190))
([`7df2533`](7df2533c18))
[@&#8203;KaiSpencer](https://togithub.com/KaiSpencer)
[@&#8203;kettanaito](https://togithub.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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 02:07:28 +00:00
renovate[bot]
8df2fe0d41
chore(deps): update dependency cypress to v13.13.1 (#7727)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v13.13.0...v13.13.1)

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 18:09:14 +00:00
Tymoteusz Czech
8aa812e0f5
feat: Orphaned tokens - new API tokens list icon (#7693)
Moving warning icon from "projects" column, to left icon.
2024-08-01 14:31:42 +00:00
Mateusz Kwasniewski
5668bfb7d4
feat: preview changes button (#7722) 2024-08-01 11:59:35 +02:00
Tymoteusz Czech
4aa3a64530
feat: UI for playground of change requests (#7721)
## About the changes
UI draft
2024-08-01 11:16:35 +02:00
Thomas Heartman
f1e95108d1
Wip: split out avatar group; use same tooltip for all avatars (#7681)
Extracts the Avatar Group component into a `common` component and adds a
standard tooltip to all avatars.

Relates to linear issue 1-2606

This is a suggestion / proof of concept for how we can solve it. While I
think we can merge this as is, I'd also be happy to take any discussions
on other ways to approach it etc.

## Why are these changes made together?

Because extracting the avatar group without adding the new tooltip data
made the existing tooltip misbehave (it'd show up in the top left of the
screen, not synced to the avatar in any way).

I probably could have (and still can if you think it's prudent) split it
out such that the avatar gets a standardized tooltip first (and disable
it for the group card avatars), and split out the avatars in a
follow-up. Happy to do that if you think it's better.

## What does this mean? 

It used to be that we had no consistent way of dealing with avatars and
tooltips. Some places had them, some places didn't. This change makes it
so that all avatars that we can show tooltips for will get the same
tooltip.

Previously, we had at least 4 different ways of dealing with tooltips:
- The HTML tooltip (that would be standardized with this PR) in the
project flags table

![image](https://github.com/user-attachments/assets/91098d31-a5e3-4091-9125-332fe5d106fd)
- The "title" that you'd get on your user avatar

![image](https://github.com/user-attachments/assets/39062b61-db8c-4bd5-9fa3-3ecc9bc192ee)
- The group card list tooltip

![image](https://github.com/user-attachments/assets/0d4a696a-e944-446c-8bff-4dcec02d8afb)
- And sometimes you'd get nothing at all

![image](https://github.com/user-attachments/assets/8975afaf-9ca1-4eb6-b443-9ab94b52bbd8)

with this change, we'll always show the same kind of tooltip if we can:


![image](https://github.com/user-attachments/assets/974c592c-c844-4b65-8a55-05e84d3df130)

## What goes in the tooltip? 

We use the `UserAvatar` component for a fair few different things and I
didn't want to extract separate components for all the different use
cases. Instead, I wanted to get an overview over what we use it for and
what is relevant info to show.

I found all the places we used it and tried to form an opinion. 

This tooltip will work with a user's email, name, username, and id. If
there is no user (such as for empty avatars and avatars displaying only
"+n" for remaining members), we show no tooltip.

Following the example set by the group card avatars, we'll try to use
email or username (in that order) as the main bit of text. If the user
has an email or a username and also a name, the name will be used as
secondary text.

If the user does not have an email or username, but has a name, we'll
use the name as the main text.

If the user does not have an email, a username, or a name, we'll try to
show "User ID: N" if they have an id.

If they do not have a username, a name, an email, or an ID, we bail out
and show nothing.

## Why can you disable the tooltip?

In some cases, you might want to disable the tooltip because you have
more information to feed into it. An example of that is in the project
flags table, where we want to show more information in cases where the
user is 'unknown':


![image](https://github.com/user-attachments/assets/758b4e86-e934-47e3-91ce-ce900f76bc54)


## Additional fixes

This PR also adds a few lines of CSS to fix a minor avatar layout bug.

Before:

![image](https://github.com/user-attachments/assets/0150efbf-c51a-40bb-898f-7ddd3565ce21)


After:

![image](https://github.com/user-attachments/assets/f337cf68-c572-4610-b1de-a27749325da8)
2024-08-01 10:45:24 +02:00
Thomas Heartman
7db42453b1
feat: add filter dropdowns to event log pages (#7711)
Adds placeholder filter buttons (that don't work at all) yet to the
three event logs.

Flag logs get to choose to and from dates, created by, and event type.

Project logs get all that flag logs get + a filter for flag.

The global log gets all project log filters + a project filter.

There's still work to be done to add data to createdBy, eventType, to
hook it up to the API, and to finalize the layout, but I wanted to get a
rough outline in to iterate on later. The eventType icon will also need
to be decided on.


![image](https://github.com/user-attachments/assets/06a65301-9cc5-45ed-b753-2b9235d64ea6)
2024-08-01 08:23:22 +02:00
renovate[bot]
d2e633af0b
chore(deps): update dependency @types/node to v20.14.12 (#7716)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.14.10` ->
`20.14.12`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.10/20.14.12)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.10/20.14.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.10/20.14.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 21:54:41 +00:00
renovate[bot]
a60dc6b917
chore(deps): update dependency @testing-library/jest-dom to v6.4.8 (#7715)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/jest-dom](https://togithub.com/testing-library/jest-dom)
| [`6.4.6` ->
`6.4.8`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/6.4.6/6.4.8)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fjest-dom/6.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fjest-dom/6.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fjest-dom/6.4.6/6.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fjest-dom/6.4.6/6.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>testing-library/jest-dom
(@&#8203;testing-library/jest-dom)</summary>

###
[`v6.4.8`](https://togithub.com/testing-library/jest-dom/compare/v6.4.7...d02e80b1b7ed38090975bdfe49ab8063eec040f5)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.4.7...v6.4.8)

###
[`v6.4.7`](https://togithub.com/testing-library/jest-dom/compare/v6.4.6...5cc6298847e08872b79f827921c64c9ba261cc54)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.4.6...v6.4.7)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 19:54:11 +00:00
Thomas Heartman
2822746fc1
refactor: Make event log look and act like other pages (#7704)
Updates the way the event log works. Previously, we'd use the
`displayInline` parameter to disable padding and border. However,
recent pages (including project overview etc) have moved away from
this look.

By bringing the event log into line with how those other pages look,
it'll be easier to make designs for the new filtering capability align
with other Unleash filters.

## Changes

The eventlog is used in three places. In two of them, it used to not
have a separating border. However, when we look at other screens that
have seen recent work (such as feature flags), we see that they *do*
have a separator, so bringing the event log in line seems like a
reasonable change.

Project flags list (notice the separator):

![image](https://github.com/user-attachments/assets/9b56a53d-38ef-4492-b1f8-f40ad5f3b6eb)


Here's what they look like before and after the change:

### Global event log
Before: 

![image](https://github.com/user-attachments/assets/ccf428f6-3491-4c60-a853-13c50ae771f0)

After (no change):

![image](https://github.com/user-attachments/assets/cfc74538-285c-4565-bd38-dfb5e421e966)


### Project event log

Before:

![image](https://github.com/user-attachments/assets/80ef1a36-3b13-4e76-8d59-534d63f0e6bd)


After:

![image](https://github.com/user-attachments/assets/7380518c-f6dc-4d4f-b085-48ed3761bb20)


### Flag event log

Before:

![image](https://github.com/user-attachments/assets/345a5d72-d358-49fd-967c-f6cb0706a4f6)


After:

![image](https://github.com/user-attachments/assets/b4e0d8e9-e79c-477e-8fc4-181c366207fc)
2024-07-31 09:46:47 +02:00
Jaanus Sellin
24e2c4030b
feat: new event search flag (#7699)
Add `newEventSearch` flag
2024-07-31 08:59:42 +02:00
renovate[bot]
c3d2ae08d6
chore(deps): update dependency @tanstack/react-table to v8.19.3 (#7703)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-table](https://tanstack.com/table)
([source](https://togithub.com/TanStack/table/tree/HEAD/packages/react-table))
| [`8.19.2` ->
`8.19.3`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.19.2/8.19.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.19.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.19.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.19.2/8.19.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.19.2/8.19.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>TanStack/table (@&#8203;tanstack/react-table)</summary>

###
[`v8.19.3`](https://togithub.com/TanStack/table/releases/tag/v8.19.3)

[Compare
Source](https://togithub.com/TanStack/table/compare/v8.19.2...v8.19.3)

Version 8.19.3 - 7/14/24, 8:44 AM

#### Changes

##### Fix

- table-core: assign unassign parentId in grouped row model
([#&#8203;5657](https://togithub.com/TanStack/table/issues/5657))
([`a71ce10`](https://togithub.com/TanStack/table/commit/a71ce10)) by PiR

##### Ci

- enable npm provenance
([#&#8203;5654](https://togithub.com/TanStack/table/issues/5654))
([`0054eb3`](https://togithub.com/TanStack/table/commit/0054eb3)) by
Lachlan Collins
- Add pkg-pr-new previews
([#&#8203;5648](https://togithub.com/TanStack/table/issues/5648))
([`241f26f`](https://togithub.com/TanStack/table/commit/241f26f)) by
Lachlan Collins

##### Docs

- use
[@&#8203;tanstack/lit-virtual](https://togithub.com/tanstack/lit-virtual)
for the virtualized table example
([#&#8203;5655](https://togithub.com/TanStack/table/issues/5655))
([`bb0a536`](https://togithub.com/TanStack/table/commit/bb0a536)) by
[@&#8203;kadoshms](https://togithub.com/kadoshms)
- Fix typo in docs/guide/data.md
([#&#8203;5642](https://togithub.com/TanStack/table/issues/5642))
([`6a4a10d`](https://togithub.com/TanStack/table/commit/6a4a10d)) by
Joseph Markus
- vue: vue filters example
([#&#8203;5644](https://togithub.com/TanStack/table/issues/5644))
([`e749f31`](https://togithub.com/TanStack/table/commit/e749f31)) by
Radu Suciu
- fix rowpinningstate
([`7548860`](https://togithub.com/TanStack/table/commit/7548860)) by
Kevin Vandy

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).19.3
-
[@&#8203;tanstack/angular-table](https://togithub.com/tanstack/angular-table)[@&#8203;8](https://togithub.com/8).19.3
-
[@&#8203;tanstack/lit-table](https://togithub.com/tanstack/lit-table)[@&#8203;8](https://togithub.com/8).19.3
-
[@&#8203;tanstack/qwik-table](https://togithub.com/tanstack/qwik-table)[@&#8203;8](https://togithub.com/8).19.3
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).19.3
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).19.3
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).19.3
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).19.3
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).19.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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 01:02:24 +00:00
Tymoteusz Czech
b585ead6df
fix: avoid react key warnings in tables (#7694)
Refactoring to get rid of `A props object containing a "key" prop is being spread into JSX` warning
2024-07-30 13:09:12 +02:00
Gastón Fournier
d8e756586a
security: bump ws dependency (#7697)
Should fix https://github.com/Unleash/unleash/security/dependabot/146
and https://github.com/Unleash/unleash/security/dependabot/147
2024-07-30 11:15:04 +02:00
Thomas Heartman
08aba91832
fix: flex layout used the wrong axes for layout. (#7696)
This change fixes an issue where the flex layouts for collaborator
info used the wrong axes for layout (row instead of column and vice
versa), causing the component to look wonky.

Before:

![image](https://github.com/user-attachments/assets/695a9f67-ef07-4b3c-936f-69b2f2d62a28)

After:

![image](https://github.com/user-attachments/assets/a0a2c73a-2787-4985-807b-012bb4db94a4)
2024-07-30 09:17:02 +02:00