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

3251 Commits

Author SHA1 Message Date
Mateusz Kwasniewski
276261c913
feat: Group schema updates (#4258) 2023-07-18 11:08:45 +02:00
Mateusz Kwasniewski
593f83d5d3
feat: advancedPlayground flag used only for runtime control (#4262) 2023-07-18 08:49:04 +02:00
Mateusz Kwasniewski
3f913efe14
fix: reactive stickiness strategy variants (#4255) 2023-07-17 13:42:54 +00:00
Mateusz Kwasniewski
56d5579b89
feat: Strategy variants stickiness (#4250) 2023-07-17 13:58:54 +02:00
Mateusz Kwasniewski
fb6e4906a7
refactor: error param prop (#4247) 2023-07-17 11:02:54 +02:00
Mateusz Kwasniewski
99d63cff33
feat: strategy variant UI spike (#4246) 2023-07-14 14:28:02 +02:00
Jaanus Sellin
4cd4153412
chore: remove split button strategy flag (#4245) 2023-07-14 14:23:23 +03:00
Jaanus Sellin
8de7dfc488
chore: remove context/segment usage flag (#4242) 2023-07-14 13:30:15 +03:00
Nuno Góis
383e522127
feat: Slack App addon (#4238)
https://linear.app/unleash/issue/2-1232/implement-first-iteration-of-the-new-slack-app-addon

This PR implements the first iteration of the new Slack App addon.
Unlike the old Slack addon, this one uses a Slack App (bot) that is
installed to Slack workspaces in order to post messages. This uses
`@slack/web-api`, which internally uses the latest Slack API endpoints
like `postMessage`.

This is currently behind a flag: `slackAppAddon`.

The current flow is that the Unleash Slack App is installed from
whatever source:
 - Unleash addons page;
 - Direct link;
 - https://unleash-slack-app.vercel.app/ (temporary URL);
 - Slack App Directory (in the future);
 - Etc;

After installed, we resolve the authorization to an `access_token` that
the user can paste into the Unleash Slack App addon configuration form.


https://github.com/Unleash/unleash/assets/14320932/6a6621b9-5b8a-4921-a279-30668be6d46c

Co-authored by: @daveleek

---------

Co-authored-by: David Leek <david@getunleash.io>
2023-07-14 09:49:34 +01:00
David Leek
fc9cacfb6d
chore: update demo qr (#4241)
## 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. -->

Updates to use the new Demo QR


![image](https://github.com/Unleash/unleash/assets/707867/75065a45-5462-4230-b246-53fb52ea4fb5)
2023-07-14 09:31:44 +02:00
Jaanus Sellin
3da1cbba47
feat: feature creation limit crud together with frontend (#4221) 2023-07-13 14:02:35 +03:00
andreas-unleash
846a62ecec
fix: existing stickiness value should be available in the dropdown (#4228)
existing stickiness value should be available in the dropdown even if
the context field is no longer sticky

Before: if the context field is no longer sticky
![Screenshot 2023-07-13 at 09 50
55](https://github.com/Unleash/unleash/assets/104830839/6a8afa86-7bd3-45e6-bddf-69306f02bf56)

After
![Screenshot 2023-07-13 at 09 48
53](https://github.com/Unleash/unleash/assets/104830839/e301e1ff-7624-437c-af02-9e293cae4911)

Closes #
[1-1115](https://linear.app/unleash/issue/1-1115/current-gradual-rollout-stickiness-configurations-should-take-priority)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-07-13 10:20:16 +03:00
Jaanus Sellin
469727bb19
feat: project feature limit UI (#4220) 2023-07-11 14:55:43 +03:00
Mateusz Kwasniewski
5c4f15ea5d
feat: strategy variant test UI (#4199) 2023-07-11 09:21:01 +02:00
Jaanus Sellin
a2b06e4222
feat: project UI rework, move edit and delete buttons deeper (#4195) 2023-07-11 09:47:38 +03:00
renovate[bot]
2708247056
chore(deps): update dependency cypress to v12.16.0 (#4185)
[![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.15.0` ->
`12.16.0`](https://renovatebot.com/diffs/npm/cypress/12.15.0/12.16.0) |
[![age](https://badges.renovateapi.com/packages/npm/cypress/12.16.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/cypress/12.16.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/cypress/12.16.0/compatibility-slim/12.15.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/cypress/12.16.0/confidence-slim/12.15.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

Changelog: <https://docs.cypress.io/guides/references/changelog#12-16-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 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInVwZGF0ZWRJblZlciI6IjM1LjE1OS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-07 18:20:59 +00:00
Tymoteusz Czech
6f15eb9f4c
fix: correct escaping of ui flags for plausible (#3907)
## About the changes
Stringified JSON still needs to be escaped before being placed in an
HTML attribute.
2023-07-07 17:40:37 +02:00
Nuno Góis
82d855ea1f
fix: add focus style to vertical tabs (#4186)
https://linear.app/unleash/issue/2-1206/we-need-focus-state-for-vertical-menu

Adds a `focus-visible` style to vertical tabs in order to improve
keyboard navigation.


![image](https://github.com/Unleash/unleash/assets/14320932/e07a1b69-2134-4d76-bafe-1c87a0384e64)
2023-07-07 15:55:57 +01:00
Nuno Góis
6638a2f47d
fix: delete project dialog cancel redirect (#4184)
https://linear.app/unleash/issue/2-1204/delete-project-dialog-cancel-button-wrong-redirect

Fixes an issue where the project deletion dialog would redirect if
canceled.
2023-07-07 15:04:21 +01:00
Mateusz Kwasniewski
748bfaad7d
fix: constraint validation affecting disabled button (#4183) 2023-07-07 14:50:13 +02:00
Jaanus Sellin
5388eaf48c
fix: remove dangerouslySetInnerHTML (#4181) 2023-07-07 13:54:21 +03:00
Nuno Góis
e0f5d2c600
feat: show username and email in name column (users tables) (#4180)
https://linear.app/unleash/issue/2-1197/merge-columns-name-and-username-in-one-column-for-all-the-tables

Shows `email` and/or `username` in the `name` column of users tables.
This provides a more consistent look across the UI while saving some
space for other columns.

Before:

![image](https://github.com/Unleash/unleash/assets/14320932/b97b39ba-f5ae-4c39-aed5-d2f7574360c1)

After:

![image](https://github.com/Unleash/unleash/assets/14320932/ef79b6a8-c494-42b3-aef8-7012631e3dbd)
2023-07-07 11:24:09 +01:00
Jaanus Sellin
3c52550474
fix: bulk tags will work now with project permissions (#4177) 2023-07-07 11:55:13 +03:00
Mateusz Kwasniewski
03ddd07ed8
feat: no results on playground error (#4170) 2023-07-06 19:14:32 +02:00
Mateusz Kwasniewski
02fea44956
fix: initial playground env (#4167) 2023-07-06 16:04:33 +02:00
renovate[bot]
94bfa025c0
chore(deps): update dependency sass to v1.63.6 (#4155)
[![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.63.5` ->
`1.63.6`](https://renovatebot.com/diffs/npm/sass/1.63.5/1.63.6) |
[![age](https://badges.renovateapi.com/packages/npm/sass/1.63.6/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/sass/1.63.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/sass/1.63.6/compatibility-slim/1.63.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/sass/1.63.6/confidence-slim/1.63.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### JavaScript API

- Fix `import sass from 'sass'` again after it was broken in the last
release.

##### Embedded Sass

-   Fix the `exports` declaration in `package.json`.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM1LjE1OS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-06 13:57:47 +00:00
Simon Hornby
79dd508485
fix: project tokens can now be created with the correct permissions (#4165) 2023-07-06 15:47:03 +02:00
Nuno Góis
0dec24722d
fix: disallow deletion of all login history entries (#4159)
https://linear.app/unleash/issue/2-1191/disallow-deletion-of-all-login-entries-in-history-ui

Disallows deletion of all login history entries on the UI.


![image](https://github.com/Unleash/unleash/assets/14320932/f2378d61-0738-4614-b9c5-e81444e8dde1)
2023-07-06 12:19:48 +01:00
Nuno Góis
dd32e8ae0d
fix: disallow deletion of single login history entries (#4149)
https://linear.app/unleash/issue/2-1185/disallow-deletion-of-single-login-entries-in-history-ui

Disallows deletion of single login history entries on the UI.


![image](https://github.com/Unleash/unleash/assets/14320932/380f7e11-8151-49b1-bfd1-0042d87854b7)
2023-07-06 08:36:26 +01:00
renovate[bot]
006317bdc6
chore(deps): update dependency @uiw/react-codemirror to v4.21.7 (#4151)
[![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.21.3` ->
`4.21.7`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.3/4.21.7)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.7/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.7/compatibility-slim/4.21.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.7/confidence-slim/4.21.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror (@&#8203;uiw/react-codemirror)</summary>

###
[`v4.21.7`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.7)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.6...v4.21.7)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.7/file/README.md)

Documentation v4.21.7:
https://raw.githack.com/uiwjs/react-codemirror/89f5d3c/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.6...v4.21.7

```shell
npm i @&#8203;uiw/react-codemirror@4.21.7
```

- 🎨 style(hyper-link): add mark hyper link underline style.
([#&#8203;525](https://togithub.com/uiwjs/react-codemirror/issues/525))
[`f59224c`](https://togithub.com/uiwjs/react-codemirror/commit/f59224c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.6`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.6)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.5...v4.21.6)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.6/file/README.md)

Documentation v4.21.6:
https://raw.githack.com/uiwjs/react-codemirror/a1c9fc0/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.5...v4.21.6

```shell
npm i @&#8203;uiw/react-codemirror@4.21.6
```

- 📖 doc: Update README.md
[`4d9890c`](https://togithub.com/uiwjs/react-codemirror/commit/4d9890c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(hyper-link): the callback function adds more params `(value,
input, from, to) => {}`.
[`ab58f5f`](https://togithub.com/uiwjs/react-codemirror/commit/ab58f5f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.5`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.5)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.4...v4.21.5)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.5/file/README.md)

Documentation v4.21.5:
https://raw.githack.com/uiwjs/react-codemirror/a2ba8e9/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.4...v4.21.5

```shell
npm i @&#8203;uiw/react-codemirror@4.21.5
```

- 📖 doc(zebra-stripes): fix doc package name error of
extensions/zebra-stripes
([#&#8203;526](https://togithub.com/uiwjs/react-codemirror/issues/526))
[`194e2ee`](https://togithub.com/uiwjs/react-codemirror/commit/194e2ee)
[@&#8203;gsw945](https://togithub.com/gsw945)
- 🌟 feat(hyper-link): add `anchor` options.
([#&#8203;525](https://togithub.com/uiwjs/react-codemirror/issues/525))
[`097ad2e`](https://togithub.com/uiwjs/react-codemirror/commit/097ad2e)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.4`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.4)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.3...v4.21.4)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.4/file/README.md)

Documentation v4.21.4:
https://raw.githack.com/uiwjs/react-codemirror/faa6117/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.3...v4.21.4

```shell
npm i @&#8203;uiw/react-codemirror@4.21.4
```

- 🌟 feat(hyper-link): add regexp/match/handle options.
([#&#8203;525](https://togithub.com/uiwjs/react-codemirror/issues/525))
[`4b356ab`](https://togithub.com/uiwjs/react-codemirror/commit/4b356ab)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM1LjE0NC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-05 15:16:41 +00:00
renovate[bot]
550f256922
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.7 (#4150)
[![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.21.3` ->
`4.21.7`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.3/4.21.7)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.7/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.7/compatibility-slim/4.21.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.7/confidence-slim/4.21.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror
(@&#8203;uiw/codemirror-theme-duotone)</summary>

###
[`v4.21.7`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.7)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.6...v4.21.7)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.7/file/README.md)

Documentation v4.21.7:
https://raw.githack.com/uiwjs/react-codemirror/89f5d3c/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.6...v4.21.7

```shell
npm i @&#8203;uiw/react-codemirror@4.21.7
```

- 🎨 style(hyper-link): add mark hyper link underline style.
([#&#8203;525](https://togithub.com/uiwjs/react-codemirror/issues/525))
[`f59224c`](https://togithub.com/uiwjs/react-codemirror/commit/f59224c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.6`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.6)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.5...v4.21.6)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.6/file/README.md)

Documentation v4.21.6:
https://raw.githack.com/uiwjs/react-codemirror/a1c9fc0/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.5...v4.21.6

```shell
npm i @&#8203;uiw/react-codemirror@4.21.6
```

- 📖 doc: Update README.md
[`4d9890c`](https://togithub.com/uiwjs/react-codemirror/commit/4d9890c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(hyper-link): the callback function adds more params `(value,
input, from, to) => {}`.
[`ab58f5f`](https://togithub.com/uiwjs/react-codemirror/commit/ab58f5f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.5`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.5)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.4...v4.21.5)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.5/file/README.md)

Documentation v4.21.5:
https://raw.githack.com/uiwjs/react-codemirror/a2ba8e9/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.4...v4.21.5

```shell
npm i @&#8203;uiw/react-codemirror@4.21.5
```

- 📖 doc(zebra-stripes): fix doc package name error of
extensions/zebra-stripes
([#&#8203;526](https://togithub.com/uiwjs/react-codemirror/issues/526))
[`194e2ee`](https://togithub.com/uiwjs/react-codemirror/commit/194e2ee)
[@&#8203;gsw945](https://togithub.com/gsw945)
- 🌟 feat(hyper-link): add `anchor` options.
([#&#8203;525](https://togithub.com/uiwjs/react-codemirror/issues/525))
[`097ad2e`](https://togithub.com/uiwjs/react-codemirror/commit/097ad2e)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.4`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.4)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.3...v4.21.4)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.4/file/README.md)

Documentation v4.21.4:
https://raw.githack.com/uiwjs/react-codemirror/faa6117/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.3...v4.21.4

```shell
npm i @&#8203;uiw/react-codemirror@4.21.4
```

- 🌟 feat(hyper-link): add regexp/match/handle options.
([#&#8203;525](https://togithub.com/uiwjs/react-codemirror/issues/525))
[`4b356ab`](https://togithub.com/uiwjs/react-codemirror/commit/4b356ab)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM1LjE0NC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-05 13:14:24 +00:00
Simon Hornby
b0e4c8a57e
chore: remove group root role toggle (#4026) 2023-07-05 14:33:33 +02:00
Nuno Góis
8707c2f7d9
fix: ensure userId context exists when running demo (#4144)
https://linear.app/unleash/issue/2-1168/demo-ensure-userid-context-field-in-setup-steps

This ensures that the `userId` context field exists when we reach
specific demo topics that require it in order to be successfully
completed. This uses the `setup` property on those topics, where we'll
check for the existence of this context field and create it if it's not
found.
2023-07-05 10:49:18 +01:00
Nuno Góis
8ff10aac29
fix: hide users list extra searchable columns (#4142)
https://linear.app/unleash/issue/2-1187/fix-two-extra-columns-in-users-list

This fixes a regression introduced in
https://github.com/Unleash/unleash/pull/4131 where two extra columns
were added for search only but were not properly hidden.

Thanks @nicolaesocaciu for the heads up!

Before:

![image](https://github.com/Unleash/unleash/assets/14320932/09db9078-7804-448a-b889-bd0c58cb2013)

After:

![image](https://github.com/Unleash/unleash/assets/14320932/f099cf42-811c-4a9b-b34a-482fd2bae478)
2023-07-05 08:39:59 +01:00
Ivar Conradi Østhus
71be28c1df
semver: pin at ^7.5.3 2023-07-04 16:55:40 +02:00
Jaanus Sellin
523122d184
feat: hovering over feature shows full feature name (#4138) 2023-07-04 15:57:07 +03:00
Mateusz Kwasniewski
1bee81b475
feat: advanced playground UI tweaks (#4136) 2023-07-04 11:37:50 +02:00
Nuno Góis
95a02158e8
fix: improve users search (#4131)
https://linear.app/unleash/issue/2-1183/improve-users-list-search

This adapts the users list to use the new `useSearch` hook so you can
have a better search that also includes "username" and "email" as
fields. It's also more extensible in case we'd like to add filters in
the future.
2023-07-04 09:30:40 +02:00
Nuno Góis
6a3965f57a
feat: improve demo welcome screen options (#4132)
https://linear.app/unleash/issue/2-1166/demo-welcome-screen-improvement

Improves UI/UX of the demo welcome screen dialog by adding the "Explore
on my own" button and renaming the "Try Unleash demo" button to "Go for
a guided tour".

This also adds UTM links to both the demo website URL and QR code.


![image](https://github.com/Unleash/unleash/assets/14320932/982063e8-b818-44a2-a867-046c6ce96a42)
2023-07-04 08:10:34 +01:00
Tymoteusz Czech
ce900830cb
Fix: change request info (#3971)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
- fixed spacing in sidebar
- consolidated info into one banner

closes
[#1-969/change-requests-ui-inconsistency](https://linear.app/unleash/issue/1-969/change-requests-ui-inconsistency)
2023-07-04 09:09:05 +02:00
David Leek
aa7627bc0b
feat/admin menu reorganize (#4129)
## 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. -->

Reorganizes the items in the menu to align with the tabs on the admin
page.
Also makes admin menu available to all users, they can get there anyways
when using API access link, and all admin-only pages are disabled for
non-admins.
Also adds API access to the mobile drawer menu, in accordance with how
the configure menu is laid out.
2023-07-03 12:36:49 +01:00
dependabot[bot]
6145d9d71e
chore(deps-dev): bump semver from 7.5.2 to 7.5.3 in /frontend (#4088) 2023-07-03 11:11:52 +02:00
Nuno Góis
5dcb0f1913
fix: demo flow with split strategy button by making step optional (#4125)
This fixes the demo flow by making the strategy popup step optional. 

This way the demo works whether the flag is enabled or not. Once we make
the split strategy button GA, we can remove this step entirely.

Feel free to re-enable the flag once this is deployed to demo.
2023-06-30 11:15:25 +01:00
David Leek
78ba72d861
feat: remove experimental flag for telemetry (#4123)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

This removes the experimental feature flag that defaulted to turn off
telemetry collection
2023-06-30 11:27:54 +02:00
David Leek
3a14b97fdd
feat/telemetry opt out (#4035)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

Adds a UI that shows current status of version and feature usage
collection configuration, and a presence in the configuration menu +
menu bar.

Configuring these features is done by setting environment variables. The
version info collection is an existing feature that we're making more
visible, the feature usage collection feature is a new feature that has
it's own environment configuration but also depends on version info
collection being active to work.

When version collection is turned off and the experimental feature flag
for feature usage collection is turned off:
<img width="1269" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/435a07da-d238-4b5b-a150-07e3bd6b816f">


When version collection is turned on and the experimental feature flag
is off:
<img width="1249" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/8d1a76c5-99c9-4551-9a4f-86d477bbbf6f">


When the experimental feature flag is enabled, and version+telemetry is
turned off:
<img width="1239" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/e0bc532b-be94-4076-bee1-faef9bc48a5b">


When version collection is turned on, the experimental feature flag is
enabled, and telemetry collection is turned off:
<img width="1234" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/1bd190c1-08fe-4402-bde3-56f863a33289">


When version collection is turned on, the experimental feature flag is
enabled, and telemetry collection is turned on:
<img width="1229" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/848912cd-30bd-43cf-9b81-c58a4cbad1e4">


When version collection is turned off, the experimental feature flag is
enabled, and telemetry collection is turned on:
<img width="1241" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/d2b981f2-033f-4fae-a115-f93e0653729b">

---------

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-30 08:43:58 +02:00
Nuno Góis
73b4ae18c1
feat: responsive strategy icons (#4121)
https://linear.app/unleash/issue/2-1167/multiple-strategies-breaking-the-environment-card

https://linear.app/unleash/issue/2-1179/buttons-have-an-extra-space-if-the-icon-its-not-visible

This fixes the broken UI when we have too many strategies.

Before:
<img width="1500" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/ddf2f636-965c-4527-b879-dba5c16d9630">

After:
<img width="1303" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/852c20c9-c5f4-4aa5-b8c0-e5bc5286c572">

We also added the new strategy type to the tooltips:
<img width="519" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/117ee00f-f2a7-4ecb-8596-44486a2870a2">

<img width="422" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/4281a48c-4b6e-4100-86e2-29dfe9ce4cec">

This also fixes an extra margin we caught on our `PermissionButton` when
it had no endIcon set.

Co-authored by: @daveleek

---------

Co-authored-by: David Leek <david@getunleash.io>
2023-06-29 18:01:27 +01:00
Jaanus Sellin
b6f405d1af
fix: default strategy groupId failure (#4120) 2023-06-29 16:40:14 +03:00
Tymoteusz Czech
a073792d8c
fix: project 404 (#4114)
## About the changes
If project doesn't exist, show 404 information.

![image](https://github.com/Unleash/unleash/assets/2625371/6d7e1dfa-52f0-495b-a559-9733ec0b9340)

<!-- Does it close an issue? Multiple? -->
Closes
[issue/1-1069](https://linear.app/unleash/issue/1-1069/project-doesnt-show-404-if-it-doesnt-exist)
2023-06-29 12:48:32 +02:00
Thomas Heartman
be4c0f2578
chore: remove unused imports from yarn lint (#4082) 2023-06-29 09:08:00 +00:00
Nuno Góis
0b3ed79ecc
refactor: roles - make better plan assumptions (#4113)
https://linear.app/unleash/issue/2-1171/refactor-custom-root-roles-with-correct-plan-assumptions

This cleans up the hotfix `RoleSelect2` component and makes `RoleSelect`
take in a `roles` prop from the parent component.

This also simplifies the role hooks again to assume Enterprise plan by
default. This means, however, that we must ensure that we only call
these hooks in Enterprise features or, if we do call them in other
plans, that we provide a graceful fallback for non-Enterprise.
Non-Enterprise instances do not have this endpoint, and so they are
currently grabbing role information from e.g. `useUsers` and
`useServiceAccounts`.

I'm not sure how I feel about this. Roles are an overarching concept of
Unleash. To me, having to be extremely conscious about the exact
scenario in which you're using such a hook feels like a trap, instead of
"I need roles, so I'll grab the `useRoles` hook and not think much about
it". I also don't like the way `roles` are currently tied to the users,
service accounts, project access, (...) instead of being its own thing.

This could be solved by a `RoleController` exposing the GET endpoints in
OSS, since all of the logic we need for this use-case lives there
anyways. This would then be overridden with the Enterprise-specific
controller when wrapped. This way we could assume the endpoint is always
there, no matter the plan.
This is just an idea and not something I explored in the PR. For now I'm
just focusing on leaving this feature in a sane state.

Tested this manually on `Pro` and `Enterprise` and I believe everything
is acting the way we intend, but would love some extra eyes.
2023-06-28 16:00:14 +01:00