Commit Graph

47 Commits

Author SHA1 Message Date
Quincy Morgan 0112547c89 Fix map data style options tooltip keyboard shortcuts (close #7778) 2020-07-13 15:28:37 -04:00
Quincy Morgan 45f337e13c Merge branch 'develop' into touch-walkthrough-update 2020-07-10 10:32:36 -04:00
Nikola Plesa 944953dbf2 Update Mapillary map_features URL and remove request_data button 2020-07-01 16:50:30 +02:00
Quincy Morgan 6e04e31140 Merge branch 'develop' into touch-walkthrough-update 2020-06-30 16:57:58 -04:00
Quincy Morgan 8826c95574 Move delete button to label for new relation UI 2020-06-30 09:22:25 -04:00
Quincy Morgan fab750d353 Use more placeholder references in the help docs
Use a reusable format for the section title counts
2020-06-29 12:46:06 -04:00
Quincy Morgan 02a08ca899 Move the delete membership button from the input to the label (re: #7753)
Add button to zoom to relation from the Relations section
2020-06-29 09:47:58 -04:00
Quincy Morgan a126437a38 Fix broken text entry in background offset input on touch devices 2020-06-25 11:56:17 -04:00
Quincy Morgan c834ef192c Update "zoom to custom data" button to use the standard "zoom to selection" icon 2020-06-24 17:09:14 -04:00
Quincy Morgan 87d002efd7 Add buttons to toggle the history and measurement panels (close #6397) 2020-06-24 15:11:06 -04:00
Quincy Morgan 9041ce3d9b Add button to toggle the location panel (re: #6397) 2020-06-24 14:19:52 -04:00
Quincy Morgan 874c412b74 Enforce max unicode charachter length of keys, values, and relation roles through truncation upon input rather than HTML maxlength attribute (close #6817)
Normalize unicode when changing keys, values, and relation roles
2020-06-10 14:11:55 -04:00
Quincy Morgan 369044bc11 Focus relation role when clicking on member or membership item label (close #7690) 2020-06-10 09:53:51 -04:00
Quincy Morgan 762307bd7d Restrict key, value, and role character limits based on unicode characters, not UTF-16 code units (re: #6817) 2020-06-09 15:41:15 -04:00
Quincy Morgan 95dc16b7a6 Update more mouse events to use pointer events if available (re: #5505) 2020-05-08 16:10:15 -07:00
Quincy Morgan edc32849c0 Use pointer events in raw tag editor when supported (re: #5505) 2020-05-08 15:01:15 -07:00
Quincy Morgan e838d06328 Use pointer events for the background offset on supported devices (re: #5505) 2020-05-08 12:52:46 -07:00
Quincy Morgan 8734b67821 Remove the context.intersects passthrough function 2020-04-01 15:36:53 -07:00
Quincy Morgan 60f7dc7c0b Replace presets property of context with singleton
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan a58abe3c6f Move localStorage interface from a property of coreContext to a corePreferences function 2020-04-01 11:00:48 -07:00
Quincy Morgan a1af118f0e Ensure locales and presets are loaded before the UI loads (close #7406)
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan 9731b93cec Move uiTooltipHtml functionality into uiTooltip
Refactor uiEditMenu to use standard UI patterns instead of SVG
2020-03-25 12:22:10 -07:00
Quincy Morgan d62a62cba8 Make popover and tooltip part of the UI module instead of utils 2020-03-24 17:32:09 -07:00
Quincy Morgan 0931459dba Reduce use of global selection (re: #7445) 2020-03-24 13:02:06 -07:00
Quincy Morgan d669bbef2a Update various files for removal of master branch 2020-03-23 10:43:52 -07:00
Quincy Morgan eed7944a1a Replace various uses of d3_select and d3_selectAll with selection on the container 2020-03-22 12:34:06 -07:00
Quincy Morgan 6087aae21f Remove map convenience functions of context 2020-03-22 10:57:17 -07:00
Quincy Morgan 3c0b926ec7 Replace coreContext.geometry function with a more explicit coreGraph.geometry function 2020-03-21 14:23:44 -07:00
Quincy Morgan 72a99673a0 Revert #7428 2020-03-20 09:59:30 -07:00
Bryan Housel 2a28a03ca1 Add template type detection for custom sources
(closes #4977)

Before custom sources were assumed tms, now we detect wms
and guess 'EPSG:3857' projection

This commit also delays selecting the custom source in background_list.js,
because creating the background sources is promisified now might not happen
until after the UI control is created
2020-03-13 15:56:13 -04:00
Quincy Morgan 83d2656bbc Fix responsiveness issue when selecting features on iPad
Implement an alternative solution for #6028 that doesn't rely on timeouts
2020-03-04 13:10:15 -08:00
Quincy Morgan c2d82eb9ce Don't require translations in coreValidator 2020-03-02 13:49:51 -08:00
Quincy Morgan 10fe7b6e92 Fix relation member drag-and-drop 2020-02-27 19:02:15 -08:00
Quincy Morgan 5aab09845d Move the "zoom to this" button from the inspector to the map next to the zoom in/out buttons (re: #6601)
Use title case for the Zoom In and Zoom Out button labels
2020-02-26 19:59:09 -08:00
Quincy Morgan 2e238b8218 Fix JS error on clicking review request
Give different instances of the raw tag editor distinct classes and disclosure states
Correctly expand raw tags section by default when selecting a feature with a fallback preset
Fix raw tag editor tests
2020-02-26 14:51:32 -08:00
Quincy Morgan c98c0d418d Ease relationship member zooming 2020-02-24 14:24:20 -08:00
Quincy Morgan abf536aa9b Make commit changes its own collapsible section 2020-02-24 14:03:06 -08:00
Quincy Morgan 5d6a9c278c Update validation rules section upon revalidation 2020-02-24 12:14:05 -08:00
Quincy Morgan 6782947f5b Make inspector sections inherit from uiSection (re: #7368) 2020-02-21 15:22:54 -08:00
Quincy Morgan 1f4fe57d8b Use d3-style API for section contents 2020-02-20 13:47:11 -08:00
Quincy Morgan 4fe9057eb7 Move remaining issues pane sections to their own objects 2020-02-20 13:02:09 -08:00
Quincy Morgan e42bc34e4b Move validation warnings and errors to their own section objects
Allow function parameters for disclosure titles
2020-02-19 17:28:51 -08:00
Quincy Morgan 68c2b9f1a8 Move the data layers section to its own object (re: #7368) 2020-02-19 14:31:32 -08:00
Quincy Morgan ff4ac253da Make photo overlays its own section object (re: #7368) 2020-02-19 12:08:13 -08:00
Quincy Morgan b921ca3cb4 Move map features and map style options to their own pane section objects (re: #7368)
Handle area fill and change highlighting logic in the rendererMap object and issue change events
2020-02-19 11:23:02 -08:00
Quincy Morgan 5c04ad3eb5 Add uiSection class as standard component for pane sections
Move validation rules and privacy preferences to their own section objects
2020-02-18 20:02:55 -08:00
Quincy Morgan d8a0f030cc Add "pane" prefix to pane UI objects
Move background and overlay layer lists to their own files
2020-02-18 13:33:12 -08:00