1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

2271 Commits

Author SHA1 Message Date
renovate[bot]
f76a68dac1
chore(deps): update material-ui monorepo (#1978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 13:26:28 +00:00
Fredrik Strand Oseberg
85b45b9965
Feat/unleash flags embedded proxy (#1974)
* feat: use unleash flags for embedded proxy

* feat: add a separate flag for the proxy frontend

* fix: setup unleash in dev

* fix: check flagResolver on each request

* fix: remove unleash client setup

* refactor: update frontend routes snapshot

* refactor: make batchMetrics flag dynamic

* fix: always check dynamic CORS origins config

* fix: make conditionalMiddleware work with the OpenAPI schema generation

Co-authored-by: olav <mail@olav.io>
2022-08-26 15:16:29 +02:00
Nuno Góis
2d8dfafea9
chore: upgrade vite to v3 (#1977) 2022-08-26 13:49:44 +01:00
renovate[bot]
ad4393b8d7
chore(deps): update dependency @uiw/react-codemirror to v4.11.6 (#1972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 10:31:58 +00:00
renovate[bot]
080802e369
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.11.6 (#1971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 12:18:58 +02:00
renovate[bot]
b38f220a18
chore(deps): update dependency @types/jest to v28.1.8 (#1970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 12:04:19 +02:00
sjaanus
a1ce89bedc
Merge frontend with backend (#1962)
* fix: use the frontend dir from the backend

* Build is now working

* Fix workflows

* Fix workflows

* Fix build PRs

* Test coverage workflow

* Test coverage

* Test coverage run

* Fix jest report

* refactor: add missing frontend build

* refactor: ignore frontend dir for coverage

* refactor: run frontend build in PRs

* refactor: run backend tests in PRs

* Revert "refactor: run backend tests in PRs"

This reverts commit 22cabddfd1.

* refactor: remove unused frontend build file

* refactor: test workflows in PR

* refactor: use a prepare script for the frontend

* refactor: simplify yarn build scripts

* refactor: fix check-release script

* Revert "refactor: test workflows in PR"

This reverts commit 496ae19404.

* refactor: remove unused gitignore lines

* refactor: remove renovate config from the frontend repo

* refactor: remove frontend repo license

* refactor: remove frontend repo changelog

* refactor: update frontend repo readme

* refactor: add frontend node_modules to dockerignore

* refactor: update the docker yarn.lock snapshot

Co-authored-by: olav <mail@olav.io>
2022-08-26 07:25:31 +00:00
Fredrik Oseberg
e5f0c39dbd fix: avatar padding 2022-08-24 10:48:46 +02:00
Fredrik Oseberg
0b5ccc1bfa 4.14.8 2022-08-24 10:40:14 +02:00
olav
c880e962ee fix: avoid validating boolean and undefined parameter values (#1244)
* fix: avoid validating boolean parameter values

* fix: avoid validating undefined parameter values
2022-08-24 10:38:08 +02:00
renovate[bot]
b16dfc9b95 chore(deps): update dependency msw to v0.45.0 (#1242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-24 00:47:30 +00:00
renovate[bot]
5c4ff63702 chore(deps): pin dependency @uiw/codemirror-theme-duotone to 4.11.5 (#1241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 21:37:59 +00:00
renovate[bot]
28dbb878e2 chore(deps): update dependency @uiw/react-codemirror to v4.11.5 (#1240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 17:50:25 +00:00
Fredrik Strand Oseberg
6818a82cd1 Feat/dark mode exp (#1137)
* feat: add dark mode theme

* fix: feature metrics

* fix: add color

* styling

* fix: add switch

* fix: form sidebar

* fix: remove console log

* fix: add properties

* fix: strategy container

* feat: feature flag

* fix: tests

* fix: build

* fix: logo

* fix: icon

* fix: update snapshots

* fix: CES operator

* fix: typography

* fix: input styling

* fix: remove initial load

* fix: change flag name

* fix: refactor to custom hook

* fix: remove unused import

* fix: dialog headers

* fix: use uiConfig flags instead of flags
2022-08-23 14:20:02 +02:00
olav
e6b72ff4a0 feat: add CORS instance settings (#1239)
* feat: add CORS instance settings

* refactor: hide the CORS page when embedProxy is false
2022-08-23 14:04:09 +02:00
renovate[bot]
337e7888d2 chore(deps): update dependency react-hooks-global-state to v2 (#1236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 11:51:17 +02:00
Fredrik Oseberg
a8c0a84234 4.14.7 2022-08-22 16:52:46 +02:00
olav
0afb1eadcc fix: relax validation for required params (#1238)
* fix: relax validation for required params

* refactor: inline parameter type checkers
2022-08-22 16:35:51 +02:00
sjaanus
b2bb60bec5 Update texts (#1226)
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-08-22 13:05:55 +00:00
renovate[bot]
4fa7b548f1 chore(deps): update dependency vitest to v0.22.1 (#1235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-20 10:35:00 +00:00
renovate[bot]
6c4c7fc67b chore(deps): update dependency @testing-library/dom to v8.17.1 (#1233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-20 06:14:41 +00:00
renovate[bot]
ca319ee357 chore(deps): update dependency sass to v1.54.5 (#1234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-20 02:01:37 +00:00
renovate[bot]
0960317bbf chore(deps): update material-ui monorepo (#1232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 23:06:22 +00:00
renovate[bot]
a37aa8975d chore(deps): update dependency vite to v2.9.15 (#1231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 20:22:19 +00:00
renovate[bot]
70b0942efe chore(deps): update dependency sass to v1.54.4 (#1230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 17:09:35 +00:00
renovate[bot]
d210578df6 chore(deps): update dependency date-fns to v2.29.2 (#1229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 14:35:56 +00:00
renovate[bot]
c6fb196228 chore(deps): update dependency @types/semver to v7.3.12 (#1228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 14:21:40 +00:00
renovate[bot]
a8f6ea15b0 chore(deps): update dependency @testing-library/user-event to v14.4.3 (#1225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 14:07:17 +00:00
renovate[bot]
ad85f10851 chore(deps): update dependency @types/jest to v28.1.7 (#1227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 13:53:04 +00:00
renovate[bot]
99d251a424 chore(deps): update dependency @testing-library/jest-dom to v5.16.5 (#1224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 11:16:00 +00:00
olav
44f5301c1c 4.15.0-beta.1 2022-08-19 09:57:47 +02:00
renovate[bot]
15213755cf chore(deps): update node.js to 14.20 (#1186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 14:04:16 +00:00
renovate[bot]
d577c7516b chore(deps): pin dependencies (#1223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 13:56:39 +00:00
Tymoteusz Czech
1335e02648 Feat: embedded proxy token (#1222)
* initial frontend for embedded proxy token

* update wording on tokens

* embedded proxy feature flag

* update in-app guidance for api tokens

* simplify token form flag
2022-08-18 15:41:01 +02:00
renovate[bot]
98376d73d3 chore(deps): update dependency eslint to v8.22.0 (#1127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 15:16:32 +02:00
Fredrik Oseberg
b6143efa87 4.14.6 2022-08-18 09:43:35 +02:00
olav
d3572cf53a fix: wrap chips in feature strategy lists (#1221) 2022-08-17 16:42:11 +02:00
olav
fdc025d66a fix: wrap long lines in event JSON (#1220) 2022-08-16 12:57:55 +02:00
Fredrik Oseberg
2e0fb25029 4.14.5 2022-08-16 11:27:48 +02:00
Fredrik Oseberg
a378ad4683 4.14.4 2022-08-16 11:27:36 +02:00
Fredrik Oseberg
7d76588aaa 4.14.4-beta.1 2022-08-16 11:03:22 +02:00
andreas-unleash
eaaaa29199 Playground UI bugs and improvements (#1219)
* fix status cell logic

* Add back disabled env wrapper

* Add back disabled env wrapper

* fmt

* Wording improvements, refactor for readability

* improvement

* fmt

* Fixes after merge

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-08-12 15:33:18 +02:00
olav
523807359e fix: sort strategy parameters payload (#1218)
* refactor: improve useStrategy fetch hook

* fix: sort strategy parameters payload

* refactor: move React import to the top

* refactor: fix refetchStrategy name
2022-08-12 14:49:26 +02:00
Tymoteusz Czech
859aa435e0 Refine Playground UI (#1217)
* fix playground border radius consistency

* improve playground alerts

* fix: playground segments constraint type logic

* fix: refactor segment execution

* fix: comments

* fix: add summary width

* align playground spacing and borders

* fix build - ts segment type in playground

* fix status cell logic

* update playground disabled env info

* fix playground filter by status and sort

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

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
2022-08-12 10:13:07 +00:00
sjaanus
5ffb63e342 Add cypress tests for project access page (#1215)
* Add tests

* Some fixes

* Fix test
2022-08-12 09:54:32 +00:00
Nuno Góis
3200fee963 fix: remove group owner concept (#1210)
* fix: remove group owner concept

* fix: adapt e2e tests accordingly

* refactor users select to match improvement

* refactor: add user -> edit users

* feat: add edit users to group card actions

* add a few more UI improvements

* fix: edit group users icon

* improve loading behaviour

* fix group users refresh on card view

* improvement: create group form validation

* fix edit group, some refactoring

* fix: e2e tests, minor bugs

* fix: infinite re-renders due to useHiddenColumns useEffect array dependency

* fix re-rendering on useHiddenColumns for some tables

* refactor: validations into functions / variables
2022-08-11 15:34:17 +01:00
olav
d3e853cf7f refactor: fix some @ts-expect-errors (#1216)
* refactor: fix AddonMultiSelector errors

* refactor: fix FeatureOverviewTags errors

* refactor: fix EditProjectRole error

* refactor: fix ProjectCard error
2022-08-11 11:26:08 +02:00
Tymoteusz Czech
d2225c62c9 fix playground custom strategy parameters debugging (#1213)
* fix playground custom strategy parameters debugging

* fix playground strategy parameters and chips consistency
2022-08-11 08:36:23 +00:00
Fredrik Oseberg
acbe61b74b fix: import typography 2022-08-10 14:30:57 +02:00
Fredrik Oseberg
ad1b7bf8fc fix: remove page content 2022-08-10 14:29:24 +02:00