1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
Commit Graph

454 Commits

Author SHA1 Message Date
renovate[bot]
c0edf76033 chore(deps): update material-ui monorepo (#1075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-08 11:57:30 +02:00
Renovate Bot
ee52f224bc chore(deps): update dependency react-chartjs-2 to v4.2.0 2022-06-07 23:21:29 +00:00
Renovate Bot
f4386e0228 chore(deps): update dependency plausible-tracker to v0.3.8 2022-06-07 19:36:01 +00:00
Renovate Bot
2f604440b4 chore(deps): update dependency vite to v2.9.10 2022-06-06 22:59:05 +00:00
Renovate Bot
f60aa5fb72 chore(deps): update dependency vitest to v0.14.1 2022-06-06 19:29:59 +00:00
Renovate Bot
aa0cae8471 chore(deps): update dependency plausible-tracker to v0.3.7 2022-06-06 16:05:08 +00:00
Renovate Bot
6dceedbd35 chore(deps): update dependency vitest to v0.14.0 2022-06-06 09:13:05 +02:00
Renovate Bot
3a69fce4a0 chore(deps): update dependency eslint to v8.17.0 2022-06-06 09:13:05 +02:00
Renovate Bot
636db67254 chore(deps): update dependency typescript to v4.7.3 2022-06-06 09:13:05 +02:00
Renovate Bot
a60112a5c8 chore(deps): update dependency sass to v1.52.2 2022-06-06 09:13:05 +02:00
Renovate Bot
bad17e3606 chore(deps): update dependency @types/jest to v27.5.2 2022-06-01 23:01:20 +00:00
Renovate Bot
a5ed65b3ac chore(deps): update dependency vitest to v0.13.1 2022-06-01 16:55:36 +00:00
Renovate Bot
c8fccfb9ed chore(deps): update material-ui monorepo 2022-05-31 14:23:33 +00:00
Renovate Bot
63a30695ce chore(deps): update dependency msw to v0.42.0 2022-05-31 03:54:51 +00:00
Renovate Bot
590a0f20ff chore(deps): update dependency vitest to v0.13.0 2022-05-30 13:18:08 +00:00
Renovate Bot
5c587685a0 chore(deps): update dependency msw to v0.41.1 2022-05-28 03:15:13 +00:00
Renovate Bot
5bd840107e chore(deps): update dependency vite-tsconfig-paths to v3.5.0 2022-05-27 02:00:36 +00:00
Renovate Bot
616cc8de24 chore(deps): update dependency chart.js to v3.8.0 2022-05-25 18:38:19 +00:00
olav
34f848ce8a refactor: replace react-dnd with custom implementation (#988)
* refactor: replace react-dnd with custom implementation

* refactor: add TextCell, IconCell, and ActionCell

* refactor: port environments list to react-table

* refactor: change OfflineBolt to PowerSettingsNew

* refactor: simplify environment toast text

* refactor: improve IToast type type

* refactor: improve useSearchHighlightContext naming

* refactor: clarify enableDragAndDrop logic
2022-05-25 11:40:20 +02:00
Renovate Bot
c2b5c563db chore(deps): update dependency tss-react to v3.7.0 2022-05-25 00:14:15 +00:00
Renovate Bot
37268baa3a chore(deps): update dependency typescript to v4.7.2 2022-05-24 21:38:08 +00:00
Renovate Bot
a0261daac6 chore(deps): update material-ui monorepo 2022-05-23 20:23:55 +00:00
Renovate Bot
d65ceeacc8 chore(deps): update dependency msw to v0.41.0 2022-05-22 04:49:14 +00:00
Renovate Bot
caff12b6d6 chore(deps): update dependency vitest to v0.12.9 2022-05-21 22:00:27 +00:00
Renovate Bot
f15cc528bd chore(deps): update dependency eslint to v8.16.0 2022-05-21 04:25:33 +00:00
Renovate Bot
959fcf3ff3 chore(deps): update dependency sass to v1.52.1 2022-05-21 01:59:12 +00:00
Renovate Bot
e2384a4434 chore(deps): update dependency msw to v0.40.2 2022-05-20 19:21:44 +00:00
Renovate Bot
a8b46a664f chore(deps): update dependency sass to v1.52.0 2022-05-20 06:02:24 +00:00
Renovate Bot
4cc9824441 chore(deps): update dependency msw to v0.40.1 2022-05-20 00:27:13 +00:00
Renovate Bot
4aee33e189 chore(deps): update dependency msw to v0.40.0 2022-05-18 04:07:47 +00:00
Renovate Bot
ac808d5849 chore(deps): update dependency react-table to v7.8.0 2022-05-17 17:11:43 +00:00
Renovate Bot
1fdf62dcaf chore(deps): update material-ui monorepo 2022-05-17 14:32:14 +00:00
Renovate Bot
3c9563c7eb chore(deps): update dependency vitest to v0.12.6 2022-05-13 19:18:32 +00:00
Renovate Bot
752885a0ac chore(deps): update dependency @types/react-dom to v17.0.17 2022-05-12 22:57:32 +00:00
Renovate Bot
36ce99413d chore(deps): update dependency @testing-library/user-event to v14.2.0 2022-05-12 20:50:44 +00:00
Renovate Bot
fd12d842a5 chore(deps): update dependency immer to v9.0.14 2022-05-12 16:06:33 +00:00
olav
d1e7a26763 refactor: fix missing eslint deps after CRA removal (#976)
* refactor: fix missing eslint deps after CRA removal

* refactor: fix eslint issues
2022-05-12 08:11:41 +02:00
Renovate Bot
945dc2bc90 chore(deps): update dependency @types/jest to v27.5.1 2022-05-12 03:16:42 +00:00
Renovate Bot
5e6f8db3dc chore(deps): update dependency immer to v9.0.13 2022-05-11 22:20:37 +00:00
Renovate Bot
97fa9d8ae6 chore(deps): update dependency @types/react-table to v7.7.12 2022-05-11 19:27:44 +00:00
Renovate Bot
83d7c356b6 chore(deps): update dependency vite to v2.9.9 2022-05-11 14:27:56 +00:00
Renovate Bot
4c2ec052f6 chore(deps): update dependency vitest to v0.12.4 2022-05-11 03:18:09 +00:00
Renovate Bot
b0b5ddd7d3 chore(deps): update material-ui monorepo 2022-05-10 18:48:43 +00:00
Renovate Bot
2a77a9ef6d chore(deps): update dependency vitest to v0.12.3 2022-05-10 16:37:39 +00:00
Renovate Bot
78f06d3dcb chore(deps): update dependency vitest to v0.12.0 2022-05-08 12:56:20 +00:00
Renovate Bot
4bbfabfdc7 chore(deps): update dependency vitest to v0.11.0 2022-05-08 01:44:14 +00:00
Renovate Bot
016547232b chore(deps): update dependency @types/react to v17.0.45 2022-05-07 01:12:01 +00:00
Renovate Bot
73a78644bd chore(deps): update dependency vitest to v0.10.5 2022-05-06 16:57:24 +00:00
Renovate Bot
c99aac5a6f chore(deps): update dependency vite-plugin-svgr to v2.1.0 2022-05-06 14:30:40 +00:00
olav
ae51e979cd refactor: add Plausible tracker on SaaS domain (#956)
* feat: add Plausible tracker on SaaS domain

* refactor: check uiFlags.T instead of the domain
2022-05-06 14:04:09 +02:00
Nuno Góis
badc65ddf0 refactor: some cleanup after the vite PR (#958) 2022-05-06 13:11:46 +02:00
Renovate Bot
02ab34ef0e chore(deps): update dependency vitest to v0.10.4 2022-05-05 23:29:53 +00:00
Renovate Bot
923a575c0c chore(deps): update dependency vite to v2.9.8 2022-05-05 20:54:49 +00:00
Renovate Bot
2bfdfcbe50 chore(deps): update dependency @vitejs/plugin-react to v1.3.2 2022-05-05 18:19:06 +00:00
Nuno Góis
5872a1c82c refactor: adapt to Vite (#940)
* chore: adapt to vite

* remove react-scripts

* add jsdom dep, update snaps

* fix tests

* fix: formatting

* fix: vercel rewrite

* fix: regeneratorRuntime is not defined

Co-authored-by: Tymoteusz Czech <tymek+gpg@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-05-05 16:15:22 +01:00
Tymoteusz Czech
1772997d28 Feature list table (#908)
* experiment with generic table

* feat: example implementation of sortable table interfaces

* add enhanced table header

Co-authored-by: Nuno Góis <github@nunogois.com>

* table cleanup

Co-authored-by: Nuno Góis
Co-authored-by: Fredrik Strand Oseberg

* useSort hook interface surface

Co-authored-by: Nuno Góis <github@nunogois.com>

* sort handler initial implementation

Co-authored-by: Tymoteusz Czech <Tymek@users.noreply.github.com>

* new table unified components

* feature flags table components

Co-authored-by: Nuno Góis <github@nunogois.com>

* feat: new table sort hook

* feat: table sort

* useSearch hook implementation

* update new sort hook tests

* sortable headers hook

* feat: add sort to other table features

* move experimental table hooks to a directory

* update new table header styles

* fix: header, tableActions

* add some details like pagination and highlighter so we keep them in mind

* feature table cells

* update new table sort logic

* new pagination

* fix formatting and remove unused component

* fix: adapt useSearch default search to text instead of regex (PR #924)

* fix: update table title based on visible rows

* fix: remove test route

* refactor: move table experiment files

* features table experimentation

* feat: enhanced feature flags table

* fix: features default sort

* feat: enhanced table loading

* fix: table theme after mui5 update

* features list placeholder

* add react-table

* update snapshots after theme change

* remove unused files

* fix: improve features table after review

* refactor: rename feature type cell variables

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Tymoteusz Czech <Tymek@users.noreply.github.com>
2022-05-05 15:34:46 +02:00
olav
d8143c6ff4 chore: update react-router to v6 (#946)
* refactor: fix child selector warnings

* refactor: update react-router-dom

* refactor: use BrowserRouter as in react-router docs

* refactor: replace Redirect with Navigate

* refactor: replace Switch with Routes

* refactor: replace useHistory with useNavigate

* refactor: replace useParams types with useRequiredPathParam

* refactor: replace NavLink activeStyle with callback

* refactor: fix matchPath arg order

* refactor: Remove unused link state

* refactor: delete broken snapshot test

* refactor: render 404 page without redirect

* refactor: normalize path parameter names

* refactor: fix Route component usage
2022-05-05 13:42:18 +02:00
Renovate Bot
73d2b73955 chore(deps): update dependency @types/jest to v27.5.0 2022-05-03 17:55:28 +00:00
Renovate Bot
b3830538f9 chore(deps): update material-ui monorepo 2022-05-02 17:08:58 +00:00
olav
24c11332b5 chore: update MUI to v5 (#923)
* refactor: update mui packages

* refactor: run mui codemods

* refactor: format files after codemods

* refactor: fix broken types

* refactor: clean up theme

* refactor: fix broken tests

* refactor: replace @mui/styles with tss-react

* refactor: move breakpoints into classes for tss

* refactor: fix crash on missing feature description

* refactor: remove void classNames

* refactor: adjust styles to new defaults

* refactor: remove broken rollout slider e2e test

* refactor: fix duplicate e2e testid

* refactor: update makeStyles after rebase

* refactor: add missing snapshot after rebase

* refactor: fix TableCellSortable focus styles

* refactor: use 1.4 as the default line-height

* refactor: hide webkit search field icons

* refactor: fix select box label

* refactor: make AutocompleteBox smaller

* refactor: make heading smaller

* refactor: fix toast close icon color

* refactor: update snapshots

* refactor: add missing test event awaits

* refactor: fix default button line-height
2022-05-02 15:52:41 +02:00
Renovate Bot
00341c6d67 chore(deps): update dependency swr to v1.3.0 2022-04-30 14:06:37 +00:00
Renovate Bot
0a1dab9464 chore(deps): update dependency sass to v1.51.0 2022-04-30 11:17:31 +00:00
Renovate Bot
2940cb105b chore(deps): update dependency @testing-library/user-event to v14.1.1 2022-04-30 06:00:20 +00:00
Renovate Bot
5f03a2d1ee chore(deps): update dependency @testing-library/dom to v8.13.0 2022-04-30 03:12:47 +00:00
Renovate Bot
f9fb1e5981 chore(deps): update dependency @openapitools/openapi-generator-cli to v2.5.1 2022-04-30 00:16:28 +00:00
Renovate Bot
fbff586c04 chore(deps): update dependency typescript to v4.6.4 2022-04-29 21:35:57 +00:00
Renovate Bot
d11b30f7b3 chore(deps): update dependency semver to v7.3.7 2022-04-29 18:56:52 +00:00
Renovate Bot
a5446b1a3e chore(deps): update dependency @testing-library/jest-dom to v5.16.4 2022-04-29 16:25:52 +00:00
Renovate Bot
a255ccb458 chore(deps): update dependency react-scripts to v5.0.1 2022-04-29 10:34:04 +00:00
Renovate Bot
e3eb89fdf4 chore(deps): update dependency react-router-dom to v5.3.1 2022-04-29 04:14:20 +00:00
Renovate Bot
7073ab45b9 chore(deps): update dependency http-proxy-middleware to v2.0.6 2022-04-29 01:39:41 +00:00
Renovate Bot
ea7cda5200 chore(deps): update dependency @types/react-test-renderer to v17.0.2 2022-04-28 23:06:30 +00:00
Renovate Bot
45077f4b6a chore(deps): update dependency @types/react-dom to v17.0.16 2022-04-28 19:15:04 +00:00
Renovate Bot
b9bf564f51 chore(deps): update dependency @types/lodash.clonedeep to v4.5.7 2022-04-28 17:01:51 +00:00
Renovate Bot
36deb8bf32 chore(deps): update dependency prettier to v2.6.2 2022-04-28 14:56:50 +00:00
olav
8f1900f32b feat: generate an OpenAPI client (2) (#875)
* feat: add a script that generates an OpenAPI client

* feat: generate an OpenAPI client

* feat: use the generated OpenAPI client

* refactor: add an OpenAPI section to the readme

* refactor: fix missing interface prefixes

* refactor: regenerate OpenAPI client
2022-04-26 10:53:46 +02:00
Renovate Bot
9200e74c90 chore(deps): update dependency @testing-library/react to v12.1.5 2022-04-17 21:57:56 +00:00
olav
49b8e7329e refactor: convert auth tests from Cypress to Jest (#864)
* refactor: replace data-test with data-testid

* refactor: add Jest tests for auth pages

* refactor: remove Cypress tests for auth pages

* refactor: remove questionable snapshots

* refactor: share test server setup/teardown

* refactor: restore auth page flex layout

* refactor: use toBeInTheDocument

* refactor: change recent data-test attrs to data-testid
2022-04-08 13:13:45 +02:00
Tymoteusz Czech
b23226370a feat: multi-project api access tokens (#857)
* fix: general select component typings

* custom multi-select for projects

* autocomplete element for token projects

* project multi-select with error handling

* projects in tokens list update

* multi-project tokens - select all button

* fix conflicting typescript changes

* improve multi-projects tokens form after review

* refactor multi-project select code structure

* test api token list projects column element

* simplify test renderer
2022-04-08 12:26:44 +02:00
Ivar Conradi Østhus
881728bb5e fix: expose unleash-frontend version in index.js (#661) 2022-04-08 11:45:23 +02:00
Renovate Bot
294321be80 chore(deps): update dependency react-chartjs-2 to v4.1.0 2022-04-08 03:38:53 +00:00
Renovate Bot
b5ef10b224 chore(deps): update dependency @types/react to v17.0.44 2022-04-08 00:39:01 +00:00
Renovate Bot
92d830f8ef chore(deps): update dependency @types/react-dom to v17.0.15 2022-04-07 21:51:15 +00:00
Renovate Bot
e909d22300 chore(deps): update dependency semver to v7.3.6 2022-04-06 22:24:06 +00:00
Ivar Conradi Østhus
7678e304dd fix: recreate yarn.lock 2022-04-05 14:42:53 +02:00
Renovate Bot
6f072afbf4 chore(deps): update material-ui monorepo 2022-04-03 18:51:53 +00:00
Renovate Bot
4d0760760b chore(deps): update dependency sass to v1.49.11 2022-04-02 04:21:03 +00:00
Renovate Bot
2858e47c24 chore(deps): update dependency @testing-library/user-event to v14.0.4 2022-04-01 14:06:33 +00:00
Renovate Bot
391f1818f1 chore(deps): update react-dnd monorepo 2022-04-01 00:01:42 +00:00
Renovate Bot
8816ad5b0c chore(deps): update dependency @testing-library/user-event to v14.0.3 2022-03-31 21:26:24 +00:00
olav
a72f6ec8b5 chore: update react-dnd (#834)
* chore: update react-dnd

* refactor: add missing react-dnd types
2022-03-31 15:05:05 +02:00
renovate[bot]
4fce721981 chore(deps): update dependency @testing-library/react to v13 (#835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 14:46:40 +02:00
renovate[bot]
b6766bb8ce chore(deps): update dependency @testing-library/user-event to v14 (#828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 14:21:51 +02:00
Renovate Bot
2377def561 chore(deps): update dependency sass to v1.49.10 2022-03-31 04:09:57 +00:00
Renovate Bot
8568573b4b chore(deps): update dependency cypress to v9.5.3 2022-03-29 03:37:04 +00:00
dependabot[bot]
27d6e364af chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 (#822)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 12:45:21 +02:00
renovate[bot]
4aff526252 chore(deps): update dependency @testing-library/dom to v8.12.0 (#821)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 12:28:40 +02:00
renovate[bot]
c8e2260ab9 chore(deps): update dependency @testing-library/jest-dom to v5.16.3 (#814)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 12:20:18 +02:00
dependabot[bot]
501071691c chore(deps): bump browserslist from 4.16.3 to 4.20.2 (#819)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.20.2.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.20.2)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:58:50 +02:00
dependabot[bot]
3c3277f189 chore(deps): bump minimist from 1.2.5 to 1.2.6 (#813)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:24:19 +02:00