Commit Graph

355 Commits

Author SHA1 Message Date
John Firebaugh 3981279747 Fix member list redraws
d3 does not store the keys produced by a data bind -- it
recomputes them on the fly. The key function that was used
referred to `entity`, with the intent that rows referring
to the previous entity would wind up in the exit selection.
But since the key is recomputed for the existing bindings,
and at that point `entity` refers to the new entity, that
portion of the key effectively always matched.

While here, fix deletion of incomplete members (don't know
what the geometry is, so can't do geometry-specific annotations).

Fixes #1548.
2013-05-30 11:45:02 -07:00
John Firebaugh 6439bdc48c Shorten "Zoom in" text, don't hide it on narrow screens
Fixes #1477.
2013-05-29 19:54:41 -07:00
John Firebaugh a7e2bc43c1 Add Address preset (#1524) 2013-05-29 19:02:33 -07:00
John Firebaugh 8c2c5357c7 Fix typo, localize 2013-05-29 16:10:57 -07:00
John Firebaugh 4bdd49b5fc Adjustments to multipolygon preset
* It shouldn't appear as a search result for simple areas.
* Changing to another area preset shouldn't remove the
  type=multipolygon tag.
* It shouldn't be preferred to the Building preset, which
  matches with score 0.5.

Fixes #1546.
2013-05-29 16:00:34 -07:00
John Firebaugh 40ad05e1e9 Use "building_area" field for all amenities
This field will preserve a building=yes tag when
switching to from the Building preset.

Refs #1408.
2013-05-29 14:56:50 -07:00
Saman Bemel-Benrud b7d2578fb8 adding placeholders for access preset. 2013-05-29 15:54:29 -04:00
Saman Bemel-Benrud 52aa970296 click preset icon to return to preset grid. 2013-05-29 15:40:12 -04:00
John Firebaugh 8e6dd17cfc Fill in preset list for relations
Fixes #1541
2013-05-29 10:21:45 -07:00
John Firebaugh 2d4b6bf45b Add description and fixme fields 2013-05-28 19:55:06 -07:00
John Firebaugh 1069382353 Obvious editor is obvious 2013-05-28 15:14:07 -07:00
John Firebaugh 17ba55f58c Fix typo 2013-05-28 15:07:36 -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
John Firebaugh 182849cbe6 Make preset field placeholders translatable 2013-05-28 11:07:36 -07:00
John Firebaugh 5cf68bc1cc Add presets for new line icons 2013-05-24 17:17:41 -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 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 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 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
Saman Bemel-Benrud 8d4260f854 use 'translate' for multilingual names tooltip text, keep mult. names for form heading. 2013-05-22 11:32:20 -04:00
saman bb 33e979c837 use 'multilingual names' instead of 'translate' 2013-05-22 00:43:30 -04:00
John Firebaugh da9602795c Don't allow deleting incomplete relations
This will fail with an "entity not found" error.
2013-05-16 16:43:41 -07:00
Saman Bemel-Benrud aa446c074a better placeholder text / proper translation 2013-05-15 17:31:16 -04:00
Saman Bemel-Benrud 6ecbf3778f cleanup / polish new changes 2013-05-15 16:57:04 -04:00
Saman Bemel-Benrud 6423455c66 starting to add basic translate ui adjustments. 2013-05-15 14:23:30 -04:00
Saman Bemel-Benrud 0bdea49ffb minor cosmetic + ui improvements. 2013-05-15 14:08:25 -04:00
John Firebaugh bbd7767535 Update translations 2013-05-09 16:15:55 -07:00
John Firebaugh fdc2b9dec6 Add some validation for #1423 2013-05-09 16:13:24 -07:00
John Firebaugh 974c2eddf5 Add terms for playground
This ensures that all languages can provide alternate
term translations, which may help with #1423.
2013-05-09 16:12:46 -07:00
John Firebaugh 23d70230fc Update maki (fixes #1429) 2013-05-08 17:39:35 -07:00
John Firebaugh 499aa6fb7c Language tags use dash separator (fixes #1434) 2013-05-08 12:02:33 -07:00
John Firebaugh 2dcd556864 Fix help text (fixes #1432) 2013-05-07 18:45:03 -07:00
John Firebaugh 6f3f756fd2 Build 2013-05-07 17:08:28 -07:00
John Firebaugh 29d77466bb Merge pull request #1421 from ramunasd/master
imagery for Lithuania
2013-05-07 16:46:02 -07:00
Saman Bemel-Benrud 1ff588a17a fixing highway=living_street icon, i think? 2013-05-07 19:13:19 -04:00
Tom MacWright 08dca79f9e Translate "Okay" in confirm dialogs 2013-05-07 15:31:20 -04:00
Tom MacWright 044bd937a7 Make success UI translatable. Fixes #1425 2013-05-07 15:28:34 -04:00
Tom MacWright fc8ae64890 Make intro phases translatable. Fixes #1411. 2013-05-07 15:04:37 -04:00
Tom MacWright b19ac4cdd1 Fix grammar in walkthrough. Fixes #1422 2013-05-07 14:28:27 -04:00
Ramūnas 467c1169e7 high quality imagery in Lithuania 2013-05-07 21:18:03 +03:00
Tom MacWright 0afda8b52e Remove the word 'development' from the spash text. 2013-05-07 10:21:55 -04:00
John Firebaugh 508b2051df Apply 0f1b05 in the right place 2013-05-06 13:51:39 -07:00
John Firebaugh 6dfb443f95 Tweak ATM preset 2013-05-06 13:50:11 -07:00
John Firebaugh 99dd86dd17 Merge pull request #1409 from Vanuan/patch-1
Create atm.json
2013-05-06 13:49:01 -07:00
John Firebaugh 29cf646b56 Update translations 2013-05-06 12:25:27 -07:00
John Yani a717466615 Update atm.json
Add operator field
2013-05-06 18:50:17 +03:00
John Yani 750384d2d5 Create atm.json
http://wiki.openstreetmap.org/wiki/Tag:amenity%3Datm
2013-05-06 18:47:47 +03:00
John Firebaugh b5dfdacc94 Update translations 2013-05-03 11:16:50 -07:00