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

1491 Commits

Author SHA1 Message Date
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
Fredrik Strand Oseberg
2f1f9cecc2
feat: change request header (#2317)
* feat: change request header

* fix: dom nesting paragraphs

* fix: change path
2022-11-02 14:23:44 +01:00
Mateusz Kwasniewski
6622346286
Add stable row id. (#2315)
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-11-02 12:55:20 +01:00
Fredrik Strand Oseberg
9b10a8815b
Feat/review page timeline (#2310)
* fix: styling

* feat: overview timeline

* fix: rename types

* fix: pr comments
2022-11-02 11:14:26 +01:00
Nuno Góis
9fb431aab7
fix: limit total of PATs a user can have (#2301)
* fix: limit total of PATs a user can have

* increase PAT limit to 10

* Update src/lib/services/pat-service.ts

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* disable button on the front-end when PAT limit is reached

* import from server instead of repeating ourselves

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-11-02 08:11:35 +00:00
sjaanus
5dd8616c74
Rename suggest changes to change request (#2311)
* Rename change request

* Merge with review status

* Move events and permissions
2022-11-02 08:34:14 +02:00
Fredrik Strand Oseberg
da102a3e98
Feat/review page states (#2309)
* feat: review status draft

* feat: add review status styles
2022-11-01 10:55:03 +01:00
Tymoteusz Czech
f39d1021d0
feat: discard suggested draft change (#2285)
* feat: discard suggested draft change

* fix: suggest changes api frontend integration

* fix suggested changes discard
2022-10-31 12:46:54 +00:00
Fredrik Strand Oseberg
15c22d7630
feat: integrate with API for suggest changes (#2286)
* feat: integrate with API for suggest changes

* fix: suggestions table tabs state (#2287)

* fix: suggestions table tabs state

* fix suggestion header padding

* fix: update snapshots

* fix: pr comments

* fix: revert store change

* fix: revert store fix

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-10-31 12:46:31 +01:00
Nuno Góis
07821174a5
refactor: remove PAT experimental flag (#2299) 2022-10-31 09:38:30 +00:00
Nuno Góis
ce6d2e56bc
fix: only show link to create segment if you have permission (#2291) 2022-10-31 08:45:31 +00:00
Nuno Góis
09cb61c719
fix: small UI fixes to the clone environment modal (#2290)
fix: small UI fixes to the environment modal
2022-10-28 16:05:27 +01:00
Simon Hornby
7e03fba6cd
make prettify large number tests independent of locale (#2284) 2022-10-28 14:47:44 +02:00
andreas-unleash
d48cfc8585
Feat/frontend changeset list (#2264)
* ChangesetTable initial

* ChangesetTable bug fixes

* Added tabs

* Add Applied and Cancelled badges

* fix alignment

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* replace updatedAt with createdAt

* bug fix

* bug fix
2022-10-28 10:24:13 +02:00
Nuno Góis
d2324ee91f
Feat clone environment modal (#2245)
* add clone environment modal base skeleton (WIP)

* refactor HelpIcon common component, fix group form

* add more fields to clone env modal, multi project selector

* implement initial payload signature

* reflect latest design decisions

* misc ui fixes

* update UI to the new designs, change back clone option to use flag

* set env limit to 15

* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* address PR comments

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-10-28 09:15:46 +01:00
Tymoteusz Czech
b7183fdf98
feat: get suggested changeset draft (#2274)
* feat: get suggested changeset draft

* fix: update routes snapshot
2022-10-28 09:43:49 +02:00
Tymoteusz Czech
c6c873d67d
feat: add changes to draft (#2271)
* feat: add changes to draft

* Make domain type and schema match

* Deleting change from changeset

* Add ability to merge

* Revert "Add ability to merge"

This reverts commit 504e7e796e.

* gRevert "Deleting change from changeset"

This reverts commit 2effc20378.

* Revert "Make domain type and schema match"

This reverts commit 079f46c0db.

Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2022-10-28 09:37:55 +02:00
Tymoteusz Czech
ea2cf144f9
Suggest changes dialog (#2247)
* refactor: suggested changes folder structure

* feat: add dialogue confirmation
2022-10-26 13:57:59 +02:00