Jaanus Sellin
e8511789fd
feat: command menu items can have description as tooltip now ( #7455 )
...
![image](https://github.com/Unleash/unleash/assets/964450/7a55a1a7-7aea-4f9c-96ac-46adf2edd36f )
2024-06-26 12:39:53 +03:00
renovate[bot]
7f6e29b5dd
chore(deps): update dependency @types/node to v20.14.5 ( #7454 )
...
[![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.2` ->
`20.14.5`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.2/20.14.5 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.2/20.14.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.2/20.14.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-26 02:06:36 +00:00
Jaanus Sellin
b5e329e22d
feat: search only features when there is search string ( #7450 )
...
Now the search hook is inside another component, so we do not get
searches without search query.
Also we had 2 state variable handing the search query. Removed one of
them.
2024-06-25 16:17:17 +03:00
David Leek
ffe306714b
feat: tweak command bar UI styles to match sketches ( #7447 )
2024-06-25 14:30:39 +02:00
Jaanus Sellin
ed9d0cccbc
feat: now able to search pages ( #7446 )
...
Now can search pages
2024-06-25 15:29:36 +03:00
Mateusz Kwasniewski
7e5ce08ea8
fix: long project name display ( #7435 )
2024-06-25 12:22:03 +02:00
Jaanus Sellin
3961c1abf0
feat: now command bar will not search behind the scene ( #7443 )
...
Previously it was doing request to search behind to scenes, when noone
was using the nav bar. This fixes it.
2024-06-25 12:53:23 +03:00
Thomas Heartman
8ef59cd45d
chore: change "toggle updated" to "flag updated" in toast message ( #7439 )
...
This message appears to have been missed when we did the previous
migration from "toggle" to "flag".
2024-06-25 09:34:44 +02:00
Thomas Heartman
0af5bbad38
chore: remove createProjectWithEnvironmentConfig and newCreateProjectUI flags ( #7429 )
...
This PR removes the last two flags related to the project managament
improvements project, making the new project creation form GA.
In doing so, we can also delete the old project creation form (or at
least the page, the form is still in use in the project settings).
2024-06-24 12:53:55 +02:00
dependabot[bot]
5b4ff92454
chore(deps): bump ws from 8.17.0 to 8.17.1 in /frontend ( #7430 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.17.0 to 8.17.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/websockets/ws/releases ">ws's
releases</a>.</em></p>
<blockquote>
<h2>8.17.1</h2>
<h1>Bug fixes</h1>
<ul>
<li>Fixed a DoS vulnerability (<a
href="https://redirect.github.com/websockets/ws/issues/2231 ">#2231</a>).</li>
</ul>
<p>A request with a number of headers exceeding
the[<code>server.maxHeadersCount</code>][]
threshold could be used to crash a ws server.</p>
<pre lang="js"><code>const http = require('http');
const WebSocket = require('ws');
<p>const wss = new WebSocket.Server({ port: 0 }, function () {
const chars =
"!#$%&'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~".split('');
const headers = {};
let count = 0;</p>
<p>for (let i = 0; i < chars.length; i++) {
if (count === 2000) break;</p>
<pre><code>for (let j = 0; j &lt; chars.length; j++) {
const key = chars[i] + chars[j];
headers[key] = 'x';
if (++count === 2000) break;
}
</code></pre>
<p>}</p>
<p>headers.Connection = 'Upgrade';
headers.Upgrade = 'websocket';
headers['Sec-WebSocket-Key'] = 'dGhlIHNhbXBsZSBub25jZQ==';
headers['Sec-WebSocket-Version'] = '13';</p>
<p>const request = http.request({
headers: headers,
host: '127.0.0.1',
port: wss.address().port
});</p>
<p>request.end();
});
</code></pre></p>
<p>The vulnerability was reported by <a
href="https://github.com/rrlapointe ">Ryan LaPointe</a> in <a
href="https://redirect.github.com/websockets/ws/issues/2230 ">websockets/ws#2230</a>.</p>
<p>In vulnerable versions of ws, the issue can be mitigated in the
following ways:</p>
<ol>
<li>Reduce the maximum allowed length of the request headers using the
[<code>--max-http-header-size=size</code>][] and/or the
[<code>maxHeaderSize</code>][] options so
that no more headers than the <code>server.maxHeadersCount</code> limit
can be sent.</li>
</ol>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3c56601092
"><code>3c56601</code></a>
[dist] 8.17.1</li>
<li><a
href="e55e5106f1
"><code>e55e510</code></a>
[security] Fix crash when the Upgrade header cannot be read (<a
href="https://redirect.github.com/websockets/ws/issues/2231 ">#2231</a>)</li>
<li><a
href="6a00029edd
"><code>6a00029</code></a>
[test] Increase code coverage</li>
<li><a
href="ddfe4a804d
"><code>ddfe4a8</code></a>
[perf] Reduce the amount of <code>crypto.randomFillSync()</code>
calls</li>
<li>See full diff in <a
href="https://github.com/websockets/ws/compare/8.17.0...8.17.1 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ws&package-manager=npm_and_yarn&previous-version=8.17.0&new-version=8.17.1 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 08:42:14 +00:00
renovate[bot]
fa933eb191
chore(deps): update dependency sass to v1.77.5 ( #7428 )
...
[![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.4` ->
`1.77.5`](https://renovatebot.com/diffs/npm/sass/1.77.4/1.77.5 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.77.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.77.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.77.4/1.77.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.77.4/1.77.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sass/dart-sass (sass)</summary>
###
[`v1.77.5`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1775 )
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.77.4...1.77.5 )
- Fully trim redundant selectors generated by `@extend`.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 00:19:38 +00:00
renovate[bot]
61df6925b0
chore(deps): update dependency @vitejs/plugin-react to v4.3.1 ( #7425 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitejs/plugin-react](https://togithub.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme )
([source](https://togithub.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ))
| [`4.3.0` ->
`4.3.1`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/4.3.0/4.3.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react/4.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-react/4.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-react/4.3.0/4.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react/4.3.0/4.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vitejs/vite-plugin-react
(@​vitejs/plugin-react)</summary>
###
[`v4.3.1`](https://togithub.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#431-2024-06-10 )
[Compare
Source](https://togithub.com/vitejs/vite-plugin-react/compare/v4.3.0...v4.3.1 )
##### Fix support for React Compiler with React 18
The previous version made this assumption that the compiler was only
usable with React 19, but it's possible to use it with React 18 and a
custom `runtimeModule`:
https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43
When using a custom `runtimeModule`, the plugin will not try to
pre-optimize `react/compiler-runtime` dependency.
Reminder: Vite expect code outside of `node_modules` to be ESM, so you
will need to update the gist with `import React from 'react'`.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 17:20:44 +00:00
renovate[bot]
7d95e8358a
chore(deps): update dependency @uiw/react-codemirror to v4.22.2 ( #7419 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror )
([source](https://togithub.com/uiwjs/react-codemirror )) | [`4.22.1` ->
`4.22.2`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.22.1/4.22.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.22.1/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.22.1/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror (@​uiw/react-codemirror)</summary>
###
[`v4.22.2`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.22.2 )
[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.22.1...v4.22.2 )
[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee )](https://jaywcjlove.github.io/#/sponsor )
[![](https://img.shields.io/badge/Open%20in-unpkg-blue )](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.22.2/file/README.md )
Documentation v4.22.2:
https://raw.githack.com/uiwjs/react-codemirror/502aedb/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.22.1...v4.22.2
```shell
npm i @​uiw/react-codemirror@4.22.2
```
- 🌟 feat(themes): add vscode light theme
([#​660](https://togithub.com/uiwjs/react-codemirror/issues/660 ))
[`1c1c49f`](https://togithub.com/uiwjs/react-codemirror/commit/1c1c49f )
[@​x1unix](https://togithub.com/x1unix )
- 🆎 type(vscode): fix type error.
[#​145](https://togithub.com/uiwjs/react-codemirror/issues/145 )
[`205be9d`](https://togithub.com/uiwjs/react-codemirror/commit/205be9d )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 💢 ci: update workflows config.
[`68963f9`](https://togithub.com/uiwjs/react-codemirror/commit/68963f9 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 🌍 website: update theme menus.
[#​145](https://togithub.com/uiwjs/react-codemirror/issues/145 )
[`4de4373`](https://togithub.com/uiwjs/react-codemirror/commit/4de4373 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 📖 doc(vscode): update document.
[#​145](https://togithub.com/uiwjs/react-codemirror/issues/145 )
[`7f4abc9`](https://togithub.com/uiwjs/react-codemirror/commit/7f4abc9 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 21:17:02 +00:00
renovate[bot]
1b79cb7e20
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.22.2 ( #7416 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light )
([source](https://togithub.com/uiwjs/react-codemirror )) | [`4.22.1` ->
`4.22.2`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.22.1/4.22.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.22.1/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.22.1/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror
(@​uiw/codemirror-theme-duotone)</summary>
###
[`v4.22.2`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.22.2 )
[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.22.1...v4.22.2 )
[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee )](https://jaywcjlove.github.io/#/sponsor )
[![](https://img.shields.io/badge/Open%20in-unpkg-blue )](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.22.2/file/README.md )
Documentation v4.22.2:
https://raw.githack.com/uiwjs/react-codemirror/502aedb/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.22.1...v4.22.2
```shell
npm i @​uiw/react-codemirror@4.22.2
```
- 🌟 feat(themes): add vscode light theme
([#​660](https://togithub.com/uiwjs/react-codemirror/issues/660 ))
[`1c1c49f`](https://togithub.com/uiwjs/react-codemirror/commit/1c1c49f )
[@​x1unix](https://togithub.com/x1unix )
- 🆎 type(vscode): fix type error.
[#​145](https://togithub.com/uiwjs/react-codemirror/issues/145 )
[`205be9d`](https://togithub.com/uiwjs/react-codemirror/commit/205be9d )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 💢 ci: update workflows config.
[`68963f9`](https://togithub.com/uiwjs/react-codemirror/commit/68963f9 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 🌍 website: update theme menus.
[#​145](https://togithub.com/uiwjs/react-codemirror/issues/145 )
[`4de4373`](https://togithub.com/uiwjs/react-codemirror/commit/4de4373 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 📖 doc(vscode): update document.
[#​145](https://togithub.com/uiwjs/react-codemirror/issues/145 )
[`7f4abc9`](https://togithub.com/uiwjs/react-codemirror/commit/7f4abc9 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 00:21:38 +00:00
renovate[bot]
030758977a
chore(deps): update dependency @testing-library/jest-dom to v6.4.6 ( #7414 )
...
[![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.5` ->
`6.4.6`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/6.4.5/6.4.6 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fjest-dom/6.4.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fjest-dom/6.4.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fjest-dom/6.4.5/6.4.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fjest-dom/6.4.5/6.4.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>testing-library/jest-dom
(@​testing-library/jest-dom)</summary>
###
[`v6.4.6`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.4.6 )
[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6 )
##### Bug Fixes
- Support [@​starting-style](https://togithub.com/starting-style )
([#​602](https://togithub.com/testing-library/jest-dom/issues/602 ))
([fd9ee68](fd9ee68ae4
))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 19:13:01 +00:00
Nuno Góis
4736084e00
fix: check for permission in group access assignment ( #7408 )
...
Fix project role assignment for users with `ADMIN` permission, even if
they don't have the Admin root role. This happens when e.g. users
inherit the `ADMIN` permission from a group root role, but are not
Admins themselves.
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-06-18 17:06:34 +01:00
Thomas Heartman
1f4126e495
fix: make rendering of new project form independent of rendering the project list ( #7405 )
...
This change takes the rendering of the new project form component and
puts in a child component of the project list, thereby
significantly speeding up the time it takes to render the form if you
have lots of projects (about to 10x for 50 projects on my machine).
The reason it was so slow before was that the open state of the form
component was stored in the project list component. This meant that
whenever you wanted to open or close the form, you'd have to rerender
the entire project list.
This change abstracts that process into the new ProjectCreationButton
component. This component takes care of checking the feature flag for
whether to render the dialog or to send the user to the old form, and
takes care of state management for the dialog.
Because this is a child component of the project list, it does not
cause rerenders of the entire project list.
2024-06-18 09:36:36 +02:00
Thomas Heartman
ccc332a764
chore: delete ice cream icon 🍦 ( #7403 )
...
This was added back in may 2021
(https://github.com/Unleash/unleash-frontend/pull/285 ), but was never
used. Maybe it's time
to remove it.
2024-06-17 11:26:06 +02:00
Jaanus Sellin
10d2a295c7
feat: menubar is not dependant on query params anymroe ( #7399 )
...
Previously since query params were changing by global search, and
menubar was also altering them, they were conflicting. Menubar does not
need query params as state. So using search hook directly.
2024-06-14 12:26:52 +03:00
David Leek
9b789ea5ef
feat: command bar pages and name resolving ( #7397 )
2024-06-14 11:22:55 +02:00
Mateusz Kwasniewski
7e565760f6
fix: lifecycle button permissions ( #7395 )
2024-06-14 10:26:54 +02:00
Jaanus Sellin
09d9676d66
feat: command bar search projects ( #7388 )
...
Now can search for projects.
Also adding debounce to not spam backend with requests. Also the UI is
less flickery.
2024-06-13 14:47:34 +03:00
Tymoteusz Czech
582b33e121
Feat: feature view created by field - frontend ( #7382 )
...
add "Created by:" to feature overview meta and align other items
2024-06-13 13:00:57 +02:00
Mateusz Kwasniewski
1c2aa128be
fix: exclude lifecycle from stale checks ( #7386 )
2024-06-13 12:37:29 +02:00
David Leek
50316a2f23
feat: command bar last visited: improve project/feature icons and paths ( #7383 )
2024-06-13 09:43:39 +02:00
David Leek
507a2bca83
chore: add some tests for the useRecentlyVisited hook ( #7380 )
2024-06-13 08:38:51 +02:00
Jaanus Sellin
21088b745d
feat: search features from command bar ( #7378 )
...
Now searching works in command bar
1. Currently piggybacking on the search hook, but I think it is not fast
enough, and also it is using the query params as the global search. This
causes some weird behaviour in UI. This probably means we will create
separate endpoint for this.
![image](https://github.com/Unleash/unleash/assets/964450/a24f41ae-93d7-4ebe-a92b-c20dfe7cb666 )
2024-06-12 21:24:22 +03:00
Thomas Heartman
b5de65bb8e
chore: wait to input the name of the segment when checking for error messages ( #7377 )
...
This change adds a wait statement before entering the name of the
segment when checking for error messages that this segment name
already exists.
This is the same workaround that we did in
https://github.com/Unleash/unleash/pull/7289 , which seems to have
worked.
Like in that PR, using waits is still an antipattern, but it appears
to be working.
Maybe it’s time to look more deeply at why it happens? Why isn’t the
field ready to receive input even though it’s on the page? Is it mui’s
fault or ours?
2024-06-12 14:06:44 +02:00
Mateusz Kwasniewski
77a5b85d6b
feat: recent project by name ( #7375 )
2024-06-12 13:40:05 +02:00
Gastón Fournier
a0fce0ec12
Revert "fix: yarn v4 requires prepack instead of prepare script when building…" ( #7373 )
...
Reverts Unleash/unleash#7371
2024-06-12 13:25:51 +02:00
Jaanus Sellin
ffe1305934
feat: extract global feature search ( #7372 )
...
We need global search for command menu, so extracting into separate
hook.
2024-06-12 13:32:13 +03:00
Christopher Kolstad
a971c770e9
task: Yarn v4 ( #7345 )
...
Trying again, this time with correct .gitignore already setup, and a
workflow configured to try what was failing prior to our revert.
2024-06-12 11:18:21 +02:00
Thomas Heartman
4c4d6e8aeb
chore: use new ScreenReaderOnly component in config buttons ( #7352 )
...
This PR uses the new ScreenReaderOnly component in existing code,
replacing custom code with a shared component.
2024-06-12 11:04:47 +02:00
Thomas Heartman
2191de7713
chore: disable filtering for unknown users ( #7369 )
...
This PR disables the filtering capability in the front end for unknown
users.
Modifying the back end to support filtering for unknown users is not
something we want to do yet. It's possible, but it requires adding a lot
of special cases to the handling code (refer to [PR
#7359 ](https://github.com/Unleash/unleash/pull/7359 )), which we'd like
to avoid if possible. To avoid annoying cases where the filtering
doesn't work as expected and breaks user expectations, we're disabling
the filtering capability for unknown users in the front end.
We can consider whether to enable back-end results for unknown in the future if we get
user feedback that it's important.
This PR works by changing the avatar cell component. When the user has
id 0 (and is therefore unknown), we:
- set aria-disabled to true. This alerts users with assistive tech that
the button is disabled, but it doesn't take it out of the tab order, so
it's not mysteriously missing.
- change the tooltip text, telling users that they can't filter by
unknown users.
- disable the avatar callback function, so clicking on the avatar
doesn't do anything.
The accompanying tests assert this functionality.
I considered also updating the screen reader text, but I think that
would add more confusion or be more information than the user needs.
According to MDN's article on the [aria-disabled
attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled ):
> [the aria-disabled] declaration will inform people using assistive
technologies, such as screen readers, that such elements are not meant
to be editable or otherwise operable.
2024-06-12 07:41:40 +00:00
Jaanus Sellin
7fc87e1647
feat: clean up command bar props ( #7368 )
...
A lot of things were passed in for search, but since we only have single
command bar, we do not need them and it was bloating our component.
2024-06-12 09:24:16 +03:00
renovate[bot]
dfd02054ce
chore(deps): update react monorepo ( #7365 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ))
| [`18.2.79` ->
`18.3.3`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.79/18.3.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.3.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.79/18.3.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.79/18.3.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@types/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ))
| [`18.2.25` ->
`18.3.0`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.25/18.3.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.25/18.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.25/18.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react](https://reactjs.org/ )
([source](https://togithub.com/facebook/react/tree/HEAD/packages/react ))
| [`18.2.0` ->
`18.3.1`](https://renovatebot.com/diffs/npm/react/18.2.0/18.3.1 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/react/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react/18.2.0/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react/18.2.0/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-dom](https://reactjs.org/ )
([source](https://togithub.com/facebook/react/tree/HEAD/packages/react-dom ))
| [`18.2.0` ->
`18.3.1`](https://renovatebot.com/diffs/npm/react-dom/18.2.0/18.3.1 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-dom/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-dom/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-dom/18.2.0/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-dom/18.2.0/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-test-renderer](https://reactjs.org/ )
([source](https://togithub.com/facebook/react/tree/HEAD/packages/react-test-renderer ))
| [`18.2.0` ->
`18.3.1`](https://renovatebot.com/diffs/npm/react-test-renderer/18.2.0/18.3.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-test-renderer/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-test-renderer/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-test-renderer/18.2.0/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-test-renderer/18.2.0/18.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>facebook/react (react)</summary>
###
[`v18.3.1`](a87edf62d7...a87edf62d7
)
[Compare
Source](https://togithub.com/facebook/react/compare/v18.3.0...v18.3.1 )
###
[`v18.3.0`](https://togithub.com/facebook/react/compare/v18.2.0...a87edf62d7d69705ddbcec9a24f0780b3db7535f )
[Compare
Source](https://togithub.com/facebook/react/compare/v18.2.0...v18.3.0 )
</details>
<details>
<summary>facebook/react (react-dom)</summary>
###
[`v18.3.1`](a87edf62d7...a87edf62d7
)
[Compare
Source](https://togithub.com/facebook/react/compare/v18.3.0...v18.3.1 )
###
[`v18.3.0`](https://togithub.com/facebook/react/compare/v18.2.0...a87edf62d7d69705ddbcec9a24f0780b3db7535f )
[Compare
Source](https://togithub.com/facebook/react/compare/v18.2.0...v18.3.0 )
</details>
<details>
<summary>facebook/react (react-test-renderer)</summary>
###
[`v18.3.1`](a87edf62d7...a87edf62d7
)
[Compare
Source](https://togithub.com/facebook/react/compare/v18.3.0...v18.3.1 )
###
[`v18.3.0`](https://togithub.com/facebook/react/compare/v18.2.0...a87edf62d7d69705ddbcec9a24f0780b3db7535f )
[Compare
Source](https://togithub.com/facebook/react/compare/v18.2.0...v18.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 becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 21:53:19 +00:00
renovate[bot]
75f14c7089
chore(deps): update dependency cypress to v13.11.0 ( #7362 )
...
[![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.10.0` ->
`13.11.0`](https://renovatebot.com/diffs/npm/cypress/13.10.0/13.11.0 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.11.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.11.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.10.0/13.11.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.10.0/13.11.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>cypress-io/cypress (cypress)</summary>
###
[`v13.11.0`](https://togithub.com/cypress-io/cypress/releases/tag/v13.11.0 )
[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v13.10.0...v13.11.0 )
Changelog: https://docs.cypress.io/guides/references/changelog#13-11-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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 20:02:22 +00:00
renovate[bot]
1032337eb9
chore(deps): update dependency @types/react-test-renderer to v18.3.0 ( #7361 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react-test-renderer](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-test-renderer )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-test-renderer ))
| [`18.0.7` ->
`18.3.0`](https://renovatebot.com/diffs/npm/@types%2freact-test-renderer/18.0.7/18.3.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-test-renderer/18.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-test-renderer/18.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-test-renderer/18.0.7/18.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-test-renderer/18.0.7/18.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 20:02:02 +00:00
Tymoteusz Czech
3c109a7577
Feat/change request comments formatting ( #7360 )
2024-06-11 15:49:22 +02:00
David Leek
576dd04dc5
feat: command bar poc ( #7350 )
...
Command bar PoC using clone of search
---------
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-06-11 15:27:59 +03:00
Thomas Heartman
cfcf13980e
chore: use HTML (custom) tooltip for permission switches ( #7355 )
...
This PR changes the environment permission switch to use the HTML
tooltip instead of the default MUI tooltip. This aligns with how we've
been doing tooltips recently.
The main driver behind this change was that the project flag table used
two different tooltips. This makes it so that they all look the same,
but it also impacts other places that use the same switch.
In feature flag table:
![image](https://github.com/Unleash/unleash/assets/17786332/4d411285-c00e-41ec-95f9-9e6855d46661 )
On flag page:
![image](https://github.com/Unleash/unleash/assets/17786332/11de1daf-7d0f-4214-8dc7-10b11631ce58 )
In project env table:
![image](https://github.com/Unleash/unleash/assets/17786332/cc7a3a99-e48c-4989-9a14-2d5d4035a3cb )
2024-06-11 14:03:35 +02:00
Jaanus Sellin
3acb3ad2c2
feat: upgrade from react v17 to v18 ( #7265 )
...
**Upgrade to React v18 for Unleash v6. Here's why I think it's a good
time to do it:**
- Command Bar project: We've begun work on the command bar project, and
there's a fantastic library we want to use. However, it requires React
v18 support.
- Straightforward Upgrade: I took a look at the upgrade guide
https://react.dev/blog/2022/03/08/react-18-upgrade-guide and it seems
fairly straightforward. In fact, I was able to get React v18 running
with minimal changes in just 10 minutes!
- Dropping IE Support: React v18 no longer supports Internet Explorer
(IE), which is no longer supported by Microsoft as of June 15, 2022.
Upgrading to v18 in v6 would be a good way to align with this change.
TS updates:
* FC children has to be explicit:
https://stackoverflow.com/questions/71788254/react-18-typescript-children-fc
* forcing version 18 types in resolutions:
https://sentry.io/answers/type-is-not-assignable-to-type-reactnode/
Test updates:
* fixing SWR issue that we have always had but it manifests more in new
React (https://github.com/vercel/swr/issues/2373 )
---------
Co-authored-by: kwasniew <kwasniewski.mateusz@gmail.com>
2024-06-11 13:59:52 +03:00
Mateusz Kwasniewski
5225452bfd
fix: remove stale stats widget ( #7353 )
2024-06-11 12:39:24 +02:00
Thomas Heartman
3643016a0e
feat: filter by user when interacting with the avatar ( #7347 )
...
This PR lets you filter by flag creator by interacting with the user's
avatar.
Additionally, I've switched the custom popover for the standard tooltip
that we use elsewhere in the table. This gives the table a more cohesive
feel. As such, I have also deleted the component created in a previous
PR, because it's no longer in use anywhere.
It now looks like this (when tabbed to; notice the focus ring):
![image](https://github.com/Unleash/unleash/assets/17786332/d321d9df-0b17-49c3-bea7-89331df3f994 )
2024-06-11 12:15:35 +02:00
Mateusz Kwasniewski
76c8cbad0c
feat: global search by flag type ( #7346 )
2024-06-11 10:14:29 +02:00
Thomas Heartman
24c0976d56
feat: add popover to users in flags list ( #7344 )
...
This PR adds a popover to the user avatars in the flag list.
The popover is similar to the one used for projects and groups, but it
differs in a few ways:
- There's less padding. There's quite a lot of padding in the other
popovers, and it felt like too much for this table.
- It only shows one bit of text (the user's name/username/email). The
other popovers show email and name/username, but we don't have all that
information, so this is a stripped down version.
Flag list popover:
![image](https://github.com/Unleash/unleash/assets/17786332/6a86f638-ba6d-48e0-87e2-078b582697cf )
Group popover:
![image](https://github.com/Unleash/unleash/assets/17786332/d5fc7172-8fcb-4fac-87c4-05f211c0938c )
or if no email
![image](https://github.com/Unleash/unleash/assets/17786332/51955ead-849f-4bfc-81aa-e1852677647c )
2024-06-11 09:40:48 +02:00
renovate[bot]
43643def0e
chore(deps): update dependency msw to v2.3.1 ( #7339 )
...
[![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.0` -> `2.3.1`](https://renovatebot.com/diffs/npm/msw/2.3.0/2.3.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.3.0/2.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.3.0/2.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw (msw)</summary>
### [`v2.3.1`](https://togithub.com/mswjs/msw/releases/tag/v2.3.1 )
[Compare Source](https://togithub.com/mswjs/msw/compare/v2.3.0...v2.3.1 )
#### v2.3.1 (2024-06-01)
##### Bug Fixes
- preserve trailing optional path parameters
([#​2169](https://togithub.com/mswjs/msw/issues/2169 ))
([`e69bbd6`](e69bbd6fda
))
[@​kettanaito](https://togithub.com/kettanaito )
[@​KaiSpencer](https://togithub.com/KaiSpencer )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 18:42:53 +00:00
renovate[bot]
4e919a7bf5
chore(deps): update dependency @biomejs/biome to v1.8.1 ( #7038 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev )
([source](https://togithub.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ))
| [`1.8.0` ->
`1.8.1`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.8.0/1.8.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.8.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.8.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.8.0/1.8.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.8.0/1.8.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>biomejs/biome (@​biomejs/biome)</summary>
###
[`v1.8.1`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v181-2024-06-10 )
[Compare
Source](378c05edd4...39db99b1cd
)
##### Analyzer
##### CLI
##### Bug fixes
- Fix [#​3069](https://togithub.com/biomejs/biome/issues/3069 ),
prevent overwriting paths when using `--staged` or `--changed` options.
Contributed by [@​unvalley](https://togithub.com/unvalley )
- Fix a case where the file link inside a diagnostic wasn't correctly
displayed inside a terminal run by VSCode. Contributed by
[@​uncenter](https://togithub.com/uncenter )
##### Configuration
##### Bug fixes
- Fix [#​3067](https://togithub.com/biomejs/biome/issues/3067 ), by
assigning the correct default value to `indentWidth`. Contributed by
[@​ematipico](https://togithub.com/ematipico )
##### Editors
##### Formatter
##### Bug fixes
- Fix the bug where whitespace after the & character in CSS nesting was
incorrectly trimmed, ensuring proper targeting of child classes
[#​3061](https://togithub.com/biomejs/biome/issues/3061 ).
Contributed by [@​denbezrukov](https://togithub.com/denbezrukov )
- Fix [#​3068](https://togithub.com/biomejs/biome/issues/3068 )
where the CSS formatter was inadvertently converting variable
declarations and function calls to lowercase. Contributed by
[@​denbezrukov](https://togithub.com/denbezrukov )
- Fix the formatting of CSS grid layout properties. Contributed by
[@​denbezrukov](https://togithub.com/denbezrukov )
##### JavaScript APIs
##### Linter
##### Bug fixes
- The `noEmptyBlock` css lint rule now treats empty blocks containing
comments as valid ones. Contributed by
[@​Sec-ant](https://togithub.com/Sec-ant )
- [useLiteralKeys](https://biomejs.dev/linter/rules/use-literal-keys/ )
no longer reports quoted member names
([#​3085](https://togithub.com/biomejs/biome/issues/3085 )).
Previously
[useLiteralKeys](https://biomejs.dev/linter/rules/use-literal-keys/ )
reported quoted member names that can be unquoted.
For example, the rule suggested the following fix:
```diff
- const x = { "prop": 0 };
+ const x = { prop: 0 };
```
This conflicted with the option
[quoteProperties](https://biomejs.dev/reference/configuration/#javascriptformatterquoteproperties )
of our formatter.
The rule now ignores quoted member names.
Contributed by [@​Conaclos](https://togithub.com/Conaclos )
-
[noEmptyInterface](https://biomejs.dev/linter/rules/no-empty-interface/ )
now ignores empty interfaces in ambient modules
([#​3110](https://togithub.com/biomejs/biome/issues/3110 )).
Contributed by [@​Conaclos](https://togithub.com/Conaclos )
-
[noUnusedVariables](https://biomejs.dev/linter/rules/no-unused-variables/ )
and
[noUnusedFunctionParameters](https://biomejs.dev/linter/rules/no-unused-function-parameters/ )
no longer report the parameters of a constructor type
([#​3135](https://togithub.com/biomejs/biome/issues/3135 )).
Previously, `arg` was reported as unused in a constructor type like:
```ts
export type Classlike = new (arg: unknown) => string;
```
Contributed by [@​Conaclos](https://togithub.com/Conaclos )
-
[noStringCaseMismatch](https://biomejs.dev/linter/rules/no-string-case-mismatch/ )
now ignores escape sequences
([#​3134](https://togithub.com/biomejs/biome/issues/3134 )).
The following code is no longer reported by the rule:
```js
s.toUpperCase() === "\u001b";
```
Contributed by [@​Conaclos](https://togithub.com/Conaclos )
##### Parser
##### New features
- Implemented CSS Unknown At-Rule parsing, allowing the parser to
gracefully handle unsupported or unrecognized CSS at-rules. Contributed
by [@​denbezrukov](https://togithub.com/denbezrukov )
##### Bug fixes
- Fix [#​3055](https://togithub.com/biomejs/biome/issues/3055 )
CSS: Layout using named grid lines is now correctly parsed. Contributed
by [@​denbezrukov](https://togithub.com/denbezrukov )
- Fix [#​3091](https://togithub.com/biomejs/biome/issues/3091 ).
Allows the parser to handle nested style rules and at-rules properly,
enhancing the parser's compatibility with the CSS Nesting Module.
Contributed by [@​denbezrukov](https://togithub.com/denbezrukov )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 16:22:22 +00:00
Thomas Heartman
58d6365b4f
chore: add gitignores to frontend and website subdirectories ( #7336 )
...
This PR is a follow up to #7333 . It appears that the `.gitignore` file
in the root of the repository is not ignoring the yarn files in the
`/frontend` and `/website` directories.
This PR adds those.
Because the patterns contain slashes, they're interpreted as being
relative to the root directory, as mentioned the description of the
[gitignore format](https://git-scm.com/docs/gitignore#_description ) in
the official git docs:
> If there is a separator at the beginning or middle (or both) of the
pattern, then the pattern is relative to the directory level of the
particular .gitignore file itself. Otherwise the pattern may also match
at any level below the .gitignore level.
2024-06-10 14:39:14 +02:00
Jaanus Sellin
f0f339ead3
fix: revert yarn4 ( #7334 )
...
Reverting yarn4, because we are stuck on broker build for couple of days
now.
2024-06-10 14:35:18 +03:00