Commit Graph

22 Commits

Author SHA1 Message Date
Bryan Housel
12f402c48b Disable Add Note '4' shortcut when notes layer is not enabled
(also return to browse mode if notes or osm layers get disabled)
(closes #5190)
2018-08-06 14:45:10 -04:00
Bryan Housel
46dc44b35b Make the mode buttons dynamic
- show/hide the note button when the notes layer is enabled/disabled
- enable/disable the note button based on notesEditable
2018-07-23 22:21:47 -04:00
Thomas Hervey
06a410107b cleaned up merge relics and comments 2018-07-20 23:31:49 -04:00
Thomas Hervey
bf9b19359a WIP drag note 2018-07-20 21:41:44 -04:00
Thomas Hervey
b017616993 added new note icon and completed sidebar 2018-07-18 09:38:59 -04:00
Thomas Hervey
ea2fffbd49 fix toggling new note button 2018-07-17 14:25:06 -04:00
Thomas Hervey
af2b67663b added new-note button 2018-07-17 11:35:27 -04:00
Bryan Housel
470835b38f Extract all graphics from iD sprite, reassemble with svg-sprite
All iD sprite graphics are now prefixed with `iD-`
Also includes support for sending the preset logos to taginfo
2018-06-08 16:06:46 -04:00
Bryan Housel
9b99115b3e Guard code for context.mode
In case this is somehow called before initialization is complete
It happens rarely when restoring the initial changes and deferring rendering
2018-01-19 11:44:14 -05:00
Bryan Housel
3d13620705 Convert lodah-es and d3 to named imports for ui 2017-09-26 11:22:43 -04:00
Bryan Housel
fc9fbbe390 Disable mode buttons on leading and trailing debounce 2017-09-18 22:01:33 -04:00
Bryan Housel
d0fcae1b15 When drawing, ignore accidental clicks on mode buttons
(closes #4042)
2017-08-07 00:24:16 -04:00
Bryan Housel
7f2275bab9 Shortcuts for point/line/area should deselect tool
(closes #4003)
2017-05-03 18:01:07 -04:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Tom MacWright
ed135ce9ef Enable lib tests 2016-09-05 10:22:45 -04:00
Bryan Housel
a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright
e7b6b66ddc Fix mode buttons 2016-08-24 09:52:43 -04:00
Tom MacWright
cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Tom MacWright
6341d4e4b5 one-shot build (#3266)
* One-shot development

* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs

* Unformat intro graph
2016-08-10 15:25:19 -07:00
Tom MacWright
604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Kushan Joshi
39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Kushan Joshi
7188065a6c disband ui/core 2016-07-02 19:04:51 +05:30