Commit Graph

54 Commits

Author SHA1 Message Date
Bryan Housel
08ac17f49c Split pane content into header and content, move close button 2018-03-27 18:38:39 -04:00
Bryan Housel
3bf618add8 Merge branch 'fix4599' of https://github.com/vershwal/iD into vershwal-fix4599 2018-03-26 11:19:10 -04:00
vershwal
9d9be8fd26 Added button to close Map controls. 2018-03-18 17:17:28 +05:30
vershwal
1c047f5ac8 Added pencil icon. 2018-03-17 20:22:26 +05:30
Bryan Housel
fb196bee8c Persist area-fill-toggle so we can toggle out of wireframe
(closes #4740)
2018-01-24 14:53:30 -05:00
Gautier Pelloux-Prayer
5077f88a4d Restore latest imagery used from local storage 2018-01-21 23:04:16 +01:00
Bryan Housel
04fa29cfe6 Move link to imagery faq, reword as "Imagery Info / Report a Problem"
(closes #4546)
2018-01-03 15:23:47 -05:00
Bryan Housel
46ebe02555 Clean up styles, move minimap toggle below background imagery list 2018-01-03 14:35:27 -05:00
Bryan Housel
53aa2973e4 Refactor display options controls to uiBackgroundDisplayOptions 2018-01-03 01:47:25 -05:00
Bryan Housel
48834a0ea5 Add reset buttons for display sliders 2018-01-02 23:41:21 -05:00
Bryan Housel
50c1b58bda Added saturation slider, simplify code, improved sharpen parameters 2017-11-30 23:24:55 -05:00
Bryan Housel
53225f08ec more tweaks to unsharp mask 2017-11-30 16:19:06 -05:00
Bryan Housel
b1efcf83b2 Add Sharpness slider 2017-11-30 08:50:32 -05:00
Bryan Housel
2946774e60 WIP: Add unsharp-mask filter layer to sharpen background imagery 2017-11-30 01:56:23 -05:00
Bryan Housel
d24e2663f2 Replace confusing opacity buttons with opacity slider 2017-11-29 17:02:13 -05:00
Bryan Housel
17809545c6 Ensure only one pane shown at a time, remove unnecessary handlers 2017-11-28 23:21:52 -05:00
Bryan Housel
2e2dd5f025 Larger headings on Map Data and Background panes 2017-11-28 22:49:46 -05:00
Bryan Housel
d7e8625d6b Use uiDisclosure for background pane subsections, move brightness 2017-11-28 15:06:19 -05:00
Bryan Housel
385297d993 Use uiDisclosure for data pane subsections 2017-11-27 22:05:02 -05:00
Bryan Housel
857a1c4821 Refactor offset control into separate uiBackgroundOffset module 2017-11-27 12:03:14 -05:00
Bryan Housel
fd49f47ede Now background, map_data, help stay open when user clicks on map surface
There is really no need to hide these, and the user might just want to
keep the pane open (e.g. viewing help) while they do stuff.
2017-11-22 22:29:06 -05:00
Bryan Housel
a0a197a69e Add support for DigitalGlobe imagery vintage overlays
(see https://github.com/osmlab/editor-layer-index/issues/371)
2017-11-01 13:46:13 -04:00
Bryan Housel
3d13620705 Convert lodah-es and d3 to named imports for ui 2017-09-26 11:22:43 -04:00
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