Kushan Joshi
909b72a39e
cleaning up
2017-08-24 17:03:04 +05:30
Bryan Housel
3464a46df6
All imagery layers should just be owned by rendererBackground()
...
This moves management of the custom layer out of uiBackground()
2017-07-20 16:07:10 -04:00
Bryan Housel
dca1cdc440
Fix: Ctrl+Shift+B also swaps between the background like Ctrl+B
...
(closes #4153 )
2017-07-17 15:29:13 -04:00
Bryan Housel
a15821ecf1
Use single Custom backround source, and add template() accessor
...
Before, each time the user switched to the custom source, it would
create a brand new custom source with the offset set to [0,0]
(closes #3982 )
2017-07-10 23:25:40 -04:00
Bryan Housel
ec8cd6ec83
More words about replacement tokens in custom tile url prompt
...
(see #3887 )
2017-06-22 21:57:26 -04:00
Bryan Housel
90870a0eb9
Use a simpler custom imagery example url
...
see https://github.com/openstreetmap/iD/issues/3887#issuecomment-309849685
2017-06-20 15:06:57 -04:00
Bryan Housel
eff9aaeceb
Add example to custom url template prompt
...
(closes #3887 )
2017-06-20 00:38:49 -04:00
Bryan Housel
dcf4fea450
Use localized background switching key shortcut in tooltip
2017-06-18 00:31:45 -04:00
Bryan Housel
22cb4c7f20
Add ability to localize more keyboard shortcuts
...
(closes #4081 )
H: Help
?: Keyboard Shortcuts
⌘I: Infobox
B: Background
⌘B: Switch Background
F: Map Data
W: Wireframe
/: Minimap
2017-06-18 00:17:44 -04:00
Bryan Housel
3d208311bd
Change imagery Transifex to YAML, use translated name and description
2017-06-16 00:51:04 -04:00
Bryan Housel
61bd8fcb5d
Show tooltip for long background names
...
(closes #3448 )
2017-03-17 15:28:37 -04:00
Bryan Housel
a7ac44f6e8
Refactor imageryBlacklists so it can be called without triggering a GET
...
Previous code was problematic because we need the function to
to properly blacklist custom imagery passed in through the url hash,
before iD is completely initialized. Triggering GET causes tests to
break because osm service testing has side effects :-/
2016-12-04 21:35:55 -05:00
Bryan Housel
3667541b2a
Add background tooltips to label, not list item
...
(closes #3581 )
This is to avoid conflicting with the tooltip on the custom button,
which is a descendent of the list item.
2016-11-13 20:41:22 -05:00
Bryan Housel
a2933bc42d
Ensure setCustom calls clickSetSource, also update custom source datum
2016-11-13 20:34:13 -05:00
Bryan Housel
c46c5d94f5
Prevent imagery offset nudging buttons from getting stuck
...
(closes #3576 )
2016-11-10 14:04:03 -05:00
Bryan Housel
efd9e6df4b
Memoize and avoid extra calls to utilDetect()
2016-10-18 21:48:39 -04:00
Nick Doiron
c22867c279
search results and layer names
2016-10-05 01:38:13 -04:00
Nick Doiron
581bade5f3
update RTL detection
2016-10-05 01:38:13 -04:00
Nick Doiron
6bc9e63fc3
map controls and menus
2016-10-05 01:33:16 -04:00
Nick Doiron
a9ee42bd94
undo and redo buttons
2016-10-05 01:32:45 -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
a59b0d9fdf
Fix transitions and multis
2016-08-24 10:42:34 -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
af776501d3
Require locale, second pass ( #3259 )
...
* Require locale, second pass
* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Tom MacWright
604d1e2719
import lodash ( #3257 )
2016-07-19 12:04:16 -04:00
Bryan Housel
cb71e90384
Module for iD.Detect() ( #3243 )
...
* convert iD.Detect() iife to a module
* iD.Detect() should return loaded locale (except for 'en')
(The previous code was a hack to replace the detected locale with the loaded
locale. Now that Detect is a module, we can not replace the detected locale
from external code, but we can have Detect() return the locale we really want)
2016-07-13 09:15:47 -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