Commit Graph

6749 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
8ecff8b8bc Add osmNode#isConnected
This is used to draw vertices
* where multiple parent ways meet
* where a single way self intersects (but not the closing node of a loop)

We were using Graph#isShared or osmNode#isIntersection, but this is slightly
different to handle self-intersecting ways.
2017-01-23 23:44:04 -05:00
Bryan Housel
e4f11f137d Slightly increase the size of unconnected endpoints
(closes #3775)
2017-01-23 22:18:03 -05:00
Bryan Housel
04e0a9f9b0 Add endpoint class for endpoint vertices 2017-01-23 21:56:37 -05:00
Bryan Housel
e9edfe0cd5 Always render vertices at endpoints
(see #3775)
2017-01-23 21:10:50 -05:00
Bryan Housel
04971478cb Add osmNode#isEndpoint 2017-01-23 21:03:34 -05:00
Bryan Housel
e9e442e998 Add a disconnected highway validation
(closes #3786)
2017-01-23 16:50:31 -05:00
Bryan Housel
2194ea2355 Run phantomjs with --web-security=no
Potential fix for #3670
see http://stackoverflow.com/questions/15913170/phantom-js-synchronous-ajax-request-network-err-xmlhttprequest-exception-101
2017-01-23 15:51:07 -05:00
Bryan Housel
e4587a2259 Merge enter into update selection for view_on_osm link
(closes #3778)
2017-01-23 15:22:55 -05:00
greenkeeperio-bot
4a2aa2da5d chore(package): update d3 to version 4.4.4
https://greenkeeper.io/
2017-01-23 15:08:50 -05:00
Bryan Housel
eaae835829 Minor style tweak 2017-01-23 14:54:42 -05:00
Bryan Housel
0a77f0b09b Don't save history if degeneracies exist in selectedIDs
(closes #3750)
2017-01-23 14:47:55 -05:00
Bryan Housel
ec2c2e6612 Ensure isDegenerate can be called for all entities 2017-01-23 14:17:41 -05:00
Bryan Housel
c9804fb3aa Rename "Goods" to "Goods Aerialway"
per https://github.com/openstreetmap/iD/pull/3747#discussion_r95800707
2017-01-23 11:41:27 -05:00
Bryan Housel
b407fb0c17 Remove workaround for old rollup bug 2017-01-22 21:49:25 -05:00
Bryan Housel
4d51f40581 Merge pull request #3788 from openstreetmap/tyrasd-unsavedchangesmessageonsavedialog
Show "You have unsaved changes" message also in save mode
2017-01-22 21:38:34 -05:00
Martin Raifer
ac8a52980b show "You have unsaved changes" message also in save mode 2017-01-22 19:35:08 +01:00
Bryan Housel
3246ca176f Eagerly load user's details and changesets
(closes #3787)

Also, don't redo authentication in save.js if user is already authenticated
2017-01-22 12:43:39 -05:00
Bryan Housel
8205a3e55e Merge pull request #3764 from openstreetmap/quick-translate
Change translation on the fly
2017-01-21 22:01:55 -05:00
Bryan Housel
2a39a25b32 Map div needs to remain ltr 2017-01-21 21:55:47 -05:00
greenkeeperio-bot
a45aed7d30 chore(package): update eslint to version 3.14.0
https://greenkeeper.io/
2017-01-22 00:58:30 +05:30
greenkeeperio-bot
dc127677d5 chore(package): update d3 to version 4.4.3
https://greenkeeper.io/
2017-01-22 00:57:41 +05:30
greenkeeperio-bot
6fae8ba516 chore(package): update mapillary-js to version 2.4.0
https://greenkeeper.io/
2017-01-20 23:55:59 +05:30
Bryan Housel
5cfe5598e0 Use 'pt' wiki pages in 'pt-BR' iD localization
(closes #3776)
2017-01-20 16:31:59 +05:30
Bryan Housel
c47a178ef6 Fix preset icons for right-to-left languages
(closes #3766)
2017-01-20 16:10:12 +05:30
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
d5805dc3cd import textDirection instead of caching first time rtl detection 2017-01-19 19:08:44 +05:30
Bryan Housel
1a5f155e39 Fix zoom behavior bind in map, delay removals to avoid flicker 2017-01-18 23:44:03 +05:30
Bryan Housel
a87227fe60 Merge branch 'master' into quick-translate 2017-01-17 18:39:49 +05:30
Bryan Housel
d09fd15092 Cleanups and rename service nominatim -> geocoder 2017-01-17 16:56:23 +05:30
Bryan Housel
489a25fe74 Cleanup addressFormats formatting 2017-01-17 16:55:34 +05:30
Bryan Housel
94483af4c7 Fix service name nominatim -> geocoder 2017-01-17 16:46:41 +05:30
Bryan Housel
f5586d6b05 Merge branch 'address-customization' of https://github.com/Natsuyasumi/iD into Natsuyasumi-address-customization 2017-01-17 14:50:13 +05:30
Bryan Housel
0fb506f461 Make sure new midpoint also gets included in activeIDs 2017-01-16 20:37:34 +05:30
Bryan Housel
aff9cc3b13 Merge branch 'drag-node-behavior' of https://github.com/edpop/iD into edpop-drag-node-behavior 2017-01-16 19:32:47 +05:30
Bryan Housel
132a5b56c3 Made it a bit simpler with lodash _uniqBy 2017-01-16 17:56:59 +05:30
Bryan Housel
5f2a10694d Merge branch 'commit' of https://github.com/Abbe98/iD into Abbe98-commit 2017-01-16 17:34:05 +05:30
greenkeeperio-bot
dc0a6e3e5f chore(package): update mapillary-js to version 2.3.0
https://greenkeeper.io/
2017-01-16 17:25:24 +05:30
Bryan Housel
ad415a72ca Merge pull request #3748 from huangyingjie/master
fix: properties exported are redefined
2017-01-16 17:19:07 +05:30
greenkeeperio-bot
6c63ea05d4 chore(package): update rollup to version 0.41.4
https://greenkeeper.io/
2017-01-16 16:46:29 +05:30
Bryan Housel
7158d2e119 Merge branch 'slhh-replace-node' 2017-01-16 16:41:06 +05:30
Kushan Joshi
fb8efc2772 Change translation on the fly 2017-01-16 11:49:06 +05:30
Bryan Housel
f33321d0e5 Greenkeeper doesn't need to ignore maki anymore 2017-01-16 00:19:08 +05:30
Bryan Housel
02cfd039fb Use more of the new maki icons 2017-01-16 00:18:32 +05:30
Bryan Housel
afb51ab4bd Add halo for area icons
(closes #3762)
2017-01-15 01:10:28 +05:30
Bryan Housel
04b9c08bff Adjust maki sizes and fill opacity
New icons are solid fill and take up a bit more of the icon space, so need to
be scaled differntly.
2017-01-14 23:06:23 +05:30
Bryan Housel
9b922899a6 Restore maki icons on vertices and areas 2017-01-14 22:08:47 +05:30
Albin Larsson
70f74c4953 do not suggest duplicate commit messages 2017-01-13 21:22:58 +01:00
greenkeeperio-bot
7aecb25dac chore(package): update diacritics to version 1.3.0
https://greenkeeper.io/
2017-01-14 01:30:42 +05:30