1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend
renovate[bot] af7b9f5439
chore(deps): update material-ui monorepo (#5862)
[![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/tree/HEAD/packages/mui-icons-material))
| [`5.15.2` ->
`5.15.3`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.15.2/5.15.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2ficons-material/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2ficons-material/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2ficons-material/5.15.2/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2ficons-material/5.15.2/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-lab))
| [`5.0.0-alpha.158` ->
`5.0.0-alpha.159`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2flab/5.0.0-alpha.159?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2flab/5.0.0-alpha.159?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/)
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-material))
| [`5.15.2` ->
`5.15.3`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.15.2/5.15.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fmaterial/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fmaterial/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fmaterial/5.15.2/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fmaterial/5.15.2/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mui/material-ui (@&#8203;mui/icons-material)</summary>

###
[`v5.15.3`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#5153)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.15.2...v5.15.3)

<!-- generated comparing v5.15.2..master -->

*Jan 3, 2024*

A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material-nextjs@5.15.3`

- ​<!-- 06 -->\[material-nextjs] Fix order of emotion server
([#&#8203;40409](https://togithub.com/mui/material-ui/issues/40409))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

##### `@mui/base@5.0.0-beta.30`

- ​<!-- 40 -->\[useSlider] Rearrange passive option in eventlisteners
([#&#8203;40235](https://togithub.com/mui/material-ui/issues/40235))
[@&#8203;Kamino0](https://togithub.com/Kamino0)

##### `@mui/lab@5.0.0-alpha.159`

- ​<!-- 14 -->Add use client directive
([#&#8203;40358](https://togithub.com/mui/material-ui/issues/40358))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)

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

- ​<!-- 13 -->\[List] Copy all List\* components to material-next
package
([#&#8203;40367](https://togithub.com/mui/material-ui/issues/40367))
[@&#8203;sai6855](https://togithub.com/sai6855)
- ​<!-- 12 -->Update CONTRIBUTING guide given v6/v7 rescheduling
([#&#8203;40363](https://togithub.com/mui/material-ui/issues/40363))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)
- ​<!-- 11 -->\[MenuItem] Fix spec import
([#&#8203;40271](https://togithub.com/mui/material-ui/issues/40271))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)
- ​<!-- 10 -->\[Option] Add Option component
([#&#8203;40270](https://togithub.com/mui/material-ui/issues/40270))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)
- ​<!-- 09 -->\[Slider] Replace lodash with internal utils
([#&#8203;40261](https://togithub.com/mui/material-ui/issues/40261))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)
- ​<!-- 08 -->\[Switch] Change files to TypeScript
([#&#8203;39894](https://togithub.com/mui/material-ui/issues/39894))
[@&#8203;lhilgert9](https://togithub.com/lhilgert9)
- ​<!-- 07 -->\[theme] Move ref palette out of color schemes
([#&#8203;40341](https://togithub.com/mui/material-ui/issues/40341))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)

##### Docs

- ​<!-- 41 -->\[base-ui] Polish the Table Pagination demos
([#&#8203;40281](https://togithub.com/mui/material-ui/issues/40281))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 22 -->\[joy-ui] Fix dashboard template console errors
([#&#8203;40316](https://togithub.com/mui/material-ui/issues/40316))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 21 -->\[joy-ui] Fix image size on the Files template
([#&#8203;40315](https://togithub.com/mui/material-ui/issues/40315))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 20 -->\[material-ui] Revise the Divider page
([#&#8203;40356](https://togithub.com/mui/material-ui/issues/40356))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 19 -->\[material-ui] Polish the Next.js integration page
([#&#8203;40317](https://togithub.com/mui/material-ui/issues/40317))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 18 -->\[material-ui] Adding autoFocus on Virtual Popover
([#&#8203;40239](https://togithub.com/mui/material-ui/issues/40239))
[@&#8203;aacevski](https://togithub.com/aacevski)
- ​<!-- 17 -->\[material-ui] Revise the Roadmap page
([#&#8203;40054](https://togithub.com/mui/material-ui/issues/40054))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 16 -->\[material-ui] Update the "showing and hiding" section on
the Tooltip page
([#&#8203;40283](https://togithub.com/mui/material-ui/issues/40283))
[@&#8203;anle9650](https://togithub.com/anle9650)
- ​<!-- 05 -->\[material-ui] Fix Slider's customized iOS demo to use
updated official colors
([#&#8203;39813](https://togithub.com/mui/material-ui/issues/39813))
[@&#8203;Super-Kenil](https://togithub.com/Super-Kenil)
- ​<!-- 15 -->\[examples] Simplify Next.js example
([#&#8203;40318](https://togithub.com/mui/material-ui/issues/40318))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### Core

- ​<!-- 39 -->\[blog] Update open-graph cards for all posts
([#&#8203;40328](https://togithub.com/mui/material-ui/issues/40328))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 38 -->\[blog] Correct git diff
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 37 -->\[code-infra] Update lerna and unpin its version
([#&#8203;40399](https://togithub.com/mui/material-ui/issues/40399))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 36 -->\[code-infra] Break package dependency cycle between
[@&#8203;mui/material](https://togithub.com/mui/material) and
[@&#8203;mui/icons-material](https://togithub.com/mui/icons-material)
([#&#8203;40400](https://togithub.com/mui/material-ui/issues/40400))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 35 -->\[code-infra] Break package dependency cycles
([#&#8203;40398](https://togithub.com/mui/material-ui/issues/40398))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 34 -->\[code-infra] Sync bug issue template
([#&#8203;40305](https://togithub.com/mui/material-ui/issues/40305))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 33 -->\[docs] Fix 301 link to Base UI
([#&#8203;40396](https://togithub.com/mui/material-ui/issues/40396))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 32 -->\[docs] Link new MUI X components in sidnav
([#&#8203;40345](https://togithub.com/mui/material-ui/issues/40345))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 31 -->\[docs] Fix 301 links to Toolpad
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 30 -->\[docs] Remove old notifications
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 29 -->\[docs] Always mention the npm tag with npx
([#&#8203;40335](https://togithub.com/mui/material-ui/issues/40335))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 28 -->\[docs] Reduce network use on the All Components pages
([#&#8203;40313](https://togithub.com/mui/material-ui/issues/40313))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 27 -->\[docs-infra] Fix missing button aria-label
([#&#8203;40394](https://togithub.com/mui/material-ui/issues/40394))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 26 -->\[docs-infra] Fix a11y violation rule
([#&#8203;40393](https://togithub.com/mui/material-ui/issues/40393))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 25 -->\[docs-infra] Prefetch pages on hover
([#&#8203;40314](https://togithub.com/mui/material-ui/issues/40314))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 24 -->\[docs-infra] Fix footer links to link to the main domain
([#&#8203;40373](https://togithub.com/mui/material-ui/issues/40373))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 23 -->\[docs-infra] Add stray design adjustments
([#&#8203;40347](https://togithub.com/mui/material-ui/issues/40347))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 04 -->\[website] Fix Base UI page's component section imports &
styles
([#&#8203;40231](https://togithub.com/mui/material-ui/issues/40231))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 03 -->\[website] Fix outdated Nhost image link
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 02 -->\[website] Shorten Joy UI description, 7 chars too long
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 01 -->\[website] Update some social preview images
([#&#8203;40282](https://togithub.com/mui/material-ui/issues/40282))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)

All contributors of this release in alphabetical order:
[@&#8203;aacevski](https://togithub.com/aacevski),
[@&#8203;anle9650](https://togithub.com/anle9650),
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai),
[@&#8203;Kamino0](https://togithub.com/Kamino0),
[@&#8203;lhilgert9](https://togithub.com/lhilgert9),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;sai6855](https://togithub.com/sai6855),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp),
[@&#8203;Super-Kenil](https://togithub.com/Super-Kenil)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 19:50:58 +00:00
..
cypress chore: wait for post to finish instead of waiting a fixed time (#5851) 2024-01-11 11:03:01 +01:00
public
scripts
src chore: update orval schemas (#5858) 2024-01-11 18:18:44 +05:30
.editorconfig
.gitignore
.nvmrc
cypress.config.ts
cypress.d.ts
index.html feat: dynamic icons by adding material symbols font (#5008) 2023-10-12 11:22:23 +01:00
index.js
orval.config.js
package.json chore(deps): update material-ui monorepo (#5862) 2024-01-11 19:50:58 +00:00
README.md feat: application usage frontend (#4561) 2023-08-24 13:13:02 +03:00
tsconfig.json
tsconfig.node.json
vercel.json
vite.config.mts
yarn.lock chore(deps): update material-ui monorepo (#5862) 2024-01-11 19:50:58 +00:00

frontend

This directory contains the Unleash Admin UI frontend app.

Run with a local instance of the unleash-api

Refer to the Contributing to Unleash guide for instructions. The frontend dev server runs (in port 3000) simultaneously with the backend dev server (in port 4242):

yarn install
yarn dev

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:

For now we only use generated types (src/openapi/models). We will use methods (src/openapi/apis) for new features soon.

yarn gen:api
rm -rf src/openapi/apis

clean up src/openapi/index.ts imports, only keep first line export * from './models';

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