Commit Graph

133 Commits

Author SHA1 Message Date
Quincy Morgan ecb8ff534e Use alt/option instead of ctrl/cmd as the modifier for zooming or panning by a lot (close #7976) 2020-09-15 11:56:53 -04:00
Quincy Morgan 4050940268 Lazy load photo overlay resources (close #7982) 2020-09-13 11:52:37 -04:00
Quincy Morgan 046794214f Further progress on #7965 2020-09-11 11:09:38 -04:00
Quincy Morgan b980e47c3c Continue making the UI responsive to text zoom (re: #7965) 2020-09-10 11:15:24 -04:00
Quincy Morgan 4643caaae8 Don't prevent default click events when clicking input elements (close #7828) 2020-07-22 09:48:00 -04:00
Quincy Morgan 3892600814 Reduce redundant strings in the walkthrough
Update the lines walkthrough chapter for touchscreens
Add toggled dispatch event to the edit menu
2020-07-10 15:24:01 -04:00
Quincy Morgan 9cdc89d8dc Merge branch 'develop' into touch-walkthrough-update 2020-06-29 11:14:59 -04:00
Quincy Morgan e61b752ee1 Don't blanket preventDefault for non-primary click events 2020-06-28 14:12:23 -04:00
Quincy Morgan 0bc56f9471 Start touch support for walkthrough (re: #7692) 2020-06-26 15:48:57 -04:00
Quincy Morgan f1de29d27b Make the over-map controls and panes scale better to small screens 2020-06-24 13:18:24 -04:00
Quincy Morgan 0473243930 Add workaround for broken rapid tapping on iOS 13.4+ (close #7694) 2020-06-15 12:27:53 -04:00
Quincy Morgan 7fe82444c2 Make map pointer targets larger for pen and touch input (close #7643) 2020-06-01 12:25:16 -04:00
Quincy Morgan 620d79bfc8 Reorganize the code for setting the mode class on the container 2020-05-29 17:18:10 -04:00
Quincy Morgan a78dc5a889 Simply default gesture cancelation and add additional safety check for IE 2020-05-29 13:08:13 -04:00
Quincy Morgan 311566328e Enable nudging the selection via shift+arrow keys and shift+command+arrow keys to nudge more (close #7186)
No longer nudge the viewport with shift+arrow keys
2020-05-19 12:08:14 -04:00
Quincy Morgan db9eed2434 Move the edit menu logic to uiInit
Make context the first argument of operation objects
Add Paste operation to edit menu when opening the context menu on a blank area of the map (close #2508)
2020-05-14 15:49:35 -04: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 a1a398650f Instantiate uiFlash only once as a property of the UI and remove global selection (re: #7445) 2020-03-29 10:22:58 -07:00
Quincy Morgan ad327befc7 Move keybindings from map panes to uiInit 2020-03-25 13:59:09 -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 e391edcc5c Namespace various internal SVG ids under ideditor (re: #7445) 2020-03-22 14:39:40 -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 f2a687f68b Convert container from id to class 2020-03-20 15:08:56 -07:00
Quincy Morgan 371bac0aa2 Convert photoviewer from id to class 2020-03-20 14:07:09 -07:00
Quincy Morgan c893147e15 Convert some element ids to classes to avoid collisions when embedding iD 2020-03-20 13:53:17 -07:00
Quincy Morgan f625406ccc Convert some element ids to classes to avoid collisions when embedding iD
Clarify some footer class names
2020-03-20 13:43:07 -07:00
Quincy Morgan 152d89fa22 Convert some element ids to classes to avoid collisions when embedding iD 2020-03-20 13:10:39 -07:00
Quincy Morgan 19bdabd889 Don't disable default hyperlinking 2020-03-12 20:31:15 -07:00
Quincy Morgan d82936ff24 Fix issue where labels could not be clicked to change or focus inputs 2020-03-10 13:39:22 -07:00
Quincy Morgan a4e8c95009 Prevent double-tap-to-zoom browser on mobile Safari (close #6049)
Limit scope of gesture event cancelation to iD's container
2020-03-09 13:16:13 -07:00
Quincy Morgan f4c39cc434 Don't require translations or uiFlash in rendererMap 2020-03-02 14:59:11 -08:00
Quincy Morgan b40d47fda4 Show active state on geolocate button (close #7390) 2020-02-27 10:55:22 -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
Bryan Housel b12c30461b Don't bundle the locales anymore, load first in context init
(re: #4994)
2020-02-21 12:24:08 -05:00
Bryan Housel e8f4452d49 Don't bundle the en.json strings anymore, Promisify locale loading
(re: #4994)
2020-02-21 11:09:59 -05: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
Quincy Morgan 5c150718a3 Make all panes inherit from a standard uiPane class (re: #7368) 2020-02-18 10:40:27 -08:00
Quincy Morgan 0e14241fcf Move some upload code from modeSave to new coreUploader object (re: #7247) 2020-02-05 15:28:23 -05:00
Bryan Housel 27f538b0cf Add Preferences Pane, Third Party Icon toggle, link to policy
(re: #7040)
2019-12-16 22:27:06 -05:00
Quincy Morgan 523a467836 2.x: Make toolbar horizontally scrollable when it overflows (re: #6755, re: 7545f67063b5e7007ef2d8367e3181e59c04a487)
Generalize tooltip into popover control
Use the same popover control for tooltip as the preset browser and tools list popovers
Smartly position the preset browser popover and menu bar tooltips to stay fully onscreen
Position most tooltips closer to their controls
Fix small gap that could appear between a tooltip and its arrow
Allow wider toolbar tooltips
2019-12-16 13:30:07 -05:00
Quincy Morgan 949ec8afa0 Add issue count badges to the bottom info bar when validating Everything 2019-10-14 17:14:47 +02:00
Quincy Morgan c88f2cb43c Support @ for collapsing the sidebar for French keyboards (close #6864) 2019-09-26 12:20:07 +02:00
Quincy Morgan 46a52cb19e Add button to toggle the Background info panel (re: #6397)
Reword imagery problem link label (close #6820)
2019-09-09 12:23:58 -04:00
Albin Larsson cd5cd81ba5 make additional buttons and links keyboard accessible 2019-07-31 08:24:26 +02:00
Quincy Morgan eb49a367b4 Don't reuse changeset comment, sources, and hashtags from prior uploads (close #6642, re: #6279) 2019-07-22 16:12:20 -04:00