David Leek
bdce76e84a
chore: command bar refactor of search result items for consistent styling and icons ( #7483 )
2024-06-28 12:40:44 +02:00
David Leek
d01aba955a
chore: rename recent and page suggestions ( #7484 )
...
Renames and moves recently visited and page suggestions to match name
pattern
2024-06-28 13:18:27 +03:00
Mateusz Kwasniewski
5bd32f264d
feat: strategy limit to 30 ( #7473 )
2024-06-28 11:18:44 +02:00
Jaanus Sellin
82a53fa9b3
feat: introduce large cache for swr ( #7470 )
...
Previously, clearing the SWR cache cleared all entries. Now you can
configure the cache size.
1. This makes the search more fluid. Previously, if you went back and
forth on pages, you were always sent to the loading state.
2. This also solves the issue where the command bar search cleared the
cache for all other searches.
3. Additionally, it addresses the problem where the global search
cleared the cache for project search.
2024-06-28 10:44:35 +03:00
renovate[bot]
218cdd9df6
chore(deps): update dependency cypress to v13.12.0 ( #7478 )
...
[![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.11.0` ->
`13.12.0`](https://renovatebot.com/diffs/npm/cypress/13.11.0/13.12.0 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.12.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.12.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.11.0/13.12.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.11.0/13.12.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>cypress-io/cypress (cypress)</summary>
###
[`v13.12.0`](https://togithub.com/cypress-io/cypress/releases/tag/v13.12.0 )
[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v13.11.0...v13.12.0 )
Changelog: https://docs.cypress.io/guides/references/changelog#13-12-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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 21:50:14 +00:00
renovate[bot]
bdfe3826ab
chore(deps): update dependency @biomejs/biome to v1.8.2 ( #7475 )
...
[![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.1` ->
`1.8.2`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.8.1/1.8.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.8.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.8.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.8.1/1.8.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.8.1/1.8.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>biomejs/biome (@​biomejs/biome)</summary>
###
[`v1.8.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v182-2024-06-20 )
[Compare
Source](39db99b1cd...54b4c9a390
)
##### CLI
##### Bug fixes
- Fix [#​3201](https://togithub.com/biomejs/biome/issues/3201 ) by
correctly injecting the source code of the file when printing the
diagnostics. Contributed by
[@​ematipico](https://togithub.com/ematipico )
- Fix [#​3179](https://togithub.com/biomejs/biome/issues/3179 )
where comma separators are not correctly removed after running `biome
migrate` and thus choke the parser. Contributed by
[@​Sec-ant](https://togithub.com/Sec-ant )
- Fix [#​3232](https://togithub.com/biomejs/biome/issues/3232 ) by
correctly using the colors set by the user. Contributed by
[@​ematipico](https://togithub.com/ematipico )
##### Enhancement
- Reword the reporter message `No fixes needed` to `No fixes applied`.
The former message is misleading when there're still errors or warnings
in the files that should be taken care of manually. For example:
```block
Checked 2 files in <TIME>. No fixes needed.
Found 2 errors.
```
The new message suits better in these cases.
Contributed by [@​Sec-ant](https://togithub.com/Sec-ant )
##### Configuration
##### Bug fixes
- Don't conceal previous overrides
([#​3176](https://togithub.com/biomejs/biome/issues/3176 )).
Previously, each override inherited the unset configuration of the base
configuration.
This means that setting a configuration in an override can be concealed
by a subsequent override that inherits of the value from the base
configuration.
For example, in the next example, `noDebugger` was disabled for the
`index.js` file.
```json
{
"linter": {
"rules": {
"suspicious": { "noDebugger": "off" }
}
},
"overrides": [
{
"include": ["index.js"],
"linter": {
"rules": {
"suspicious": { "noDebugger": "warn" }
}
}
}, {
"include": ["index.js"],
"linter": {
"rules": {
"suspicious": { "noDoubleEquals": "off" }
}
}
}
]
}
```
The rule is now correctly enabled for the `index.js` file.
Contributed by [@​Conaclos](https://togithub.com/Conaclos )
##### Formatter
##### Bug fixes
- Fix [#​3103](https://togithub.com/biomejs/biome/issues/3103 ) by
correctly resolving CSS formatter options. Contributed by
[@​ah-yu](https://togithub.com/ah-yu )
- Fix [#​3192](https://togithub.com/biomejs/biome/issues/3192 )
don't add an extra whitespace within :has. Contributed by
[@​denbezrukov](https://togithub.com/denbezrukov )
##### JavaScript APIs
##### Bug fixes
- Fix a regression introduced by the release of `v1.8.0`
##### Linter
##### New features
- Add
[nursery/useValidAutocomplete](https://biomejs.dev/linter/rules/use-valid-autocomplete/ ).
Contributed by [@​unvalley](https://togithub.com/unvalley )
##### Bug fixes
- Add
[nursery/noShorthandPropertyOverrides](https://biomejs.dev/linter/rules/no-shorthand-property-overrides ).
[#​2958](https://togithub.com/biomejs/biome/issues/2958 )
Contributed by [@​neokidev](https://togithub.com/neokidev )
- Fix \[[#​3084](https://togithub.com/biomejs/biome/issues/3084 )]
false positive by correctly recognize parenthesized return statement.
Contributed by [@​unvalley](https://togithub.com/unvalley )
-
[useImportExtensions](https://biomejs.dev/linter/rules/use-import-extensions/ )
now suggests a correct fix for `import '.'` and `import './.'`.
Contributed by [@​minht11](https://togithub.com/minht11 )
- Fix [useDateNow](https://biomejs.dev/linter/rules/use-date-now/ ) false
positive when new Date object has arguments `new Date(0).getTime()`.
Contributed by [@​minht11](https://togithub.com/minht11 ).
- The
[`noUnmatchableAnbSelector`](https://biomejs.dev/linter/rules/no-unmatchable-anb-selector/ )
rule is now able to catch unmatchable `an+b` selectors like `0n+0` or
`-0n+0`. Contributed by [@​Sec-ant](https://togithub.com/Sec-ant ).
- The
[`useHookAtTopLevel`](https://biomejs.dev/linter/rules/use-hook-at-top-level/ )
rule now recognizes properties named as hooks like `foo.useFoo()`.
Contributed by [@​ksnyder9801](https://togithub.com/ksnyder9801 )
- Fix [#​3092](https://togithub.com/biomejs/biome/issues/3092 ),
prevent warning for `Custom properties (--*)`. Contributed by
[@​chansuke](https://togithub.com/chansuke )
- Fix a false positive in the
[`useLiteralKeys`](https://biomejs.dev/linter/rules/use-literal-keys/ )
rule. ([#​3160](https://togithub.com/biomejs/biome/issues/3160 ))
This rule now ignores the following kind of computed member name:
```js
const a = {
[`line1
line2`]: true,
};
```
Contributed by [@​Sec-ant](https://togithub.com/Sec-ant )
- The
[noUnknownProperty](https://biomejs.dev/linter/rules/no-unknown-property/ )
rule now ignores the `composes` property often used in css modules.
[#​3000](https://togithub.com/biomejs/biome/issues/3000 )
Contributed by [@​chansuke](https://togithub.com/chansuke )
- Fix false positives of the
[useExhaustiveDependencies](https://biomejs.dev/linter/rules/use-exhaustive-dependencies/ )
rule.
The component itself is considered stable when it is used recursively
inside a hook closure defined inside of it:
```jsx
import { useMemo } from "react";
function MyRecursiveComponent() {
// MyRecursiveComponent is stable, we don't need to add it to the
dependencies list.
const children = useMemo(() => <MyRecursiveComponent />, []);
return <div>{children}</div>;
}
```
Also, `export default function` and `export default class` are
considered stable now because they can only appear at the top level of a
module.
Contributed by [@​Sec-ant](https://togithub.com/Sec-ant )
- Fix missing `withDefaults` macro in vue files for globals variables.
Contributed by [@​Shyam-Chen](https://togithub.com/Shyam-Chen )
##### Parser
##### Bug fixes
- Fix CSS modules settings mapping. 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 18:47:05 +00:00
Mateusz Kwasniewski
b67c73a578
chore: resource limits flag ( #7471 )
2024-06-27 14:25:07 +02:00
Christopher Kolstad
f4e3388606
task: Yarn v4 ( #7457 )
...
Moves to Yarn v4
---------
Co-authored-by: Alvin Bryan <107407814+alvinometric@users.noreply.github.com>
2024-06-27 12:52:43 +02:00
Jaanus Sellin
82822a735b
feat: command bar track events ( #7469 )
...
Start tracking plausible events
1. Log the search keywords that returned 0 results
2. Track all clicks, based on source(search/recents/pages), type etc.
2024-06-27 12:48:57 +03:00
Tymoteusz Czech
083273b49b
fix: prevent strategy variant weight from going into negative numbers on Frontend ( #7460 )
...
Added validation if sum goes over 100%. Remaining split is never negative
2024-06-27 09:06:59 +00:00
Tymoteusz Czech
1cdbd21212
fix: strategy form buttons spacing ( #7468 )
2024-06-27 11:04:06 +02:00
Tymoteusz Czech
4c1d8dd423
fix: banner duplication on strategy edit with change requests ( #7452 )
...
## About the changes
Only one banner info about the outcome of strategy edit should appear
when change requests are enabled.
![image](https://github.com/Unleash/unleash/assets/2625371/72e734b4-14b2-4179-9d31-6382f4c9575d )
[issue/1-2292](https://linear.app/unleash/issue/1-2292/bug-do-not-show-feature-toggle-is-currently-enabled-banner-when-change )
2024-06-27 10:04:02 +02:00
renovate[bot]
9202365c97
chore(deps): update dependency sass to v1.77.6 ( #7465 )
...
[![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.5` ->
`1.77.6`](https://renovatebot.com/diffs/npm/sass/1.77.5/1.77.6 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.77.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.77.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.77.5/1.77.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.77.5/1.77.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sass/dart-sass (sass)</summary>
###
[`v1.77.6`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1776 )
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.77.5...1.77.6 )
- Fix a few cases where comments and occasionally even whitespace wasn't
allowed
between the end of Sass statements and the following semicolon.
</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-27 01:46:30 +00:00
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