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

75 Commits

Author SHA1 Message Date
Fredrik Strand Oseberg
cc54fad3a4 Fix/console warn (#290)
* fix: resolve uncontrolled autocomplete

* fix: return if no strategy is present

* fix: change logic for retrieving context index

* fix: remove prop types from UserList

* fix: add default to api key name input

* fix: remove raised property from button
2021-05-07 08:42:51 +02:00
Fredrik Strand Oseberg
9b1a07c5ab Fix/v4 corrections (#287)
* fix: remove project display check

* fix: refetch bootstrap on user change

* fix: remove console log

* fix: update test

* fix: do not allow submit if errors exists

* fix: do not allow strategies to redirect home when name is taken
2021-05-05 14:17:25 +02:00
Fredrik Strand Oseberg
f0d6e45361 Feat/bootstrap (#281)
* feat: add bootstrap endpoint redux integration

* fix: remove useEffect from app

* feat: add path provider

* feat: browser router

* fix: delete path formatter

* fix: return absolute path if no basepath

* fix: format seenURI

* feat: get bootstrap uri from html

* fix: remove unused imports

* fix: remove initial loading call

* fix: wrap logout in formatApiPath

* feat: import logo

* feat: remove accessor from receiveConfig

* fix: update tests

* fix: update asset paths

* fix: remove data from app

* fix: revert moving access provider

* fix: remove build watch

* fix: remove console logs

* fix: update asset paths

* fix: remove path logic from base64

* fix: remove unused import

* set uiconfig

* change notification text

* fix: match uiConfig with expected format

* feat: add proclamation

* fix: move proclamation

* fix: remove unused imports

* fix: add target _blank

* fix: allow optional toast

* fix: return empty string if default value is present

* fix: set basepath to empty string if it matches default
2021-05-04 09:59:42 +02:00
Fredrik Strand Oseberg
b9f5585c62 Fix/optimizations (#275)
* chore: update changelog

* feat: login mobile view

* fix: lists

* fix: colors

* fix: resolve merge conflict

* fix: tests

* fix: set defualt location object

* fix: don't check password before length exceeds 2

* fix: check length
2021-04-23 15:21:24 +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
Christopher Kolstad
22795e251f Migrate to create-react-app and react-scripts (#263)
* Setup create-react-app and typescript

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-04-07 09:04:48 +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
Fredrik Strand Oseberg
be8b0e7358 fix: check that strategies exists before calling includes (#252) 2021-03-08 15:31:02 +01:00
Ivar Conradi Østhus
00f411d9d2 fix: UX should not eagerly store strategy updates! (#240)
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-02-09 10:14:04 +01:00
Ivar Conradi Østhus
f4cbfe8bee fix: error in snapshot 2021-02-01 12:41:47 +01:00
Christopher Kolstad
82f9dbf7a7 Fix typos 2021-01-27 09:14:55 +01:00
Ivar Conradi Østhus
33e16a2536 fix: tweak deprecated strategies view 2021-01-21 19:35:59 +01:00
Christopher Kolstad
3014c0029d Basic implementation of deprecation/reactivation of strategies 2021-01-21 15:27:24 +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
92f9fdc50e fix: move feature-toggle store into folder 2021-01-06 22:05:11 +01:00
Ivar Conradi Østhus
46843aecf1 fix: remove use of input stores 2021-01-06 21:41:56 +01:00
Ivar Conradi Østhus
2ef640f506 fix: lint 2020-04-18 22:06:49 +02:00
Ivar Conradi Østhus
6e657314c2 fix: rename use of legacy react lifecyle methods
replaced with "UNSAFE_*" methods. Needs to be fixed at some point.
2020-04-18 21:50:01 +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
ivaosthu
103c3d941f feat: boolean strategy paramters 2019-05-07 20:44:29 +02:00
ivaosthu
f7ccae9e75 Fix: tests 2019-05-04 06:31:26 +02:00
ivaosthu
c65d335b25 fix: lint errors 2019-05-04 06:26:02 +02:00
ivaosthu
7866a7e844 fix: Clean up the UI with empty states 2019-05-04 06:22:02 +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
Benjamin Ludewig
1eb8fc0464 feature: Add support for permission system in unleash frontend 2018-12-19 17:01:38 +01:00
ivaosthu
f6c9d461b0 fix(strategy-create): Should be able to open the create strategy view 2018-08-16 09:12:21 +02:00
ivaosthu
59bcabe331 fix(router): Upgrade to react-router v. 4.x.
This is rather big change to react-router and
required a lot of rewrites.

Mostly followed this guide:
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/migrating.md
2018-08-07 12:50:28 +02:00
Corinne Krych
f8fb2bbc76 refactor(form): separate add-feature and update-feature components 2018-02-16 09:19:30 +01:00
Corinne Krych
056cb4cda2 fix(feature): display strategies tab as default 2018-02-15 17:30:18 +01:00
Ivar Conradi Østhus
b97e666e0f chore(lint): Added propTypes to all components 2018-02-04 22:16:04 +01:00
ivaosthu
da86b62509 Implement support for cutstom authentication. 2018-01-16 15:24:06 +01:00
Simen Bekkhus
10ae1d8aa7 Upgrade prettier 2017-11-11 09:16:03 +01:00
ivaosthu
e8441f3111 Cleanup error messages for strategies 2017-11-02 23:32:02 +01:00
Clint Brown
5388aeded9 Allow underscores in name validation 2017-09-19 14:47:30 +10:00
Simen Bekkhus
8ef9def08c Use 120 as width in prettier (#90) 2017-08-28 21:40:44 +02:00
Simen Bekkhus
b176d63f56 Fix deprecations (#88)
* Fix some optimization bailouts

* Use prop-types package

* Make error comp functional

* Remove unused css transition dep

* Remove unused immutability helper dep

* Align react versions in package.json
2017-08-28 21:30:12 +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
3f8931ff8c Fix faulty proptypes declarations
Go from 188 lint errors to 64
2017-07-10 23:38:44 +02:00
sveisvei
e8965398e6 fix lint 2017-06-29 09:11:28 +02:00
sveisvei
39cb20484b no delete button or edit view for built-ins 2017-06-29 09:04:21 +02:00
Simen Bekkhus
6e0db0a998 Upgrade eslint 2017-06-29 08:36:10 +02:00
vsandvold
d62175eb5b styling cleanup 2017-03-01 21:54:31 +01:00
vsandvold
3415fcb82e improved page layout + horizontal scrolling tables on mobile 2017-01-23 09:13:38 +01:00
sveisvei
1449e3a8a6 support dot in name, closes #26 2016-12-29 12:27:41 +01:00
sveisvei
7719f7ea42 default one row expandable 2016-12-22 10:45:01 +01:00
ivaosthu
3ff14117ad fixing linting 2016-12-20 19:28:45 +01:00
sveisvei
88639e9f6f remove margins 2016-12-19 21:56:24 +01:00
sveisvei
16ceae18a2 tweak spacing 2016-12-19 21:51:30 +01:00
ivaosthu
b42742e992 Make strategy tab part of the url to increase linkability. 2016-12-18 10:27:04 +01:00
sveisvei
691e95d6e7 improve grid in tablet and phone 2016-12-17 21:41:23 +01:00