Commit Graph

3596 Commits

Author SHA1 Message Date
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 d088b39d34 Fix tests 2013-05-28 11:54:05 -07: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
John Firebaugh 7c732f91bb Remove hacky overrides 2013-05-26 14:07:11 -07:00
saman bb 3ae7d1206b work on hover state. 2013-05-26 14:07:10 -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 5cf68bc1cc Add presets for new line icons 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
Saman Bemel-Benrud 6f0b727d88 adding ferry + pipeline line preset icons. 2013-05-23 20:05:28 -04:00
Saman Bemel-Benrud feb6710c3a adding relation preset icons. 2013-05-23 20:04:04 -04: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
Saman Bemel-Benrud 28d3323bf5 updating sprite. 2013-05-23 16:20:02 -07:00
Saman Bemel-Benrud 68d7d27cdc more minimal footer (bug icon instead of text) + fixed layout now that sidebar is persistent. 2013-05-23 16:19:53 -07:00
John Firebaugh 0b75aeb575 Fix modal dialog positioning 2013-05-23 16:06:34 -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
Saman Bemel-Benrud e6cf3600e9 adding mock-ups. 2013-05-23 13:20:46 -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
John Firebaugh 1276672783 Add iD.actions.DeleteMember 2013-05-22 17:37:26 -07:00
John Firebaugh ee4ec4e252 Fix tests 2013-05-22 17:36:41 -07:00
John Firebaugh affdc987e4 Rename removeMember -> removeMembersWithID 2013-05-22 17:28:51 -07:00
John Firebaugh 4e5c18c0ac Add common relation presets
Multipolygon is not included because multipolygon relations
should be matched by other presets.
2013-05-22 17:28:39 -07:00
John Firebaugh 4ae4b33663 Extract iD.ui.Disclosure 2013-05-22 16:51:18 -07:00
John Firebaugh ebadc90ac7 Rename Taglist -> RawTagEditor 2013-05-22 16:51:18 -07:00