3f78bc93d8
[![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 (@​mui/icons-material)</summary> ### [`v5.10.9`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​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 [@​kushagra010](https://togithub.com/kushagra010) ([#​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 ([#​34574](https://togithub.com/mui/material-ui/issues/34574)) [@​vanyaxk](https://togithub.com/vanyaxk) - <!-- 03 -->\[Slider] Fix unnecessary accessibility attribute in root element ([#​34610](https://togithub.com/mui/material-ui/issues/34610)) [@​vanyaxk](https://togithub.com/vanyaxk) ##### `@mui/system@5.10.9` ##### BREAKING CHANGE - <!-- 17 -->\[system] Fix color-scheme implementation ([#​34639](https://togithub.com/mui/material-ui/issues/34639)) [@​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 ([#​34661](https://togithub.com/mui/material-ui/issues/34661)) [@​HexM7](https://togithub.com/HexM7) ##### `@mui/base@5.0.0-alpha.101` - <!-- 01 -->\[TrapFocus] Restore the previously exported type from [@​mui/material](https://togithub.com/mui/material) ([#​34601](https://togithub.com/mui/material-ui/issues/34601)) [@​michaldudak](https://togithub.com/michaldudak) ##### `@mui/joy@5.0.0-alpha.49` - <!-- 04 -->\[Joy] Add button loading functionality ([#​34658](https://togithub.com/mui/material-ui/issues/34658)) [@​kushagra010](https://togithub.com/kushagra010) ##### Docs - <!-- 18 -->\[docs] Revert [#​34541](https://togithub.com/mui/material-ui/issues/34541) ([#​34700](https://togithub.com/mui/material-ui/issues/34700)) [@​michaldudak](https://togithub.com/michaldudak) - <!-- 15 -->\[blog] Blog post for MUI X v6 alpha zero ([#​34424](https://togithub.com/mui/material-ui/issues/34424)) [@​joserodolfofreitas](https://togithub.com/joserodolfofreitas) - <!-- 09 -->\[docs] Improve Joy UI tutorial demo ([#​34653](https://togithub.com/mui/material-ui/issues/34653)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - <!-- 08 -->\[docs] Explain how SelectUnstyled renders a hidden input ([#​34638](https://togithub.com/mui/material-ui/issues/34638)) [@​michaldudak](https://togithub.com/michaldudak) - <!-- 07 -->\[docs] Fix Taiwan description ([#​34611](https://togithub.com/mui/material-ui/issues/34611)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - <!-- 06 -->\[docs] Fix codesandbox export with dayjs ([#​34619](https://togithub.com/mui/material-ui/issues/34619)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - <!-- 05 -->\[docs] Explain the purpose of renderGroup prop ([#​34066](https://togithub.com/mui/material-ui/issues/34066)) [@​michaldudak](https://togithub.com/michaldudak) ##### Core - <!-- 14 -->\[core] Make useForkRef variadic ([#​27939](https://togithub.com/mui/material-ui/issues/27939)) [@​michaldudak](https://togithub.com/michaldudak) - <!-- 13 -->\[core] Speedup of yarn install in the CI ([#​34632](https://togithub.com/mui/material-ui/issues/34632)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - <!-- 12 -->\[core] Fix markdown loader on Windows ([#​34623](https://togithub.com/mui/material-ui/issues/34623)) [@​michaldudak](https://togithub.com/michaldudak) - <!-- 11 -->\[core] Update changelog for version v5.10.8 ([#​34593](https://togithub.com/mui/material-ui/issues/34593)) [@​mnajdova](https://togithub.com/mnajdova) - <!-- 10 -->\[core] Update root package.json version ([#​34592](https://togithub.com/mui/material-ui/issues/34592)) [@​mnajdova](https://togithub.com/mnajdova) All contributors of this release in alphabetical order: [@​HexM7](https://togithub.com/HexM7), [@​joserodolfofreitas](https://togithub.com/joserodolfofreitas), [@​kushagra010](https://togithub.com/kushagra010), [@​michaldudak](https://togithub.com/michaldudak), [@​mnajdova](https://togithub.com/mnajdova), [@​oliviertassinari](https://togithub.com/oliviertassinari), [@​vanyaxk](https://togithub.com/vanyaxk) ### [`v5.10.6`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​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 ([#​34343](https://togithub.com/mui/material-ui/issues/34343)) [@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli) ##### `@mui/joy@5.0.0-alpha.46` ##### Breaking changes - \[button]\[joy] Replace `start/endIcon` prop with `start/endDecorator` ([#​34288](https://togithub.com/mui/material-ui/issues/34288)) [@​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 ([#​34281](https://togithub.com/mui/material-ui/issues/34281)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[menu]\[joy] Set disablePortal default to false ([#​34283](https://togithub.com/mui/material-ui/issues/34283)) [@​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 ([#​34158](https://togithub.com/mui/material-ui/issues/34158)) [@​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 ([#​34152](https://togithub.com/mui/material-ui/issues/34152)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[blog] Improve image handling ([#​34222](https://togithub.com/mui/material-ui/issues/34222)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[blog] Correct 2021 survey data interpretation ([#​34291](https://togithub.com/mui/material-ui/issues/34291)) [@​samuelsycamore](https://togithub.com/samuelsycamore) - \[docs] Remove expired AospExtended showcase [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Link the OpenSSF Best Practices card ([#​34331](https://togithub.com/mui/material-ui/issues/34331)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Fix 301 link to external projects [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Move 12 component names to Title Case ([#​34188](https://togithub.com/mui/material-ui/issues/34188)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Fix broken links ([#​34320](https://togithub.com/mui/material-ui/issues/34320)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[docs] Add notification for MUI Base announcement post ([#​34295](https://togithub.com/mui/material-ui/issues/34295)) [@​samuelsycamore](https://togithub.com/samuelsycamore) - \[website] Fix MUI X subscribe email border style ([#​34330](https://togithub.com/mui/material-ui/issues/34330)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[website] Improve security header [@​oliviertassinari](https://togithub.com/oliviertassinari) ##### Core - \[core] Lock file maintenance ([#​34161](https://togithub.com/mui/material-ui/issues/34161)) [@​renovate](https://togithub.com/renovate)\[bot] - \[core] Issue template: move reproduction steps to the top ([#​34279](https://togithub.com/mui/material-ui/issues/34279)) [@​Janpot](https://togithub.com/Janpot) - \[core] Create shared Next.js baseline config ([#​34259](https://togithub.com/mui/material-ui/issues/34259)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[core] In `typescript-to-proptypes`, respect the value pass to the generic ([#​34311](https://togithub.com/mui/material-ui/issues/34311)) [@​flaviendelangle](https://togithub.com/flaviendelangle) All contributors of this release in alphabetical order: [@​alexfauquette](https://togithub.com/alexfauquette), [@​flaviendelangle](https://togithub.com/flaviendelangle), [@​hbjORbj](https://togithub.com/hbjORbj), [@​Janpot](https://togithub.com/Janpot), [@​michaldudak](https://togithub.com/michaldudak), [@​oliviertassinari](https://togithub.com/oliviertassinari), [@​renovate](https://togithub.com/renovate)\[bot], [@​samuelsycamore](https://togithub.com/samuelsycamore), [@​siriwatknp](https://togithub.com/siriwatknp), [@​tomasz-sodzawiczny](https://togithub.com/tomasz-sodzawiczny), [@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli) </details> <details> <summary>mui/material-ui (@​mui/lab)</summary> ### [`v5.0.0-alpha.107`]( |
||
---|---|---|
.. | ||
cypress | ||
public | ||
scripts | ||
src | ||
.editorconfig | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
cypress.json | ||
index.html | ||
index.js | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.node.json | ||
vercel.json | ||
vite.config.ts | ||
yarn | ||
yarn.lock |
frontend
This directory contains the Unleash Admin UI frontend app.
Run with a local instance of the unleash-api
First, start the unleash-api backend on port 4242. Then, start the frontend dev server:
cd ~/frontend
yarn install
yarn run start
Run with a sandbox instance of the Unleash API
Alternatively, instead of running unleash-api on localhost, you can use a remote instance:
cd ~/frontend
yarn install
yarn run start:sandbox
Running end-to-end tests
We have a set of Cypress tests that run on the build before a PR can be merged so it's important that you check these yourself before submitting a PR. On the server the tests will run against the deployed Heroku app so this is what you probably want to test against:
yarn run start:sandbox
In a different shell, you can run the tests themselves:
yarn run e2e:heroku
If you need to test against patches against a local server instance, you'll need to run that, and then run the end to end tests using:
yarn run e2e
You may also need to test that a feature works against the enterprise version of unleash. Assuming the Heroku instance is still running, this can be done by:
yarn run start:enterprise
yarn run e2e
Generating the OpenAPI client
The frontend uses an OpenAPI client generated from the backend's OpenAPI spec. Whenever there are changes to the backend API, the client should be regenerated:
./scripts/generate-openapi.sh
This script assumes that you have a running instance of the enterprise backend at http://localhost:4242
.
The new OpenAPI client will be generated from the runtime schema of this instance.
The target URL can be changed by setting the UNLEASH_OPENAPI_URL
env var.