Commit graph

282 commits

Author SHA1 Message Date
Lukas Martinelli
85cef2945d StringInput triggers change on out of focus #46 2017-01-04 12:06:55 +01:00
Lukas Martinelli
a1dfeca6e0 Keep existing metadata when toggling inspection #45 2017-01-04 12:00:00 +01:00
Lukas Martinelli
74b3ef9e88 Do not set modified date when saving 2017-01-04 12:00:00 +01:00
Lukas Martinelli
e92dfd8284 Fix local update to right this 2017-01-01 15:51:22 +01:00
Lukas Martinelli
fa38667125 Only init websocket if local API 2017-01-01 15:12:46 +01:00
Lukas Martinelli
ce39ae723c Add support local Maputnik 2017-01-01 14:49:32 +01:00
Lukas Martinelli
99acbd4d92 Ensure GeoJSON styling works 2016-12-31 15:15:28 +01:00
Lukas Martinelli
b0e9790382 Support updating of ArrayInput #39 2016-12-31 14:56:26 +01:00
Lukas Martinelli
e00cdde3af Reset JSONEditor after it loosed focus 2016-12-31 14:37:40 +01:00
Lukas Martinelli
c3a634b216 Show undo/redo message 2016-12-31 14:32:04 +01:00
Lukas Martinelli
4f26a521a0 Fix margins in source editing area 2016-12-31 14:02:14 +01:00
Lukas Martinelli
ca6b48843c Support adding, editing and removing stops 2016-12-31 13:42:25 +01:00
Lukas Martinelli
0eb00312f4 Restyle to use border box 2016-12-31 12:17:02 +01:00
Lukas Martinelli
e7709dae15 Notice for not supported nested filter 2016-12-31 11:08:14 +01:00
Lukas Martinelli
03796c963b Fix React type warnings 2016-12-31 10:39:30 +01:00
Lukas Martinelli
b50855a4a9 Restructure webpack and add favico 2016-12-31 10:36:02 +01:00
Lukas Martinelli
24a90b3c57 Set dark scrollbar globally 2016-12-30 21:02:39 +01:00
Lukas Martinelli
cf80e80025 Switch font input to AutocompleteInput 2016-12-30 20:53:12 +01:00
Lukas Martinelli
48f10bcb73 Convert Autocmplete from tabs to spaces 2016-12-30 20:46:27 +01:00
Lukas Martinelli
7bc2323401 Introduce AutocompelteInput for source editing 2016-12-30 20:38:50 +01:00
Lukas Martinelli
a71ac502d6 Remove style from PropertyGroup 2016-12-30 20:01:14 +01:00
Lukas Martinelli
f2dd785e7b Simplify font stacks and limit to one default value 2016-12-30 18:56:16 +01:00
Lukas Martinelli
0b99e571c4 Prototype FontInput field 2016-12-30 18:13:41 +01:00
Lukas Martinelli
cfc6085718 Add missing properties to symbol layer 2016-12-30 17:17:08 +01:00
Lukas Martinelli
384b2d4bea Show default value in color field 2016-12-30 17:16:58 +01:00
Lukas Martinelli
1058dbfb5a Hide sources when adding background layer 2016-12-30 17:06:08 +01:00
Lukas Martinelli
bda7ce7390 Move change property logic to lib 2016-12-30 16:56:20 +01:00
Lukas Martinelli
7b631b0510 Garbage collect properties when change type #42 2016-12-30 16:47:47 +01:00
Lukas Martinelli
1d7768e37c Make NumberInput more tolerant to errors 2016-12-30 16:18:57 +01:00
Lukas Martinelli
89d497c73f Error panel with current map style errors #40 2016-12-30 13:21:03 +01:00
Lukas Martinelli
886c87f231 Improve groups for symbol layer 2016-12-29 23:01:31 +01:00
Lukas Martinelli
d567a4f98b Add support for circle layer #30 2016-12-29 22:58:36 +01:00
Lukas Martinelli
5eb0e36faf Decrease doc label font size 2016-12-29 22:41:39 +01:00
Lukas Martinelli
51a2eabc91 Add ArrayInput 2016-12-29 22:37:54 +01:00
Lukas Martinelli
007bdad70a Also show MultiButton for 3 options 2016-12-29 22:12:36 +01:00
Lukas Martinelli
1f1a919c77 Only update style if it is valid 2016-12-29 22:00:49 +01:00
Lukas Martinelli
3be3a716d4 Only update if structure of JSON changes 2016-12-29 21:49:40 +01:00
Lukas Martinelli
a5307054b3 Fix setting style properties in settings modal 2016-12-29 17:32:23 +01:00
Lukas Martinelli
d16c3f4356 Always show all features in inspect mode 2016-12-29 17:30:01 +01:00
Lukas Martinelli
853361ace7 Indicate if feature is clickable 2016-12-29 17:00:36 +01:00
Lukas Martinelli
e41e1eb2f1 Inspection map is now always aware of current layer 2016-12-29 16:54:58 +01:00
Lukas Martinelli
e36c233b49 Remove highlighted layer from metadata in style 2016-12-29 15:51:11 +01:00
Lukas Martinelli
d1b8f8d63e Change map style to add layer 2016-12-29 15:35:07 +01:00
Lukas Martinelli
29cfb58a56 Update sources if they change 2016-12-29 15:22:47 +01:00
Lukas Martinelli
bf5131cadd Restructure layer settings for add modal 2016-12-29 14:46:04 +01:00
Lukas Martinelli
ccc39b87db Move storing access token into style metadata 2016-12-28 21:50:53 +01:00
Lukas Martinelli
604be38b7c Store highlighted layer in metadata 2016-12-28 21:50:53 +01:00
Lukas Martinelli
160bd9563b Introduce MultiInputButton 2016-12-28 21:50:53 +01:00
Lukas Martinelli
488fdf2bd5 Rename icons and add layer to toolbar 2016-12-28 21:50:53 +01:00
PetersonGIS
58897f1856 Upgraded reference to mapbox-gl to v0.29.0 to follow their latest webpack recommendations and support Windows dev. This is addressed in mapbox/mapbox-gl-js#3724 2016-12-28 11:10:27 -07:00
Lukas Martinelli
80678af691 Implement adding public and custom sources 2016-12-28 15:57:30 +01:00
Lukas Martinelli
ba271e1fc6 Allow deleting active source 2016-12-28 15:20:07 +01:00
Lukas Martinelli
c7ac90ba15 Fill extrusion support #31 2016-12-27 12:04:36 +01:00
Lukas Martinelli
0dc335ea5f Deref style on open 2016-12-26 12:21:41 +01:00
Lukas Martinelli
acac314d27 Improve input styling (it is still hacky) 2016-12-26 12:03:12 +01:00
Lukas Martinelli
916c1dc9fc No scrollbar style for JSON mode 2016-12-26 11:55:39 +01:00
Lukas Martinelli
c159f7041f Switch from field components to input components 2016-12-26 11:51:26 +01:00
Lukas Martinelli
a3d586a75d Give more space to layer editor 2016-12-26 11:22:41 +01:00
Lukas Martinelli
6b0b29d1da Increase font size to 12px 2016-12-25 20:36:10 +01:00
Lukas Martinelli
8afda2fe28 Adapt Mapbox GL css icon colors 2016-12-25 20:26:59 +01:00
Lukas Martinelli
beb1a2a8d1 Introduce doc label for help 2016-12-25 19:00:21 +01:00
Lukas Martinelli
436e0c2095 Hack together add and delete button for stops 2016-12-25 18:30:23 +01:00
Lukas Martinelli
e1bc2a321a Improve inspect popups 2016-12-25 17:46:18 +01:00
Lukas Martinelli
720c8f108b Add codemirror as dependency 2016-12-25 13:19:33 +01:00
Lukas Martinelli
4db5c7cf68 Better inspection hover 2016-12-24 22:57:14 +01:00
Lukas Martinelli
8f561d8a27 Show layer table 2016-12-24 22:57:14 +01:00
Lukas Martinelli
0c483cffe3 Allow hash for location 2016-12-24 22:57:14 +01:00
Lukas Martinelli
def5ebb587 Show feature table on hover 2016-12-24 22:57:14 +01:00
Lukas Martinelli
6e9e66b147 Switch renderer with inspect mode 2016-12-24 22:57:14 +01:00
Lukas Martinelli
f332d517f3 Add inspection map 2016-12-24 22:57:14 +01:00
Lukas Martinelli
04eab70e27 Add missing revision store 2016-12-24 22:57:14 +01:00
Lukas Martinelli
cfbcdc7fa1 Basic redo/undo with keybindings #25 2016-12-24 22:57:14 +01:00
Lukas Martinelli
42fd5dcfa7 Remove logging and force OL3 to redraw 2016-12-22 21:06:32 +01:00
Lukas Martinelli
5d68867840 Fix displaying OL3 2016-12-22 20:26:47 +01:00
Lukas Martinelli
5246b611a1 Fall back to defaut style 2016-12-22 20:06:48 +01:00
Lukas Martinelli
3ee1473a49 Load OL3 code only once we need it 2016-12-22 18:08:42 +01:00
Lukas Martinelli
607e920548 Render modals directly inplace 2016-12-22 16:54:22 +01:00
Lukas Martinelli
bc30327299 Select default value for renderer 2016-12-22 16:54:13 +01:00
Lukas Martinelli
b874d9864d Fix modal rendering and simplify 2016-12-22 16:51:18 +01:00
Lukas Martinelli
e32f3bb06e Rename Layout to AppLayout 2016-12-22 16:39:09 +01:00
Lukas Martinelli
f5b3a81ba5 Make logo a link 2016-12-22 16:37:53 +01:00
Lukas Martinelli
7f40f3b8ee Download style when open from gallery 2016-12-22 16:35:31 +01:00
Lukas Martinelli
c674436267 Support id and type switching 2016-12-22 15:49:36 +01:00
Lukas Martinelli
3cc9f45085 Add awesome JSON editor! 2016-12-22 15:27:58 +01:00
Lukas Martinelli
fed8c6b0ea Delay modal rendering until open 2016-12-22 14:21:53 +01:00
Lukas Martinelli
a5a7dab8e7 Add toolbar hover with pixel hacks 2016-12-22 14:18:07 +01:00
Lukas Martinelli
a30779193f Remove padding in layer list 2016-12-22 14:08:23 +01:00
Lukas Martinelli
e307f58caf Define source and layer settings in layout.json 2016-12-22 14:05:29 +01:00
Lukas Martinelli
9e5f0c1736 Add layer settings component 2016-12-22 13:40:23 +01:00
Lukas Martinelli
53f0a6adda Add hover effect for collapse header 2016-12-22 12:06:04 +01:00
Lukas Martinelli
92996b1db5 Reintroduce collapse library 2016-12-22 11:52:21 +01:00
Lukas Martinelli
9f7aeca1c5 Add help link 2016-12-22 11:37:32 +01:00
Lukas Martinelli
fbdc87f2f1 Add open modal 2016-12-22 11:27:53 +01:00
Lukas Martinelli
57ab4be42c Work on selecting source type before adding 2016-12-21 19:59:37 +01:00
Lukas Martinelli
6c69a91f2f Add source component 2016-12-21 17:21:04 +01:00
Lukas Martinelli
044cdf5332 Support different source types 2016-12-21 17:13:21 +01:00
Lukas Martinelli
29bf0c2b61 Darker source editor 2016-12-21 16:50:34 +01:00
Lukas Martinelli
ee4bcc4c0b Hack on source modal 2016-12-21 16:11:08 +01:00
Lukas Martinelli
b55099ea38 Make toolbar actions look nice 2016-12-21 15:08:04 +01:00
Lukas Martinelli
1fda430794 Remove everything left from Rebass 2016-12-21 14:46:51 +01:00