1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

3363 Commits

Author SHA1 Message Date
andreas-unleash
10c21461bd
feat: Last seen for toggles that have an old usage reported (#4538)
Last seen for toggles that have an old usage reported and no environment

Closes: # [1-1276]
(https://linear.app/unleash/issue/1-1276/last-seen-for-toggles-that-have-an-old-usage-reported-and-that-are)

![Screenshot 2023-08-21 at 14 40
42](https://github.com/Unleash/unleash/assets/104830839/bfa20993-3d52-4c34-959d-f3e34b5c5b47)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-21 14:52:32 +03:00
Jaanus Sellin
6cefb6021e
chore: remove newProjectLayout flag (#4536) 2023-08-21 13:55:04 +03:00
Jaanus Sellin
dbae2d1153
feat: application usage new ui (#4528) 2023-08-18 14:55:23 +03:00
Tymoteusz Czech
208ca05933
Update menu for billing page (#4525)
## About the changes

- [x] Show admin menu on billing page in cloud offering. Category menu
was not showing up because we have 2 different pages for billing (hosted
or not)
  - [x] Fix menu tab padding
 
https://linear.app/unleash/issue/1-1266/update-menu-for-billing-page
2023-08-18 10:40:35 +02:00
renovate[bot]
26e7267c5e
chore(deps): update react-router monorepo to v6.15.0 (#4532)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router) |
[`6.14.2` ->
`6.15.0`](https://renovatebot.com/diffs/npm/react-router/6.14.2/6.15.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.14.2/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.14.2/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.14.2` ->
`6.15.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.14.2/6.15.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.14.2/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.14.2/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v6.15.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6150)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.14.2...react-router@6.15.0)

##### Minor Changes

- Add's a new `redirectDocument()` function which allows users to
specify that a redirect from a `loader`/`action` should trigger a
document reload (via `window.location`) instead of attempting to
navigate to the redirected location via React Router
([#&#8203;10705](https://togithub.com/remix-run/react-router/pull/10705))

##### Patch Changes

- Ensure `useRevalidator` is referentially stable across re-renders if
revalidations are not actively occurring
([#&#8203;10707](https://togithub.com/remix-run/react-router/pull/10707))
-   Updated dependencies:
    -   `@remix-run/router@1.8.0`

</details>

<details>
<summary>remix-run/react-router (react-router-dom)</summary>

###
[`v6.15.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6150)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.14.2...react-router-dom@6.15.0)

##### Minor Changes

- Add's a new `redirectDocument()` function which allows users to
specify that a redirect from a `loader`/`action` should trigger a
document reload (via `window.location`) instead of attempting to
navigate to the redirected location via React Router
([#&#8203;10705](https://togithub.com/remix-run/react-router/pull/10705))

##### Patch Changes

- Fixes an edge-case affecting web extensions in Firefox that use
`URLSearchParams` and the `useSearchParams` hook.
([#&#8203;10620](https://togithub.com/remix-run/react-router/pull/10620))
- Do not include hash in `useFormAction()` for unspecified actions since
it cannot be determined on the server and causes hydration issues
([#&#8203;10758](https://togithub.com/remix-run/react-router/pull/10758))
- Reorder effects in `unstable_usePrompt` to avoid throwing an exception
if the prompt is unblocked and a navigation is performed synchronously
([#&#8203;10687](https://togithub.com/remix-run/react-router/pull/10687),
[#&#8203;10718](https://togithub.com/remix-run/react-router/pull/10718))
-   Updated dependencies:
    -   `@remix-run/router@1.8.0`
    -   `react-router@6.15.0`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 18:52:04 +00:00
renovate[bot]
808936d28a
chore(deps): update dependency sass to v1.65.1 (#4531)
[![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.64.2` ->
`1.65.1`](https://renovatebot.com/diffs/npm/sass/1.64.2/1.65.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.65.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.65.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.64.2/1.65.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.64.2/1.65.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

-   Update abs-percent deprecatedIn version to `1.65.0`.

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

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

- All functions defined in CSS Values and Units 4 are now parsed as
calculation
objects: `round()`, `mod()`, `rem()`, `sin()`, `cos()`, `tan()`,
`asin()`,
`acos()`, `atan()`, `atan2()`, `pow()`, `sqrt()`, `hypot()`, `log()`,
`exp()`,
    `abs()`, and `sign()`.

- Deprecate explicitly passing the `%` unit to the global `abs()`
function. In
future releases, this will emit a CSS abs() function to be resolved by
the
    browser. This deprecation is named `abs-percent`.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 15:43:54 +00:00
renovate[bot]
169a3167da
chore(deps): update dependency @types/react to v17.0.64 (#4526)
[![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)) |
[`17.0.63` ->
`17.0.64`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.63/17.0.64)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/17.0.64?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/17.0.64?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/17.0.63/17.0.64?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/17.0.63/17.0.64?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 13:12:27 +00:00
Fredrik Strand Oseberg
e1ee2f6c71
fix: set css preload to false (#4524)
After dependabot upgraded us to the new version of Vite, we started
having failures on the preloading of CSS modules on certain lazy loaded
modules. After investigation, it seems like Vite was adding another
stylesheet into the head element when the lazy loaded modules were
requested. These stylesheets had the wrong relative path when the assets
were loaded from our CDN. We are not sure why this fails, but for now we
are turning off cssPreloading.

The impact is small, because we have few lazy loaded modules that
preload the CSS.
2023-08-17 15:04:41 +02:00
David Leek
76d3cc59cf
feat: add usage info to project role deletion dialog (#4464)
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

Adds projects user and group -usage information to the dialog shown when
user wants to delete a project role

<img width="670" alt="Skjermbilde 2023-08-10 kl 08 28 40"
src="https://github.com/Unleash/unleash/assets/707867/a1df961b-2d0f-419d-b9bf-fedef896a84e">

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-08-17 09:43:43 +02:00
Mateusz Kwasniewski
8a7f488147
feat: reject timeline state (#4517) 2023-08-16 15:39:39 +02:00
Mateusz Kwasniewski
b6830b805b
feat: review buttons makeover (#4513) 2023-08-16 13:55:18 +02:00
Mateusz Kwasniewski
a2bd7d42a1
feat: change request reject docs and step update (#4493) 2023-08-16 09:46:05 +02:00
renovate[bot]
872644fc91
chore(deps): update dependency vite to v4.4.9 (#4505)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v4.4.9`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small449-2023-08-07-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.4.8...v4.4.9)

- chore: fix eslint warnings
([#&#8203;14031](https://togithub.com/vitejs/vite/issues/14031))
([4021a0e](https://togithub.com/vitejs/vite/commit/4021a0e)), closes
[#&#8203;14031](https://togithub.com/vitejs/vite/issues/14031)
- chore(deps): update all non-major dependencies
([#&#8203;13938](https://togithub.com/vitejs/vite/issues/13938))
([a1b519e](https://togithub.com/vitejs/vite/commit/a1b519e)), closes
[#&#8203;13938](https://togithub.com/vitejs/vite/issues/13938)
- fix: dynamic import vars ignored warning
([#&#8203;14006](https://togithub.com/vitejs/vite/issues/14006))
([4479431](https://togithub.com/vitejs/vite/commit/4479431)), closes
[#&#8203;14006](https://togithub.com/vitejs/vite/issues/14006)
- fix(build): silence warn dynamic import module when
inlineDynamicImports true
([#&#8203;13970](https://togithub.com/vitejs/vite/issues/13970))
([7a77aaf](https://togithub.com/vitejs/vite/commit/7a77aaf)), closes
[#&#8203;13970](https://togithub.com/vitejs/vite/issues/13970)
- perf: improve build times and memory utilization
([#&#8203;14016](https://togithub.com/vitejs/vite/issues/14016))
([9d7d45e](https://togithub.com/vitejs/vite/commit/9d7d45e)), closes
[#&#8203;14016](https://togithub.com/vitejs/vite/issues/14016)
- perf: replace startsWith with ===
([#&#8203;14005](https://togithub.com/vitejs/vite/issues/14005))
([f5c1224](https://togithub.com/vitejs/vite/commit/f5c1224)), closes
[#&#8203;14005](https://togithub.com/vitejs/vite/issues/14005)

###
[`v4.4.8`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small448-2023-07-31-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.4.7...v4.4.8)

- fix: modulePreload false
([#&#8203;13973](https://togithub.com/vitejs/vite/issues/13973))
([488085d](https://togithub.com/vitejs/vite/commit/488085d)), closes
[#&#8203;13973](https://togithub.com/vitejs/vite/issues/13973)
- fix: multiple entries with shared css and no JS
([#&#8203;13962](https://togithub.com/vitejs/vite/issues/13962))
([89a3db0](https://togithub.com/vitejs/vite/commit/89a3db0)), closes
[#&#8203;13962](https://togithub.com/vitejs/vite/issues/13962)
- fix: use file extensions on type imports so they work with
`moduleResolution: 'node16'`
([#&#8203;13947](https://togithub.com/vitejs/vite/issues/13947))
([aeef670](https://togithub.com/vitejs/vite/commit/aeef670)), closes
[#&#8203;13947](https://togithub.com/vitejs/vite/issues/13947)
- fix(css): enhance error message for missing preprocessor dependency
([#&#8203;11485](https://togithub.com/vitejs/vite/issues/11485))
([65e5c22](https://togithub.com/vitejs/vite/commit/65e5c22)), closes
[#&#8203;11485](https://togithub.com/vitejs/vite/issues/11485)
- fix(esbuild): fix static properties transpile when
useDefineForClassFields false
([#&#8203;13992](https://togithub.com/vitejs/vite/issues/13992))
([4ca7c13](https://togithub.com/vitejs/vite/commit/4ca7c13)), closes
[#&#8203;13992](https://togithub.com/vitejs/vite/issues/13992)
- fix(importAnalysis): strip url base before passing as safeModulePaths
([#&#8203;13712](https://togithub.com/vitejs/vite/issues/13712))
([1ab06a8](https://togithub.com/vitejs/vite/commit/1ab06a8)), closes
[#&#8203;13712](https://togithub.com/vitejs/vite/issues/13712)
- fix(importMetaGlob): avoid unnecessary hmr of negative glob
([#&#8203;13646](https://togithub.com/vitejs/vite/issues/13646))
([844451c](https://togithub.com/vitejs/vite/commit/844451c)), closes
[#&#8203;13646](https://togithub.com/vitejs/vite/issues/13646)
- fix(optimizer): avoid double-commit of optimized deps when discovery
is disabled
([#&#8203;13865](https://togithub.com/vitejs/vite/issues/13865))
([df77991](https://togithub.com/vitejs/vite/commit/df77991)), closes
[#&#8203;13865](https://togithub.com/vitejs/vite/issues/13865)
- fix(optimizer): enable experimentalDecorators by default
([#&#8203;13981](https://togithub.com/vitejs/vite/issues/13981))
([f8a5ffc](https://togithub.com/vitejs/vite/commit/f8a5ffc)), closes
[#&#8203;13981](https://togithub.com/vitejs/vite/issues/13981)
- perf: replace startsWith with ===
([#&#8203;13989](https://togithub.com/vitejs/vite/issues/13989))
([3aab14e](https://togithub.com/vitejs/vite/commit/3aab14e)), closes
[#&#8203;13989](https://togithub.com/vitejs/vite/issues/13989)
- perf: single slash does not need to be replaced
([#&#8203;13980](https://togithub.com/vitejs/vite/issues/13980))
([66f522c](https://togithub.com/vitejs/vite/commit/66f522c)), closes
[#&#8203;13980](https://togithub.com/vitejs/vite/issues/13980)
- perf: use Intl.DateTimeFormatter instead of toLocaleTimeString
([#&#8203;13951](https://togithub.com/vitejs/vite/issues/13951))
([af53a1d](https://togithub.com/vitejs/vite/commit/af53a1d)), closes
[#&#8203;13951](https://togithub.com/vitejs/vite/issues/13951)
- perf: use Intl.NumberFormat instead of toLocaleString
([#&#8203;13949](https://togithub.com/vitejs/vite/issues/13949))
([a48bf88](https://togithub.com/vitejs/vite/commit/a48bf88)), closes
[#&#8203;13949](https://togithub.com/vitejs/vite/issues/13949)
- perf: use magic-string hires boundary for sourcemaps
([#&#8203;13971](https://togithub.com/vitejs/vite/issues/13971))
([b9a8d65](https://togithub.com/vitejs/vite/commit/b9a8d65)), closes
[#&#8203;13971](https://togithub.com/vitejs/vite/issues/13971)
- chore(reporter): remove unnecessary map
([#&#8203;13972](https://togithub.com/vitejs/vite/issues/13972))
([dd9d4c1](https://togithub.com/vitejs/vite/commit/dd9d4c1)), closes
[#&#8203;13972](https://togithub.com/vitejs/vite/issues/13972)
- refactor: add new overload to the type of defineConfig
([#&#8203;13958](https://togithub.com/vitejs/vite/issues/13958))
([24c12fe](https://togithub.com/vitejs/vite/commit/24c12fe)), closes
[#&#8203;13958](https://togithub.com/vitejs/vite/issues/13958)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 07:19:03 +00:00
renovate[bot]
2244c6e917
chore(deps): update dependency sass to v1.64.2 (#4504)
[![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.64.1` ->
`1.64.2`](https://renovatebot.com/diffs/npm/sass/1.64.1/1.64.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.64.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.64.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.64.1/1.64.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.64.1/1.64.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

-   No user-visible changes.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 07:05:26 +00:00
renovate[bot]
82d0637159
chore(deps): update dependency cypress to v12.17.3 (#4502)
[![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://togithub.com/cypress-io/cypress) | [`12.17.2` ->
`12.17.3`](https://renovatebot.com/diffs/npm/cypress/12.17.2/12.17.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/12.17.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/12.17.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/12.17.2/12.17.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/12.17.2/12.17.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v12.17.2...v12.17.3)

Changelog: https://docs.cypress.io/guides/references/changelog#12-17-3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 06:42:19 +00:00
renovate[bot]
1d04b745f8
chore(deps): update dependency @types/react to v17.0.63 (#4500)
[![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)) |
[`17.0.62` ->
`17.0.63`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.62/17.0.63)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/17.0.63?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/17.0.63?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/17.0.62/17.0.63?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/17.0.62/17.0.63?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 02:32:57 +00:00
renovate[bot]
6e42e3af59
chore(deps): update dependency @types/node to v18.17.4 (#4499)
[![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)) |
[`18.17.1` ->
`18.17.4`](https://renovatebot.com/diffs/npm/@types%2fnode/18.17.1/18.17.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.17.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.17.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.17.1/18.17.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.17.1/18.17.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 23:16:49 +00:00
Mateusz Kwasniewski
67ef0507a1
feat: link to change request configuration (#4494) 2023-08-15 14:18:02 +02:00
Mateusz Kwasniewski
4af826000d
feat: do not update every second (#4492) 2023-08-15 13:35:38 +02:00
Mateusz Kwasniewski
c58d325173
feat: reject change request dialog (#4491) 2023-08-15 12:49:40 +02:00
Mateusz Kwasniewski
3227e30f12
feat: Change request reject UI (#4489) 2023-08-15 09:08:26 +02:00
Mateusz Kwasniewski
0a27b5f44a
feat: use update count in cr summary (#4482) 2023-08-11 14:59:59 +02:00
Jaanus Sellin
12dfb1f3eb
feat: add margin for segment constraints (#4481) 2023-08-11 14:07:41 +02:00
andreas-unleash
f9a686ca81
Fix/constraint with legal value that has been deleted (#4473)
When editing a constraint that uses a context field with legal values:

if the contraint has a value that has been deleted from the legal values
of the context field:
- Show the value and mark it as disabled
- On any change -> 'cleans'/removed the deleted legal values from the
constraint values

Closes:
[1-1209](https://linear.app/unleash/issue/1-1209/if-i-modified-the-legal-values-of-a-used-context-field)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-11 13:44:28 +03:00
Mateusz Kwasniewski
c1fe43fe64
fix: diff no changes (#4480) 2023-08-11 12:31:23 +02:00
Mateusz Kwasniewski
81586074d0
feat: track read about (#4478) 2023-08-11 09:59:23 +02:00
Mateusz Kwasniewski
a68942d90f
fix: strategy variants in demo link to new variants (#4477) 2023-08-11 09:43:41 +02:00
Jaanus Sellin
0e4485d0fc
feat: segment constraints in UI (#4472) 2023-08-10 20:12:17 +03:00
andreas-unleash
46314d2772
fix: Remove lastSeenAt from useCollaborateData.tsx staleness check (#4461)
Remove the lastSeenAt property when checking for stale data

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-10 16:13:24 +03:00
Jaanus Sellin
c1314a8ee8
feat: delete segment from CR (#4469) 2023-08-10 15:56:15 +03:00
Mateusz Kwasniewski
84cbd669eb
feat: count segment changes (#4468) 2023-08-10 14:40:44 +02:00
Mateusz Kwasniewski
27c3c2393c
fix: plain link for read about (#4470) 2023-08-10 14:40:14 +02:00
andreas-unleash
7d991f3a56
fix: Disable Edit constraint when context field was deleted (#4460)
Disable Edit constraint when context field was deleted

Closes:
[1-1208](https://linear.app/unleash/issue/1-1208/if-i-deleted-a-used-context-with-predefined-legal-values)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-10 15:27:30 +03:00
Nuno Góis
ded33a6d81
chore: remove customRootRoles flag in favor of killswitch (#4431)
https://linear.app/unleash/issue/2-1303/adapt-existing-customrootroles-flag-to-a-customrootroleskillswitch

Removes the existing `customRootRoles` flag in favor of a
`customRootRolesKillSwitch` which should follow the same logic but
negated/inverted.

Once released, this will effectively make custom root roles GA, and we
can use
[customRootRolesKillSwitch](https://app.unleash-hosted.com/hosted/projects/eg/features/customRootRolesKillSwitch)
to disable the feature if needed.
2023-08-10 13:11:55 +01:00
Nuno Góis
22273d79e3
test: fix import and access e2e tests due to recent changes (#4467)
This should fix `import` and `access` Cypress e2e tests after recent
changes were introduced:

- `import.spec.ts` - Expected '50%' to be contained in the page, however
now [we are lazy loading the accordion
content](https://github.com/Unleash/unleash/pull/4454);
- `access.spec.ts` - Expected 'within a project are allowed' to be
visible as a role description, however [we updated the predefined roles
descriptions](https://github.com/Unleash/unleash/pull/4451);
2023-08-10 11:55:02 +00:00
Mateusz Kwasniewski
0a233ba519
feat: cr sidebar segments count (#4466) 2023-08-10 12:01:52 +02:00
Mateusz Kwasniewski
df41146f50
feat: Demo for strategy variants (#4457) 2023-08-10 11:55:33 +02:00
Tymoteusz Czech
8ee031e978
Update admin navigation (1-1104-improved-menu-oss) (#4458)
Cleaner tabs navigation for admin tabs


![image](https://github.com/Unleash/unleash/assets/2625371/1858276b-543f-42e3-85be-385090558a03)

Closes https://linear.app/unleash/issue/1-1104/improved-menu-oss
2023-08-10 09:28:10 +02:00
Nuno Góis
95f4f641b5
docs: custom root roles (#4451)
https://linear.app/unleash/issue/2-1136/custom-root-roles-documentation

- [Adds documentation referencing custom root
roles](https://unleash-docs-git-docs-custom-root-roles-unleash-team.vercel.app/reference/rbac);
- [Adds a "How to create and assign custom root roles" how-to
guide](https://unleash-docs-git-docs-custom-root-roles-unleash-team.vercel.app/how-to/how-to-create-and-assign-custom-root-roles);
 - Standardizes "global" roles to "root" roles;
- Standardizes "standard" roles to "predefined" roles to better reflect
their behavior and what is shown in our UI;
 - Updates predefined role descriptions and makes them consistent;
 - Updates the side panel description of the user form;
- Includes some boy scouting with some tiny fixes of things identified
along the way (e.g. the role form was persisting old data when closed
and re-opened);
 
 Questions:

- Is it worth expanding the "Assigning custom root roles" section in the
"How to create and assign custom root roles" guide to include the steps
for assigning a root role for each entity (user, service account,
group)?
- Should this PR include an update to the existing "How to create and
assign custom project roles" guide? We've since updated the UI;

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-08-10 08:21:58 +01:00
Thomas Heartman
fe0c7087de
Add name with change info to segment changes (1-1230-update-name-change) (#4459)
Extract and reuse the component that we use for strategy name changes.

## Discussion points:

This impl only shows the new name in the second field (editing segment).
Should we show it in both? Why do we have both? Do we have UI designs
for this?


![image](https://github.com/Unleash/unleash/assets/17786332/5521b1f1-1688-4063-9a16-ec17e4811e91)
2023-08-09 16:15:14 +02:00
Thomas Heartman
2531819222
fix: CR strategy name changes code (#4449)
This change addresses two things that were done in
https://github.com/Unleash/unleash/pull/4004 and that I believe to be
bugs.

1. It shows the previous strategy name also if there was no previous
title. So if there was no previous title, it'll show the strategy name
with a strikethrough and then the new title (see the discussion
section).
2. It changes a `span` component to a [`del`
component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del).
I believe the
span was erroneously changed from a `s` component (strikethrough
component) in the linked PR (based on a comment on the PR). This
caused the strikethrough to not be there anymore. However, the `del`
component is semantically more correct and reintroduces the
strikethrough, so it is a better change.
3. It uses [`ins`
elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins)
for names that have changed.

Finally, it removes a redundant pair of curly braces.

How it looks now:


![image](https://github.com/Unleash/unleash/assets/17786332/a9947619-056d-4cd8-8b44-8a562c83ba40)


## Discussion

Regarding point 1: It might be that we don't want to show a
strikethrough through the name of the strategy if there was no previous
title. In that case, the changes related to the first point should be
removed. If we do that, it looks like this:


![image](https://github.com/Unleash/unleash/assets/17786332/aeb6c86c-d283-4703-96e6-c4302d252417)

It makes it harder (impossible, actually) to see when a custom title was
added, but that might be what we want.

But maybe the solution is to also use `ins` elements for new data. That
way the difference is visible (and semantically correct):

![image](https://github.com/Unleash/unleash/assets/17786332/ef13a745-9f9c-4b1a-886f-a7917eb12190)
2023-08-09 12:47:02 +00:00
Mateusz Kwasniewski
11c48171bd
fix: Demo for old variants (#4455) 2023-08-09 13:11:07 +02:00
Mateusz Kwasniewski
c549280e31
fix: Performance improvements for demo and docs update (#4454) 2023-08-09 12:58:03 +02:00
Mateusz Kwasniewski
b927ef8b70
feat: pointer to strategy variants (#4440) 2023-08-08 15:48:43 +02:00
andreas-unleash
32954e8168
feat: bulk archive usage warning (#4448)
Adds a warning when about to archive features that have lastSeenAt of
less than a week (green usage)

Closes #
[1-224](https://linear.app/unleash/issue/1-1224/bulk-edit-show-last-seen-usage-warning)
![Screenshot 2023-08-08 at 15 10
26](https://github.com/Unleash/unleash/assets/104830839/7783c751-dcdf-4d80-a6fb-b441fb034b70)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-08 15:46:11 +02:00
andreas-unleash
839c36d547
Feat: toggle overview env last seen (#4445)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Adds last seen by environment to FeatureOverview

- Refactored FeatureEnvironmentSeen component for reusability


<!-- Does it close an issue? Multiple? -->
Closes #
[1-1223](https://linear.app/unleash/issue/1-1223/toggle-overview-add-last-seen-by-environment)
![Screenshot 2023-08-08 at 14 12
29](https://github.com/Unleash/unleash/assets/104830839/cfb29492-863b-491c-8f6f-e1133246dcb3)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-08 15:56:32 +03:00
Thomas Heartman
e7ae1ff714
Feat(#4209): add conflict marker to segment changes (#4447)
In doing so, we extract the shared conflict marker component from the
feature change and reuse it for both feature and segment changes.

Here's what it looks like:

![image](https://github.com/Unleash/unleash/assets/17786332/4a67aa7a-1953-488f-8bcb-6aac006d53e9)


Update: also straightened out the borders of the conflict warning:


![image](https://github.com/Unleash/unleash/assets/17786332/153799f3-cff2-4aa0-8fb0-8e31d1052b9f)
2023-08-08 12:36:45 +00:00
Thomas Heartman
17798408a4
chore: update orval with latest change request schema updates (#4446) 2023-08-08 11:58:22 +00:00
Mateusz Kwasniewski
19119bd1f0
feat: default strategy variant (#4443) 2023-08-08 11:44:43 +02:00
andreas-unleash
f3b11b89bb
Feat: last seen by env UI (#4439)
Implements last seen by environment UI


Closes #
[1-1182](https://linear.app/unleash/issue/1-1182/ui-for-last-seen-per-environment)

![Screenshot 2023-08-08 at 10 30
56](https://github.com/Unleash/unleash/assets/104830839/b70bf63e-8e58-4678-9be4-0fe40c873d29)
![Screenshot 2023-08-08 at 10 31
24](https://github.com/Unleash/unleash/assets/104830839/4ec74030-9425-4254-ad02-b8101e131774)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-08 12:32:33 +03:00