1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend
renovate[bot] 84dba702b4
chore(deps): update material-ui monorepo (#3174)
[![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.11.0` ->
`5.11.9`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.11.0/5.11.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/compatibility-slim/5.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/confidence-slim/5.11.0)](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)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/compatibility-slim/5.0.0-alpha.119)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/confidence-slim/5.0.0-alpha.119)](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)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/compatibility-slim/5.11.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/confidence-slim/5.11.8)](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#&#8203;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 :

- 🐛 [@&#8203;rangoo94](https://togithub.com/rangoo94),
[@&#8203;sai6855](https://togithub.com/sai6855), and
[@&#8203;michaldudak](https://togithub.com/michaldudak) fixed a couple
of bugs in the Autocomplete component
([#&#8203;36116](https://togithub.com/mui/material-ui/issues/36116),
[#&#8203;35640](https://togithub.com/mui/material-ui/issues/35640),
[#&#8203;36076](https://togithub.com/mui/material-ui/issues/36076),
[#&#8203;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
([#&#8203;36128](https://togithub.com/mui/material-ui/issues/36128))
[@&#8203;donaldnevermore](https://togithub.com/donaldnevermore)
- \[Autocomplete] Fix tag removal regression
([#&#8203;36116](https://togithub.com/mui/material-ui/issues/36116))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[Autocomplete] Correct padding of filled Autocomplete
([#&#8203;35640](https://togithub.com/mui/material-ui/issues/35640))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[Grid]\[Stack] classNames prefixed with Mui
([#&#8203;36167](https://togithub.com/mui/material-ui/issues/36167))
[@&#8203;sai6855](https://togithub.com/sai6855)

##### `@mui/styled-engine@5.11.9`

- \[StyledEngineProvider] Fix issue with cache not being defined
([#&#8203;36162](https://togithub.com/mui/material-ui/issues/36162))
[@&#8203;mnajdova](https://togithub.com/mnajdova)

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

- \[Joy] Add order dashboard template
([#&#8203;36081](https://togithub.com/mui/material-ui/issues/36081))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[Joy] Remove classes prop from the components that have it
([#&#8203;36159](https://togithub.com/mui/material-ui/issues/36159))
[@&#8203;hbjORbj](https://togithub.com/hbjORbj)
- \[Joy] Miscellaneous fixes
([#&#8203;36163](https://togithub.com/mui/material-ui/issues/36163))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

##### `@mui/base@5.0.0-alpha.118`

- \[base] Override the types of `slotProps` per slot
([#&#8203;35964](https://togithub.com/mui/material-ui/issues/35964))
[@&#8203;hbjORbj](https://togithub.com/hbjORbj)
- \[Select]\[base] Prevent unnecessary rerendering of Select options
([#&#8203;35946](https://togithub.com/mui/material-ui/issues/35946))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[Select]\[base] Update the generated docs
([#&#8203;36183](https://togithub.com/mui/material-ui/issues/36183))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[useAutocomplete] Pass only valid values for the getOptionLabel prop
([#&#8203;36088](https://togithub.com/mui/material-ui/issues/36088))
[@&#8203;rangoo94](https://togithub.com/rangoo94)
- \[useAutocomplete] Fix `useAutocomplete` disabled prop not disabling
the input
([#&#8203;36076](https://togithub.com/mui/material-ui/issues/36076))
[@&#8203;sai6855](https://togithub.com/sai6855)
- \[useInput] Add return value interface
([#&#8203;36036](https://togithub.com/mui/material-ui/issues/36036))
[@&#8203;Shorifpatwary](https://togithub.com/Shorifpatwary)
- \[UseTabPanel] Add explicit return type
([#&#8203;36053](https://togithub.com/mui/material-ui/issues/36053))
[@&#8203;Shorifpatwary](https://togithub.com/Shorifpatwary)
- \[useTabsList] Add explicit return type
([#&#8203;36048](https://togithub.com/mui/material-ui/issues/36048))
[@&#8203;sai6855](https://togithub.com/sai6855)
- \[Tab] Add explicit return type to useTab
([#&#8203;36046](https://togithub.com/mui/material-ui/issues/36046))
[@&#8203;sai6855](https://togithub.com/sai6855)

##### `@mui/material-next@6.0.0-alpha.75`

- \[Material You] Use `md` as a CSS var prefix
([#&#8203;36177](https://togithub.com/mui/material-ui/issues/36177))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

##### Docs

- \[docs] Fix the prop type regression on the API pages
([#&#8203;36168](https://togithub.com/mui/material-ui/issues/36168))
[@&#8203;mnajdova](https://togithub.com/mnajdova)
- \[docs] Fix virtualized table column resizing
([#&#8203;36066](https://togithub.com/mui/material-ui/issues/36066))
[@&#8203;petyosi](https://togithub.com/petyosi)
- \[docs] Fix react-spring demos
([#&#8203;36023](https://togithub.com/mui/material-ui/issues/36023))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix classname mismatch on Joy docs
([#&#8203;36127](https://togithub.com/mui/material-ui/issues/36127))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[docs] Fix typo in the released version of
[@&#8203;mui/styled-engine](https://togithub.com/mui/styled-engine)
([#&#8203;36121](https://togithub.com/mui/material-ui/issues/36121))
[@&#8203;m4theushw](https://togithub.com/m4theushw)
- \[docs] Fix demos showing TypeScript instead of JavaScript
([#&#8203;35850](https://togithub.com/mui/material-ui/issues/35850))
[@&#8203;mj12albert](https://togithub.com/mj12albert)
- \[docs] Update release instructions
([#&#8203;36113](https://togithub.com/mui/material-ui/issues/36113))
[@&#8203;mj12albert](https://togithub.com/mj12albert)
- \[docs] Rename `v6-alpha` to `v6-next` in navigation
([#&#8203;36102](https://togithub.com/mui/material-ui/issues/36102))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[docs] Revise Joy UI "Input" page
([#&#8203;35970](https://togithub.com/mui/material-ui/issues/35970))
[@&#8203;LadyBluenotes](https://togithub.com/LadyBluenotes)
- \[docs] Revise Joy UI "Typography" page
([#&#8203;35868](https://togithub.com/mui/material-ui/issues/35868))
[@&#8203;LadyBluenotes](https://togithub.com/LadyBluenotes)

##### Examples

- \[examples]\[vitejs] Load Roboto font
([#&#8203;35678](https://togithub.com/mui/material-ui/issues/35678))
[@&#8203;oliv37](https://togithub.com/oliv37)

##### Core

- \[blog] Fix the look and feel of the media description
([#&#8203;36069](https://togithub.com/mui/material-ui/issues/36069))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Add default preview url
([#&#8203;36118](https://togithub.com/mui/material-ui/issues/36118))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[core] Migrate all the internals exported by `tests/utils/index.js`
to TypeScript
([#&#8203;35382](https://togithub.com/mui/material-ui/issues/35382))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)
- \[core] Convert the waterfall module to an internal package
([#&#8203;35323](https://togithub.com/mui/material-ui/issues/35323))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[website] Fix homepage MD theme demo
([#&#8203;36027](https://togithub.com/mui/material-ui/issues/36027))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Revise the Lead Designer role job ad
([#&#8203;35912](https://togithub.com/mui/material-ui/issues/35912))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[POC] Add deploy preview to PR body
([#&#8203;35995](https://togithub.com/mui/material-ui/issues/35995))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

All contributors of this release in alphabetical order:
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;donaldnevermore](https://togithub.com/donaldnevermore),
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle),
[@&#8203;hbjORbj](https://togithub.com/hbjORbj),
[@&#8203;LadyBluenotes](https://togithub.com/LadyBluenotes),
[@&#8203;LukasTy](https://togithub.com/LukasTy),
[@&#8203;m4theushw](https://togithub.com/m4theushw),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;mj12albert](https://togithub.com/mj12albert),
[@&#8203;mnajdova](https://togithub.com/mnajdova),
[@&#8203;oliv37](https://togithub.com/oliv37),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;petyosi](https://togithub.com/petyosi),
[@&#8203;rangoo94](https://togithub.com/rangoo94),
[@&#8203;sai6855](https://togithub.com/sai6855),
[@&#8203;Shorifpatwary](https://togithub.com/Shorifpatwary),
[@&#8203;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>
2023-02-21 23:53:48 +00:00
..
cypress refactor: remove variants per environment feature flag (#3102) 2023-02-14 14:02:02 +00:00
public
src Fix/decouple api token list (#3171) 2023-02-21 14:27:46 +01:00
.editorconfig
.gitignore
.nvmrc
.prettierignore
.prettierrc refactor: format files (#719) 2022-02-18 09:51:10 +01:00
cypress.json
index.html
index.js
orval.config.js
package.json chore(deps): update material-ui monorepo (#3174) 2023-02-21 23:53:48 +00:00
README.md
tsconfig.json
tsconfig.node.json
vercel.json
vite.config.ts
yarn.lock chore(deps): update material-ui monorepo (#3174) 2023-02-21 23:53:48 +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