1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00
unleash.unleash/frontend
renovate[bot] 2d036451e6
chore(deps): update dependency @tanstack/react-table to v8.20.1 (#7925)
[![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.19.3` ->
`8.20.1`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.19.3/8.20.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.19.3/8.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.19.3/8.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

Version 8.20.1 - 8/3/24, 10:29 PM

#### Changes

##### Fix

- id building was not consistent when using deep accessorKey (4754)
([#&#8203;5430](https://togithub.com/TanStack/table/issues/5430))
([`84cf73a`](https://togithub.com/TanStack/table/commit/84cf73a)) by
Roman Kozodoi

##### Docs

- fix link to row-models doc in guide/tables.md
([#&#8203;5467](https://togithub.com/TanStack/table/issues/5467))
([`55da0c3`](https://togithub.com/TanStack/table/commit/55da0c3)) by
[@&#8203;0ctothorp](https://togithub.com/0ctothorp)
- Update columns.md
([#&#8203;5666](https://togithub.com/TanStack/table/issues/5666))
([`a8d1971`](https://togithub.com/TanStack/table/commit/a8d1971)) by
squidjam

#### Packages

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

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

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

Version 8.19.4 - 8/3/24, 8:50 PM

#### Changes

##### Fix

- getFacetedMinMaxValues default implementation sometimes returning
array of arrays
([#&#8203;5676](https://togithub.com/TanStack/table/issues/5676))
([`9d54b2e`](https://togithub.com/TanStack/table/commit/9d54b2e)) by
Vincent Rubinetti

##### Chore

- update [@&#8203;tanstack/config](https://togithub.com/tanstack/config)
([#&#8203;5678](https://togithub.com/TanStack/table/issues/5678))
([`dd210f9`](https://togithub.com/TanStack/table/commit/dd210f9)) by
Lachlan Collins
- match-sorter-utils: fix JSDoc comment for rankItem
([#&#8203;5671](https://togithub.com/TanStack/table/issues/5671))
([`92ef946`](https://togithub.com/TanStack/table/commit/92ef946)) by
Dayyan Smith

##### Ci

- Add autofix.yml
([#&#8203;5669](https://togithub.com/TanStack/table/issues/5669))
([`efba3b0`](https://togithub.com/TanStack/table/commit/efba3b0)) by
Lachlan Collins

##### Docs

- update broken links in README
([#&#8203;5691](https://togithub.com/TanStack/table/issues/5691))
([`be8d0e7`](https://togithub.com/TanStack/table/commit/be8d0e7)) by
eelpik
- typo in multi-sorting guide
([#&#8203;5686](https://togithub.com/TanStack/table/issues/5686))
([`2c74877`](https://togithub.com/TanStack/table/commit/2c74877)) by
brokenrice
- fix typo on tables.md
([#&#8203;5681](https://togithub.com/TanStack/table/issues/5681))
([`a669e39`](https://togithub.com/TanStack/table/commit/a669e39)) by
Rohit Dalal
- Clarify that getIsSomeRowsSelected return false if all rows are
selected
([#&#8203;5337](https://togithub.com/TanStack/table/issues/5337))
([`5f7ddd6`](https://togithub.com/TanStack/table/commit/5f7ddd6)) by SMU
- angular-table: Update table-state.md
([#&#8203;5677](https://togithub.com/TanStack/table/issues/5677))
([`fe690df`](https://togithub.com/TanStack/table/commit/fe690df)) by
[@&#8203;nicklemmon](https://togithub.com/nicklemmon)
- Fix typo in documentation
([#&#8203;5673](https://togithub.com/TanStack/table/issues/5673))
([`7bf42dd`](https://togithub.com/TanStack/table/commit/7bf42dd)) by
Maxime Julian
- update the syntax highlighting for angular
([#&#8203;5668](https://togithub.com/TanStack/table/issues/5668))
([`e420d00`](https://togithub.com/TanStack/table/commit/e420d00)) by
[@&#8203;mgechev](https://togithub.com/mgechev)

#### Packages

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

</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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 20:24:47 +00:00
..
.yarn/releases task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
cypress [Gitar] Cleaning up stale flag: improveCreateFlagFlow with value true (#7895) 2024-08-15 15:53:36 +03:00
public feat: Project owners UI (#6949) 2024-04-29 11:51:44 +02:00
scripts
src [Gitar] Cleaning up stale flag: changeRequestPlayground with value true (#7920) 2024-08-19 15:33:55 +02:00
.editorconfig add editorconfig 2016-12-05 23:08:32 +01:00
.gitignore chore: add gitignores to frontend and website subdirectories (#7336) 2024-06-10 14:39:14 +02:00
.npmignore task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
.nvmrc chore: bump to @types/node 20 as well as updating frontend .nvmrc (#7137) 2024-05-24 07:40:20 +00:00
.yarnrc.yml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
check-imports.rc task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
cypress.config.ts chore: upgrading vite to newer version (#5703) 2023-12-20 14:48:18 +01:00
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 feat: exporting events as csv (#7860) 2024-08-13 16:28:03 +03: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 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.20.1 (#7925) 2024-08-19 20:24:47 +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