Commit Graph

79 Commits

Author SHA1 Message Date
Loïc Gasser bc2ec4d0b7 Remove unused imports 2018-08-23 00:18:39 -04:00
Loïc Gasser e4de101553 Take advantage of transform-class-properties and use arrow functions instead of bind 2018-08-23 00:18:37 -04:00
Chris Whong 9a34db7008 find correct zoom attribute in spec 2018-08-03 15:25:05 -04:00
orangemug 51a115d65a Disable spell checking on <input>'s 2018-05-17 13:44:54 +01:00
orangemug 77da0a6d30 React v16.3.0 fixes. 2018-05-17 11:24:39 +01:00
Orange Mug 661006d7fb Merge pull request #284 from pjsier/fix/276-null-zoom
Handle data functions without zoom
2018-04-20 14:14:02 +01:00
pjsier 3d4579288c Handle data functions without zoom 2018-04-16 06:59:01 -05:00
orangemug 942b2240a7 Added more webdriver tests testing against a real browser. 2018-01-05 17:45:55 +00:00
Orange Mug bac59d595d Merge pull request #204 from orangemug/fix/catch-invalid-color
Catch invalid color
2017-11-29 21:58:06 +00:00
orangemug a50b09e5a2 Tidy logic. 2017-11-29 18:07:03 +00:00
orangemug b20c69b15a Catch invalid color during parse. 2017-11-29 18:00:52 +00:00
orangemug 61808d5939 Fixed lint errors. 2017-11-29 15:03:37 +00:00
orangemug 3c97fbe587 tabs -> spaces. 2017-11-17 17:27:16 +00:00
orangemug 030d469d7c Broke <FunctionSpecField/> into smaller parts. 2017-11-17 17:17:53 +00:00
orangemug 40235fe473 Initial work to reorder zoom fields. 2017-11-08 13:45:34 +00:00
orangemug 3aae2e976f Merge remote-tracking branch 'upstream/master' into fix/update-deps
Conflicts:
	src/components/Toolbar.jsx
2017-11-08 09:01:35 +00:00
orangemug f79a945fa4 Fixed more eslint errors. 2017-11-08 08:51:24 +00:00
orangemug 8234c51412 Fixed eslint errors. 2017-11-08 08:47:36 +00:00
Orange Mug 616f45c586 Merge pull request #191 from orangemug/fix/console-errors
Fixed startup errors/warnings
2017-11-07 15:05:16 +00:00
orangemug 9bc603a510 Update to use prop-types module in components. 2017-11-06 15:32:04 +00:00
orangemug 365a0518a5 Removed the console.warn because the logging wasn't helpful. 2017-11-06 15:05:00 +00:00
pjsier d32b15d425 Assigning default function type from spec 2017-10-16 14:19:19 -05:00
pjsier fa0067ce7b Update mapbox deps, clarify data prop scope 2017-10-11 08:01:55 -05:00
pjsier b4292028c2 Fix default field bug 2017-10-11 05:58:32 -05:00
pjsier 4af7a71220 Rename ZoomSpecField to FunctionSpecField 2017-10-10 14:23:20 -05:00
pjsier 148f64c261 Restrict data function types, reorder buttons
Checking the Mapbox style spec properties to see whether or not
exponential should be allowed as the property type, defaulting to
categorical which appears to work for either type. Also re-orders zoom
and data function buttons, aligning zoom right if data not supplied.
2017-10-10 10:30:06 -05:00
pjsier 1d29f67065 Check for property-function support on data styles 2017-10-05 06:08:55 -05:00
pjsier 2ffb3e73e1 Re-add default field after style update 2017-10-05 05:50:47 -05:00
pjsier 9e52b0b7dc Remove default from data properties
It looks like default is not supported in this version of the style
spec, so pending the PR to update it I'm removing it as an input.
2017-10-01 21:07:55 -05:00
pjsier e057fcaea1 Add data-driven styling to editor
Builds off of the ZoomSpecField component with separate options for
handling data-driven properties. Reuses most of the zoom field
functionality with tweaks that I tried to keep as small as possible, and
the layout is based off of comments on the existing issue.
2017-10-01 18:20:57 -05:00
bartvde abbce3e9d1 Make sure propTypes accept what gets passed in 2017-06-26 16:54:46 -05:00
Orange Mug 23ef937100 Merge pull request #139 from tbarsballe/dynamic-arrays
Add DynamicArrayInput for handling variable-length array fields
2017-06-23 17:35:42 +01:00
bartvde e4477db413 Prevent warning for ColorField 2017-06-23 16:00:43 +02:00
Torben Barsballe 2adb1bf917 Add DynamicArrayInput for handling variable-length array fields 2017-05-29 14:32:05 -07:00
Lukas Martinelli 68859d279d Merge pull request #101 from orangemug/fix/issue-44
Alpha value slider fix (#44)
2017-03-07 10:12:17 -05:00
orangemug 6095f871ed Added color swatch to color field. 2017-03-07 10:17:45 +00:00
orangemug e3b4fe582b Fixed alpha value slider (fixes #44) 2017-03-07 09:59:11 +00:00
Lukas Martinelli 8f6006c19f Less opacity for default values #73 2017-01-15 17:10:38 +01:00
Lukas Martinelli fed1f09434 Remove last style configs in JS 2017-01-11 14:11:45 +01:00
Lukas Martinelli 840778b64f Remove JS input config 2017-01-11 14:03:48 +01:00
Lukas Martinelli 0908856b4f Restructure CSS more 2017-01-11 13:34:38 +01:00
Lukas Martinelli b51354ae1d All important stuff is in CSS now 2017-01-11 11:35:33 +01:00
Lukas Martinelli 4a75b0381b Move style code to CSS 2017-01-10 21:28:30 +01:00
Lukas Martinelli 0fb59ca544 Load icon and font metadata from endpoint 2017-01-10 11:13:53 +01:00
Lukas Martinelli a8a3b7a5ad Always have default value if value not set 2017-01-10 09:51:18 +01:00
Lukas Martinelli 766a3e387e Fix many React warnings 2017-01-10 09:38:27 +01:00
Lukas Martinelli ec9fc8f6ad Allow passing elems to DocLabel 2017-01-09 23:06:55 +01:00
Lukas Martinelli f806e797fa Fix non existing value warning 2017-01-09 23:02:17 +01:00
Lukas Martinelli cff0a15f7e Show hint when hovering over function icon 2017-01-09 22:54:30 +01:00
Lukas Martinelli c3417241f1 Ensure zoom icon is nice 2017-01-09 22:09:15 +01:00