1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/frontend
renovate[bot] bf926cc163
chore(deps): update dependency @tanstack/react-table to v8.15.0 (#6744)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-table](https://tanstack.com/table)
([source](https://togithub.com/TanStack/table/tree/HEAD/packages/react-table))
| [`8.13.2` ->
`8.15.0`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.13.2/8.15.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.13.2/8.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.13.2/8.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>TanStack/table (@&#8203;tanstack/react-table)</summary>

###
[`v8.15.0`](https://togithub.com/TanStack/table/releases/tag/v8.15.0)

[Compare
Source](https://togithub.com/TanStack/table/compare/v8.14.0...v8.15.0)

Version 8.15.0 - 3/22/2024, 1:03 AM

#### Changes

##### Feat

- qwik-table adapter
([#&#8203;5420](https://togithub.com/TanStack/table/issues/5420))
([`f99f500`](https://togithub.com/TanStack/table/commit/f99f5007)) by
Anxhi Rroshi

##### Chore

- package upgrades
([#&#8203;5425](https://togithub.com/TanStack/table/issues/5425))
([`bbf7fca`](https://togithub.com/TanStack/table/commit/bbf7fca7)) by
Kevin Van Cott

##### Other

- Update row.md
([`bf09ef9`](https://togithub.com/TanStack/table/commit/bf09ef91)) by
Kevin Van Cott
- Update row.md
([`88ffd01`](https://togithub.com/TanStack/table/commit/88ffd01e)) by
Kevin Van Cott
- Update custom-features.md example link
([`65af403`](https://togithub.com/TanStack/table/commit/65af4030)) by
Kevin Van Cott
- Update custom-features.md
([`a6235c8`](https://togithub.com/TanStack/table/commit/a6235c84)) by
Kevin Van Cott
- Update custom-features.md
([`3e48418`](https://togithub.com/TanStack/table/commit/3e484188)) by
Kevin Van Cott

#### Packages

-
[@&#8203;tanstack/qwik-table](https://togithub.com/tanstack/qwik-table)[@&#8203;8](https://togithub.com/8).15.0
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).15.0
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).15.0
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).15.0
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).15.0

###
[`v8.14.0`](https://togithub.com/TanStack/table/releases/tag/v8.14.0)

[Compare
Source](https://togithub.com/TanStack/table/compare/v8.13.2...v8.14.0)

Version 8.14.0 - 3/19/2024, 6:33 PM

#### Changes

##### Feat

- allow custom features
([#&#8203;5415](https://togithub.com/TanStack/table/issues/5415))
([`707a5b4`](https://togithub.com/TanStack/table/commit/707a5b4f)) by
Kevin Van Cott

##### Chore

- split filtering features and rename
([#&#8203;5413](https://togithub.com/TanStack/table/issues/5413))
([`01129cb`](https://togithub.com/TanStack/table/commit/01129cb4)) by
Kevin Van Cott
- split column and row pinning
([#&#8203;5402](https://togithub.com/TanStack/table/issues/5402))
([`ea4d40a`](https://togithub.com/TanStack/table/commit/ea4d40a7)) by
Kevin Van Cott

##### Docs

- column filter docs
([#&#8203;5409](https://togithub.com/TanStack/table/issues/5409))
([`b487f56`](https://togithub.com/TanStack/table/commit/b487f560)) by
Kevin Van Cott
- Update docs/config.json
([#&#8203;5404](https://togithub.com/TanStack/table/issues/5404))
([`af29b3b`](https://togithub.com/TanStack/table/commit/af29b3b5)) by
Lachlan Collins
- change deprecated links
([`38f8c7c`](https://togithub.com/TanStack/table/commit/38f8c7c0)) by
Kevin Vandy
- sorting docs
([#&#8203;5400](https://togithub.com/TanStack/table/issues/5400))
([`ab0c5e0`](https://togithub.com/TanStack/table/commit/ab0c5e0b)) by
Kevin Van Cott
- fix some links and typos
([#&#8203;5390](https://togithub.com/TanStack/table/issues/5390))
([`2ec0d29`](https://togithub.com/TanStack/table/commit/2ec0d292)) by
Kevin Van Cott
- create react state guide and reorg sidebar guides
([#&#8203;5389](https://togithub.com/TanStack/table/issues/5389))
([`9dde1cd`](https://togithub.com/TanStack/table/commit/9dde1cd4)) by
Kevin Van Cott
- Update tables.md
([#&#8203;5381](https://togithub.com/TanStack/table/issues/5381))
([`7789066`](https://togithub.com/TanStack/table/commit/77890661)) by
Lex Borisov
- update `columnGroupingMode` to `groupedColumnMode`
([#&#8203;5379](https://togithub.com/TanStack/table/issues/5379))
([`3ae90fb`](https://togithub.com/TanStack/table/commit/3ae90fbe)) by
Mingyu Cui
- Update column-def.md
([#&#8203;5385](https://togithub.com/TanStack/table/issues/5385))
([`c03946d`](https://togithub.com/TanStack/table/commit/c03946d0)) by
Lex Borisov
- Remove reactism from vue adapter page
([#&#8203;5386](https://togithub.com/TanStack/table/issues/5386))
([`5610ba2`](https://togithub.com/TanStack/table/commit/5610ba20)) by
Erik Lilja

##### Other

- Update sorting.md
([`16d16dd`](https://togithub.com/TanStack/table/commit/16d16dd3)) by
Kevin Van Cott

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).14.0
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).14.0
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).14.0
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).14.0
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).14.0
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).14.0

</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.

🔕 **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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 04:43:11 +00:00
..
cypress chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
public
scripts
src feat: variant dependencies ui (#6739) 2024-03-29 19:28:49 +01:00
.editorconfig
.gitignore
.nvmrc
check-imports.rc chore: add a script that validates that we don't use prohibited mui material-icons import (#6516) 2024-03-12 13:29:52 +01:00
cypress.config.ts
cypress.d.ts
index.html
index.js
orval.config.js
package.json chore(deps): update dependency @uiw/react-codemirror to v4.21.25 (#6743) 2024-04-01 00:36:19 +00:00
README.md
tsconfig.json
tsconfig.node.json
vercel.json
vite.config.mts
yarn.lock chore(deps): update dependency @tanstack/react-table to v8.15.0 (#6744) 2024-04-01 04:43:11 +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