Commit Graph

63 Commits

Author SHA1 Message Date
Saman Bemel-Benrud b7cd531482 clearer translate UI. 2013-05-17 18:57:35 -04:00
saman bb 20ed02c2c4 minor style fixes. 2013-05-16 23:00:18 -04:00
Saman Bemel-Benrud 0e2c7c4b3e animate transitions for translate UI. 2013-05-16 00:40:43 -04: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 be933a72cb style cleanup + fleshed out translate UI 2013-05-15 16:15:42 -04:00
Saman Bemel-Benrud 6423455c66 starting to add basic translate ui adjustments. 2013-05-15 14:23:30 -04:00
Ansis Brammanis 58a038b553 fix textarea field 2013-05-08 11:00:45 -04:00
John Firebaugh 08949d2fe9 Redo iD.geo.chooseIndex
It now calculates proper orthogonal projections and finds
the minimal one. Rename it iD.geo.chooseEdge and minimize
its coupling to context.

This version also copes with 0- and 1-node ways.

Fixes #1428.
2013-05-07 18:35:45 -07:00
Ansis Brammanis 579e6a8a8b geolocation sets zoom based on accuracy
fixes #1375
2013-04-25 11:04:22 -04:00
John Firebaugh 2d62a78ac9 Semicolons 2013-04-23 14:31:24 -07:00
John Firebaugh 29e5bf1f2f Hack an icon for name add button (#1300) 2013-04-23 14:22:10 -07:00
Ansis Brammanis e893f686ca add postal code field, fixes #1292 2013-04-18 16:45:48 -04:00
Ansis Brammanis b3ee67bee8 Allow suggested maxspeed units to be overridden
fixes #947
2013-04-18 15:09:15 -04:00
Ansis Brammanis 7403b9b9e8 Fix maxspeed unit detection
Centroid calculations were failing for two node ways.
It just uses the middle node now.
2013-04-16 19:08:52 -04:00
Ansis Brammanis 6636d9ace4 fill in localizations using wikipedia
If a feature has a wikipedia tag, then all
translated page titles are fetched. If a user
starts adding a localized name for a language with
an available translation, that translation gets
filled in automatically.
2013-04-16 17:43:39 -04:00
Ansis Brammanis 6fc290cf5c insert blank name localization field at top 2013-04-16 17:43:04 -04:00
Ansis Brammanis dd35ed91d9 name field is now localizable 2013-04-16 16:32:39 -04:00
John Firebaugh 7f498c2a10 Fix "Remove" translation in radio field (fixes #1317) 2013-04-15 17:06:37 -07:00
Ansis Brammanis f981724448 improve wikipedia input
- more careful about parsing existing values
- if an wikipedia url is entered, convert it to the
  preferred format
2013-04-15 18:07:43 -04:00
Tom MacWright f091237b70 JSHint fixes 2013-04-15 12:59:29 -04:00
Saman Bemel-Benrud 541ac0ad51 friendlier access form. 2013-04-15 12:27:53 -04:00
saman bb c87bf425e7 styled radio menus. 2013-04-14 23:37:19 -04:00
John Firebaugh 872b148bc0 Add access field (#934) 2013-04-06 17:55:53 -07:00
Ansis Brammanis 9b6a8f2b18 fix wiki link 2013-04-02 12:11:19 -04:00
Saman Bemel-Benrud fc0d89a6bd styled wikipedia preset. 2013-04-02 11:58:19 -04:00
Ansis Brammanis ffdc224390 Fix wikipedia input 2013-04-02 11:56:09 -04:00
Ansis Brammanis bae7b13425 Localize maxspeed field (mph and km/h) 2013-04-01 19:36:39 -04:00
Ansis Brammanis 33ebd9cb5e fix wikipedia input 2013-04-01 16:06:42 -04:00
Ansis Brammanis e82df13a28 wikipedia input field 2013-04-01 15:55:37 -04:00
Ansis Brammanis e75cb7b482 fix number input in opera
don't use input[type=number] since the buttons can't be hidden in opera
2013-03-29 12:58:27 -04:00
John Firebaugh aff363b101 Wheelchair should have "yes", "limited", "no" (fixes #1154) 2013-03-26 14:03:07 -07:00
John Firebaugh 43ab682262 Model preset field state with persistent objects 2013-03-25 16:19:54 -07:00
John Firebaugh 4222256c78 Remove unnecessary wrapper 2013-03-25 12:11:39 -07:00
John Firebaugh afe5aa788c d3.combobox should be called on input element 2013-03-25 12:11:39 -07:00
John Firebaugh 62879c5173 Use a label element rather than positioning hack 2013-03-22 14:50:31 -07:00
John Firebaugh 0ba855ed46 Prefer selection argument to this 2013-03-22 14:50:31 -07:00
Ansis Brammanis 88ae05f5b4 add 'modified' class to fields with changed values 2013-03-21 16:19:37 -04:00
Ansis Brammanis 22f43b810b fix number input 2013-03-21 16:16:07 -04:00
Ansis Brammanis f7461fc49b radio preset input now works for the same key
if a key is specified for the field, then all
options are considered values for that key.
Otherwise options are keys, and the selected value
is yes.
2013-03-16 00:11:25 -04:00
Tom MacWright caca26dc11 Make increment decrement functional. Fixes #990 2013-03-15 17:31:36 -04:00
John Firebaugh 89f8054884 Fix input 2013-03-13 12:46:31 -07:00
Saman Bemel-Benrud 9321a860ce adding controls for 'number' input type. 2013-03-13 15:32:20 -04:00
John Firebaugh c1aa8e0270 form/forms -> field/fields 2013-03-13 11:34:21 -07:00
John Firebaugh 8479d3ec48 Add textarea form type and note universal form 2013-03-12 18:33:36 -07:00
saman bb a7f57ac5e5 resolved conflict 2013-03-12 20:54:26 -04:00
saman bb 983f69e461 resolved conflict 2013-03-12 20:51:13 -04:00
John Firebaugh 76ab27ae4c Improve road features form, localize options 2013-03-12 17:38:08 -07:00
saman bb 3228e1fcda more work on new preset layout. 2013-03-12 20:25:35 -04:00
saman bb c53ccb1bb5 initial commit of form revamp 2013-03-12 18:35:44 -04:00