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

44 Commits

Author SHA1 Message Date
Youssef Khedher
85950f104a chore: update paths 🧼 (#820) 2022-03-28 09:49:59 +01:00
olav
878f892c50 refactor: fix misc test feedback (#709)
* refactor: keep feature toggle name when changing project

* refactor: add missing permission button tooltip

* refactor: add success toast on toggle revival

* refactor: add success toast on stale toggle

* refactor: fix initial user role checkbox value

* refactor: remove duplicated error message

* refactor: fix change-password error parsing

* refactor: remove inaccurate edit toggle toast text

* refactor: truncate long names in project cards

* refactor: truncate long project name in title

* refactor: add ellipses to truncated strings

* refactor: swap truncateString with StringTruncator

* refactor: remove unnecessary truncation

* refactor: mark context fields as optional

* refactor: show all errors from tag type creation

* refactor: show all errors from strategy create/update

* refactor: filter out empty strategies on create/update

* refactor: add an edit button to the addons list

* refactor: add missing labels

* refactor: catch errors from toggling stale features
2022-02-15 10:57:57 +01:00
olav
ff8d983d7e refactor: port FeatureToggleList to TS/SWR (#663)
* refactor: remove unused FeatureToggleListItemChip

* refactor: remove unused archive.module.scss

* refactor: remove unused ShowArchive route

* refactor: port FeatureToggleList to TS/SWR

* refactor: fix IUseFeaturesOutput interface prefix

* refactor: remove unnecessary pages files

* refactor: persist the features sort/filter state

* refactor: format files

* refactor: fix FeatureToggleListContainer file name

* refactor: fix arrow function syntax

* refactor: improve storage helper comments
2022-02-08 12:06:25 +01:00
Fredrik Strand Oseberg
18287cdbd0 Fix/cleanup unused code (#651)
* fix: remove unused context code

* fix: refactor users

* fix: rename delete user

* fix: rename frontend

* fix: update feature view path

* fix: cleanup create feature

* fix: cleanup feature views

* fix: cleanup feature strategies

* fix: update paths

* fix: remove unused strategy components

* fix strategies link

* fix: update snapshots

* fix: import paths

* fix: add name to useEffect dependency
2022-02-04 10:36:08 +01:00
Fredrik Strand Oseberg
44ff61ab99 fix: sync (#334) 2021-09-01 13:22:53 +02:00
Ivar Conradi Østhus
ae38000cf7 Fix/make sure stickiness exists (#320)
* chore: update changelog

* 4.1.0-beta.1

* fix: Project filter was trying to filter based on full project object

* 4.0.6

* fix: add user to archived toggle view

* fix: remove console log

* 4.0.7

* 4.0.8

* fix: make sure the index we're trying to access exists

* fix: load fonts from google, fallback to system fonts

* fix: snapshot

* 4.0.10

* fix: update package json

* fix update fonts

* fix: remove custom font family for archive

* fix: update snapshot

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-08-11 13:34:39 +02:00
Fredrik Strand Oseberg
1c2381d9a0 fix: run use effect when value changes, not object (#315)
* fix: run use effect when value changes, not object

* fix: add user to archived toggle view

* fix: remove console log
2021-07-16 11:21:53 +02:00
Ivar Conradi Østhus
f669f96d49 wip: frontend should understand rbac permissions (#269)
* chore: update changelog

* 4.0.0-alpha.4

* wip: frontend should understand rbac permissions

* move all feature components to hasAccess

* fix: remove all change permissions

* fix all the tests

* fix all the tests x2

* fix snapshot for node 12

* fine tune perms a bit

* refactor: rewrite to ts

* refactor: use admin constant

* fix: import

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-04-20 19:13:31 +02:00
Fredrik Strand Oseberg
dbed06f300 Feat/material UI (#250)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Christopher Kolstad <git@chriswk.no>
2021-03-30 15:14:02 +02:00
Christopher Kolstad
90e9606d37 Fix missing methods for displaying tags on archived toggles
Fixes #233
2021-01-21 09:39:58 +01:00
Ivar Conradi Østhus
7380d92e45 fix: migrate all .scss files to .module.scss 2021-01-07 13:36:13 +01:00
Ivar Conradi Østhus
ba79da7a99 fix: archive store in folder 2021-01-06 21:47:39 +01:00
Ivar Conradi Østhus
8a083ce748 fix: Should update activation strategies immediately (#229) 2020-11-27 22:23:44 +01:00
Ivar Conradi Østhus
2ef640f506 fix: lint 2020-04-18 22:06:49 +02:00
Luan Raithz Machado
c25c0a76a8 fix: babel-preset-env (#190)
* changed do @babel/preset-env

* runned lint fix

* added beforeEach in ui-config-store-test
2019-10-09 19:58:49 +02:00
Benjamin Ludewig
85fb0f9b89 feature: Add support for permission system in unleash frontend
refactored permission-based components
added tests for all permission-based components
2019-01-16 10:39:58 +01:00
Corinne Krych
10fd027eae clean(archive): reuse part of list-container from feature to diplay list of archives 2018-03-14 11:23:13 +01:00
Corinne Krych
477768c81d clean(archive): reuse list-component from feature to diplay list of archives 2018-03-14 11:02:32 +01:00
Corinne Krych
e962a38f0b feat(archive): make revive available from archive view details 2018-03-14 10:32:13 +01:00
Corinne Krych
6db1483a42 fix(unit-test): update test 2018-03-11 14:53:57 +01:00
Corinne Krych
e7d70abb0c feat(archive): archive view can be sorted as feature view 2018-03-11 12:36:49 +01:00
Corinne Krych
a88f0da822 feat(archive): reuse feature/view-component.jsx to display archive details 2018-03-10 18:09:20 +01:00
Corinne Krych
d31d5340c2 feat(archive): reuse Feature 2018-03-03 21:34:45 +01:00
Corinne Krych
98bf15bdbf feat(archive): reuse Feature 2018-03-03 21:34:38 +01:00
Corinne Krych
aa3fb71dc3 lint(error): make lint happy 2018-02-16 21:18:20 +01:00
Corinne Krych
bfee62ed82 test(form): add enzyme tests 2018-02-16 20:45:05 +01:00
Corinne Krych
f8fb2bbc76 refactor(form): separate add-feature and update-feature components 2018-02-16 09:19:30 +01:00
Corinne Krych
8a4d48eeb7 feat(archive): lint are you happy now? 2018-02-09 19:23:12 +01:00
Corinne Krych
8064551a6c feat(archive): diplay archived list similar to features list 2018-02-09 19:21:43 +01:00
Corinne Krych
55683b0038 fix(archive): regenrate snapshot test for archive view 2018-02-09 14:05:55 +01:00
Corinne Krych
9feee9acb7 fix(lint): make Lint happy 2018-02-09 09:41:58 +01:00
Corinne Krych
817ae362af feat(archive): display strategies details for archived features 2018-02-09 00:00:56 +01:00
Ivar Conradi Østhus
b97e666e0f chore(lint): Added propTypes to all components 2018-02-04 22:16:04 +01:00
Simen Bekkhus
8ef9def08c Use 120 as width in prettier (#90) 2017-08-28 21:40:44 +02:00
Simen Bekkhus
683ae7e6d8 Use prettier (#87)
* Use prettier

* Upgrade to 1.6 beta

* Update lint deps

* Upgrade to full 1.6
2017-08-28 19:15:47 +02:00
Simen Bekkhus
6e0db0a998 Upgrade eslint 2017-06-29 08:36:10 +02:00
Simen Bekkhus
0418603021 Add some tests (#74) 2017-02-23 22:18:23 +01:00
Vegard Sandvold
452d22047e adds a card layout and empty state styling to the archived toggles page (#58)
* adds a card layout and empty state styling to the archived toogles page

* changed empty state icon for archive page
2017-01-30 22:15:35 +01:00
vsandvold
3415fcb82e improved page layout + horizontal scrolling tables on mobile 2017-01-23 09:13:38 +01:00
sveisvei
21012adc08 minor cleanups, move header to common component 2016-12-10 11:47:25 +01:00
sveisvei
da5381fdf9 fix rename with new route 2016-12-09 14:38:32 +01:00
sveisvei
eeb40113c5 wip 2016-12-04 12:49:01 +01:00
ivaosthu
edf0075282 add history for feature toggles 2016-11-22 22:04:30 +01:00
ivaosthu
d21bf84a5b init 2016-11-10 14:27:06 +01:00