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
f291b0a120
Remove ineffective attempt to grab focus
2017-02-22 22:32:19 -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
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
1db4ea86f7
Add icons to operation flash messages
2017-02-16 10:20:37 -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
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
5b92b90ced
Add context menu
2017-02-09 12:53:10 +05:30
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
ca409966db
Watch for mousemove/mouseup on window, not selection
...
(closes #3800 )
2017-01-26 16:29:49 -05:00
Bryan Housel
b407fb0c17
Remove workaround for old rollup bug
2017-01-22 21:49:25 -05:00
Bryan Housel
fd9b3931d8
Use temp names for temp segments
...
(closes #1369 )
2017-01-13 18:44:42 +05:30
Bryan Housel
45b7a40557
Fix area drawing for #3676
...
These changes are needed now that `addNode`
* wants to preserve circularity
* automatically remove duplicates
* range checks index argument (can't call it with -1 anymore)
2017-01-12 19:30:07 +05:30
popov
19b0a771f6
make vertex by midpoint double-clicking
2016-12-28 15:32:47 +10:00
Bryan Housel
addd12ae99
Exclude child nodes from newIDs if their parent way was also copied
...
for #3656 item 1
2016-12-20 01:31:49 -05:00
Bryan Housel
087a8c62d1
Behaviors for all Operations
2016-12-20 00:28:24 -05:00
Bryan Housel
1884c7070e
Add a keybinding behavior for operations
2016-12-19 16:55:11 -05:00
Bryan Housel
8a66b3d892
Don't enter iD.modeSelect without valid entities in selectedIDs
2016-12-09 11:32:14 -05:00
Bryan Housel
af3db7ea36
Swap url hash map order to zoom/latitude/longitude
...
(closes #3554 )
2016-11-10 09:56:20 -05:00
Bryan Housel
98d484fc1f
Restore hover behavior to restrictions editor, add breathe behavior
...
The issue was: now that selections are immutable you can't add behaviors
to them unless they are already entered. i.e. the surface selection in
enter does not end up being the real surface after merging to update.
2016-10-30 11:35:36 -04:00
Bryan Housel
07fa5fcc34
Refactor Entity, Node, Relation, Tags, Way from core to osm
2016-10-11 22:41:24 -04:00
Bryan Housel
1c3e778baf
Check for rtl url parameter for testing (rather than regex)
2016-10-08 12:45:01 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
348a973f68
A few changes to make things work and test with Node 4, 5, 6
2016-09-29 10:53:07 -04:00
Bryan Housel
e4509cc123
Update all dependencies, remove d3 from the greenkeeper ignore list
...
Also add a few workarounds for a few weird rollup v0.36 issues
2016-09-26 00:42:51 -04:00
Bryan Housel
b90c5459ab
Add RatchetyInterpolator for breathe behavior
...
The interpolator now just runs a few discrete steps, avoiding most of the
repainting that was causing high CPU and noisy laptop fans. And it still
looks pretty good.
(closes #2911 )
2016-09-24 23:22:00 -04:00
Bryan Housel
ab1b5ad39c
Fix hover behavior
2016-09-24 00:55:35 -04:00
Bryan Housel
12afac526b
Fix breathe behavior
2016-09-24 00:13:28 -04:00
Tom MacWright
ed135ce9ef
Enable lib tests
2016-09-05 10:22:45 -04:00
Tom MacWright
760c515c8a
Fix source toggle, fix way drawing
2016-09-04 17:33:42 -04:00
Tom MacWright
2910eaddbb
Fix point adding
2016-09-04 10:52:57 -04:00
Tom MacWright
947a1d9c1a
Resolve lints
2016-09-03 19:08:03 -04:00
Tom MacWright
3af54610ca
Refactor customEvent system to use d3.customEvent
2016-09-03 17:56:56 -04:00
Tom MacWright
202482519a
Disable caching to save memory, fix event.of hack, remove console.log
2016-09-03 17:01:25 -04:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -04:00
Tom MacWright
580b907b30
Fix timers
2016-08-24 10:11:21 -04:00
Tom MacWright
cdb533fa84
Begin d3 v4 update
2016-08-21 15:19:27 -04: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
Tom MacWright
604d1e2719
import lodash ( #3257 )
2016-07-19 12:04:16 -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
Kushan Joshi
0939983515
external modules for behavior
2016-06-22 12:34:43 +05:30
Kushan Joshi
14f0d95e94
modularize iD.behavior
2016-06-17 12:53:19 +05:30