Commit Graph

1452 Commits

Author SHA1 Message Date
Bryan Housel 63fc7c4770 Fix imperial units test in maxspeed
(closes #3156)
2016-06-11 01:40:20 -04:00
Bryan Housel eb19b17fd7 Add dataset debugging
(re: #3158)
2016-06-10 13:40:52 -04:00
Bryan Housel 30dfdeb3ba Merge pull request #3128 from openstreetmap/mapillary_js
Replace static Mapillary thumbnail with mapillary-js viewer
2016-06-01 00:27:39 -04:00
Bryan Housel 368b861818 Allow Mapillary signs layer only if image layer is already enabled 2016-05-27 23:37:40 -04:00
Bryan Housel db6234b2fc Initiate async wikidata lookup onchange only (not onblur), add tests 2016-05-26 16:16:37 -04:00
Bryan Housel 0135fbe4a6 Update async wikidata tag if graph unchanged 2016-05-25 23:43:27 -04:00
Bryan Housel 0446275091 Rename field function 2016-05-25 21:46:14 -04:00
Minh Nguyễn 669cad74f6 Add wikidata asynchronously based on wikipedia
ref #2680
2016-05-23 19:16:02 -04:00
Bryan Housel 0cea4e9d27 Clean translated combo value when comparing to display value
(closes #3129)
2016-05-23 18:25:18 -04:00
Bryan Housel bd60aceaf0 Add tile debugging, redraw when debug flags change 2016-05-19 00:43:01 -04:00
Bryan Housel 9e61fae7fc Lodash version bump
Lodash version bump to 4.12
2016-05-18 14:30:48 -04:00
Bryan Housel 636ef82bc4 Use d3.interpolateRgb to make save button warning colors
(closes #2749)
2016-05-18 11:24:33 -04:00
Bryan Housel 6d64fce9f3 Merge branch 'master' of https://github.com/tanerochris/iD into tanerochris-master 2016-05-18 09:23:49 -04:00
Kushan Joshi 6ef52256f3 Migrating to lodash v4 2016-05-17 12:37:25 +05:30
tanerochris 21bdfb360c Update save.js 2016-05-16 23:13:58 +01:00
tanerochris 11159eaa05 Add files via upload 2016-05-16 23:12:29 +01:00
tanerochris 6df6a463aa added a function to change save button background with a change in map edits made by users 2016-05-16 23:05:27 +01:00
Bryan Housel 7eb964a70e Switch only phone placeholder asynchronously 2016-05-12 14:13:44 -04:00
Peter Dobratz 2d9327c5b9 phone placeholder from country being edited
Prefer to pull in phone placeholder text based on the country currently
being edited.  Fallback to using placeholder text based on user’s
locale settings.

rename phone placeholders to phone formats

add Germany example phone number

See [German Wikipedia article
E.123](https://de.wikipedia.org/wiki/E.123)

check for null in focus

check that input.node() is not null in i.focus()
2016-05-12 14:13:35 -04:00
Bryan Housel 9974aae30b Clicking on scale bar will toggle units from imperial/metric
(re: #2351)
2016-05-12 09:50:43 -04:00
Bryan Housel b2fe5744d5 Use ⌘ B for quick background switching, add tooltip, style 2016-05-12 00:52:20 -04:00
Bryan Housel 50472754a1 Merge branch 'switchbg' of https://github.com/RoPP/iD into RoPP-switchbg 2016-05-11 23:11:56 -04:00
Bryan Housel 643b4ad49b Stable sort for background imagery list
Sort by 1. best, 2. area descending, 3. name ascending
2016-05-11 21:09:10 -04:00
tanerochris 61c5fcc2f6 added classes to button save ,track numOfChanges 2016-05-09 18:44:44 +01:00
Bryan Housel d17f22eb7d Keep move cursor while adjusting imagery offset
(closes #3101)
2016-05-07 00:19:06 -04:00
Bryan Housel c5844540c5 Make sure all comment checks run on input and change
(fixes #3096)
2016-05-03 17:08:25 -04:00
Bryan Housel 90fd1e3f8d Support setting imagery offset via url hash
(closes #3093)
2016-05-03 10:25:04 -04:00
Bryan Housel f071b93654 Merge pull request #3080 from openstreetmap/kepta-chips
Add multiselect preset
2016-04-30 00:21:30 -04:00
Bryan Housel 980bd23e8a Retain focus on input when enter/tab with a value 2016-04-30 00:11:27 -04:00
Bryan Housel 5c68b2cc0f Avoid tabbing to field buttons in the entity editor 2016-04-29 22:39:31 -04:00
Bryan Housel ab3340e816 Don't leave edit mode on pressing enter if a combobox is active 2016-04-29 22:25:06 -04:00
Bryan Housel 4b768057a5 Rename multiselect -> multicombo 2016-04-29 21:37:51 -04:00
Bryan Housel 8ecda6d9fc Remove multiselect.js, remove test data
(all functionality in multiselect.js has been moved to combo.js)
2016-04-29 21:31:56 -04:00
Bryan Housel fb2dd89a65 Adjust multiCombo styling 2016-04-29 21:15:14 -04:00
Bryan Housel 5752207c91 Refactor combo.js and move @kepta's multiselect code into there. 2016-04-29 17:02:53 -04:00
Bryan Housel b9eeaa34dd Add typeahead behavior to combo field
(closes #3089)
2016-04-27 22:22:56 -04:00
Bryan Housel 25862f35e7 Add multikeys taginfo function, filter out values with ';' 2016-04-26 19:37:15 -04:00
Nick Doiron e932a17006 support looking up languages by English or local names 2016-04-25 14:33:21 -07:00
Bryan Housel d92b7e378d Add "Choose language" placeholder value for Wikipedia language field
(closes #3071)
2016-04-25 11:27:23 -04:00
Bryan Housel e24acfab77 Change Multiselect input placeholder text to translateable "Add" 2016-04-22 22:33:43 -04:00
Bryan Housel 1b73ce9339 Set minItems 1 only for multiselect field 2016-04-22 22:20:47 -04:00
Bryan Housel 1a9c111d78 Set field.keys so that delete/undo buttons work
For multiselect fields,
field.key should have a ':' on the end of it - we use as the prefix, not the real key
field.keys should contain the array of real keys being modified

see https://github.com/openstreetmap/iD/blob/master/js/id/ui/preset.js#L17-L45

The address field preset works like this also..
It contains an array of key.fields for all the subfields that might be set.
For multiselect fields, we don't know ahead of time what all the subfields are,
so we append to the list in `change()` and rebuild list in `tags()`
2016-04-22 21:22:24 -04:00
Bryan Housel 9d8626a330 Merge branch 'chips' of https://github.com/kepta/iD into kepta-chips 2016-04-22 10:39:41 -04:00
Bryan Housel 4dd4ccb205 Dedupe relations with same calculated name so d3.combobox will show them
(closes #2891)
2016-04-16 23:17:04 -04:00
Bryan Housel 7930a0bb36 Modal Dialog and Save/Restore improvements
(closes #3036)

1. Fix the modal close button icon - was not visible
2. Use a blocking modal for the Save/Restore dialog
3. Don't allow `context.save()` while modal is visible
   (especially for `onbeforeunload` event - this would wipe user's saved
    history if browser is closed while the Save/Restore modal was visible)
4. Don't allow blocking modals to be dismissed by pressing escape
5. Don't show the close button icon for blocking modals
2016-04-15 23:01:28 -04:00
Bryan Housel 1c871b88a3 Fix indent and remove extra opacity transition 2016-04-15 10:54:52 -04:00
Bryan Housel 435e7b931a Use case sensitive combo for changeset autocompletion
(closes #3039)
2016-04-15 10:54:52 -04:00
Bryan Housel 7d5e14eeb6 Merge pull request #3062 from openstreetmap/relation-corrupt
Fix member argument to ChangeMember when using raw member editor
2016-04-15 09:30:39 -04:00
Tom MacWright 39429fbceb add a warning to the changeset page if a user mentions google 2016-04-15 15:25:12 +05:30
Bryan Housel 02c65c72f1 Fix member argument to ChangeMember when using raw member editor
(closes #2739)
2016-04-14 22:11:51 -04:00