Commit Graph

25 Commits

Author SHA1 Message Date
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