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
Bryan Housel
33227c2b53
Adjust text for Reflect operation messages
2017-02-15 16:37:37 -05:00
Bryan Housel
1a1fc6db17
Better detection of culture-specific locale in language list
...
(closes #3842 )
2017-02-15 15:09:14 -05:00
Bryan Housel
2314acfec7
Add utilNoAuto to remove autocorrect/spellcheck features from inputs
...
(closes #3839 )
2017-02-14 17:19:24 -05:00
Bryan Housel
3408ef1282
Bump sexagesimal dependency to 1.0.0
2017-02-13 11:56:33 -05:00
Bryan Housel
c18cc7577d
Add flash test, avoid using sinon.useFakeTimers in tests.
...
sinon.useFakeTimers mocks setInterval, setTimeout, etc,
but not requestAnimationFrame, which d3 transitions rely on.
2017-02-11 00:19:49 -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
Kushan Joshi
07de6d975f
Fix right clicking edge cases
...
Fixed
- On reselecting multiple entities, right click doesn’t discard selection
- On selecting new entity, right click discards previous selection
- Preserved shift selection for both left & right click
2017-02-09 15:41:19 +05:30
Kushan Joshi
ca25a34987
semver compliance for edit_menu
2017-02-09 13:03:12 +05:30
Kushan Joshi
734f40c2a8
fix tooltip overflow
2017-02-09 12:53:10 +05:30
Kushan Joshi
11d7cc7b34
white theme for edit_menu.js
2017-02-09 12:53:10 +05:30
Kushan Joshi
5b92b90ced
Add context menu
2017-02-09 12:53:10 +05:30
Bryan Housel
2611537477
2.1.2
2017-02-07 11:49:19 -05:00
Bryan Housel
86118ece4e
Fix node drag regression introduced in 919234d
...
(closes #3829 )
2017-02-07 11:40:11 -05:00
Bryan Housel
264e3076d5
2.1.1
2017-02-06 17:04:15 -05:00
Bryan Housel
919234d2df
Make sure to select vertex-persistent when looking for siblings
...
(closes #3824 )
When hovering, there is also a companion `vertex-hover` element that might
sometimes get selected, and doesn't have the sibling class that enables drag.
2017-02-06 16:43:54 -05:00
Bryan Housel
20b79940ae
Disable no-fallthrough eslint warning around this switch block
2017-02-06 14:13:04 -05:00
Martin Raifer
d7ad3bc39e
improve autozooming on non-gpx background data layers
...
old implementation only worked for points and linestrings, but geojson and kml can contain any geometry.
aso, d3 is a bit special[1] when working with geojson polygons: it does require clockwise winding, but typical geojson is either counterclockwise winding (RFC7946) or "winding doesn't matter" (old geojson.org spec). When inputing such geojson (or kml) input, iD would zoom out all the way, which is not the intended behavior.
[1] https://github.com/d3/d3-geo#d3-geo
2017-02-06 18:04:20 +01:00
Martin Raifer
ff4bf2597d
fix regression in background layer loading from URL
...
fixes #3820
2017-02-06 15:08:13 +01:00
Bryan Housel
0e330152b8
2.1.0
2017-02-04 01:07:25 -05:00
Bryan Housel
ff1b16c769
Improve tests for line joins in walkthrough
...
(closes #3695 )
2017-02-02 21:50:57 -05:00
Bryan Housel
bc39bbf2d6
Object.assign not supported on IE11 or PhantomJS, use _.assign
2017-02-02 16:00:19 -05:00
Bryan Housel
0419230321
Use common apibase for search and countryCode
2017-02-02 15:55:52 -05:00
Bryan Housel
65d49c87bb
Accept geojson files with .json extension
2017-02-01 23:08:36 -05:00
Bryan Housel
af333dea2b
Merge branch 'feature-x' of https://github.com/mertemin/iD into mertemin-feature-x
2017-02-01 22:58:17 -05:00
Bryan Housel
3b46f1c83f
Warn on untagged relations
...
(re #3812 )
2017-02-01 14:41:41 -05:00
Mert Emin Kalender
7b17145775
Add support for kml and geojson
2017-01-31 21:38:59 -08:00
Bryan Housel
8d191cd34a
More careful address div selection to avoid data binding combobox caret
...
(closes #3715 )
2017-01-31 15:10:20 -05:00
Bryan Housel
bd069786bb
Add ellipsis to category names
2017-01-30 13:12:09 -05:00
Bryan Housel
efa424bd7a
Cleanup icons and fix RTL for preset categories
2017-01-30 13:04:31 -05:00
Bryan Housel
c9f8b3d386
Cleanup icons and fix RTL for Help pane navigation
2017-01-30 09:51:31 -05:00
Bryan Housel
b9b7ef9748
Suppress menu when selecting entity from member/membership editor
2017-01-29 21:27:39 -05:00
Bryan Housel
bc1193c347
Make sure nodes can be dragged too, not just vertices
...
(fixes bug introduced in 0440054 )
2017-01-29 17:23:34 -05:00
Bryan Housel
f93e57b97d
Use #map.node() for drag surface instead of svg #surface
...
This is because #surface can be transformed during a partial redraw
and d3.mouse() returns transformed point, not the real screen point.
a2cf4f32ec/src/point.js (L4-L9)
2017-01-29 17:11:55 -05:00
Bryan Housel
31dcabc8f8
Actually move the dragged point while nudging
2017-01-29 17:01:36 -05:00
Bryan Housel
6c062fb312
WIP: improve edge to support diagonal nudges, redraws on nudge
...
(working on #3594 today)
2017-01-28 15:51:23 -05:00
Bryan Housel
71141550a1
Show change count by save button after switching language
2017-01-27 14:53:21 -05:00
Bryan Housel
0440054cd9
Child and sibling vertices should be eligible for drag_node
...
(closes #3799 , see also #3801 )
2017-01-27 13:02:27 -05:00
Bryan Housel
6677d15c44
Fix distracting typo
2017-01-27 10:57:53 -05:00
Bryan Housel
fecff193e2
Merge pull request #3798 from openstreetmap/language-debugging
...
Add _tkeys_ language for translation debugging
2017-01-27 10:00:38 -05:00
popov
ad06e341ad
do not use tabs
2017-01-27 09:54:08 -05:00
popov
56dbebd0b6
fix array concat
2017-01-27 09:54:01 -05:00
popov
a2f9f51ee6
Allow to drag a node when a parent relation is selected
2017-01-27 09:53:52 -05:00