pathmapper
b13b89c7ce
Fix JSON-editor
2019-03-07 13:06:02 +01:00
pathmapper
3fa31e2a2e
Merge pull request #485 from sk1p/icon-input-value-type
...
IconInput value type should be string, not array
2019-03-06 07:22:23 +01:00
Alexander Clausen
aa92091d2d
IconInput value type should be string, not array
2019-01-06 18:07:38 +01:00
Alexander Clausen
14e0385575
Reflect current view in dropdown
...
Useful if the view is toggled between inspect and map via keyboard
shortcut.
2019-01-06 06:20:03 +01:00
Alexander Clausen
6cf861d44e
Keep inspect mode consistent across renderer changes
...
If you were in inspect mode, switched to open layers, and back to
MapboxGlMap, the state in MapboxGlMap and MapboxInspect diverged,
meaning MapboxGlMap thought it was in inspect mode, while MapboxInspect
had inspector mode disabled.
2019-01-06 06:02:10 +01:00
Alexander Clausen
1375240bfa
For better debuggability, actually keep one popup node around
2019-01-06 06:01:04 +01:00
Alexander Clausen
8f391d7d52
Cleanup popup nodes
...
Before, the component instances used for rendering popup content were
kept around, slowly leaking memory. This could be observed using react
developer tools.
2019-01-06 05:49:03 +01:00
Alexander Clausen
84654e81af
MapboxGlMap: remove unused state variables
2019-01-06 05:39:19 +01:00
Alexander Clausen
7ff0524bb7
Allow inspect mode to count properly
...
Example: https://maputnik.github.io/editor/#12.86/54.38618/9.76697
2019-01-06 05:35:43 +01:00
Alexander Clausen
06c3c92fd6
Ensure key uniqueness in FeaturePropertyPopup
2019-01-06 05:35:11 +01:00
Alexander Clausen
4c2941e9b6
Use StringInput for 'formatted' field type
2019-01-05 22:38:58 +01:00
Orange Mug
98ded98583
Merge pull request #476 from pathmapper/fix_issue_404
...
Use access token for fetchSources
2019-01-04 14:34:26 +00:00
Orange Mug
04531b4305
Revert "Use replaceAccessTokens in onStyleChanged"
2019-01-04 14:32:41 +00:00
Orange Mug
6fa88e6869
Merge pull request #468 from meetar/shouldComponentUpdate-patch
...
shouldComponentUpdate hack
2019-01-04 14:31:14 +00:00
pathmapper
54b4fc473c
Use access token for fetchSources
2018-11-27 13:51:26 +01:00
Peter Richardson
cf45c04069
add shouldComponentUpdate
...
checks for differences in props and state - addresses https://github.com/maputnik/editor/issues/467
2018-11-12 20:47:24 -08:00
pathmapper
3acbc3291c
Remove duplicated line
2018-11-05 21:08:34 +01:00
pathmapper
24aa2fd5fa
Use replaceAccessToken onStyleChanged
2018-11-05 08:17:21 +01:00
orangemug
b712e7f184
Merge remote-tracking branch 'upstream/master' into feature/layer-list-ui-handle
...
Conflicts:
src/styles/_layer.scss
2018-11-02 17:57:42 +00:00
pathmapper
a74eb2989c
Add helper class and style the helper
2018-11-02 14:25:31 +01:00
orangemug
e9b5bfb572
Remove old code.
2018-11-02 08:34:56 +00:00
pathmapper
59ad91fdf8
Add 'show-overdraw-inspector' query parameter
2018-11-02 09:07:01 +01:00
orangemug
deec7894dd
Make the whole layer label draggable
2018-11-01 08:12:40 +00:00
pathmapper
419e62f69b
Add z-index to autocomplete
2018-10-31 18:53:15 +01:00
Orange Mug
c51c40a20e
Merge pull request #448 from orangemug/fix/shortcut-fixes
...
Shortcut fixes
2018-10-31 08:02:13 +00:00
orangemug
f2f0270936
Use KeyboardEvent.key rather than keyCode in attempt to support more keyboard layouts.
2018-10-30 20:12:48 +00:00
orangemug
1f81449e3c
Added a visible drag handle.
2018-10-30 19:32:20 +00:00
pathmapper
2d1675c181
Fixes for code review comments
2018-10-29 17:35:12 +01:00
orangemug
bce8e8b807
Shortcut fixes
...
- Allow shortcuts to trigger from the shortcut modal
- Fix inspect/map toggle shortcut
2018-10-29 13:07:49 +00:00
orangemug
7121a680b4
Add missing prop type
2018-10-27 14:08:23 +01:00
orangemug
cf391031f0
Added color swatch to <FeatureLayerPopup/>
2018-10-27 14:04:13 +01:00
pathmapper
9cac5305cd
Warning when style parameter is used
2018-10-25 19:37:39 +02:00
pathmapper
f17b02b1fe
Slugify result in lower case
2018-10-23 13:31:38 +02:00
pathmapper
3c72d07a88
Export stylename if available
2018-10-23 13:04:23 +02:00
orangemug
218ce148d5
Delay modal close until blur events have triggered.
2018-10-19 08:39:07 +01:00
Orange Mug
906d7ac3d5
Merge pull request #411 from orangemug/fix/autocomplete-only-autocomplete-strings
...
Stop autocomplete crashing the editor
2018-10-12 19:24:35 +01:00
orangemug
588b18d10e
Only render strings in the autocomplete menu.
...
Expression objects were making there way into this menu which was crashing the editor.
2018-10-11 21:39:52 +01:00
orangemug
889005de6c
Set default value of autocomplete shouldItemRender value param as sometimes it's undefined
2018-10-09 21:11:47 +01:00
orangemug
825b9044b9
Tidy naming.
2018-10-09 20:48:10 +01:00
orangemug
012e4b670e
Updated mapbox-gl and react-sortable-hoc usage
2018-10-08 09:32:21 +01:00
orangemug
d17d6b43c0
Fixed merge issue.
2018-10-06 21:57:24 +01:00
orangemug
1bf10cd6d6
Merge remote-tracking branch 'upstream/master' into maintenance/update-deps-2018-10-06
...
Conflicts:
src/components/App.jsx
src/components/Toolbar.jsx
2018-10-06 21:39:26 +01:00
orangemug
802a7eb1be
Updated babel/webpack
2018-10-06 21:05:33 +01:00
Orange Mug
a666f86be0
Merge pull request #397 from orangemug/feature/ol-experimental-support
...
Added back in experimental OpenLayers support
2018-10-06 16:59:13 +01:00
Orange Mug
44fad76d45
Merge pull request #392 from orangemug/feature/color-accessibility-ui
...
Color accessibility UI
2018-10-06 16:58:32 +01:00
orangemug
cf3650c8cd
Updated react-icons
2018-10-06 16:38:08 +01:00
orangemug
4134919dde
Added missing key attribute to <option/>
2018-10-06 14:44:12 +01:00
orangemug
6b890d162a
Merge remote-tracking branch 'upstream/master' into feature/ol-experimental-support
2018-10-06 14:06:10 +01:00
orangemug
a356bfd601
Switch from react-aria-menubutton to <select/>
2018-10-06 13:54:02 +01:00
Orange Mug
c8a004422f
Merge pull request #406 from emuanalytics/bug/#380
...
Fix for Issue #380
2018-10-06 13:18:31 +01:00
pathmapper
6e03f1f077
get name from package.json
2018-10-04 16:42:39 +02:00
Robin Summerhill
4c13350c14
Issue #380 - fix for data functions
2018-10-03 20:11:53 +01:00
Orange Mug
e6e2be61f0
Merge pull request #398 from orangemug/fix/load-url-error
...
Show error if style fails to load and disabled button if input is empty
2018-09-26 18:35:51 +01:00
Gregory Wolanski
060f7aa42c
Merge pull request #400 from orangemug/feature/make-layer-visibility-always-shown
...
Make layer visibility icon shown when hidden
2018-09-24 22:19:07 +02:00
orangemug
b171bf3127
Fixes for code review comments.
2018-09-24 21:01:37 +01:00
orangemug
0c6a179cec
Switch to using styleUrl for disabling button
2018-09-24 20:58:43 +01:00
orangemug
252403b1e3
Added classBlockModifier to <LayerAction/> and switched to only displaying icons for hidden layers
2018-09-24 20:40:51 +01:00
orangemug
bc1d0de057
Added default isActive prop to Collapse component
2018-09-24 16:55:53 +01:00
orangemug
4a0b9fd0de
Added missing prop type
2018-09-24 15:13:35 +01:00
orangemug
004d135d93
Show error if style fails to load and disabled button if input is empty
2018-09-24 14:41:09 +01:00
orangemug
0973dcee8a
Added back in experimental OpenLayers support
2018-09-24 14:05:53 +01:00
orangemug
b7fd889fcd
Removed signal from fetch as not supported in all browsers.
2018-09-23 21:00:17 +01:00
orangemug
673465af77
Use AbortController in activeRequest
2018-09-23 19:53:32 +01:00
orangemug
cc5d0dc4fe
Merge remote-tracking branch 'upstream/master' into fix/request-abort-and-oerlapping-modals
2018-09-23 19:45:47 +01:00
orangemug
e6da977c48
Prevented overlapping modals in react tree and fixed request canceling.
2018-09-23 19:40:50 +01:00
orangemug
e4aa016713
Fixed lint errors
2018-09-23 14:50:29 +01:00
orangemug
8b67499a64
Removed external svg from filter command.
2018-09-23 14:48:19 +01:00
orangemug
bcdc7c6811
Improved color accessibility UI
2018-09-23 14:39:02 +01:00
orangemug
8f07a79a49
Merge remote-tracking branch 'upstream/master' into feature/color-accessibility-ui
...
Conflicts:
src/components/App.jsx
src/styles/_components.scss
2018-09-23 11:39:15 +01:00
orangemug
cdcf16196c
Merge remote-tracking branch 'upstream/master' into feature/make-layer-visibility-always-shown
...
Conflicts:
src/components/layers/LayerListItem.jsx
2018-09-23 09:07:02 +01:00
orangemug
a0ed6a379b
Always show layer visibility toggle in layer list
2018-09-23 09:05:08 +01:00
Orange Mug
225d0388ce
Merge pull request #386 from orangemug/fix/showTileBoundaries-error
...
Added guard to map object
2018-09-22 16:15:00 +01:00
orangemug
fd34e31462
Merge remote-tracking branch 'upstream/master' into fix/showTileBoundaries-error
2018-09-22 14:17:16 +01:00
orangemug
8eb49427fd
Merge remote-tracking branch 'upstream/master' into fix/switch-visibility-icons
2018-09-22 14:15:43 +01:00
Orange Mug
53c8661cd3
Merge pull request #358 from orangemug/fix/remove-componentWillUpdate
...
Remove UNSAFE_componentWillReceiveProps
2018-09-22 14:11:58 +01:00
orangemug
f1216795d2
Swap layer visibility icons.
2018-09-22 13:12:36 +01:00
orangemug
77475af3c6
Added guard to map object
2018-09-20 19:16:23 +01:00
pathmapper
fff8fb72c5
Access token labels OMT - MapTiler
2018-09-14 09:08:04 +02:00
orangemug
26ff9f63bb
Merge remote-tracking branch 'upstream/master' into fix/remove-componentWillUpdate
...
Conflicts:
src/components/map/MapboxGlMap.jsx
src/components/modals/ExportModal.jsx
2018-09-10 14:46:52 +01:00
Orange Mug
7e5fb4d42f
Merge pull request #364 from orangemug/maintenance/reduce-bundle-size-v2
...
Reduce bundle size
2018-09-10 14:12:03 +01:00
Orange Mug
762bb786be
Merge pull request #365 from orangemug/feature/added-no-webgl-error
...
Added no WebGL error message to MapboxGL map component
2018-09-10 14:09:09 +01:00
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
orangemug
6207416b32
Added no WebGL error message to MapboxGL map component
2018-08-22 22:05:46 +01:00
orangemug
0e8c94af1e
Remove logging.
2018-08-22 18:51:42 +01:00
orangemug
922ee616ec
Reduce bundle size
...
- Use the browsers fetch rather than the request module
- base64-loader -> raw-loader
- Remove ol3 because it's been broken for a while
- Removed old GitHub gist support as it's no longer functional
- Removed Mousetrap as we were only using a small part of the functionality
- Moved to single js file to make things simplier
2018-08-22 09:36:34 +01:00
orangemug
70f1f9ffac
Added 'show-collision-boxes' query parameter
2018-08-19 17:32:18 +01:00
orangemug
409f81f0d8
More componentWillUpdate transition fixes.
2018-08-07 20:13:45 +01:00
orangemug
1aa90bef37
Removed componentWillUpdate
2018-08-06 22:27:03 +01:00
Chris Whong
9a34db7008
find correct zoom attribute in spec
2018-08-03 15:25:05 -04:00
orangemug
0384181ee1
Added final bits for thunderforest integration
2018-07-27 16:25:53 +01:00
orangemug
fd59f42819
Merge remote-tracking branch 'upstream/master' into feature/add-thunderforest-source
...
Conflicts:
src/components/App.jsx
2018-07-27 15:43:02 +01:00
Orange Mug
530bfaf3b3
Merge pull request #348 from orangemug/fix/color-filter-undefined
...
Undefined filter fix (color accessibility)
2018-07-17 21:51:54 +01:00
orangemug
6ea70ab9cf
Fix what I believe to be a 'first boot' error.
2018-07-17 20:45:12 +01:00
orangemug
a0e2d68dae
Only apply filter if defined.
2018-07-17 20:40:23 +01:00
orangemug
c0480a50ea
Option to download styles with own tokens.
2018-07-15 22:51:57 +01:00
orangemug
d88bc59720
Fixed normalizeSourceURL import issue.
2018-07-12 12:33:40 +01:00
Gregory Wolanski
5de9e708e9
Survey ( #328 ): Cleaning
2018-07-08 14:42:49 +02:00
Gregory Wolanski
a88ca031d0
Survey ( #328 )
...
Elements promoting the survey inside Maputnik after feedback
2018-07-08 14:34:46 +02:00
Gregory Wolanski
8b0aa194cf
Survey ( #328 )
...
Elements promoting the survey inside Maputnik after feedback
2018-06-30 10:09:23 +02:00
Gregory Wolanski
b7a97cf8ee
Survey ( #328 )
...
Elements promoting the survey inside Maputnik
2018-06-25 19:52:48 +02:00
orangemug
85a28999fb
Initial color accessibility UI
2018-06-18 20:28:24 +01:00
orangemug
afbdaecd0a
Abstracted out <LoadingModal/>
2018-06-18 19:06:16 +01:00
orangemug
558f3d649d
Added dialog styling.
2018-06-18 18:17:33 +01:00
orangemug
7167235146
Added loading modal when opening styles.
2018-06-15 20:57:39 +01:00
Orange Mug
7a7f2eb7de
Merge pull request #315 from orangemug/feature/option-to-display-tile-boundaries
...
Added option to display tile boundaries
2018-06-03 20:26:17 +01:00
orangemug
cd28a53f6a
Fixed failing tests, these weren't flaky tests... ooops!
2018-06-03 18:28:55 +01:00
orangemug
1fe31ac0ec
Fix for bad lint error.
2018-06-03 17:55:46 +01:00
orangemug
6cdb56d13f
Improved showTileBoundaries and query string support
2018-06-03 17:33:08 +01:00
orangemug
0516e587b4
Added option to display tile boundries (issue #202 )
2018-06-03 17:17:45 +01:00
orangemug
5b4063105b
Added missing 'noopener noreferrer'
2018-06-03 16:59:41 +01:00
orangemug
d9a5548762
Small bug fixes
...
- Logo DOM sctrucutre now valid, no longer <a/> within </a>
- `data-wd-key` not longer required
- `maputnik-doc-popup` not longer hidden by LayerEditor accordion
2018-06-03 16:37:46 +01:00
orangemug
ede782abed
Fixed typo.
2018-06-03 10:18:55 +01:00
orangemug
00afbad7ac
Fixed lint errors.
2018-06-03 10:00:50 +01:00
orangemug
1e09066779
Merge branch 'feature/accessibility-list-reorder' into feature/shortcuts
...
Conflicts:
src/components/App.jsx
2018-06-03 09:41:07 +01:00
orangemug
32edb48e16
Fix for when 'layout.visibility' is undefined
2018-06-03 09:31:02 +01:00
orangemug
b116eef147
Merge remote-tracking branch 'upstream/master' into feature/accessibility-list-reorder
...
Conflicts:
src/components/App.jsx
2018-06-03 09:22:02 +01:00
orangemug
74d1cd2d01
Renamed 'Sources' -> 'Data Sources' to make it clearer and make shortcuts easier to remember.
2018-06-03 09:17:53 +01:00
orangemug
480d54c2d8
Finished shortcuts modal styling
2018-06-02 10:17:39 +01:00
orangemug
ab9c39b862
Removed additional close button
2018-06-01 20:51:42 +01:00
orangemug
dd122d1bac
Hide hidden FileReaderInput from keyboard focus
2018-06-01 20:45:05 +01:00
orangemug
f9f5e8f925
Changed close button from <a> to <button>
2018-06-01 20:40:51 +01:00
orangemug
aa2f4a091c
Initial attempt at color blindness emulation
2018-06-01 09:22:18 +01:00
orangemug
f5e8d473ad
Changed toggle visibility text from hide to show/hide
2018-05-31 20:40:21 +01:00
orangemug
35353d75f5
Added application shortcuts and shortcut modal.
...
Also moved modals into App.jsx to move the business logic to one place.
2018-05-29 17:06:00 +01:00
orangemug
019428a241
Added missing prop-types.
2018-05-28 12:06:22 +01:00
orangemug
6200edea25
Added initial shortcuts.
2018-05-28 12:03:47 +01:00
orangemug
272f662a34
Changed 'skip' wording
...
As outlined in <https://webaim.org/techniques/skipnav/ >
2018-05-28 11:29:49 +01:00
orangemug
c71fbcf436
Tidy
2018-05-28 11:15:16 +01:00
orangemug
a82ba26f86
Added skip-menu link for keyboard users.
2018-05-28 10:50:19 +01:00
orangemug
bd9076c4ff
Added additional menu in <LayerEditor/>
...
This is to make the following options accessible to keyboard users
- reorder layers
- duplicate layer
- delete layer
- hide/show layer
2018-05-22 21:16:46 +01:00
orangemug
a2a6f6dcab
Added aria-label to public styles, also fixed button to reserve space in DOM ( fixes #245 )
2018-05-19 08:23:41 +01:00
orangemug
51a115d65a
Disable spell checking on <input>'s
2018-05-17 13:44:54 +01:00
Orange Mug
fc0fbd6a37
Merge pull request #302 from orangemug/feature/terrarium-encoding
...
Added support for encoding to raster-dem source
2018-05-17 13:42:01 +01:00
orangemug
d80d76724c
Fixed more lint errors.
2018-05-17 11:46:33 +01:00
orangemug
77da0a6d30
React v16.3.0 fixes.
2018-05-17 11:24:39 +01:00
orangemug
79b251d8b9
DRY up the code.
2018-05-17 10:55:55 +01:00
orangemug
4f19f6a08c
Added support for encoding to raster-dem source, enabling terrarium tiles.
2018-05-17 10:44:54 +01:00
Orange Mug
c7cf051502
Merge pull request #296 from orangemug/feature/prefers-reduced-motion
...
Added prefers-reduced-motion support
2018-05-11 15:50:08 +01:00
orangemug
78d71a4e7e
Fixed duplicate definition.
2018-05-11 14:53:06 +01:00
orangemug
b8f32d46cf
Rename <CollapseReducedMotion/> to <Collapse/>
2018-05-11 14:03:46 +01:00
orangemug
54e79e5eb8
Added missing data-wd-key attribute.
2018-05-11 11:26:43 +01:00
orangemug
221cd4ffd2
Added accessible modal via react-aria-modal
2018-05-11 10:56:34 +01:00
orangemug
7cb2c36ac9
Move accessibility checks into module.
2018-05-11 09:32:57 +01:00
orangemug
11d73595fc
Made buttons keyboard accessible.
2018-05-10 16:50:37 +01:00
orangemug
7b8b797f9c
Fixed typo.
2018-05-10 16:07:34 +01:00
orangemug
a41b25eea7
Added 'prefers-reduced-motion' css support.
2018-05-10 16:05:55 +01:00
orangemug
3487056c7d
Disable gist, see < https://github.com/maputnik/editor/issues/269 >
2018-05-08 15:21:14 +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
orangemug
78a7f152e7
Merge remote-tracking branch 'upstream/master' into fix/web-driver-tests-v8
...
Conflicts:
src/styles/index.scss
2018-04-16 15:31:27 +01:00