1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/frontend
renovate[bot] 540cda715b
chore(deps): update dependency @mui/material to v5.11.10 (#3207)
[![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#&#8203;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
([#&#8203;36228](https://togithub.com/mui/material-ui/issues/36228))
[@&#8203;sai6855](https://togithub.com/sai6855)
- ​<!-- 21 -->\[Badge]\[material] Replace `BadgeUnstyled` with
`useBadge` hook
([#&#8203;36158](https://togithub.com/mui/material-ui/issues/36158))
[@&#8203;hbjORbj](https://togithub.com/hbjORbj)
- ​<!-- 03 -->\[Switch] Fix DOM warning when `type` isn't `checkbox` or
`radio`
([#&#8203;36170](https://togithub.com/mui/material-ui/issues/36170))
[@&#8203;dani-mp](https://togithub.com/dani-mp)
- ​<!-- 02 -->\[TextareaAutosize] Convert code to TypeScript
([#&#8203;35862](https://togithub.com/mui/material-ui/issues/35862))
[@&#8203;sai6855](https://togithub.com/sai6855)
- ​<!-- 01 -->\[useMediaQuery] Fix behavior of noSsr with React 18
([#&#8203;36056](https://togithub.com/mui/material-ui/issues/36056))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### `@mui/joy@5.0.0-alpha.68`

- ​<!-- 05 -->\[Joy] Add `zIndex` to theme
([#&#8203;36236](https://togithub.com/mui/material-ui/issues/36236))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- ​<!-- 04 -->\[Joy] Remove transition from all components
([#&#8203;35952](https://togithub.com/mui/material-ui/issues/35952))
[@&#8203;hbjORbj](https://togithub.com/hbjORbj)

##### Docs

- ​<!-- 20 -->\[docs]\[base] Fix base Input demos for Safari
([#&#8203;36213](https://togithub.com/mui/material-ui/issues/36213))
[@&#8203;mj12albert](https://togithub.com/mj12albert)
- ​<!-- 16 -->\[docs] Fix 301 links
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 15 -->\[docs] Fix modal transition demos
([#&#8203;36137](https://togithub.com/mui/material-ui/issues/36137))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 14 -->\[docs] Update links to pt examples
([#&#8203;36237](https://togithub.com/mui/material-ui/issues/36237))
[@&#8203;Aleff13](https://togithub.com/Aleff13)
- ​<!-- 13 -->\[docs] Update custom Typography variants example
([#&#8203;36185](https://togithub.com/mui/material-ui/issues/36185))
[@&#8203;mj12albert](https://togithub.com/mj12albert)
- ​<!-- 12 -->\[docs] Change markdown numbering syntax
([#&#8203;36187](https://togithub.com/mui/material-ui/issues/36187))
[@&#8203;mj12albert](https://togithub.com/mj12albert)
- ​<!-- 11 -->\[docs] Fix switch alignment in `Disabled tree items`
section in Tree View docs
([#&#8203;36217](https://togithub.com/mui/material-ui/issues/36217))
[@&#8203;PunitSoniME](https://togithub.com/PunitSoniME)
- ​<!-- 10 -->\[docs] Standardize example names
([#&#8203;36112](https://togithub.com/mui/material-ui/issues/36112))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- ​<!-- 09 -->\[docs] Fix typo
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 08 -->\[docs] Fix markdown table alignments
([#&#8203;36136](https://togithub.com/mui/material-ui/issues/36136))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 07 -->\[docs] Small color tweaks to the docs search bar
([#&#8203;36160](https://togithub.com/mui/material-ui/issues/36160))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 06 -->\[docs]\[joy] Update class name prefixes in the `Anatomy`
section
([#&#8203;36210](https://togithub.com/mui/material-ui/issues/36210))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

##### Core

- ​<!-- 19 -->\[core] Migrate nprogress to emotion
([#&#8203;36181](https://togithub.com/mui/material-ui/issues/36181))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- ​<!-- 18 -->\[core] Enforce namespace import for ReactDOM
([#&#8203;36208](https://togithub.com/mui/material-ui/issues/36208))
[@&#8203;mj12albert](https://togithub.com/mj12albert)
- ​<!-- 17 -->\[core] Fix deploy preview links
([#&#8203;36203](https://togithub.com/mui/material-ui/issues/36203))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

All contributors of this release in alphabetical order:
[@&#8203;Aleff13](https://togithub.com/Aleff13),
[@&#8203;dani-mp](https://togithub.com/dani-mp),
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;hbjORbj](https://togithub.com/hbjORbj),
[@&#8203;mj12albert](https://togithub.com/mj12albert),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;PunitSoniME](https://togithub.com/PunitSoniME),
[@&#8203;sai6855](https://togithub.com/sai6855),
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp),
[@&#8203;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>
2023-02-28 00:14:49 +00:00
..
cypress refactor: remove variants per environment feature flag (#3102) 2023-02-14 14:02:02 +00:00
public
src chore: rename login-event to sign-on-log (#3204) 2023-02-27 14:44:06 +00:00
.editorconfig add editorconfig 2016-12-05 23:08:32 +01:00
.gitignore Feat/grouping fixes (#1146) 2022-07-25 10:14:02 +00:00
.nvmrc chore(deps): update node.js to v14.21.1 (#2385) 2022-11-10 15:58:42 +01:00
.prettierignore Orval generator POC (#2724) 2023-01-05 11:57:53 +01:00
.prettierrc
cypress.json
index.html ui flags replaced in index.html (#2617) 2022-12-07 14:31:27 +02:00
index.js
orval.config.js Orval generator POC (#2724) 2023-01-05 11:57:53 +01:00
package.json chore(deps): update dependency @mui/material to v5.11.10 (#3207) 2023-02-28 00:14:49 +00:00
README.md Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
tsconfig.json Add multiple tags (#3032) 2023-02-03 12:28:06 +02:00
tsconfig.node.json Orval generator POC (#2724) 2023-01-05 11:57:53 +01:00
vercel.json
vite.config.ts fix: preload error (#2980) 2023-01-24 20:40:03 +01:00
yarn.lock chore(deps): update dependency @mui/material to v5.11.10 (#3207) 2023-02-28 00:14:49 +00:00

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