1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-23 20:07:40 +02:00
Commit Graph

9720 Commits

Author SHA1 Message Date
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
Christopher Kolstad
28d0238732
add try-catch to demo auth middleware (#1044)
- Since we validate email used in auth the route function needs to
  handle the possibility that userService.loginUserWithoutPassword can
  throw.
2021-10-19 14:24:23 +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
72445b6423 chore(deps): update dependency jest to v27.3.1 2021-10-19 10:20:23 +00:00
Christopher Kolstad
1f37b0bf4b
fix: make hasPermission call handle api tokens (#1041) 2021-10-19 11:34:56 +02:00
Christopher Kolstad
26407cc02e
Fix/feature strategies needs project update (#1040)
* Make sure feature_strategies follow feature to new project
2021-10-19 09:49:43 +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
3f02e9c070 chore(deps): update dependency jest to v27.3.0 2021-10-17 20:23:53 +00:00
Renovate Bot
99c1039b4d chore(deps): update node.js to v14.18.1 2021-10-17 14:11:14 +00:00
David Alpert
0681a7b1d3
chore(node-version): move node spec to .node-version (#1034)
placing the required node version in a .node-version
file allows it to be read programatically by node
version managers like nodenv, asdf, etc
2021-10-17 15:26:59 +02:00
David Alpert
1d828e8190
docs: add reference to developer-guide (#1035) 2021-10-17 15:21:25 +02:00
Renovate Bot
51e535baf3 chore(deps): update dependency ts-jest to v27.0.7 2021-10-16 12:08:52 +00:00
Renovate Bot
44bb2ec760 chore(deps): update dependency @types/faker to v5.5.9 2021-10-16 08:57:58 +00:00
Ivar Conradi Østhus
3b925902d7
fix: event-log 2021-10-15 20:11:51 +02:00
Ivar Conradi Østhus
706e711819
Update developer-guide.md 2021-10-15 19:43:29 +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
Renovate Bot
8f6b89cc9e fix(deps): update docusaurus monorepo to v2.0.0-beta.7 2021-10-15 15:15:10 +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
Christopher Kolstad
195cded10b Don't use window.location.reload for forcing login
- Causes e2e tests to go into an infinite reload loop
2021-10-15 16:26:20 +02:00
Ivar Conradi Østhus
20282e05de
4.2.0-beta.3 2021-10-15 14:19:35 +02:00
Ivar Conradi Østhus
524bbc9bab
fix: bump unleash-frontend to 4.2.6 2021-10-15 14:19:16 +02:00
Ivar Conradi Østhus
02872f15ee 4.2.6 2021-10-15 14:17:07 +02:00
Ivar Conradi Østhus
edd6706ffe fix: new create toggle page 2021-10-15 14:16:17 +02:00
Christopher Kolstad
58ff86e3bd Use div and flexbox instead of grid for metrics tab 2021-10-15 13:30:16 +02:00
Youssef Khedher
a9d46d4ce6 fix: show side bar and disable drag and add strategy based on permissions (#426)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-10-15 13:20:07 +02:00
Ivar Conradi Østhus
95221e7b6b fix: adjust env switch a bit 2021-10-15 12:49:14 +02:00
Christopher Kolstad
e9a63197cf fix: grids needs containers and items 2021-10-15 12:26:50 +02:00
Christopher Kolstad
3f7e43c599 Revert "Use V flag for new metrics component"
This reverts commit 566539727d.
2021-10-15 12:03:07 +02:00
Christopher Kolstad
566539727d Use V flag for new metrics component 2021-10-15 12:00:11 +02:00
Christopher Kolstad
cce0a7d465 Don't print 'Seen in application' on metrics tab 2021-10-15 11:56:44 +02:00
Christopher Kolstad
6d42502792 Add default strategy type to strategy hook
- Fixes the missing sidebar while loading the strategy types
  Trello:
  https://trello.com/c/WJk8bI8l/490-feature-strategies-loading-state
2021-10-15 11:43:11 +02:00
Ivar Conradi Østhus
d42d412bc8 fix: make toggle list sortable inside a project (#436)
* fix: make toggle list sortable inside a project

* fix: minor cleanup
2021-10-15 11:20:14 +02:00
Christopher Kolstad
4230fc98ed Feat/new metrics tab (#432)
* New metric tab if environment flag is active

* Prepare new metrics tab - need styling help!!
2021-10-15 10:05:10 +02:00
Youssef Khedher
c3453fad0d Merge pull request #437 from Unleash/fix/featureView-tab
make Overview tab the default tab when open a feature
2021-10-15 09:03:10 +01:00
Youssef Khedher
4d55aab98a Merge branch 'master' into fix/featureView-tab 2021-10-15 08:41:35 +01:00
Youssef
11740e718b fix route rendering 2021-10-15 08:39:37 +01:00
Christopher Kolstad
166c6fef0e Write a generic http thrower for status > 299 (#405)
* Write a generic http thrower for status > 299

* Perform location reload if user is no longer authorized, i.e if status === 401
2021-10-15 09:21:38 +02:00
Youssef
9ddd859037 make Overview tab the default tab when open a feature 2021-10-14 22:57:20 +01:00
Renovate Bot
f132ce63da chore(deps): update dependency @types/node to v14.17.27 2021-10-14 21:57:17 +00:00