Commit Graph

526 Commits

Author SHA1 Message Date
Bryan Housel
af757d31be General usability improvements
* Reevaluate all featuers stroke widths for shadow, casing, stroke
* Shadow width is important to make sure all features are easily clickable
* Casing width is important to see oneway arrows
* Make sure all line styles have normal and low-zoom variants
* Show directional arrows for all waterway types
2017-03-16 16:16:35 -04:00
Bryan Housel
1a8cfcc8b1 Changeset refactor
(closes #2633)

* move osmChangeJXON from osm service to osmChangeset
* cleanup putChangeset for code clarity
* adjust params for callbacks (pass changeset around instead of changeset_id)
* add commit.reset() to reset changeset object after successful save
* improve checks for changeset tags (trim whitespace, etc)
2017-03-15 11:03:43 -04:00
Bryan Housel
4d207471ff Allow raw tag editor to have readonly tags 2017-03-14 12:17:52 -04:00
Bryan Housel
97f699d37d Better updates between comment box and changeset tags 2017-03-13 21:45:44 -04:00
Bryan Housel
16df2f595f Change raw tag editor to embed it on commit pane 2017-03-13 17:32:50 -04:00
Bryan Housel
5e7919e78c Consider matchScore when sorting the preset list 2017-03-12 19:01:15 -04:00
Bryan Housel
de44a73e05 Fix areaKeys logic to better handle presets that can be area or line 2017-03-12 15:29:14 -04:00
Bryan Housel
d1aac857a4 Ignore server changesets with missing comment tag or empty comment 2017-03-11 14:28:30 -05:00
Bryan Housel
a1323e482e Change putChangeset to create osmChangeset and asJXON 2017-03-11 14:12:34 -05:00
Bryan Housel
f783fe4942 Create osmChangeset object, inherit from osmEntity 2017-03-11 01:12:37 -05:00
Bryan Housel
e0157f48ac Merge pull request #3871 from mstn/3208-cant-create-a-new-master-relation
Order to-be-created relations by dependencies in the changeset
2017-03-11 01:05:11 -05:00
Bryan Housel
2b50d96f38 Remove unused variable - eslint warning 2017-03-10 22:48:21 -05:00
Bryan Housel
6f4d490c6f Prevent delete of objects when not 80% visible
(closes #3700)
2017-03-10 22:45:42 -05:00
Bryan Housel
52d37d999b Style vertices in the preset list with circular frame
(closes #3569)
2017-03-08 16:46:30 -05:00
Bryan Housel
0511c5e968 Add poi icons for power, mast 2017-03-04 08:07:13 -05:00
Bryan Housel
814a2eb887 Guard code around geoPointInPolygon
(closes #3876)
2017-03-04 00:24:36 -05:00
Bryan Housel
c72dc2427e Make the oneway markers slightly more opaque
(closes #3060)
2017-03-03 21:41:27 -05:00
Bryan Housel
b1b47760ac Adjust reverser button styling, make it work on tag change 2017-03-03 17:00:24 -05:00
Bryan Housel
74155a9286 Add reverser button to onewayCheck field 2017-03-03 11:58:02 -05:00
Bryan Housel
6a85e5483c Standard camel case for defaultCheck field (not used anywhere) 2017-03-03 10:28:40 -05:00
Bryan Housel
014b580a44 Force inspector to recreate all of its content after a save
(closes #3844)
2017-03-03 01:37:32 -05:00
Bryan Housel
cd23d76875 Don't debounce combo placeholder lookups
(closes #3874)
2017-03-02 21:41:57 -05: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
775b4eaafa After merge, rematch preset and update tags if necessary
(closes #3851)
2017-03-02 11:03:45 -05:00
mstn
05e5cf9030 add type information to references 2017-03-02 11:26:14 +01:00
mstn
3205650798 order to-be-created relations by dependencies in a changeset 2017-03-02 09:17:08 +01:00
Bryan Housel
be07dcccdf Always access OSM over https now
If you were logged in before, you might need to logout with
`id.connection().logout()` or delete the OAuth data from localStorage
2017-03-02 00:54:24 -05:00
Bryan Housel
ee26472496 Remove unused variable - eslint warning 2017-02-28 15:03:33 -05:00
Bryan Housel
cfb8826290 Position menu when toggling with spacebar
(closes #3862)
2017-02-28 15:02:06 -05:00
Bryan Housel
9ce06549e1 Add new poi icons, make them work on point, vertex, area label
(closes #3856)
2017-02-26 23:28:29 -05:00
Bryan Housel
2c11b693b8 Merge branch 'edit_menu' 2017-02-25 15:29:01 -05:00
Bryan Housel
4d9c90ea97 2.1.3 2017-02-24 12:25:38 -05:00
Martin Raifer
224059bdee fix typo: iterate over imagery blacklist
see https://github.com/openstreetmap/iD/issues/3858#issuecomment-282130145
2017-02-24 13:45:02 +01:00
Bryan Housel
5ba72292ac Fix mouse xy calculation for mousewheel scroll normalization 2017-02-23 21:45:36 -05:00
Bryan Housel
334188c6fe Normalize mousewheel zooming across browsers
(closes #3029)
2017-02-23 20:11:21 -05:00
Bryan Housel
f291b0a120 Remove ineffective attempt to grab focus 2017-02-22 22:32:19 -05:00
Bryan Housel
6ef85c4343 Fix RTL for scale bar 2017-02-22 22:16:50 -05:00
Bryan Housel
dc2318ab63 Add mention of the right-click menu in the walkthrough 2017-02-22 17:31:08 -05:00
Bryan Housel
f7c3de9545 Preserve backward compability with radial menu
Old menu behavior can be restored with 2 cookies:
- `edit-menu-style=radial` - Display menu as a radial menu, limited to 8 items
- `edit-menu-show-always=1` - Show menu on all clicks, not just contextmenu/right
2017-02-22 16:50:42 -05:00
Bryan Housel
4f8d772397 More improvements to select behavior re contextmenu, shiftclick, etc. 2017-02-21 22:16:17 -05:00
Bryan Housel
e756520bd8 suppressMenu(true) is now the default 2017-02-21 15:47:22 -05:00
Bryan Housel
d8237fa3eb Variable names, fix edge avoidance, tooltips placement, RTL 2017-02-18 15:42:54 -05:00
Bryan Housel
9d660076ca Add title to editmenu tooltip 2017-02-17 15:47:41 -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
1db4ea86f7 Add icons to operation flash messages 2017-02-16 10:20:37 -05:00
Bryan Housel
3fc36b66a9 Let D3 handle the delay rather than using setTimeout
This also fixes a race condition where it was possible to lose a flash
message that was created while the previous one was transitioning away.
2017-02-16 10:19:07 -05:00
Bryan Housel
2ce78d6c43 Call annotation as a function instead of a property
This is because, like tooltip(), it doesn't always make sense to call it,
and it should never get called if the operation is not available.
2017-02-15 23:02:13 -05:00
Bryan Housel
b7a81c6bec Allow customizable flash showDuration and fadeDuration 2017-02-15 22:28:35 -05:00
Bryan Housel
028ef3de3f Expose annotations for each operation 2017-02-15 22:01:30 -05:00