540cda715b
[![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/material](https://mui.com/material-ui/getting-started/overview/) ([source](https://togithub.com/mui/material-ui)) | [`5.11.9` -> `5.11.10`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.11.9/5.11.10) | [![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/compatibility-slim/5.11.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/confidence-slim/5.11.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mui/material-ui</summary> ### [`v5.11.10`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​51110) [Compare Source](https://togithub.com/mui/material-ui/compare/v5.11.9...v5.11.10) <!-- generated comparing v5.11.9..master --> *Feb 20, 2023* 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.11.10` - <!-- 22 -->\[Avatar] Fix ownerState usage with styleOverrides when fallback is used ([#​36228](https://togithub.com/mui/material-ui/issues/36228)) [@​sai6855](https://togithub.com/sai6855) - <!-- 21 -->\[Badge]\[material] Replace `BadgeUnstyled` with `useBadge` hook ([#​36158](https://togithub.com/mui/material-ui/issues/36158)) [@​hbjORbj](https://togithub.com/hbjORbj) - <!-- 03 -->\[Switch] Fix DOM warning when `type` isn't `checkbox` or `radio` ([#​36170](https://togithub.com/mui/material-ui/issues/36170)) [@​dani-mp](https://togithub.com/dani-mp) - <!-- 02 -->\[TextareaAutosize] Convert code to TypeScript ([#​35862](https://togithub.com/mui/material-ui/issues/35862)) [@​sai6855](https://togithub.com/sai6855) - <!-- 01 -->\[useMediaQuery] Fix behavior of noSsr with React 18 ([#​36056](https://togithub.com/mui/material-ui/issues/36056)) [@​oliviertassinari](https://togithub.com/oliviertassinari) ##### `@mui/joy@5.0.0-alpha.68` - <!-- 05 -->\[Joy] Add `zIndex` to theme ([#​36236](https://togithub.com/mui/material-ui/issues/36236)) [@​siriwatknp](https://togithub.com/siriwatknp) - <!-- 04 -->\[Joy] Remove transition from all components ([#​35952](https://togithub.com/mui/material-ui/issues/35952)) [@​hbjORbj](https://togithub.com/hbjORbj) ##### Docs - <!-- 20 -->\[docs]\[base] Fix base Input demos for Safari ([#​36213](https://togithub.com/mui/material-ui/issues/36213)) [@​mj12albert](https://togithub.com/mj12albert) - <!-- 16 -->\[docs] Fix 301 links [@​oliviertassinari](https://togithub.com/oliviertassinari) - <!-- 15 -->\[docs] Fix modal transition demos ([#​36137](https://togithub.com/mui/material-ui/issues/36137)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - <!-- 14 -->\[docs] Update links to pt examples ([#​36237](https://togithub.com/mui/material-ui/issues/36237)) [@​Aleff13](https://togithub.com/Aleff13) - <!-- 13 -->\[docs] Update custom Typography variants example ([#​36185](https://togithub.com/mui/material-ui/issues/36185)) [@​mj12albert](https://togithub.com/mj12albert) - <!-- 12 -->\[docs] Change markdown numbering syntax ([#​36187](https://togithub.com/mui/material-ui/issues/36187)) [@​mj12albert](https://togithub.com/mj12albert) - <!-- 11 -->\[docs] Fix switch alignment in `Disabled tree items` section in Tree View docs ([#​36217](https://togithub.com/mui/material-ui/issues/36217)) [@​PunitSoniME](https://togithub.com/PunitSoniME) - <!-- 10 -->\[docs] Standardize example names ([#​36112](https://togithub.com/mui/material-ui/issues/36112)) [@​samuelsycamore](https://togithub.com/samuelsycamore) - <!-- 09 -->\[docs] Fix typo [@​oliviertassinari](https://togithub.com/oliviertassinari) - <!-- 08 -->\[docs] Fix markdown table alignments ([#​36136](https://togithub.com/mui/material-ui/issues/36136)) [@​oliviertassinari](https://togithub.com/oliviertassinari) - <!-- 07 -->\[docs] Small color tweaks to the docs search bar ([#​36160](https://togithub.com/mui/material-ui/issues/36160)) [@​danilo-leal](https://togithub.com/danilo-leal) - <!-- 06 -->\[docs]\[joy] Update class name prefixes in the `Anatomy` section ([#​36210](https://togithub.com/mui/material-ui/issues/36210)) [@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli) ##### Core - <!-- 19 -->\[core] Migrate nprogress to emotion ([#​36181](https://togithub.com/mui/material-ui/issues/36181)) [@​siriwatknp](https://togithub.com/siriwatknp) - <!-- 18 -->\[core] Enforce namespace import for ReactDOM ([#​36208](https://togithub.com/mui/material-ui/issues/36208)) [@​mj12albert](https://togithub.com/mj12albert) - <!-- 17 -->\[core] Fix deploy preview links ([#​36203](https://togithub.com/mui/material-ui/issues/36203)) [@​siriwatknp](https://togithub.com/siriwatknp) All contributors of this release in alphabetical order: [@​Aleff13](https://togithub.com/Aleff13), [@​dani-mp](https://togithub.com/dani-mp), [@​danilo-leal](https://togithub.com/danilo-leal), [@​hbjORbj](https://togithub.com/hbjORbj), [@​mj12albert](https://togithub.com/mj12albert), [@​oliviertassinari](https://togithub.com/oliviertassinari), [@​PunitSoniME](https://togithub.com/PunitSoniME), [@​sai6855](https://togithub.com/sai6855), [@​samuelsycamore](https://togithub.com/samuelsycamore), [@​siriwatknp](https://togithub.com/siriwatknp), [@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli) </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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTIuNSIsInVwZGF0ZWRJblZlciI6IjM0LjE1Mi41In0=--> 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