Commit Graph

196 Commits

Author SHA1 Message Date
John Firebaugh 0c09871c4a Don’t show turn restriction editor for non-highways (fixes #2240) 2014-05-27 14:35:57 -07:00
Martin Raifer a796d4b1ea only check .isIntersection for nodes 2014-05-27 15:19:47 +02:00
John Firebaugh 3b26e8d511 Show turn restriction editor for any intersection 2014-05-18 16:02:47 -07:00
John Firebaugh 16c9564343 Fix odd resize behavior of feature list 2013-11-27 11:06:27 -08:00
John Firebaugh ef03a45d48 Don't update entity editor when it's hidden 2013-08-09 14:42:16 -07:00
John Firebaugh 23e8e41259 Fix sidebar transition (fixes #1653) 2013-07-29 14:31:07 -07:00
John Firebaugh 840c08f672 Remove unnecessary grid classes
These instances are mostly or entirely overridden by more
specific rules.
2013-06-04 18:03:25 -07:00
John Firebaugh 3b34b35d10 Render only the visible inspector pane 2013-05-31 16:18:18 -07:00
John Firebaugh e98b489041 Remove unused 2013-05-31 14:31:23 -07:00
John Firebaugh 9874e417eb Fix "View on OSM" in sidebar footer
Fixes #1473.
2013-05-29 20:24:37 -07:00
John Firebaugh e959002e03 Don't show preset list on hover (fixes #1535) 2013-05-29 11:12:42 -07:00
John Firebaugh 053ba51e27 Clear sidebar when not hovering (fixes #1528) 2013-05-28 10:56:58 -07:00
John Firebaugh c5e275cea5 Don't show "Editing" on hover 2013-05-26 21:38:29 -07:00
John Firebaugh d6211b35b6 Rationalize CSS classes 2013-05-26 14:30:41 -07:00
John Firebaugh 79737d2cd0 Work toward making inspector persistent 2013-05-26 13:36:21 -07:00
John Firebaugh 16e5f5e2ce Extract Entity#isUsed 2013-05-24 15:46:05 -07:00
John Firebaugh 27fa4aa1d6 Switch to a persistent sidebar 2013-05-23 16:06:34 -07:00
John Firebaugh bef4cd60a3 Convert constructor argument to accessor 2013-05-23 16:05:40 -07:00
John Firebaugh 19638acd14 Push close event handling down 2013-05-23 16:05:07 -07:00
John Firebaugh 69d548507d Simplify 2013-05-23 15:05:03 -07:00
John Firebaugh 49f864924a Show editor for tagless member entities 2013-05-22 17:42:02 -07:00
John Firebaugh b70b287dee Rename TagEditor -> EntityEditor
It's going to be used to edit relation memberships as well
as tags.
2013-05-22 12:16:57 -07:00
John Firebaugh 701910753c Simplify 2013-05-22 11:42:49 -07:00
John Firebaugh fb01868a3c PresetGrid -> PresetList 2013-05-22 10:22:15 -07:00
John Firebaugh 9e4e794300 Rewrite PresetGrid 2013-05-22 10:22:15 -07:00
John Firebaugh 0a293c3ae9 Focus search after going back to preset grid (fixes #1386) 2013-04-26 11:48:25 -07:00
John Firebaugh c50c3121d8 Make Graph#entity strict
Use Graph#hasEntity for the previous behavior.
2013-04-24 09:27:37 -07:00
John Firebaugh 69868bfd22 Keep generic amenity preset choice (fixes #1354) 2013-04-23 16:43:59 -07:00
Ansis Brammanis 77403f62ec force blur and tag change when closing inspector
Firefox doesn't fire a blur if the element is just
removed from the dom.
2013-04-18 12:49:26 -04:00
John Firebaugh 52929b9312 Show preset grid for untagged features (fixes #1258) 2013-04-12 18:15:56 -04:00
John Firebaugh 5dda54ea52 Refine focus behavior for inspector (fixes #1277)
Auto-focus the search field only right after finishing drawing.
At that point, the radial menu isn't shown anyway. So then the
flow for correcting geometry before assigning a preset is:

 1. Draw.
 2. Finish drawing. The search field is focused, and no
    radial menu is open.
 3. Click again to reselect the feature and show menu.
    Now the search field is blurred.

In other words: when the menu is shown, search should not be
focused. When search is focused, the menu should not be shown.
2013-04-12 10:08:44 -04:00
Ansis Brammanis e097641f4e Fix deleting entity with modified field
fixes #1237
2013-04-02 16:43:53 -04:00
Ansis Brammanis 8f390bd019 fix inspector transition in firefox
firefox not returning the computed style as a percentage
was breaking the transition
2013-03-28 20:52:44 -04:00
Ansis Brammanis c31ce3ebd9 don't transition inspector when reselecting
fixes #1189
2013-03-28 19:27:30 -04:00
Ansis Brammanis d6df439360 Merge remote-tracking branch 'systemed/master' into intro
Conflicts:
	build.js
	data/locales.js
2013-03-26 13:17:35 -04:00
Ansis Brammanis bda6f5b27b More intro work 2013-03-25 14:57:46 -04:00
John Firebaugh aef17c1968 Fix duplicate undo entries (fixes #1105) 2013-03-22 11:23:23 -07:00
Ansis Brammanis 425fd838ce Add 'current' class to current preset in grid 2013-03-18 17:18:32 -04:00
John Firebaugh 13cd85a362 Clear inspector body before rendering (fixes #1069) 2013-03-17 20:45:01 -07:00
John Firebaugh fdcb96e8d6 Move more inspector logic to Inspector 2013-03-17 20:07:44 -07:00
John Firebaugh 13b5cc4c4d Move inspector logic to Inspector 2013-03-17 19:54:47 -07:00
John Firebaugh cb12b184c0 Pass entity explicitly 2013-03-17 19:38:38 -07:00
saman bb 3b2350ca54 style tweaks + fix for #1061 2013-03-16 09:00:42 -04:00
saman bb e7842bc5f1 cleaning up styles + refining animation. 2013-03-16 01:48:05 -04:00
Tom MacWright 76ff5ef6c4 Fix clickability of preset on first load 2013-03-15 15:57:15 -04:00
Tom MacWright 1431f71f7b Transition between preset grid and tag editor panes. Fixes #1056 2013-03-15 15:49:58 -04:00
saman bb 6dc7b7b236 preset style/layout cleanup. 2013-03-12 15:32:26 -04:00
Ansis Brammanis 609e8b9119 refactor preset inputs 2013-03-09 18:30:54 -05:00
John Firebaugh 60ff6fc021 Use maki icons for points (fixes #881) 2013-03-08 20:22:06 -08:00
Ansis Brammanis 4a9ce55793 let delete shortcut work on empty preset search 2013-03-04 11:29:03 -05:00