Commit Graph

30 Commits

Author SHA1 Message Date
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