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

1445 Commits

Author SHA1 Message Date
andreas-unleash
492950e0a8
Use project id for last viewed project (#2523)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

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

<!-- 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2022-11-24 15:38:39 +02:00
Mateusz Kwasniewski
e809806467
log widths should be equal size (#2524) 2022-11-24 13:08:55 +01:00
Mateusz Kwasniewski
094e80e4fd
changes count (#2515) 2022-11-24 12:29:14 +01:00
Mateusz Kwasniewski
4e28aef55e
react exhaustive check fix (#2513) 2022-11-23 16:59:39 +01:00
andreas-unleash
35d9a62d89
Soft landing page on projects or last viewed project (#2499)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

This PR introduces a soft landing page to the last viewed project or to
the project list (if there is more than 1 project)

Changes: 
- Replaced clearing of `storage` with clearing `cache` in logout.ts ::
REVERTED
- Root redirects to `projects` instead of `features`

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

<!-- 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2022-11-23 15:58:02 +02:00
Mateusz Kwasniewski
9fee0bb264
cancel changes (#2510) 2022-11-23 14:36:11 +01:00
Nuno Góis
f9726fdee9
add tokens last seen feature flag (#2512)
https://linear.app/unleash/issue/2-450/add-feature-flag
2022-11-23 13:33:02 +00:00
Fredrik Strand Oseberg
e439e46090
fix: change domain vocabulary (#2503)
* Changes the naming of useOpenRequests to usePendingChangeRequests
2022-11-23 13:45:19 +01:00
Mateusz Kwasniewski
98a9a770d2
hide discard button (#2506) 2022-11-23 12:16:20 +01:00
Nuno Góis
9bf3e09d5a
fix: improve UI, simplify code (#2505)
https://linear.app/unleash/issue/2-446/ui-simplify-design-with-some-improvements
2022-11-23 09:17:03 +02:00
Nuno Góis
c67e44385c
misc fixes related to loading, font-size, alignment (#2504)
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
2022-11-22 17:04:01 +01:00
Nuno Góis
4d5c12dbf7
Feature overview sidepanel UI improvements (#2502)
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
Misc UI improvements.
2022-11-22 16:51:41 +01:00
Mateusz Kwasniewski
27cb6b742a
fix cr banner (#2501) 2022-11-22 14:59:38 +01:00
Nuno Góis
9f4b34367c
fix: secondary button should say "cancel" instead of "close" (#2496)
Small fix after talking with @NicolaeUnleash
2022-11-22 12:33:03 +00:00
Fredrik Strand Oseberg
a53d970263
feat: add badges to modified strategies (#2492)
<!-- 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 badge to strategies if the change can be found and the change
is relevant:
<img width="893" alt="Skjermbilde 2022-11-22 kl 11 18 32"
src="https://user-images.githubusercontent.com/16081982/203289081-b59ecaaf-e6cd-4802-b633-9cc118ca405d.png">

* I was considering making this more ergonomic using the slots vs props
pattern, but since this component is used in multiple places I left it
as is for now.

<!-- 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-22 12:07:50 +01:00
Simon Hornby
2a4ca96da2
Permission for variant environments (#2490)
adds permissions for variants per environment
2022-11-22 11:54:04 +02:00
Nuno Góis
137d2caaa4
feat: add details section to overview sidepanel (#2489)
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
2022-11-22 09:27:19 +00:00
Nuno Góis
ac16e7e3ba
feat: add tags to the new feature overview sidepanel (#2488)
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
2022-11-22 09:14:57 +00:00
Thomas Heartman
d5fbd0b743
refactor: move docs into new structure / fix links for SEO (#2416)
## What

This (admittedly massive) PR updates the "physical" documentation
structure and fixes url inconsistencies and SEO problems reported by
marketing. The main points are:

- remove or move directories : advanced, user_guide, deploy, api
- move the files contained within to the appropriate one of topics,
how-to, tutorials, or reference
- update internal doc links and product links to the content
- create client-side redirects for all the urls that have changed.

A number of the files have been renamed in small ways to better match
their url and to make them easier to find. Additionally, the top-level
api directory has been moved to /reference/api/legacy/unleash (see the
discussion points section for more on this).

## Why

When moving our doc structure to diataxis a while back, we left the
"physical' files lying where they were, because it didn't matter much to
the new structure. However, that did introduce some inconsistencies with
where you place docs and how we organize them.

There's also the discrepancies in whether urls us underscores or hyphens
(which isn't necessarily the same as their file name), which has been
annoying me for a while, but now has also been raised by marketing as an
issue in terms of SEO.

## Discussion points

The old, hand-written API docs have been moved from /api to
/reference/api/legacy/unleash. There _is_ a /reference/api/unleash
directory, but this is being populated by the OpenAPI plugin, and mixing
those could only cause trouble. However, I'm unsure about putting
/legacy/ in the title, because the API isn't legacy, the docs are. Maybe
we could use another path? Like /old-docs/ or something? I'd appreciate
some input on this.
2022-11-22 09:05:30 +00:00
Nuno Góis
3dca3d53f9
feat: improved feature overview sidepanel env toggles (#2487)
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
2022-11-22 08:50:31 +00:00
Mateusz Kwasniewski
b39f6a2f0d
disable approvers select when no access (#2486) 2022-11-21 13:38:21 +01:00
Nuno Góis
93bd9d869a
Variants per environment (frontend) (#2453)
![image](https://user-images.githubusercontent.com/14320932/202286759-b9c30228-59cc-4c58-a7b0-3c6c3d0ecba6.png)
## About the changes

https://linear.app/unleash/issue/2-425/variants-crud-new-environment-cards-with-tables-inside-add-edit-and

Basically created parallel components for the **variants per
environments** feature, so both flows should work correctly depending on
the feature flag state. Some of the duplication means that cleanup
should be straightforward - Once we're happy with this feature it should
be enough to delete
`frontend/src/component/feature/FeatureView/FeatureVariants/FeatureVariantsList`
and do some little extra cleanup.

I noticed we had some legacy-looking code in variants, so this involved
*some* rewriting of the current variants logic. Hopefully this new code
looks nicer, more maintainable, and more importantly **doesn't break
anything**.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2254

### Important files
Everything inside the
`frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants`
folder.
2022-11-18 11:43:24 +00:00
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
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
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