Commit Graph

34 Commits

Author SHA1 Message Date
Quincy Morgan b7bb8213ba Flash the disabled message for touch interaction for the save button (re: #7699)
Don't flash undo/redo tooltip text when the map isn't editable
2020-06-12 13:10:15 -04:00
Quincy Morgan 1e68917e2a Flash tooltip text when tapping undo/redo toolbar buttons and disabled operation buttons on touch devices (re: #7699) 2020-06-12 12:48: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 60f7dc7c0b Replace presets property of context with singleton
Remove utilPreset
2020-04-01 13:08:45 -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 21f8404deb Show change count in document title (close #6209)
Make title format translatable
Don't show lat/lon location in title
Select corresponding features upon hash change
2020-03-24 10:17:46 -07:00
Quincy Morgan f0cb8ffb25 Merge branch 'develop' into fix-history 2020-03-23 14:12:14 -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 152d89fa22 Convert some element ids to classes to avoid collisions when embedding iD 2020-03-20 13:10:39 -07:00
Katarzyna Król 28ab9fe150 remove counting changes in title 2020-01-15 02:03:50 +01:00
Katarzyna Król 6286d1430f fix titles - single quotes 2020-01-15 01:50:07 +01:00
Katarzyna Król 91b67277bd update document title 2020-01-14 18:47:19 +01:00
Quincy Morgan ae7eadb89c Properly update undo/redo button tooltips when undoing/redoing (close #6872) 2019-12-23 11:06:23 -05:00
Quincy Morgan e8d154a529 Remove old, unused implementations of favorite, recent, and search-to-add preset toolbar items 2019-12-18 11:25:31 -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 912151ff38 Allow viewing and editing the tags/relations of selected features at any zoom level in 2.x (re: #5001) 2019-12-12 16:54:16 -05:00
Quincy Morgan 9d936b4aea Rename rendererMap.editable function to more precise rendererMap.editableDataEnabled
Make coreContext.editable function also account for whether user is in modeSave
2019-12-12 16:06:28 -05:00
Albin Larsson cd5cd81ba5 make additional buttons and links keyboard accessible 2019-07-31 08:24:26 +02:00
Bryan Housel 58cae43b9b Use parentNode instead of parentElement for IE 2019-05-07 17:48:56 -04:00
Bryan Housel dbb10bb155 Just update save count on all changes
(closes #6239)
2019-04-30 10:02:00 -04:00
Bryan Housel 3fe9d75f35 Fix issues with issue cache for entities that no longer exist 2019-04-22 19:35:23 -04:00
Bryan Housel 1092ddb125 Make sure to update the save count when restoring changes too 2019-04-19 10:56:00 -04:00
Bryan Housel 0a77a494aa Merge branch 'master' into validation_and_change_perf 2019-04-10 14:22:20 -04:00
Quincy Morgan ae80c88f37 Render relation route icon lines dynamically (close #5926) 2019-04-08 19:58:50 -07:00
Quincy Morgan 35c7cbd92b Ensure that undo/redo buttons look disabled when the map is not editable (close #6105) 2019-04-04 17:34:20 -07:00
Bryan Housel 87e3b928d0 Reduce drawing during history changes
(closes #6086)
2019-04-03 23:26:26 -04:00
Quincy Morgan 4afd29a50a Hide ribbon and favoriting UI for now 2019-03-27 13:12:28 -04:00
Quincy Morgan bab9e6b2b4 Add uninstall functions to several toolbar items
Tweak toolbar item spacing
2019-03-26 16:36:30 -04:00
Quincy Morgan db061d0dff Make the RTL shortcuts for recent and favorite presets the same as LTR (close #6107) 2019-03-26 12:24:39 -04:00
Quincy Morgan 2895ff9405 Break modes toolbar item into add favorites and add recent items 2019-03-25 17:00:33 -04:00
Quincy Morgan f8b8739855 Add optional uninstall function to tools 2019-03-25 13:48:59 -04:00
Quincy Morgan 776bf103d8 Reorganize toolbar code 2019-03-25 12:25:04 -04:00