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

49 Commits

Author SHA1 Message Date
ivaosthu
5515f05350 FeatureForm should support viewing deleted strategies 2020-02-20 08:30:18 +01:00
ivaosthu
fc42827641 Introduce jest as test-framework for gui code (react).
jest is somewhat documented here:
https://facebook.github.io/jest/

related to #61
2020-02-20 08:30:18 +01:00
Jari Bakken
0047d52ef4 Ensure unique ids in feature form. Closes #57. 2020-02-20 08:30:18 +01:00
Jari Bakken
0e01c89260 Refresh feature list immediately on create. 2020-02-20 08:30:17 +01:00
ivaosthu
6f65af5c47 minor css 2020-02-20 08:30:17 +01:00
ivaosthu
1bb11527f0 paddings.. 2020-02-20 08:30:17 +01:00
ivaosthu
0a0515e139 When user chooses to use a custom strategy
she should get an input field for each
strategy parameter.

closes #53
2020-02-20 08:30:17 +01:00
ivaosthu
e81b88ad7d Fixed no legend on edit 2020-02-20 08:30:17 +01:00
ivaosthu
45ad98afbc minor layout formatting 2020-02-20 08:30:17 +01:00
ivaosthu
bc4b80c661 56 Clean up input form for feature toggles 2020-02-20 08:30:17 +01:00
Jari Bakken
41964de9bf StrategyForm should use 'default' as default strategy for empty forms. 2020-02-20 08:30:17 +01:00
Jari Bakken
a169ec1352 Add ability to create custom stratgies. Closes #11. 2020-02-20 08:30:17 +01:00
Jari Bakken
7f7732a349 Minor refactoring 2020-02-20 08:30:17 +01:00
Gard Rimestad
acd51ddcd4 Show history inside feature table 2020-02-20 08:30:16 +01:00
Gard Rimestad
c8c7f57cfb Improvements on log view 2020-02-20 08:30:16 +01:00
Gard Rimestad
abad2d7a6a Support long descriptions on feature page 2020-02-20 08:30:16 +01:00
Jari Bakken
d2ce90b394 Replace PATCH with PUT, which enables editing multiple fields at once.
Closes #47.
2020-02-20 08:30:16 +01:00
Jari Bakken
dc14bfc173 Fire callback immediately on timer start. 2020-02-20 08:30:16 +01:00
Gard Rimestad
8e90df1953 Refactoring log view 2020-02-20 08:30:16 +01:00
Ivar Østhus
a564e31ddb colspan obviously wrong.. 2020-02-20 08:30:16 +01:00
Ivar Østhus
594e271b2a added some traffic lights 2020-02-20 08:30:15 +01:00
Ivar Østhus
73909e3a8d updated gitignore 2020-02-20 08:30:15 +01:00
Gard Rimestad
5fa3915d24 Adding log tab to admin 2020-02-20 08:30:15 +01:00
Gard Rimestad
5f24a2d70c admin - convert feature list into table 2020-02-20 08:30:15 +01:00
Gard Rimestad
ff4beac7f7 admin - Edit button for existing features 2020-02-20 08:30:15 +01:00
Gard Rimestad
28e1705b9c Populate strategies in feature form 2020-02-20 08:30:15 +01:00
Jari Bakken
fdf324a9f5 Add features.description to db and ui 2020-02-20 08:30:15 +01:00
Jari Bakken
43adb7291d README cleanup 2020-02-20 08:30:15 +01:00
Jari Bakken
12b87c69c8 Don't repeat error messages infinitely 2020-02-20 08:30:15 +01:00
Jari Bakken
a031900b3e Fix indentation 2020-02-20 08:30:15 +01:00
Jari Bakken
87c1ee7516 Improve error messages. 2020-02-20 08:30:15 +01:00
Jari Bakken
71aa307a5f Get rid of React warnings 2020-02-20 08:30:14 +01:00
Ivar Østhus
ca78acd25e Modified configuration to make it run on heroku.
Please note that scripts and webpack is moved from
devDependences to dependencies. This is due to heroku
running the build process in production mode.
2020-02-20 08:30:14 +01:00
Ivar Østhus
9a0a461edb Refactored all ``handleFoo` to `onFoo``
based on feedback from @jari
2020-02-20 08:30:14 +01:00
Ivar Østhus
dd75e69ac6 Strategies should also have description #34 2020-02-20 08:30:14 +01:00
Jari Bakken
034253286a Use plural component names 2020-02-20 08:30:14 +01:00
Jari Bakken
ee8b9ba087 Make error messages full width. 2020-02-20 08:30:14 +01:00
Jari Bakken
8cacf42dd2 Get rid of 'unsaved features' 2020-02-20 08:30:14 +01:00
Jari Bakken
32f50fa116 Make component disk layout/naming more consistent. 2020-02-20 08:30:14 +01:00
ivaosthu
497395ae39 GUI for createing strategies with parametersTemplate #34 2020-02-20 08:30:14 +01:00
ivaosthu
d88e9abcea adding required key to child elements 2020-02-20 08:30:14 +01:00
ivaosthu
07523973cb using createFactory introduced in react 0.12.x 2020-02-20 08:30:14 +01:00
ivaosthu
98d7635845 CreateStrategy form now supports multiple params #34 2020-02-20 08:30:13 +01:00
ivaosthu
8366beb2b9 Preliminary GUI for defining custom strategies
(relates to #34)
2020-02-20 08:30:13 +01:00
ivaosthu
f472bf8585 improved logic to set inital active pane 2020-02-20 08:30:13 +01:00
ivaosthu
0032069c27 using location.hash to initialize tabview correctly 2020-02-20 08:30:13 +01:00
ivaosthu
b1b3d408f7 Simple tab-based menu to have a contianer for strategies 2020-02-20 08:30:13 +01:00
ivaosthu
c6118baad3 only optimistic update if success 2020-02-20 08:30:13 +01:00
Jari Bakken
f06a4a8a51 Move unleash-server to top level. 2020-02-20 08:30:13 +01:00