1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00
unleash.unleash/frontend
renovate[bot] d2331da363
chore(deps): update dependency @tanstack/react-table to v8.11.3 (#5841)
[![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://togithub.com/tanstack/table) |
[`8.10.7` ->
`8.11.3`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.10.7/8.11.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.10.7/8.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.10.7/8.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/tanstack/table/compare/v8.11.2...v8.11.3)

Version 8.11.3 - 1/3/2024, 3:36 PM

#### Changes

##### Fix

- getRow with expanded row model and selection
([#&#8203;5253](https://togithub.com/tanstack/table/issues/5253))
([`ca5c187`](https://togithub.com/tanstack/table/commit/ca5c1877)) by
Kevin Van Cott

##### Chore

- Remove old-examples
([#&#8203;5248](https://togithub.com/tanstack/table/issues/5248))
([`89ea3ef`](https://togithub.com/tanstack/table/commit/89ea3efb)) by
Lachlan Collins
- Remove Vite aliases and tsconfig composite
([#&#8203;5247](https://togithub.com/tanstack/table/issues/5247))
([`6906b87`](https://togithub.com/tanstack/table/commit/6906b875)) by
Lachlan Collins
- update contributing guide
([`d17a62b`](https://togithub.com/tanstack/table/commit/d17a62b8)) by
Kevin Vandy
- Attempt to enable Nx cloud caching
([#&#8203;5244](https://togithub.com/tanstack/table/issues/5244))
([`07d71fb`](https://togithub.com/tanstack/table/commit/07d71fb0)) by
Lachlan Collins
- Update Nx caching inputs
([#&#8203;5242](https://togithub.com/tanstack/table/issues/5242))
([`aec4d3c`](https://togithub.com/tanstack/table/commit/aec4d3c4)) by
Lachlan Collins
- Run prettier on CI
([#&#8203;5241](https://togithub.com/tanstack/table/issues/5241))
([`f4356c0`](https://togithub.com/tanstack/table/commit/f4356c09)) by
Lachlan Collins
- Rework publish script
([#&#8203;5240](https://togithub.com/tanstack/table/issues/5240))
([`5189d74`](https://togithub.com/tanstack/table/commit/5189d749)) by
Lachlan Collins
- Modularise rollup config
([#&#8203;5238](https://togithub.com/tanstack/table/issues/5238))
([`72c7ed6`](https://togithub.com/tanstack/table/commit/72c7ed6a)) by
Lachlan Collins
- Migrate to pnpm and modularise Nx tasks
([#&#8203;5234](https://togithub.com/tanstack/table/issues/5234))
([`51a6fd7`](https://togithub.com/tanstack/table/commit/51a6fd71)) by
Lachlan Collins
- Migrate from TypeScript 4.9 to 5.3
([#&#8203;5233](https://togithub.com/tanstack/table/issues/5233))
([`f7b7a8e`](https://togithub.com/tanstack/table/commit/f7b7a8ed)) by
Lachlan Collins
- Migrate from Nx v15 to v17
([#&#8203;5231](https://togithub.com/tanstack/table/issues/5231))
([`51eb4b6`](https://togithub.com/tanstack/table/commit/51eb4b67)) by
Lachlan Collins

##### Docs

- column virtualization example
([#&#8203;5245](https://togithub.com/tanstack/table/issues/5245))
([`43f22c9`](https://togithub.com/tanstack/table/commit/43f22c90)) by
Kevin Van Cott
- correct typo in introduction.md
([#&#8203;4910](https://togithub.com/tanstack/table/issues/4910))
([`7f68e42`](https://togithub.com/tanstack/table/commit/7f68e421)) by
Mark Tomlinson
- Update header.md -> fixing typos
([#&#8203;5236](https://togithub.com/tanstack/table/issues/5236))
([`6ccf35c`](https://togithub.com/tanstack/table/commit/6ccf35c1)) by
[@&#8203;kis619](https://togithub.com/kis619)
- Update header-group.md - correct typo
([#&#8203;5235](https://togithub.com/tanstack/table/issues/5235))
([`079d492`](https://togithub.com/tanstack/table/commit/079d4924)) by
[@&#8203;kis619](https://togithub.com/kis619)
- update virtual rows example
([#&#8203;5237](https://togithub.com/tanstack/table/issues/5237))
([`ff39428`](https://togithub.com/tanstack/table/commit/ff394286)) by
Kevin Van Cott
- Update column-sizing.md
([#&#8203;5232](https://togithub.com/tanstack/table/issues/5232))
([`de5788c`](https://togithub.com/tanstack/table/commit/de5788c4)) by
Kevin Van Cott
- Update example package.json to include faker
([#&#8203;5230](https://togithub.com/tanstack/table/issues/5230))
([`dd870a3`](https://togithub.com/tanstack/table/commit/dd870a3a)) by
Kevin Van Cott
- update route config for new resizing example
([#&#8203;5229](https://togithub.com/tanstack/table/issues/5229))
([`23a8e2e`](https://togithub.com/tanstack/table/commit/23a8e2eb)) by
Kevin Van Cott
- column sizing/resizing guide
([#&#8203;5228](https://togithub.com/tanstack/table/issues/5228))
([`d45b9a9`](https://togithub.com/tanstack/table/commit/d45b9a9f)) by
Kevin Van Cott
- create row selection guide
([#&#8203;5226](https://togithub.com/tanstack/table/issues/5226))
([`ae4c451`](https://togithub.com/tanstack/table/commit/ae4c451d)) by
Kevin Van Cott

#### Packages

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

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

[Compare
Source](https://togithub.com/tanstack/table/compare/v8.11.1...v8.11.2)

Version 8.11.2 - 12/20/2023, 6:03 PM

#### Changes

##### Fix

- fixed crash when toggling selection of non-visible row
([#&#8203;5221](https://togithub.com/tanstack/table/issues/5221))
([`cd8c821`](https://togithub.com/tanstack/table/commit/cd8c821c)) by
Kevin Van Cott

##### Chore

- Delete variables that are not used
([#&#8203;5122](https://togithub.com/tanstack/table/issues/5122))
([`743c9b7`](https://togithub.com/tanstack/table/commit/743c9b74)) by
[@&#8203;lio-mengxiang](https://togithub.com/lio-mengxiang)

#### Packages

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

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

[Compare
Source](https://togithub.com/tanstack/table/compare/v8.11.0...v8.11.1)

Version 8.11.1 - 12/20/2023, 5:39 PM

#### Changes

##### Fix

- export types IdIdentifier, StringHeaderIdentifier,
AccessorKeyColumnDefBase
([#&#8203;5133](https://togithub.com/tanstack/table/issues/5133))
([`83e2c37`](https://togithub.com/tanstack/table/commit/83e2c373)) by
maxence-lefebvre

#### Packages

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

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

[Compare
Source](https://togithub.com/tanstack/table/compare/v8.10.7...v8.11.0)

Version 8.11.0 - 12/17/2023, 4:55 PM

#### Changes

##### Feat

- Add columnResizeDirection table option to support RTL column resizing
([#&#8203;5192](https://togithub.com/tanstack/table/issues/5192))
([`cfdc3af`](https://togithub.com/tanstack/table/commit/cfdc3aff)) by
Samuel Arbibe

##### Chore

- Update jsdoc comments
([#&#8203;5174](https://togithub.com/tanstack/table/issues/5174))
([`726d1d6`](https://togithub.com/tanstack/table/commit/726d1d66)) by
[@&#8203;morinokami](https://togithub.com/morinokami)

##### Docs

- fix wrong description in sorting.md
([#&#8203;5134](https://togithub.com/tanstack/table/issues/5134))
([`538c06d`](https://togithub.com/tanstack/table/commit/538c06d1)) by
[@&#8203;tychenjiajun](https://togithub.com/tychenjiajun)
- Improve row selection docs
([#&#8203;5184](https://togithub.com/tanstack/table/issues/5184))
([`ff9f1f8`](https://togithub.com/tanstack/table/commit/ff9f1f8f)) by
Patrick Richardson
- Fix typo
([#&#8203;5149](https://togithub.com/tanstack/table/issues/5149))
([`cfcc0f1`](https://togithub.com/tanstack/table/commit/cfcc0f1d)) by
Timothy Hsu
- Update table.md column-defs link
([#&#8203;5155](https://togithub.com/tanstack/table/issues/5155))
([`4b64bab`](https://togithub.com/tanstack/table/commit/4b64bab5)) by
Myat Su Phyo
- Update project name in docs/guide/features.md
([#&#8203;5178](https://togithub.com/tanstack/table/issues/5178))
([`ce53752`](https://togithub.com/tanstack/table/commit/ce537520)) by
Martin Stemmle
- Vue example - Row Selection
([#&#8203;5158](https://togithub.com/tanstack/table/issues/5158))
([`b91fe9a`](https://togithub.com/tanstack/table/commit/b91fe9ad)) by
[@&#8203;rak-phillip](https://togithub.com/rak-phillip)
- Update column-defs.md
([#&#8203;5157](https://togithub.com/tanstack/table/issues/5157))
([`cc8ecd9`](https://togithub.com/tanstack/table/commit/cc8ecd9a)) by
Micah Nacht
- Update ag-grid.md
([#&#8203;5188](https://togithub.com/tanstack/table/issues/5188))
([`21c1dbb`](https://togithub.com/tanstack/table/commit/21c1dbb4)) by
[@&#8203;JosephSKh](https://togithub.com/JosephSKh)

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).11.0
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).11.0
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).11.0
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).11.0
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).11.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 22:08:55 +00:00
..
cypress chore(deps): update dependency @testing-library/jest-dom to v6 (#5835) 2024-01-10 15:20:15 +01:00
public
scripts
src Fix/banner placement (#5833) 2024-01-10 16:08:56 +01:00
.editorconfig
.gitignore
.nvmrc
cypress.config.ts chore: upgrading vite to newer version (#5703) 2023-12-20 14:48:18 +01:00
cypress.d.ts
index.html
index.js
orval.config.js
package.json chore(deps): update dependency @codemirror/state to v6.4.0 (#5840) 2024-01-10 19:52:55 +00:00
README.md
tsconfig.json
tsconfig.node.json chore: upgrading vite to newer version (#5703) 2023-12-20 14:48:18 +01:00
vercel.json
vite.config.mts fix: fix assets not showing up (#5757) 2024-01-04 12:11:42 +02:00
yarn.lock chore(deps): update dependency @tanstack/react-table to v8.11.3 (#5841) 2024-01-10 22:08:55 +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