[](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.11.0` -> `5.11.9`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.11.0/5.11.9) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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.119` -> `5.0.0-alpha.120`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.119/5.0.0-alpha.120) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mui/material](https://mui.com/material-ui/getting-started/overview/) ([source](https://togithub.com/mui/material-ui)) | [`5.11.8` -> `5.11.9`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.11.8/5.11.9) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mui/material-ui</summary> ### [`v5.11.9`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​5119) [Compare Source](https://togithub.com/mui/material-ui/compare/v5.11.0...v5.11.9) <!-- generated comparing v5.11.8..master --> *Feb 14, 2023* A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨: - 🐛 [@​rangoo94](https://togithub.com/rangoo94), [@​sai6855](https://togithub.com/sai6855), and [@​michaldudak](https://togithub.com/michaldudak) fixed a couple of bugs in the Autocomplete component ([#​36116](https://togithub.com/mui/material-ui/issues/36116), [#​35640](https://togithub.com/mui/material-ui/issues/35640), [#​36076](https://togithub.com/mui/material-ui/issues/36076), [#​36088](https://togithub.com/mui/material-ui/issues/36088)) - many other 🐛 bug fixes and 📚 documentation improvements ##### `@mui/material@5.11.9` - \[AppBar] Fix joinVars() not handling undefined ([#​36128](https://togithub.com/mui/material-ui/issues/36128)) [@​donaldnevermore](https://togithub.com/donaldnevermore) - \[Autocomplete] Fix tag removal regression ([#​36116](https://togithub.com/mui/material-ui/issues/36116)) [@​michaldudak](https://togithub.com/michaldudak) - \[Autocomplete] Correct padding of filled Autocomplete ([#​35640](https://togithub.com/mui/material-ui/issues/35640)) [@​michaldudak](https://togithub.com/michaldudak) - \[Grid]\[Stack] classNames prefixed with Mui ([#​36167](https://togithub.com/mui/material-ui/issues/36167)) [@​sai6855](https://togithub.com/sai6855) ##### `@mui/styled-engine@5.11.9` - \[StyledEngineProvider] Fix issue with cache not being defined ([#​36162](https://togithub.com/mui/material-ui/issues/36162)) [@​mnajdova](https://togithub.com/mnajdova) ##### `@mui/joy@5.0.0-alpha.67` - \[Joy] Add order dashboard template ([#​36081](https://togithub.com/mui/material-ui/issues/36081)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[Joy] Remove classes prop from the components that have it ([#​36159](https://togithub.com/mui/material-ui/issues/36159)) [@​hbjORbj](https://togithub.com/hbjORbj) - \[Joy] Miscellaneous fixes ([#​36163](https://togithub.com/mui/material-ui/issues/36163)) [@​siriwatknp](https://togithub.com/siriwatknp) ##### `@mui/base@5.0.0-alpha.118` - \[base] Override the types of `slotProps` per slot ([#​35964](https://togithub.com/mui/material-ui/issues/35964)) [@​hbjORbj](https://togithub.com/hbjORbj) - \[Select]\[base] Prevent unnecessary rerendering of Select options ([#​35946](https://togithub.com/mui/material-ui/issues/35946)) [@​michaldudak](https://togithub.com/michaldudak) - \[Select]\[base] Update the generated docs ([#​36183](https://togithub.com/mui/material-ui/issues/36183)) [@​michaldudak](https://togithub.com/michaldudak) - \[useAutocomplete] Pass only valid values for the getOptionLabel prop ([#​36088](https://togithub.com/mui/material-ui/issues/36088)) [@​rangoo94](https://togithub.com/rangoo94) - \[useAutocomplete] Fix `useAutocomplete` disabled prop not disabling the input ([#​36076](https://togithub.com/mui/material-ui/issues/36076)) [@​sai6855](https://togithub.com/sai6855) - \[useInput] Add return value interface ([#​36036](https://togithub.com/mui/material-ui/issues/36036)) [@​Shorifpatwary](https://togithub.com/Shorifpatwary) - \[UseTabPanel] Add explicit return type ([#​36053](https://togithub.com/mui/material-ui/issues/36053)) [@​Shorifpatwary](https://togithub.com/Shorifpatwary) - \[useTabsList] Add explicit return type ([#​36048](https://togithub.com/mui/material-ui/issues/36048)) [@​sai6855](https://togithub.com/sai6855) - \[Tab] Add explicit return type to useTab ([#​36046](https://togithub.com/mui/material-ui/issues/36046)) [@​sai6855](https://togithub.com/sai6855) ##### `@mui/material-next@6.0.0-alpha.75` - \[Material You] Use `md` as a CSS var prefix ([#​36177](https://togithub.com/mui/material-ui/issues/36177)) [@​siriwatknp](https://togithub.com/siriwatknp) ##### Docs - \[docs] Fix the prop type regression on the API pages ([#​36168](https://togithub.com/mui/material-ui/issues/36168)) [@​mnajdova](https://togithub.com/mnajdova) - \[docs] Fix virtualized table column resizing ([#​36066](https://togithub.com/mui/material-ui/issues/36066)) [@​petyosi](https://togithub.com/petyosi) - \[docs] Fix react-spring demos ([#​36023](https://togithub.com/mui/material-ui/issues/36023)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[docs] Fix classname mismatch on Joy docs ([#​36127](https://togithub.com/mui/material-ui/issues/36127)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[docs] Fix typo in the released version of [@​mui/styled-engine](https://togithub.com/mui/styled-engine) ([#​36121](https://togithub.com/mui/material-ui/issues/36121)) [@​m4theushw](https://togithub.com/m4theushw) - \[docs] Fix demos showing TypeScript instead of JavaScript ([#​35850](https://togithub.com/mui/material-ui/issues/35850)) [@​mj12albert](https://togithub.com/mj12albert) - \[docs] Update release instructions ([#​36113](https://togithub.com/mui/material-ui/issues/36113)) [@​mj12albert](https://togithub.com/mj12albert) - \[docs] Rename `v6-alpha` to `v6-next` in navigation ([#​36102](https://togithub.com/mui/material-ui/issues/36102)) [@​LukasTy](https://togithub.com/LukasTy) - \[docs] Revise Joy UI "Input" page ([#​35970](https://togithub.com/mui/material-ui/issues/35970)) [@​LadyBluenotes](https://togithub.com/LadyBluenotes) - \[docs] Revise Joy UI "Typography" page ([#​35868](https://togithub.com/mui/material-ui/issues/35868)) [@​LadyBluenotes](https://togithub.com/LadyBluenotes) ##### Examples - \[examples]\[vitejs] Load Roboto font ([#​35678](https://togithub.com/mui/material-ui/issues/35678)) [@​oliv37](https://togithub.com/oliv37) ##### Core - \[blog] Fix the look and feel of the media description ([#​36069](https://togithub.com/mui/material-ui/issues/36069)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[core] Add default preview url ([#​36118](https://togithub.com/mui/material-ui/issues/36118)) [@​siriwatknp](https://togithub.com/siriwatknp) - \[core] Migrate all the internals exported by `tests/utils/index.js` to TypeScript ([#​35382](https://togithub.com/mui/material-ui/issues/35382)) [@​flaviendelangle](https://togithub.com/flaviendelangle) - \[core] Convert the waterfall module to an internal package ([#​35323](https://togithub.com/mui/material-ui/issues/35323)) [@​michaldudak](https://togithub.com/michaldudak) - \[website] Fix homepage MD theme demo ([#​36027](https://togithub.com/mui/material-ui/issues/36027)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - \[website] Revise the Lead Designer role job ad ([#​35912](https://togithub.com/mui/material-ui/issues/35912)) [@​danilo-leal](https://togithub.com/danilo-leal) - \[POC] Add deploy preview to PR body ([#​35995](https://togithub.com/mui/material-ui/issues/35995)) [@​siriwatknp](https://togithub.com/siriwatknp) All contributors of this release in alphabetical order: [@​danilo-leal](https://togithub.com/danilo-leal), [@​donaldnevermore](https://togithub.com/donaldnevermore), [@​flaviendelangle](https://togithub.com/flaviendelangle), [@​hbjORbj](https://togithub.com/hbjORbj), [@​LadyBluenotes](https://togithub.com/LadyBluenotes), [@​LukasTy](https://togithub.com/LukasTy), [@​m4theushw](https://togithub.com/m4theushw), [@​michaldudak](https://togithub.com/michaldudak), [@​mj12albert](https://togithub.com/mj12albert), [@​mnajdova](https://togithub.com/mnajdova), [@​oliv37](https://togithub.com/oliv37), [@​oliviertassinari](https://togithub.com/oliviertassinari), [@​petyosi](https://togithub.com/petyosi), [@​rangoo94](https://togithub.com/rangoo94), [@​sai6855](https://togithub.com/sai6855), [@​Shorifpatwary](https://togithub.com/Shorifpatwary), [@​siriwatknp](https://togithub.com/siriwatknp) </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDguMCIsInVwZGF0ZWRJblZlciI6IjM0LjE0OC4wIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
cypress | ||
public | ||
src | ||
.editorconfig | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
cypress.json | ||
index.html | ||
index.js | ||
orval.config.js | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.node.json | ||
vercel.json | ||
vite.config.ts | ||
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.
Analyzing bundle size
npx vite-bundle-visualizer
in the root of the frontend directory