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

1306 Commits

Author SHA1 Message Date
Youssef Khedher
35670db919 edit project mismatch dialog and remove change button (#465)
* edit project mismatch dialog and remove change button

* add info test to solve mismatch
2021-10-25 12:47:15 +02:00
Renovate Bot
a3377fb1a2 chore(deps): update dependency @types/react to v17.0.32 2021-10-24 13:01:38 +00:00
Renovate Bot
922ad7b2b2 chore(deps): update dependency @types/node to v14.17.29 2021-10-22 21:14:15 +00:00
Ivar Conradi Østhus
e56aeed8e0 4.2.10 2021-10-22 13:40:04 +02:00
Fredrik Strand Oseberg
13884db360 Fix/cache (#461)
* fix: set strategy cache when mounting

* fix: add permission button

* fix: add permission button for discard

* fix: button type

* fix: unused imports

* fix: move setDirty

* fix: add clone deep
2021-10-22 13:38:36 +02:00
renovate[bot]
5dca747898 chore(deps): update dependency @types/node to v14.17.28 (#460)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 13:29:14 +02:00
Youssef Khedher
1ed807a56f Merge pull request #459 from Unleash/fix/envs-drag-permission
Fix/envs drag permission
2021-10-22 12:28:38 +01:00
Youssef Khedher
86d8b105ba Merge branch 'master' into fix/envs-drag-permission 2021-10-22 12:06:48 +01:00
Youssef Khedher
d2f1595193 Merge pull request #457 from Unleash/fix/clone-toggle-crash
disable clone button based on role in old view
2021-10-22 12:06:24 +01:00
Youssef Khedher
cb0735a7a3 Merge branch 'master' into fix/clone-toggle-crash 2021-10-22 09:48:19 +01:00
Fredrik Oseberg
6a8cc1adf5 fix: pie size 2021-10-22 10:45:43 +02:00
Youssef Khedher
fe1aa73a3d Merge branch 'master' into fix/clone-toggle-crash 2021-10-22 09:31:30 +01:00
Renovate Bot
1bb9865e72 chore(deps): update dependency sass to v1.43.3 2021-10-21 23:38:45 +00:00
Youssef Khedher
c3e063ed98 Merge branch 'master' into fix/envs-drag-permission 2021-10-21 23:44:20 +01:00
Youssef
0a7517fd7b disable drag and drop for envs based on permissions 2021-10-21 23:20:48 +01:00
Youssef Khedher
5e7c692e9c Merge branch 'master' into fix/clone-toggle-crash 2021-10-21 22:22:34 +01:00
Youssef
f2879cea79 disable clone button based on role in old view 2021-10-21 22:03:38 +01:00
Ivar Conradi Østhus
bdf98dd8b4 4.2.9 2021-10-21 22:32:14 +02:00
Ivar Conradi Østhus
0a2a8d5af5 fix: ApiToken should hide envrionment if it is not enabled yet 2021-10-21 22:28:25 +02:00
Christopher Kolstad
83ad4041bf fix: Adds PermissionSwitch (#456)
- This adds a generic way to control permission to mutations in the same
  way as our PermissionButton and PermissionIconButton already does the
  same.

- This also switches the StrategiesList to use PermissionIconButton so
  users without ADMIN role do not believe they can deprecate/reactivate
  strategies.
2021-10-21 13:25:39 +02:00
Christopher Kolstad
3c140110fe fix: wrap link to edit context field in hasAccess check 2021-10-21 13:04:38 +02:00
Renovate Bot
f2b4158e53 chore(deps): pin dependency copy-to-clipboard to 3.3.1 2021-10-21 10:10:50 +00:00
Ivar Conradi Østhus
0636e1f75e 4.2.8 2021-10-21 10:53:48 +02:00
Youssef Khedher
7602327991 fix: using copy library for copying user token (#454)
* using copy library for copying user token

* add "copy-to-clipboard" to dev dependencies

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-10-21 10:50:41 +02:00
Ivar Conradi Østhus
0ddd52a8ba fix: adjust tooltip for toggle type 2021-10-21 10:41:46 +02:00
Fredrik Strand Oseberg
fea7707551 fix: use path parameter for old ft view (#450)
* fix: use path parameter for old ft view

* fix: update snapshots

* fix: change text

* fix: add permission button to initial strategies view

* fix: remove unused imports
2021-10-21 09:50:58 +02:00
Renovate Bot
53f481498d chore(deps): update dependency @types/react to v17.0.31 2021-10-21 05:20:38 +00:00
Renovate Bot
c9e84c7dd1 chore(deps): update dependency @types/enzyme to v3.10.10 2021-10-20 23:51:24 +00:00
Fredrik Oseberg
c763b80569 fix: style import 2021-10-20 13:40:08 +02:00
Ivar Conradi Østhus
ab7f496749 4.2.7 2021-10-20 13:25:45 +02:00
Fredrik Oseberg
5d48ce3f03 fix: margin 2021-10-20 13:21:39 +02:00
Ivar Conradi Østhus
03230fcff9 fix: failing unit tests 2021-10-20 13:20:10 +02:00
Fredrik Oseberg
73861b0f2e fix: metrics styling 2021-10-20 13:18:33 +02:00
Fredrik Oseberg
37d04b56ba fix: scale metrics 2021-10-20 13:15:32 +02:00
Youssef Khedher
058d3540a3 fix: clone toggle path to the new toggle view path after clone (#440)
* fix clone toggle path to the new path

* fix crush when clone a toggle with empty name
2021-10-20 13:13:29 +02:00
Youssef Khedher
2bce93a51b Fix: improve create new feature v2 (#441) 2021-10-20 13:12:48 +02:00
renovate[bot]
9a383967dc chore(deps): update dependency @types/react-dom to v17.0.10 (#449)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 13:12:17 +02:00
Fredrik Strand Oseberg
48bae48ee0 fix: style metrics view (#448) 2021-10-20 12:55:40 +02:00
Fredrik Strand Oseberg
57928d50c6 Fix/environment list sorting (#447)
* fix: wait for api call before refetching

* fix: set active environment from feature instead of cache

* fix: remove console logs

* fix: add permission icon button to project card

* fix: remove project button

* fix: empty tooltip if it is not passed

* fix: add refresh interval

* fix: permission buttons

* fix: project permission buttons

* fix: remove unused imports

* fix: add projectId
2021-10-20 12:05:44 +02:00
Ivar Conradi Østhus
f61a949df2 fix: add supprot for acr_values in OIDC (#445) 2021-10-20 08:31:02 +02:00
Youssef Khedher
3dc7f22aaa fix switch toggle for envs after update + update link for health overview (#446)
* fix switch toggle for envs after update

* fix: React hook missing dependency error
2021-10-19 15:38:20 +02:00
Fredrik Strand Oseberg
005daa3740 Fix/login redirect (#442)
* fix: use swr with login

* fix: remove metrics poller

* fix: do not allow retry on 401

* fix: create swr provider

* fix: move accessprovider

* fix: remove metrics poller test

* fix: hide password auth if disableDefault is set

* Update src/component/project/ProjectList/ProjectList.tsx

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>

* fix: console log

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-10-19 13:08:25 +02:00
Christopher Kolstad
ea2086a7f4 Mutate cache key for project when archiving feature. (#444)
* Use useProject hook directly instead of mutating on cache key
2021-10-19 12:36:51 +02:00
Renovate Bot
77d66f128a chore(deps): update dependency @testing-library/user-event to v13.5.0 2021-10-19 04:14:39 +00:00
Ivar Conradi Østhus
d0a6da7e29 fix: tests 2021-10-18 11:15:28 +02:00
Ivar Conradi Østhus
47bc5deb22 fix: add link to slack community 2021-10-18 11:05:47 +02:00
Renovate Bot
7db86e75c1 chore(deps): update dependency @testing-library/user-event to v13.4.1 2021-10-15 17:19:38 +00:00
Youssef Khedher
1157236c98 Merge pull request #438 from Unleash/fix/toggle-not-exist
fix:handle non-existing feature toggle
2021-10-15 15:41:01 +01:00
Youssef
bdc4b3cf7a fix: truncate link in body and in breadcrumb 2021-10-15 16:27:55 +02:00
Youssef
b5072928b3 fix:handle non-existing feature toggle 2021-10-15 16:27:54 +02:00