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

1508 Commits

Author SHA1 Message Date
Mateusz Kwasniewski
50f9746963
older safari does not support gap (#2470) 2022-11-18 10:28:29 +01:00
andreas-unleash
cd9627ef0b
Virtualize users table (#2429)
<!-- 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! ❤️ -->
Virtualise the Users' table
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

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

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

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


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

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-11-18 11:27:48 +02:00
Mateusz Kwasniewski
c9c5cf5364
conditional message for change request strategy form (#2465) 2022-11-17 15:40:45 +01:00
Tymoteusz Czech
42eadef8da
Custom roles redesign (#2439)
## About the changes
Visual update to project permissions


![image](https://user-images.githubusercontent.com/2625371/201968786-81d6e068-43e0-43ba-b3d9-d8e550345409.png)

Closes [linear
1-366](https://linear.app/unleash/issue/1-366/frontend-custom-roles-redesign)

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2251
2022-11-17 15:33:23 +01:00
Nuno Góis
e9fa156aec
fix: tags highlight case sensitivity (#2462)
Search is already case insensitive, so it makes sense that the highlight
style is as well.
2022-11-17 13:08:47 +00:00
sjaanus
9176ffae1e
Change requests - add multiple reviewers (#2448)
This PR adds implements the frontend and migrations part of multiple
reviewers.

2 UI parts:

1. Configuration to add the count of required approvals
2. Handle multiple approvers in review page.
2022-11-17 11:08:29 +02:00
Mateusz Kwasniewski
f2dde9d63a
stop making enterprise calls in oss (#2449) 2022-11-17 09:40:47 +01:00
Nuno Góis
538bbe7105
fix: make the tags column have a fixed width (#2451)
By setting a fixed width in the tags column we can save some extra
space.
2022-11-16 16:05:17 +00:00
Mateusz Kwasniewski
e25a108ea8
add comment with current user avatar (#2452) 2022-11-16 17:03:05 +01:00
Fredrik Strand Oseberg
978674e33a
feat: update strategy segments with edit / create strategy (#2420)
* Refactors how we add / edit segments to make it more ergonomic to work with in regards to change requests
2022-11-16 15:35:39 +01:00
Mateusz Kwasniewski
51ad239553
first draft of the comments ui (#2440) 2022-11-16 11:45:27 +01:00
andreas-unleash
48c340585b
Copy strategy bug fix (#2444)
<!-- 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! ❤️ -->
This PR fixes a bug where when you copy a strategy, instead of the
strategy being copied to the target environment, it was copied to the
source environment

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

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
2022-11-16 09:43:23 +02:00
Nuno Góis
e32b6ad576
fix: update text in environments (#2433)
Updates the text in some places related with the new environments
updates. Hopefully this makes things even clearer 🙂
2022-11-15 11:08:41 +00:00
Nuno Góis
1ddc46011c
Feature toggles: Filtering by tags (#2396)
https://linear.app/unleash/issue/UNL-140/experiment-with-filtering-feature-toggles-by-tags-on-the-ui

Going with a naïve approach for now, tags can be searchable the same way
we search for text. The tags column only shows up if at least one toggle
has tags set. There's a simple highlightable component that lets us know
a match was found and then shows all the tags on a tooltip:
<img width="1289" alt="image"
src="https://user-images.githubusercontent.com/14320932/201155093-b8605ff2-5bf7-45c5-b240-a33da254c278.png">
2022-11-15 10:24:36 +00:00
Tymoteusz Czech
a191313956
refactor: remove public signup link feature flag (#2423)
## About the changes
Cleanup: remove feature flag.

Closes
[1-356/remove-feature-flag-from-the-code](https://linear.app/unleash/issue/1-356/remove-feature-flag-from-the-code)
2022-11-15 10:03:20 +01:00
Tymoteusz Czech
8b057a1466
Show conflicts in change requests (#2389)
## About the changes
Show warnings about incompatible changes in changesets.

Closes
[1-352/display-conflicts](https://linear.app/unleash/issue/1-352/display-conflicts)

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2251
2022-11-15 09:53:38 +01:00
Fredrik Strand Oseberg
89f2d81253
fix: copy strategy change request (#2430)
* Fixes a bug where turning off change requests would not turn off change request for copy strategy
2022-11-15 09:49:44 +01:00
Tymoteusz Czech
49fc31883c
change request help popover (#2388)
## About the changes
<img width="667" alt="image"
src="https://user-images.githubusercontent.com/2625371/201094916-52d9de4e-36a5-4c1e-894d-b9cb2296f612.png">
2022-11-15 09:42:29 +01:00
Fredrik Strand Oseberg
900c50b8c8
fix: remove uneccesary code (#2417)
* Removes dead code from the ProjectOverview.tsx component
2022-11-14 12:54:41 +01:00
Fredrik Strand Oseberg
4689705f45
feat: update hook to use change request settings (#2406)
* Refactors the hook to use the change request settings from the API
2022-11-14 12:34:38 +01:00
Nuno Góis
bd686eb246
fix: improve drag behaviour when using handle (#2407)
Fixes a small bug that caused the item to be draggable when clicking
outside of the handle, when using a handle. Basically resets the
draggable state when (re)entering the container.
2022-11-14 08:25:20 +00:00
Fredrik Strand Oseberg
89e5043f32
fix: add discard actions (#2405)
* Updates the sidebar with discarded actions
2022-11-11 13:24:06 +01:00
andreas-unleash
c57baeb35e
integrate change request settings be (#2403)
<!-- 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! ❤️ -->
Integrates frontend with the change request settings backedn
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
2022-11-11 14:03:30 +02:00
Fredrik Strand Oseberg
70e020ffeb
fix: project access table (#2404)
* Tweaks the project access table so it fits with the new design
2022-11-11 12:09:04 +01:00
Nuno Góis
2fa154a3e4
Update environments (#2339)
https://linear.app/unleash/issue/2-357/update-environments-pages
2022-11-11 10:24:56 +00:00
Fredrik Strand Oseberg
b9db7952fb
feat: add permission buttons for change requests (#2392)
* Adds permission buttons for change requests
2022-11-11 11:04:59 +01:00
renovate[bot]
3f78bc93d8
chore(deps): update material-ui monorepo (#2269)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/icons-material](https://mui.com/material-ui/material-icons/)
([source](https://togithub.com/mui/material-ui)) | [`5.10.3` ->
`5.10.9`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.10.3/5.10.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/compatibility-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/confidence-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://togithub.com/mui/material-ui)) | [`5.0.0-alpha.97` ->
`5.0.0-alpha.107`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.97/5.0.0-alpha.107)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/compatibility-slim/5.0.0-alpha.97)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/confidence-slim/5.0.0-alpha.97)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.10.3` ->
`5.10.13`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.10.3/5.10.13)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/compatibility-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/confidence-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mui/material-ui (@&#8203;mui/icons-material)</summary>

###
[`v5.10.9`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#&#8203;5109)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.10.6...v5.10.9)

<!-- generated comparing v5.10.8..master -->

*Oct 10, 2022*

A big thanks to the 7 contributors who made this release possible. Here
are some highlights :

- 🚀 \[Joy] Button loading functionality has been added by
[@&#8203;kushagra010](https://togithub.com/kushagra010)
([#&#8203;34658](https://togithub.com/mui/material-ui/issues/34658))
-   And more 🐛 bug fixes and 📚 documentation improvements.

##### `@mui/material@5.10.9`

- ​<!-- 16 -->\[Grid v2]\[system] Handle direction object prop for
responsive design
([#&#8203;34574](https://togithub.com/mui/material-ui/issues/34574))
[@&#8203;vanyaxk](https://togithub.com/vanyaxk)
- ​<!-- 03 -->\[Slider] Fix unnecessary accessibility attribute in root
element
([#&#8203;34610](https://togithub.com/mui/material-ui/issues/34610))
[@&#8203;vanyaxk](https://togithub.com/vanyaxk)

##### `@mui/system@5.10.9`

##### BREAKING CHANGE

- ​<!-- 17 -->\[system] Fix color-scheme implementation
([#&#8203;34639](https://togithub.com/mui/material-ui/issues/34639))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

The `enableColorScheme` prop has been removed from `CssVarsProvider` and
`getInitColorScheme` (both Material UI and Joy UI).

    Migration:

- **Material UI**: you can enable the CSS color scheme via `<CssBaseline
enableColorScheme />`.
- **Joy UI**: it is enabled automatically if you use `<CssBaseline />`,
[see the docs](https://mui.com/joy-ui/react-css-baseline/).

##### Changes

- ​<!-- 02 -->\[system] Fix typo in createCssVarsProvider
([#&#8203;34661](https://togithub.com/mui/material-ui/issues/34661))
[@&#8203;HexM7](https://togithub.com/HexM7)

##### `@mui/base@5.0.0-alpha.101`

- ​<!-- 01 -->\[TrapFocus] Restore the previously exported type from
[@&#8203;mui/material](https://togithub.com/mui/material)
([#&#8203;34601](https://togithub.com/mui/material-ui/issues/34601))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

##### `@mui/joy@5.0.0-alpha.49`

- ​<!-- 04 -->\[Joy] Add button loading functionality
([#&#8203;34658](https://togithub.com/mui/material-ui/issues/34658))
[@&#8203;kushagra010](https://togithub.com/kushagra010)

##### Docs

- ​<!-- 18 -->\[docs] Revert
[#&#8203;34541](https://togithub.com/mui/material-ui/issues/34541)
([#&#8203;34700](https://togithub.com/mui/material-ui/issues/34700))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 15 -->\[blog] Blog post for MUI X v6 alpha zero
([#&#8203;34424](https://togithub.com/mui/material-ui/issues/34424))
[@&#8203;joserodolfofreitas](https://togithub.com/joserodolfofreitas)
- ​<!-- 09 -->\[docs] Improve Joy UI tutorial demo
([#&#8203;34653](https://togithub.com/mui/material-ui/issues/34653))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 08 -->\[docs] Explain how SelectUnstyled renders a hidden input
([#&#8203;34638](https://togithub.com/mui/material-ui/issues/34638))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 07 -->\[docs] Fix Taiwan description
([#&#8203;34611](https://togithub.com/mui/material-ui/issues/34611))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 06 -->\[docs] Fix codesandbox export with dayjs
([#&#8203;34619](https://togithub.com/mui/material-ui/issues/34619))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 05 -->\[docs] Explain the purpose of renderGroup prop
([#&#8203;34066](https://togithub.com/mui/material-ui/issues/34066))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

##### Core

- ​<!-- 14 -->\[core] Make useForkRef variadic
([#&#8203;27939](https://togithub.com/mui/material-ui/issues/27939))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 13 -->\[core] Speedup of yarn install in the CI
([#&#8203;34632](https://togithub.com/mui/material-ui/issues/34632))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 12 -->\[core] Fix markdown loader on Windows
([#&#8203;34623](https://togithub.com/mui/material-ui/issues/34623))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 11 -->\[core] Update changelog for version v5.10.8
([#&#8203;34593](https://togithub.com/mui/material-ui/issues/34593))
[@&#8203;mnajdova](https://togithub.com/mnajdova)
- ​<!-- 10 -->\[core] Update root package.json version
([#&#8203;34592](https://togithub.com/mui/material-ui/issues/34592))
[@&#8203;mnajdova](https://togithub.com/mnajdova)

All contributors of this release in alphabetical order:
[@&#8203;HexM7](https://togithub.com/HexM7),
[@&#8203;joserodolfofreitas](https://togithub.com/joserodolfofreitas),
[@&#8203;kushagra010](https://togithub.com/kushagra010),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;mnajdova](https://togithub.com/mnajdova),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;vanyaxk](https://togithub.com/vanyaxk)

###
[`v5.10.6`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#&#8203;5106)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.10.3...v5.10.6)

<!-- generated comparing v5.10.5..master -->

*Sep 19, 2022*

A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material@5.10.6`

- \[TextField] Fix conflict with `Bootstrap` even when label is not
defined
([#&#8203;34343](https://togithub.com/mui/material-ui/issues/34343))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

##### `@mui/joy@5.0.0-alpha.46`

##### Breaking changes

- \[button]\[joy] Replace `start/endIcon` prop with `start/endDecorator`
([#&#8203;34288](https://togithub.com/mui/material-ui/issues/34288))
[@&#8203;hbjORbj](https://togithub.com/hbjORbj)

**BREAKING CHANGE**: replace `start/endIcon` with `start/endDecorator`.

    ```jsx
    // before
    <Button startIcon={...} endIcon={...} />

    // after
    <Button startDecorator={...} endDecorator={...} />
    ```

##### Changes

- \[Joy] Adjust the `Input` and `Textarea` styles
([#&#8203;34281](https://togithub.com/mui/material-ui/issues/34281))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[menu]\[joy] Set disablePortal default to false
([#&#8203;34283](https://togithub.com/mui/material-ui/issues/34283))
[@&#8203;tomasz-sodzawiczny](https://togithub.com/tomasz-sodzawiczny)

##### `@mui/base@5.0.0-alpha.98`

##### Breaking changes

- \[Select]\[base] Add event parameter to the onChange callback
([#&#8203;34158](https://togithub.com/mui/material-ui/issues/34158))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

The SelectUnstyled and MultiSelectUnstyled `onChange` callbacks did not
have event as the first parameter, leading to inconsistency with other
components and native HTML elements.
This PR adds the event parameter as the first one and moves the newly
selected value to the second position. Because of this, it's a breaking
change.
    This also affects Select from Joy UI.

    ```jsx
    // before
    <SelectUnstyled onChange={(newValue) => { /* ... */ }} />

    // after
    <SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
    ```

##### Docs

- \[blog] The Date Pickers gets a stable v5 release
([#&#8203;34152](https://togithub.com/mui/material-ui/issues/34152))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[blog] Improve image handling
([#&#8203;34222](https://togithub.com/mui/material-ui/issues/34222))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[blog] Correct 2021 survey data interpretation
([#&#8203;34291](https://togithub.com/mui/material-ui/issues/34291))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- \[docs] Remove expired AospExtended showcase
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Link the OpenSSF Best Practices card
([#&#8203;34331](https://togithub.com/mui/material-ui/issues/34331))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix 301 link to external projects
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Move 12 component names to Title Case
([#&#8203;34188](https://togithub.com/mui/material-ui/issues/34188))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix broken links
([#&#8203;34320](https://togithub.com/mui/material-ui/issues/34320))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Add notification for MUI Base announcement post
([#&#8203;34295](https://togithub.com/mui/material-ui/issues/34295))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- \[website] Fix MUI X subscribe email border style
([#&#8203;34330](https://togithub.com/mui/material-ui/issues/34330))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Improve security header
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### Core

- \[core] Lock file maintenance
([#&#8203;34161](https://togithub.com/mui/material-ui/issues/34161))
[@&#8203;renovate](https://togithub.com/renovate)\[bot]
- \[core] Issue template: move reproduction steps to the top
([#&#8203;34279](https://togithub.com/mui/material-ui/issues/34279))
[@&#8203;Janpot](https://togithub.com/Janpot)
- \[core] Create shared Next.js baseline config
([#&#8203;34259](https://togithub.com/mui/material-ui/issues/34259))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] In `typescript-to-proptypes`, respect the value pass to the
generic
([#&#8203;34311](https://togithub.com/mui/material-ui/issues/34311))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

All contributors of this release in alphabetical order:
[@&#8203;alexfauquette](https://togithub.com/alexfauquette),
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle),
[@&#8203;hbjORbj](https://togithub.com/hbjORbj),
[@&#8203;Janpot](https://togithub.com/Janpot),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;renovate](https://togithub.com/renovate)\[bot],
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp),
[@&#8203;tomasz-sodzawiczny](https://togithub.com/tomasz-sodzawiczny),
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

</details>

<details>
<summary>mui/material-ui (@&#8203;mui/lab)</summary>

###
[`v5.0.0-alpha.107`](30cb27cff1...2f4c2190d1)

[Compare
Source](30cb27cff1...2f4c2190d1)

###
[`v5.0.0-alpha.106`](c80ff03398...30cb27cff1)

[Compare
Source](c80ff03398...30cb27cff1)

###
[`v5.0.0-alpha.105`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha105)

[Compare
Source](639224a3e3...c80ff03398)

- ​<!-- 26 -->\[base] Avoid calling setState during renders
([#&#8203;34916](https://togithub.com/mui/material-ui/issues/34916))
[@&#8203;Janpot](https://togithub.com/Janpot)

###
[`v5.0.0-alpha.104`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha104)

[Compare
Source](7bd7c219e2...639224a3e3)

- ​<!-- 38 -->\[ButtonUnstyled] Update to render as link when href or to
is provided
([#&#8203;34337](https://togithub.com/mui/material-ui/issues/34337))
[@&#8203;EduardoSCosta](https://togithub.com/EduardoSCosta)

###
[`v5.0.0-alpha.103`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha103)

[Compare
Source](d4a3216cdd...7bd7c219e2)

##### BREAKING CHANGE

- \[base] `components` -> `slots` API rename
([#&#8203;34693](https://togithub.com/mui/material-ui/issues/34693))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

- Change all occurrences of components and componentsProps props in Base
components to slots and slotProps, respectively.
    -   Change casing of slots' fields to camelCase

    ```diff
-<SwitchUnstyled components={{Root: CustomRoot}} componentsProps={{rail:
{ className: 'custom-rail' }}} />
+<SwitchUnstyled slots={{root: CustomRoot}} slotProps={{rail: {
className: 'custom-rail' }}} />
    ```

- \[base] Make CSS class prefixes consistent
([#&#8203;33411](https://togithub.com/mui/material-ui/issues/33411))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

**This is a breaking change for anyone who depends on the class names
applied to Base components.**
If you use the `<component>UnstyledClasses` objects, you won't notice a
difference. Only if you depend on the resulting class names (e.g. in CSS
stylesheets), you'll have to adjust your code.

    ```diff
    -.ButtonUnstyled-root { ... };
    +.MuiButton-root { ... };
    ```

##### Changes

- \[test] Test all Base components with describeConformanceUnstyled
([#&#8203;34825](https://togithub.com/mui/material-ui/issues/34825))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

###
[`v5.0.0-alpha.102`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha102)

[Compare
Source](d9ef6e788e...d4a3216cdd)

- \[MultiSelect]\[base] Prevent the renderValue prop from being
propagated to the DOM
([#&#8203;34698](https://togithub.com/mui/material-ui/issues/34698))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[NoSsr] Convert code to TypeScript
([#&#8203;34735](https://togithub.com/mui/material-ui/issues/34735))
[@&#8203;mbayucot](https://togithub.com/mbayucot)

###
[`v5.0.0-alpha.101`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha101)

[Compare
Source](0f75f3d78b...d9ef6e788e)

- ​<!-- 01 -->\[TrapFocus] Restore the previously exported type from
[@&#8203;mui/material](https://togithub.com/mui/material)
([#&#8203;34601](https://togithub.com/mui/material-ui/issues/34601))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

###
[`v5.0.0-alpha.100`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha100)

[Compare
Source](594d87dab0...0f75f3d78b)

- ​<!-- 04 -->\[SnackbarUnstyled] Create component and `useSnackbar`
hook
([#&#8203;33227](https://togithub.com/mui/material-ui/issues/33227))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

###
[`v5.0.0-alpha.99`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha99)

[Compare
Source](95ba70ad1f...594d87dab0)

##### Breaking changes

- \[TrapFocus] Rename TrapFocus to FocusTrap
([#&#8203;34216](https://togithub.com/mui/material-ui/issues/34216))
[@&#8203;kabernardes](https://togithub.com/kabernardes)

    ```diff
    -import TrapFocus from '@&#8203;mui/base/TrapFocus';
    +import FocusTrap from '@&#8203;mui/base/FocusTrap';
    ```

##### Changes

- \[MultiSelect] Require a single tap to select an item on mobile Chrome
([#&#8203;33932](https://togithub.com/mui/material-ui/issues/33932))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

###
[`v5.0.0-alpha.98`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha98)

[Compare
Source](992421d011...95ba70ad1f)

##### Breaking changes

- \[Select]\[base] Add event parameter to the onChange callback
([#&#8203;34158](https://togithub.com/mui/material-ui/issues/34158))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

The SelectUnstyled and MultiSelectUnstyled `onChange` callbacks did not
have event as the first parameter, leading to inconsistency with other
components and native HTML elements.
This PR adds the event parameter as the first one and moves the newly
selected value to the second position. Because of this, it's a breaking
change.
    This also affects Select from Joy UI.

    ```jsx
    // before
    <SelectUnstyled onChange={(newValue) => { /* ... */ }} />

    // after
    <SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
    ```

</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.

👻 **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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xLjUiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xOS4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 21:40:38 +00:00
Fredrik Strand Oseberg
ac78c8f732
Feat/change request permissions (#2382)
* Adds two new permissions for the new enterprise level change request: APPROVE_CHANGE_REQUEST and APPLY_CHANGE_REQUEST
2022-11-10 11:08:58 +01:00
Tymoteusz Czech
45ee135037
feat: project change request page frontend (#2361)
- Refactor project menu - merge "Access" and "Environments" with newly
added "Change request configuration" into "Project settings" tab.
- Add Change request config page with table
- Add Change request dialog

Closes https://linear.app/unleash/issue/1-344/frontend-project-options

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2251
2022-11-10 09:46:23 +00:00
Ivar Conradi Østhus
670b97dede
fix: set suggested min value to 0 (#2363)
This PR does one thing, it sets the y-axis to start at "0" when showing
request counts over time.


![image](https://user-images.githubusercontent.com/158948/200946347-b3e803c6-6ace-4ecc-b5cf-aa92a5505331.png)

fixes #2107
2022-11-09 21:43:13 +00:00
Mateusz Kwasniewski
b9f55a3fbc
fix sidebar width (#2359) 2022-11-09 16:50:48 +01:00
Thomas Heartman
b61dbbd718
fix: remove lexical illusion in playground guidance (#2360)
## What

I have removed a lexical illusion lexical illusion in this guidance
step, where "context field" was repeated.

## Why

Because it's unintended and doesn't make any sense in the the sentence.
2022-11-09 13:56:34 +00:00
sjaanus
ff11f30e1d
Change request approvers displaying in UI (#2358)
This PR adds UI for approvers to the change requests feature.
2022-11-09 13:35:09 +02:00
sjaanus
5e14e80ae3
Change request approvals table (#2347)
1. Added database table for change request approvals
2. Removed separate endpoint for applying. **Now all state changes will
go through same endpoint.**
2022-11-09 10:40:47 +02:00
Tymoteusz Czech
d998f4c67a
feat: suggest strategy from template (#2340) 2022-11-09 08:29:33 +00:00
Mateusz Kwasniewski
aa9aa6fb4a
styling change request sidebar (#2350) 2022-11-08 16:16:30 +01:00
Mateusz Kwasniewski
88a9e0cb9b
feat: stateful banner (#2346)
Conditional banner for change request status
2022-11-08 12:56:28 +01:00
Mateusz Kwasniewski
c6f906159b
feat: env check in change requests (#2336) 2022-11-07 09:16:29 +01:00
Nuno Góis
9577a81528
fix: clone environment creating token everytime (#2335) 2022-11-04 12:12:07 +00:00
Mateusz Kwasniewski
065833e5d1
feat: display change details (#2327)
* feat: display change details

* refactor: reorganize components

* feat: display deleted strategy name if present

* feat: UI tweaks

* fix: types

* refactor: remove unnecessary checks for types
2022-11-04 12:52:47 +01:00
Tymoteusz Czech
4b281d9513
Change request - edit strategy (#2334)
* feat: request change - add strategy

* refactor: use change request is-enabled hook

* feat: edit strategy

* fix: prettier formatting

* fix: refetch change request draft after adding
2022-11-04 11:55:45 +01:00
Tymoteusz Czech
d2000f2848
feat: request change - add strategy (#2330)
* feat: request change - add strategy

* refactor: use change request is-enabled hook
2022-11-04 11:25:06 +01:00
andreas-unleash
c1e0bd83b0
Frontend - Suggest change copy strategy (#2312)
* Suggest change copy strategy

* Fix merge conflicts

* Copy strategies from other environment added to draft

* Copy strategies from other environment added to draft

* Copy strategies from other environment added to draft

* Copy strategies from other environment added to draft

* fmt

* PR comments

* PR comments

* PR comments

* PR comments

* Fix: Conditionally hide Change Requests tab
2022-11-04 11:33:07 +02:00
Mateusz Kwasniewski
fae7de0d5d
refactor: hook for change requests (#2331)
* refactor: hook for change requests

* Update frontend/src/component/project/Project/ProjectFeatureToggles/ProjectFeatureToggles.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* Update frontend/src/component/project/Project/Project.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* Update frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvSwitches/FeatureOverviewEnvSwitch/FeatureOverviewEnvSwitch.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* Update frontend/src/component/feature/FeatureStrategy/FeatureStrategyRemove/FeatureStrategyRemove.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* fix: fix imports

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-11-04 09:50:00 +01:00
andreas-unleash
46076fcbc8
Fix: Conditionally hide Change Requests tab (#2329) 2022-11-04 10:17:37 +02:00
sjaanus
f0a929044d
Change request API draft to open (#2320)
Draft to open
2022-11-04 09:44:56 +02:00
Fredrik Strand Oseberg
d8db33ac7f
Feat/change request overview applied state (#2322)
* feat: review button

* feat: add review button

* fix: add to box

* fix: separate function calls

* fix: comment out reviewers

* fix: type
2022-11-03 12:43:03 +01:00
Mateusz Kwasniewski
147408045b
feat: suggest remove strategy UI (#2321)
* feat: suggest remove strategy UI

* add delete strategy to draft

* refactor: extract hooks

* refactor: consistent fn usage
2022-11-03 12:26:35 +01:00
Ivar Conradi Østhus
4937b23e16
fix: remove duplicate formatApiPath in userUiConfigApi hook (#2318) 2022-11-03 08:47:16 +01:00
Tymoteusz Czech
0a855604af
feat: review your draft sidebar (#2305)
* refactor playground status chip component

* fix: update change request sidebar

* refactor: status badge cleanup

* fix: prettier formatting
2022-11-02 16:05:27 +01:00