Commit Graph

1155 Commits

Author SHA1 Message Date
John Firebaugh e10bba980f Handle cases where current vertex disappears (fixes #2234) 2014-05-27 11:25:24 -07:00
Martin Raifer a796d4b1ea only check .isIntersection for nodes 2014-05-27 15:19:47 +02:00
Bryan Housel 89ac5f41db Merge pull request #2235 from bhousel/bhousel-fields
Allow checkbox fields to support custom strings
2014-05-23 22:16:14 -04:00
John Firebaugh fbd583eb76 Hide inspector when dragging (fixes #2229) 2014-05-23 18:03:13 -07:00
Bryan Housel 10bd86cb45 Check single source for implied onewayness #2220 2014-05-23 17:07:11 -04:00
Bryan Housel 40810dab04 Correctly trim whitespace in semicolon-separated multivalues #2236 2014-05-23 15:06:10 -04:00
Bryan Housel 1c3d0dacee Replace all matches, not just the first one.. 2014-05-23 15:04:35 -04:00
Bryan Housel 126f334c96 eliminate warning: 'context' is defined but never used 2014-05-23 14:57:52 -04:00
Bryan Housel 5fdbd6f9f4 Instead of using context.selectedIDs(), define a check.entity setter function 2014-05-23 11:27:27 -04:00
Bryan Housel 191c7002f4 Handle empty selectedIDs.. 2014-05-22 16:20:52 -04:00
Bryan Housel 8380981ac3 Pretend oneway field is a oneway_yes field if junction=roundabout is set. 2014-05-22 15:47:54 -04:00
Bryan Housel e3e2ea602a Checkmark fields now support custom string options
oneway fields now show "Assumed to be No" or "Assumed to be Yes" instead of "Unknown" #2220
2014-05-22 13:51:23 -04:00
John Firebaugh 48dc768bbb Merge branch 'turn-restrictions' 2014-05-21 14:22:22 -07:00
Bryan Housel 545183c721 Remove foot: yes placeholder for cycleway and bridleway #2221 2014-05-19 12:56:43 -04:00
Bryan Housel 429f20a450 Improve access tag placeholders #2221 2014-05-19 12:22:52 -04:00
John Firebaugh 6089a6aaea Better solution for maintaining selection 2014-05-18 16:02:48 -07:00
John Firebaugh 243e86b277 Update selected segment after splits 2014-05-18 16:02:48 -07:00
John Firebaugh eaaff52d62 Help text 2014-05-18 16:02:48 -07:00
John Firebaugh 047fbb1282 Fix rendering when dragging intersection vertex 2014-05-18 16:02:48 -07:00
John Firebaugh 3d210ac3c1 Implement basic restriction toggling 2014-05-18 16:02:47 -07:00
John Firebaugh 15fb547bcc Let preset editor preserve field state
The turn restrictions field wants to have selected state.
2014-05-18 16:02:47 -07:00
John Firebaugh 26422d9c9a Show ways in restriction editor as if they were split 2014-05-18 16:02:47 -07:00
John Firebaugh 3b26e8d511 Show turn restriction editor for any intersection 2014-05-18 16:02:47 -07:00
John Firebaugh f39ae89177 Render turns of selected way 2014-05-18 16:02:47 -07:00
John Firebaugh 7cac179ce0 Start work on turn restriction editing field 2014-05-18 16:02:46 -07:00
John Firebaugh 173d379316 Merge branch 'bhousel-bhousel-fields' 2014-05-18 12:39:24 -07:00
John Firebaugh f9520362c9 Use match rather than split 2014-05-18 12:39:15 -07:00
Bryan Housel 22c71bffca Update regexp, and remove trim from old key.. 2014-05-16 16:31:34 -04:00
Bryan Housel 846d637aa7 Trim tag keys, and prevent duplicate tag keys (#2043) 2014-05-16 12:37:02 -04:00
John Firebaugh cb1972d76f Make field reference more flexible
Will need to support {"rtype": "restriction"} for turn
restriction field.
2014-05-14 17:22:24 -07:00
Martin Raifer 4261fefc6e Fix inline tag help for fields that handle multiple tags
Some preset fields like the access-restriction field manage
multiple tags at once (access=*, foot=*, bicycle=*, …). Then
iD wasn't able to show inline help when clicking the ⓘ button.

This introduces a new parameter for these kind of fields:
`referenceKey` determines the tag key which should be used to
search taginfo documentation for.

Fixes #2222.
2014-05-11 21:02:25 +02:00
Bryan Housel 749d145f50 Access field should allow "yes" placeholders to be overridden (#2213) 2014-05-03 10:34:09 -04:00
Bryan Housel 004be4bb9a Access field should allow "yes" placeholders to be overridden (#2213) 2014-05-02 15:30:00 -04:00
Bryan Housel 14efaee004 Remove "designated" from the general access case (#2213) 2014-05-02 14:46:07 -04:00
John Firebaugh 95edc5ff03 Fix up defaultcheck field type
It now works as determinate checkbox, where a checked
state produces *=yes and an unchecked state produces no
tag.
2014-04-15 16:33:43 -07:00
John Firebaugh 7b958cc1eb Fix custom template prompt showing "undefined" 2014-04-15 15:55:52 -07:00
John Firebaugh 273b5e2f63 Fix fill colors 2014-04-15 15:41:57 -07:00
John Firebaugh 1fee019d72 Remember last custom tile layer (fixes #2094) 2014-04-07 19:19:53 -04:00
John Firebaugh cefa1d96f1 Correctly update UI after choosing GPX file (#2144) 2014-03-21 17:34:34 -07:00
Bryan Housel ea58b6d89c add 35 as an option in the maxspeed dropdown.. 2014-03-19 15:26:33 -04:00
AndrewHain c9709e9207 remove addr:housename from presets
The [values](http://taginfo.openstreetmap.org/keys/addr%3Ahousename#values) of this rarely needed tag, which is prominent in the address presets, now have a lot of numbers and descriptive words in many different languages. Removing the preset means that new editors won’t fill this key with information useless to the key but can still add it through All tags if needed.  A similar thing happened when Potlatch put the designation tag into presets. Goes towards #1427 and #2124.
2014-02-25 15:55:05 -08:00
John Firebaugh 1561c366be Update OSM.org links 2014-01-08 16:29:00 -08:00
John Firebaugh ab8a4ffd7b Update GitHub links 2014-01-08 16:14:28 -08:00
John Firebaugh e59d24ed3e Merge pull request #2089 from mourner/better-hover
Better hover experience
2014-01-08 13:26:56 -08:00
Vladimir Agafonkin fc92f34eab dry up code for CSS transforms 2014-01-08 19:55:27 +02:00
Vladimir Agafonkin 92e9b0cbbb throttle hover for less epileptic experience and better perf
Otherwise the sidebar flashes so fast that it makes no sense while
distracting the user and lagging due to heavy sidebar construction.
2014-01-08 19:32:31 +02:00
Vladimir Agafonkin 5aba78fd15 fix data flash when panning, close #2082
Layers that get opacity should be HW-composited like supersurface,
otherwise it flickers when panning. Should in theory improve
performance as well.
2014-01-08 18:24:22 +02:00
John Firebaugh 3e2968310b Ensure "New Relation..." is always available (fixes #2066) 2014-01-03 13:00:36 -08:00
John Firebaugh 5f8c02fddc Suppress radial menu when clicking warning (fixes #2035) 2014-01-02 17:47:55 -08:00
John Firebaugh 532612a261 Don't let mouseover trigger during fade out 2014-01-02 16:08:44 -08:00