Lee Haugen
978abafa33
Include zoom to edit notice over map
2017-08-25 15:19:27 -05:00
Bryan Housel
99a3741b0c
Better isolation of services, to avoid hitting network during test runs
...
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
(e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
Bryan Housel
fc50bed82d
Change to 80px arrow key panning (this matches Leaflet default)
...
(closes #4207 )
2017-08-01 12:03:07 -04:00
Bryan Housel
22c707a6e2
Make infobox a container for widgets, measurement code a widget
2017-06-26 21:10:47 -04:00
Bryan Housel
6ca649498f
Add walkthrough=true url parameter to auto-start the walkthrough
...
(closes #4111 )
2017-06-22 22:26:38 -04:00
Bryan Housel
2b8058cf89
Add a menu item to the help pane to show keyboard shortcuts
...
(closes #4079 )
2017-06-08 22:38:04 -04:00
Ajith Ranka
04825da109
display a shortcuts modal, continues #1481
2017-05-16 15:33:14 -04:00
Bryan Housel
43cb17cdda
Only adjust the What's New tooltip if the login/logout links are hidden
2017-05-08 02:12:19 -04:00
Bryan Housel
7873f0c425
Relax rules for using keyboard shortcuts in the walkthrough
2017-03-29 12:35:33 -04:00
Bryan Housel
a2a121a57d
Add "What's new in iD" notification on new versions
...
(closes #1856 )
2017-03-02 15:51:08 -05:00
Bryan Housel
3908da03cf
Fix styling of flash and footer and use absolutely positioned divs
...
Also fix flash tests
2017-02-17 00:23:24 -05:00
Bryan Housel
150b9fb7dc
WIP: move flash to footer area, transition in/out
...
Also took this opportunity to use flexbox for the footer layout
2017-02-16 17:13:22 -05:00
Bryan Housel
5aa519affb
Flash style adjustments
2017-02-10 21:50:31 -05:00
Bryan Housel
c5383c1f55
Darker unintrusive flash.. WIP flash operations on keypress
2017-02-10 16:39:08 -05:00
Bryan Housel
6b62f40eb6
Improve save flow
...
(see #3777 )
* When entering Save mode, map content transitions inactive: appears grayscale
and dims slightly so colorblind users perceive a change. The sidebar controls
still let the user review their edits, or return to editing to address any
warnings.
* Adjusted the language a little bit "Save" -> "Upload" to make it clear that
an Upload needs to happen. No more 2 Save buttons.
2017-01-24 12:21:05 -05:00
Bryan Housel
2a39a25b32
Map div needs to remain ltr
2017-01-21 21:55:47 -05:00
Bryan Housel
a0045916d6
Remove test code, window.restart is now context.ui().restart
2017-01-20 14:26:42 +05:30
Bryan Housel
513382f835
Only show splash and history restore prompts the first time
2017-01-19 19:09:33 +05:30
Bryan Housel
1a5f155e39
Fix zoom behavior bind in map, delay removals to avoid flicker
2017-01-18 23:44:03 +05:30
Kushan Joshi
fb8efc2772
Change translation on the fly
2017-01-16 11:49:06 +05:30
Bryan Housel
16ada1f29a
Better error handling for common osm api error conditions
...
* if 509 Bandwidth Exceeded / 429 Too Many Requests, prompt for login
(closes #2262 )
* if 400 Bad Request / 401 Unauthorized / 403 Forbidden - logout and retry
(closes #3546 )
2016-11-08 21:43:27 -05:00
Bryan Housel
48621d3155
Add callback to ui() that will be called after loadLocale completes
...
(closes #3550 )
2016-11-07 17:03:33 -05:00
Bryan Housel
3224130821
Add uiCmd to fix modifier, add keybind arrays to simplify code
2016-11-04 10:17:30 -04:00
Bryan Housel
5fb966c35b
utilSetDimensions/utilGetDimensions improvements
...
utilSetDimensions should always return a selection for chaining
Add `force` argument to utilGetDimensions to override cached dimensions
2016-10-27 14:13:39 -04:00
Bryan Housel
bf857c419a
Center label baseline hack for IE11, Edge
...
(closes #3020 )
2016-10-18 21:28:20 -04:00
Nick Doiron
581bade5f3
update RTL detection
2016-10-05 01:38:13 -04:00
Nick Doiron
34a6382752
revised RTL features and detection
2016-10-05 01:31:14 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
cd4e6f038e
Fix and cleanup all map easing transitions, now supports eased zoom, pan
2016-09-22 23:51:40 -04:00
Tom MacWright
ed135ce9ef
Enable lib tests
2016-09-05 10:22:45 -04:00
Tom MacWright
9852fa7879
Fix initial map size
2016-09-03 18:58:45 -04:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -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
Bryan Housel
7ca6d06254
Replace iD global with iD.Context() module ( #3254 )
2016-07-19 10:15:32 -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
780960c711
interim
2016-07-06 00:34:35 +05:30