Commit Graph

3428 Commits

Author SHA1 Message Date
John Firebaugh
c14e2e600e Fix strokes sometimes being clipped as polygons
Fixes #1527.
2013-05-28 20:30:41 -07:00
John Firebaugh
fe38a47a3c Fix URL template host rotation
It was sending all tiles at a given zoom to the same host.
2013-05-28 18:46:15 -07:00
John Firebaugh
9fcea83872 Fix forward button in preset list 2013-05-28 17:41:48 -07:00
John Firebaugh
9b6b198b3f Don't modify input in place 2013-05-28 17:41:36 -07:00
John Firebaugh
f9f72be9c8 Extract iD.actions.ChangePreset 2013-05-28 17:41:26 -07:00
John Firebaugh
56f8b9e4a9 Fixup after merge 2013-05-28 16:56:49 -07:00
John Firebaugh
1e8052182d Merge pull request #1247 from systemed/create-multipolygon
ability to create multipolygons
2013-05-28 16:56:22 -07:00
Saman Bemel-Benrud
e66eeacd12 remove bad transition from additional icons. 2013-05-28 18:18:52 -04:00
John Firebaugh
1069382353 Obvious editor is obvious 2013-05-28 15:14:07 -07:00
John Firebaugh
3405a663de Fix radio field click behavior 2013-05-28 15:10:57 -07:00
Saman Bemel-Benrud
92b63bb323 Merge branch 'sidebar' 2013-05-28 18:00:59 -04:00
Saman Bemel-Benrud
c3091a86ca design cleanup. 2013-05-28 18:00:24 -04:00
John Firebaugh
387ff3c7a5 Simplify 2013-05-28 14:52:38 -07:00
John Firebaugh
d1643d4b64 Trying to fix tab behavior in last raw tag field 2013-05-28 14:46:25 -07:00
John Firebaugh
7c20bd3722 Ensure combobox suggestion menu is closed on blur
The combobox's blur handler needs to be called prior
to the tag editor's blur handler. The latter can cause
a re-render, which will rebind handlers. Rebound handlers
are not called during the same event dispatch cycle, so
when the combobox blur handler is last, it sometimes
doesn't get called, stranding the menu.
2013-05-28 14:46:25 -07:00
Saman Bemel-Benrud
5600b6271d adding placeholder text and exception for showing placeholder on radio buttons during hover. 2013-05-28 17:01:40 -04:00
Saman Bemel-Benrud
e1fad0272e Merge branch 'sidebar' of github.com:systemed/iD into sidebar 2013-05-28 15:59:19 -04:00
Saman Bemel-Benrud
5d61626a37 working on hover styles. 2013-05-28 15:59:08 -04:00
John Firebaugh
e913d564d9 Fix field placeholders 2013-05-28 11:29:31 -07:00
John Firebaugh
182849cbe6 Make preset field placeholders translatable 2013-05-28 11:07:36 -07:00
John Firebaugh
39222caac9 Fix Name field's + button (fixes #1529) 2013-05-28 10:59:58 -07:00
John Firebaugh
053ba51e27 Clear sidebar when not hovering (fixes #1528) 2013-05-28 10:56:58 -07:00
John Firebaugh
5d4727bd95 Transitions 2013-05-27 08:18:27 -07:00
John Firebaugh
c5e275cea5 Don't show "Editing" on hover 2013-05-26 21:38:29 -07:00
John Firebaugh
67a194f35f Fix taginfo caching 2013-05-26 21:30:36 -07:00
John Firebaugh
d6211b35b6 Rationalize CSS classes 2013-05-26 14:30:41 -07:00
John Firebaugh
d943a92ec5 Fix preset form field spacing 2013-05-26 14:30:41 -07:00
Saman Bemel-Benrud
5f65ae179a minor adjustments to sidebar, adding mock-ups. 2013-05-26 14:07:10 -07:00
John Firebaugh
884d2d0732 Add hover indicator in sidebar 2013-05-26 14:07:10 -07:00
John Firebaugh
46f41fa4f4 Use undefined value to remove a key rather than empty string
Otherwise it is impossible to tab out of the key input of a
new tag row -- since the value is still empty, the tag is
removed before you have a chance to enter a value.
2013-05-26 13:36:22 -07:00
John Firebaugh
79737d2cd0 Work toward making inspector persistent 2013-05-26 13:36:21 -07:00
John Firebaugh
da00413632 Fix zoom-to-feature annoyances
* Zoom to feature only if map parameter isn't also
  specified.
* Don't zoom too far in (>z20). Fixes #1511.
* Don't zoom too far out (<z16). Fixes #1522.
2013-05-24 21:47:49 -07:00
John Firebaugh
d846e8e3f8 Use accessors
Not a mix of constructor arguments and bound datum.
2013-05-24 17:24:35 -07:00
John Firebaugh
a61e0c9fd4 Fix preset search 2013-05-24 17:17:41 -07:00
John Firebaugh
16e5f5e2ce Extract Entity#isUsed 2013-05-24 15:46:05 -07:00
John Firebaugh
8f272f2508 Special case multipolygon preset icon
Multipolygons have geometry === "area", so normally
wouldn't trigger a 'preset-icon-relation' class.

This preset usually matches only in the case where
the tags are on the outer way and the multipolygon
itself is untagged. Otherwise, a more specific area
preset will match.
2013-05-24 11:26:12 -07:00
John Firebaugh
5868875833 Split "other" preset into geometry specific fallbacks
This way the name and icon can be geometry-specific.
2013-05-24 11:14:59 -07:00
John Firebaugh
ab10f8ac38 Hook up relation icons 2013-05-23 22:20:14 -07:00
John Firebaugh
6b73f56f91 Remove accept behavior from preset forms
Doesn't really make sense with persistent sidebar.
2013-05-23 16:22:25 -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
4cda3830a2 Remove unused parameter 2013-05-23 15:02:22 -07:00
John Firebaugh
76eb0fca85 Extract iD.ui.ViewOnOSM 2013-05-23 14:59:38 -07:00
Saman Bemel-Benrud
975d538d23 relations styles for relation selection. 2013-05-23 17:15:38 -04:00
Saman Bemel-Benrud
abeef29ed0 first pass at basic relations UI for members 2013-05-23 17:01:09 -04:00
John Firebaugh
49f864924a Show editor for tagless member entities 2013-05-22 17:42:02 -07:00
John Firebaugh
9c86e2a86c Display relation members and memberships in inspector
* Preset icon of relation/member
* Preset name of relation/member
* Name of relation/member
* Role
* Delete button

All currently unstyled.
2013-05-22 17:41:59 -07:00
John Firebaugh
cac654e8ab Add iD.actions.ChangeMember 2013-05-22 17:41:06 -07:00