1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

163 Commits

Author SHA1 Message Date
ivaosthu
0170d77168 more naming 2020-02-20 08:30:33 +01:00
ivaosthu
c3ae07096d more add-component cleanups 2020-02-20 08:30:33 +01:00
ivaosthu
8c47fee4ae rename components 2020-02-20 08:30:33 +01:00
Simen Bekkhus
9ccfa526d3 Upgrade and fix lint 2020-02-20 08:30:33 +01:00
ivaosthu
eee3a6591c update label 2020-02-20 08:30:33 +01:00
sveisvei
21af251004 add icon 2020-02-20 08:30:33 +01:00
ivaosthu
2f41554c9f minor fix 2020-02-20 08:30:33 +01:00
ivaosthu
61b00eec49 update label 2020-02-20 08:30:33 +01:00
ivaosthu
d3da018f04 update label 2020-02-20 08:30:33 +01:00
sveisvei
da6f2fe382 fix dropdown 2020-02-20 08:30:33 +01:00
sveisvei
ce0bfee196 use list for strategies 2020-02-20 08:30:33 +01:00
ivaosthu
e3104d9fef custom Dropdown for selecting strategy to add 2020-02-20 08:30:33 +01:00
ivaosthu
a22b584615 use hashHistory 2020-02-20 08:30:32 +01:00
sveisvei
223d0a1421 add archive 2020-02-20 08:30:32 +01:00
ivaosthu
fa01ebe2af minor fix 2020-02-20 08:30:32 +01:00
ivaosthu
c91e0016b9 fix cancel add/create toggle 2020-02-20 08:30:32 +01:00
ivaosthu
e5fdcf18b9 Update input field for feature toggles 2020-02-20 08:30:32 +01:00
ivaosthu
a794b2e88a Add stragies should always be an option 2020-02-20 08:30:32 +01:00
sveisvei
4917767011 add simple history 2020-02-20 08:30:32 +01:00
sveisvei
6f5c02da4f allow missing strategies 2020-02-20 08:30:32 +01:00
sveisvei
0e1ffd7a13 fix typ0 and use chip instead of label 2020-02-20 08:30:32 +01:00
ivaosthu
203ae78c59 fix linting 2020-02-20 08:30:32 +01:00
sveisvei
a79ee7e0e8 fix lint 2020-02-20 08:30:32 +01:00
sveisvei
75eedc9f82 improve keys 2020-02-20 08:30:32 +01:00
sveisvei
1470292198 small layout adjusts 2020-02-20 08:30:32 +01:00
sveisvei
786d66444c fix imports 2020-02-20 08:30:32 +01:00
sveisvei
3bb08b394c use a button instead of link 2020-02-20 08:30:32 +01:00
sveisvei
21a512fce3 semi working input state store 2020-02-20 08:30:32 +01:00
sveisvei
ed1cce38b6 rename files to lowercase and dashes 2020-02-20 08:30:32 +01:00
sveisvei
047ea4447a minor feature cleanup 2020-02-20 08:30:31 +01:00
sveisvei
3003cc87f0 add strategies 2020-02-20 08:30:31 +01:00
sveisvei
c4adff4a2d avoid exception if missing strategy 2020-02-20 08:30:31 +01:00
ivaosthu
230522cc17 typo 2020-02-20 08:30:31 +01:00
ivaosthu
14f2ff68cc Implement Feature Toggle Delete 2020-02-20 08:30:31 +01:00
ivaosthu
cda1298bcd minor 2020-02-20 08:30:31 +01:00
ivaosthu
587209558e fix lint error 2020-02-20 08:30:31 +01:00
ivaosthu
34aaf0ae8d Added action for change a feature toggle 2020-02-20 08:30:31 +01:00
ivaosthu
186fbc551d UI for editing feature toggles 2020-02-20 08:30:31 +01:00
ivaosthu
1d66c05550 simplified add feature toggle with a pure UI component 2020-02-20 08:30:31 +01:00
ivaosthu
cadc330bf0 More create feature toggle 2020-02-20 08:30:31 +01:00
ivaosthu
97188ac7dd inital, needs refactor 2020-02-20 08:30:31 +01:00
ivaosthu
0f7ac32ca1 fixed bugs 2020-02-20 08:30:31 +01:00
Ivar
13f722bcaa add dummy strategies 2020-02-20 08:30:31 +01:00
Ivar
6e120546f7 switch to immutable js 2020-02-20 08:30:31 +01:00
Ivar
b8359954fe minor refactor 2020-02-20 08:30:31 +01:00
Ivar
a176e72186 minor cleanup 2020-02-20 08:30:31 +01:00
ivaosthu
de9f0ab743 POST and PUT on toggles works now, but needs a bit cleanup 2020-02-20 08:30:30 +01:00
ivaosthu
ec77cd05ec Adjusted layout #153
- fill full screen
- be more responsive (don't show hamburger on desktop)
2020-02-20 08:30:30 +01:00
ivaosthu
02cfdc522f More AddFeatureToggle #153 2020-02-20 08:30:30 +01:00
ivaosthu
e18675052d Admin UI tweaking #153 2020-02-20 08:30:30 +01:00
ivaosthu
39f8c9c21d minor fixes to the AddTogglePage #153 2020-02-20 08:30:30 +01:00
ivaosthu
dc328f28ca fix some navigation styling #153 2020-02-20 08:30:30 +01:00
ivaosthu
cd6fde6526 fixed more layout to new design #153 2020-02-20 08:30:30 +01:00
Ivar
a5b54818c3 Minor fixes after feedback #150 2020-02-20 08:30:30 +01:00
ivaosthu
e2d5153edb upgrade db-migrate to support programmatic API #150 2020-02-20 08:30:30 +01:00
Ivar
7fa12095f2 inital step to createing a exectutable unleash binary #150 2020-02-20 08:30:30 +01:00
Ivar
124799b200 Allow options overides such as databaseUri 2020-02-20 08:30:30 +01:00
Ivar
cb49c0ee3f pin down webpack version 2020-02-20 08:30:30 +01:00
Ivar
77c3fbfb02 Added support for fetching data.
- use "json-server" for serving mocked API responses.
- setup redux to fetch responses when featureToggle list is mounted.
2020-02-20 08:30:30 +01:00
Ivar
d3d833e105 trying to fix travis build by cleaning up webpack config 2020-02-20 08:30:30 +01:00
Ivar
6ccab99bb8 rename Log-page to HistoryPage 2020-02-20 08:30:30 +01:00
ivaosthu
6689d5c4cd added gitignore 2020-02-20 08:30:30 +01:00
ivaosthu
a02f069690 We should just require the common.scss in out theme file 2020-02-20 08:30:29 +01:00
ivaosthu
59ee635ede added redux with a small example store 2020-02-20 08:30:29 +01:00
Ivar
0b07d10c97 fix linting #153 2020-02-20 08:30:29 +01:00
Ivar
be252b96d0 a few more menu-items #153 2020-02-20 08:30:29 +01:00
Ivar
912c1e7145 fix styling #153 2020-02-20 08:30:29 +01:00
sveisvei
89dd8c6d9d add prebulish and index file #153 2020-02-20 08:30:29 +01:00
Ivar
f439c6d0de added style override #153 2020-02-20 08:30:29 +01:00
Ivar
88cbfc2881 adjust sizes #153 2020-02-20 08:30:29 +01:00
Ivar
a016fc6ae3 tune colors #153 2020-02-20 08:30:29 +01:00
Ivar
6b89e958df hacking more of layout #153 2020-02-20 08:30:29 +01:00
Ivar
9d968b7322 added react-router #153 2020-02-20 08:30:29 +01:00
ivaosthu
55af294e33 adde react-toolbox with custom theme hook #153 2020-02-20 08:30:29 +01:00
Ivar
4cf2a8c791 fix linting #153 2020-02-20 08:30:29 +01:00
Ivar
5e47b63b9a all via webpack-dev-server script #153 2020-02-20 08:30:29 +01:00
Ivar
1ef53117c9 Setup react, webpack, babel, hmr etc #153 2020-02-20 08:30:29 +01:00
sveisvei
1c3ea28a64 build on bootstrapping 2020-02-20 08:30:28 +01:00
Ivar
36a57ae5b4 upgrade pg and knex 2020-02-20 08:30:28 +01:00
Ivar
5ee3cd3ddb upgrade bluebird to ^3.4.6 2020-02-20 08:30:28 +01:00
Ivar
cf553bc675 upgrading dependencies 2020-02-20 08:30:28 +01:00
Ivar
879bc6188b bump express 2020-02-20 08:30:28 +01:00
Ivar
3f273f8e99 bump express-validator to 2.20.8 2020-02-20 08:30:28 +01:00
Ivar
17e3edca98 Remove console.log #102 2020-02-20 08:30:28 +01:00
Ivar
b07e24bf05 Added som docs #102 2020-02-20 08:30:28 +01:00
ivaosthu
0546100556 Added version indicator to collection responses to ease migration of client parsers
relates to #102
2020-02-20 08:30:28 +01:00
Ivar
356570493d Cleaning up tests: e2e vs unit #102 2020-02-20 08:30:28 +01:00
Ivar
55bc634b66 User should not be allowed to post both 'strategy' and 'strategies' at the same time
Relates #102
2020-02-20 08:30:28 +01:00
Ivar
1de0d0a737 Added some unit-test #102 2020-02-20 08:30:28 +01:00
Ivar
0e8dab784c Api documentation on the new format #102 2020-02-20 08:30:28 +01:00
Ivar
0cb45f110c Add support for aggregate_strategies in the API.
This commit changes the features-tables:
- drop columns 'strategy' and 'parameters'
- add column 'strategies' of type json.
- migrates existing strategy-mappings in to the new format.

The idea is that the 'strategies' column should contain a json-array
of strategy-configuration for the toggle:

```
[{
 "name" : "strategy1",
 "parameters": { "name": "vale" }
}]

```

To make sure to not break exiting clients the api is extended with a
mapping layer (adding old fields to the json-respons, and mapping
to the new format on create/update a feature toggle.

this commit is first step in solving #102
2020-02-20 08:30:27 +01:00
Simen Bekkhus
611942551d Use latest (hopefully last) alpha of eslint config 2020-02-20 08:30:27 +01:00
Simen Bekkhus
1010207289 Update to Eslint@3 2020-02-20 08:30:27 +01:00
Tollef Fog Heen
0e3c793f50 Allow 0-9 in feature and strategy names (#144) 2020-02-20 08:30:27 +01:00
Simen Bekkhus
5aa14262a2 Fix linting errors (#145)
* Use pretty (svg) badges

* Fix build
2020-02-20 08:30:27 +01:00
Ivar
5c13ea5d7b Fix eslint complaining 2020-02-20 08:30:27 +01:00
Ivar
1e6c6104d7 move script to unleash-api 2020-02-20 08:30:27 +01:00
Ivar
08cdecdcd0 syntax fix.. 2020-02-20 08:30:27 +01:00
sveisvei
99f3eebc5d fix frontend and fix deploy to dev-master with lerna 2020-02-20 08:30:27 +01:00
sveisvei
ea3ad3c10d procfile should reside in root 2020-02-20 08:30:27 +01:00