e29b7d6738
[![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.9` -> `5.10.14`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.10.9/5.10.14) | [![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/compatibility-slim/5.10.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/confidence-slim/5.10.9)](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.107` -> `5.0.0-alpha.108`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.107/5.0.0-alpha.108) | [![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/compatibility-slim/5.0.0-alpha.107)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/confidence-slim/5.0.0-alpha.107)](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.13` -> `5.10.14`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.10.13/5.10.14) | [![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/compatibility-slim/5.10.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/confidence-slim/5.10.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mui/material-ui (@​mui/icons-material)</summary> ### [`v5.10.14`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#v51014) [Compare Source](https://togithub.com/mui/material-ui/compare/v5.10.9...v5.10.14) <!-- generated comparing v5.10.13..master --> *Nov 14, 2022* A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨: - 🚀 [@​siriwatknp](https://togithub.com/siriwatknp) added the Autocomplete component to the Joy UI ([#​34315](https://togithub.com/mui/material-ui/issues/34315)) - ♿ [@​sfavello](https://togithub.com/sfavello) improved the accessibility of the Material UI's Autocomplete by adding support for the Delete key ([#​33822](https://togithub.com/mui/material-ui/issues/33822)) - Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements. ##### `@mui/material@5.10.14` - \[Material UI] Add `palette.background.defaultChannel` token ([#​35061](https://togithub.com/mui/material-ui/issues/35061)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[Autocomplete] Remove tags with the Delete key ([#​33822](https://togithub.com/mui/material-ui/issues/33822)) [@​sfavello](https://togithub.com/sfavello) - \[IconButton] custom color causes type error ([#​34521](https://togithub.com/mui/material-ui/issues/34521)) [@​kushagra010](https://togithub.com/kushagra010) ##### `@mui/system@5.10.14` - \[Unstable_Gridv2] sorted responsize keys based on breakpoint value ([#​34987](https://togithub.com/mui/material-ui/issues/34987)) [@​sai6855](https://togithub.com/sai6855) ##### `@mui/joy@5.0.0-alpha.54` - \[Joy] Export `FormControl`, `LinearProgress` and `ListSubheader` components from `@mui/joy` ([#​35003](https://togithub.com/mui/material-ui/issues/35003)) [@​Studio384](https://togithub.com/Studio384) - \[Joy] Miscellaneous fixes ([#​35044](https://togithub.com/mui/material-ui/issues/35044)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[Joy] Add `Autocomplete` component ([#​34315](https://togithub.com/mui/material-ui/issues/34315)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[Joy] Saturate a bit the gray palette ([#​35148](https://togithub.com/mui/material-ui/issues/35148)) [@​danilo-leal](https://togithub.com/danilo-leal) - \[Autocomplete]\[joy] Fix types ([#​35153](https://togithub.com/mui/material-ui/issues/35153)) [@​siriwatknp](https://togithub.com/siriwatknp) ##### Docs - \[blog] Fix font size of code blocks on iOS [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Accessibility - increase default contrastThreshold for WCAG AA compliance ([#​34901](https://togithub.com/mui/material-ui/issues/34901)) [@​kennethbigler](https://togithub.com/kennethbigler) - \[docs] Correct the keepMounted section on the Drawer page ([#​35076](https://togithub.com/mui/material-ui/issues/35076)) [@​michaldudak](https://togithub.com/michaldudak) - \[docs] Fix code editor styles mismatches ([#​35108](https://togithub.com/mui/material-ui/issues/35108)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Allows to access the next MUI-X ([#​34798](https://togithub.com/mui/material-ui/issues/34798)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[docs] Fix bugs with live edit demos ([#​35106](https://togithub.com/mui/material-ui/issues/35106)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Fix `MarkdownElement` regression from adding CSS variables ([#​35096](https://togithub.com/mui/material-ui/issues/35096)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[docs] Add a new gold sponsor ([#​35089](https://togithub.com/mui/material-ui/issues/35089)) [@​hbjORbj](https://togithub.com/hbjORbj) - \[docs] Fix scroll issue on expanded live demos ([#​35064](https://togithub.com/mui/material-ui/issues/35064)) [@​bharatkashyap](https://togithub.com/bharatkashyap) - \[docs] Improve alignment of the sponsors [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Improve code font family v2 ([#​35053](https://togithub.com/mui/material-ui/issues/35053)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Upgrade to Next.js 13 ([#​35001](https://togithub.com/mui/material-ui/issues/35001)) [@​mnajdova](https://togithub.com/mnajdova) - \[docs] Fix typo in changelog [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Update Joy UI templates to use latest components ([#​35058](https://togithub.com/mui/material-ui/issues/35058)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[website] Fix design kits showcase throwing an error ([#​35093](https://togithub.com/mui/material-ui/issues/35093)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[website] Fix margin bug on CTA [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[website] Link respective repositories in product pages ([#​35046](https://togithub.com/mui/material-ui/issues/35046)) [@​sidtohan](https://togithub.com/sidtohan) - \[website] Migrate blog pages to use CSS theme variables ([#​34976](https://togithub.com/mui/material-ui/issues/34976)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[website] Update DoiT International logo and links with new brand ([#​35030](https://togithub.com/mui/material-ui/issues/35030)) [@​ofir5300](https://togithub.com/ofir5300) - \[website] Improve visual design app bar ([#​35111](https://togithub.com/mui/material-ui/issues/35111)) [@​oliviertassinari](https://togithub.com/oliviertassinari) ##### Core - \[core] Convert scripts to ES modules ([#​35036](https://togithub.com/mui/material-ui/issues/35036)) [@​michaldudak](https://togithub.com/michaldudak) - \[core] Show the whole version to make blame easier [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[core] Polish GitHub Action version [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[core] Ignore icons to speed up CodeQL [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[core] Feedback on branch protection [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[core] Revert CI ([#​35098](https://togithub.com/mui/material-ui/issues/35098)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[core] Fix job name to match the CI ([#​35097](https://togithub.com/mui/material-ui/issues/35097)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[core] ESLint fixes for tests ([#​34924](https://togithub.com/mui/material-ui/issues/34924)) [@​Janpot](https://togithub.com/Janpot) - \[core] Ignore unrelated folders from github actions ([#​35028](https://togithub.com/mui/material-ui/issues/35028)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[core] Use pretty-quick instead of custom script ([#​34062](https://togithub.com/mui/material-ui/issues/34062)) [@​Janpot](https://togithub.com/Janpot) All contributors of this release in alphabetical order: [@​alexfauquette](https://togithub.com/alexfauquette), [@​bharatkashyap](https://togithub.com/bharatkashyap), [@​cherniavskii](https://togithub.com/cherniavskii), [@​danilo-leal](https://togithub.com/danilo-leal), [@​hbjORbj](https://togithub.com/hbjORbj), [@​Janpot](https://togithub.com/Janpot), [@​kennethbigler](https://togithub.com/kennethbigler), [@​kushagra010](https://togithub.com/kushagra010), [@​michaldudak](https://togithub.com/michaldudak), [@​mnajdova](https://togithub.com/mnajdova), [@​ofir5300](https://togithub.com/ofir5300), [@​oliviertassinari](https://togithub.com/oliviertassinari), [@​sai6855](https://togithub.com/sai6855), [@​sfavello](https://togithub.com/sfavello), [@​sidtohan](https://togithub.com/sidtohan), [@​siriwatknp](https://togithub.com/siriwatknp), [@​Studio384](https://togithub.com/Studio384) </details> <details> <summary>mui/material-ui (@​mui/lab)</summary> ### [`v5.0.0-alpha.108`]( |
||
---|---|---|
.. | ||
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.