Commit Graph

5630 Commits

Author SHA1 Message Date
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
03bb916287 Adjust taginfo values filtering, update tests 2016-04-28 16:59:12 -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
Bryan Housel
84edbee26a Lower popularity thresholds for taginfo lookups
https://github.com/openstreetmap/iD/pull/3080#issuecomment-214881846
2016-04-26 16:59:45 -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
30df2c394f set minItems default in d3.combobox to 1 2016-04-22 21:59:43 -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
53040f455b Add ability to show debug collision boxes around labels 2016-04-17 00:37:51 -04:00
Bryan Housel
ce3eb6cfee Add Debug flags 2016-04-17 00:11:15 -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
ae15275252 Add caseSensitive option to d3.combobox 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
Bryan Housel
6be94e7af5 Merge pull request #3064 from openstreetmap/warn-on-google-mention
Add a warning to the changeset page if a user mentions google
2016-04-15 09:30:05 -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
Bryan Housel
2e50422a01 Don't try to load gpx if drag and drop fileList empty 2016-04-14 01:10:05 -04:00
Bryan Housel
5f3eae9c29 Fix imagery offset +/-, adjust text and style 2016-04-14 01:08:56 -04:00
Bryan Housel
01e87f2e11 Style adjustments, add offset value in meters to input field, remove delays 2016-04-13 21:34:41 -04:00
Bryan Housel
215d83f2d4 Merge branch 'offset' of https://github.com/kepta/iD into kepta-offset 2016-04-13 10:46:11 -04:00
Bryan Housel
38177c0db1 Drop OpenCycleMap, add Thunderforest Landscape, Stamen Terrain 2016-04-12 22:02:28 -04:00
Bryan Housel
1e97135245 Update tests for mapillary service, blacklist Null Island data 2016-04-10 16:01:59 -04:00
Bryan Housel
2d987a3ece Don't fetch overlay tiles or mapillary data around Null Island
(closes #2751)
2016-04-09 23:04:02 -04:00
Bryan Housel
5122d1b64f Update taginfo tests to include title properties.
(see a77e1b6)
2016-04-09 00:01:45 -04:00
Bryan Housel
a77e1b6606 Set title attribute for tag keys/values, ensure combo options have title
This will show values as hover tooltips, in case the field is too narrow and the value is cut off.
(closes #3054)
2016-04-08 23:51:16 -04:00
Bryan Housel
0759f17e87 Don't clean fields (trim whitespace) on every input event
Fields only really need to be fully cleaned when the user leaves the field (onChange, onBlur)
(closes #3045)
2016-04-08 23:32:57 -04:00
Bryan Housel
bd57b81192 Improve usability of Save, Cancel buttons
(closes #3040)
2016-04-07 00:53:32 -04:00
Bryan Housel
668d4e9fe6 Update imagery blacklist, remove items no longer needed 2016-04-06 23:55:47 -04:00
Bryan Housel
f11f4bb58e Close imagery tile seams
(closes #3053)
2016-04-06 09:38:50 -04:00
Bryan Housel
2ff7fd92a0 Unblacklist OpenCycleMap (because it has worldwide contours) 2016-04-05 15:04:55 -04:00
Bryan Housel
57b8369392 Add fixWinSymlinks.bat and instructions to README
(closes #2574)
2016-04-05 06:37:10 +01:00
Bryan Housel
24b5b04789 Install apache2 on Windows to fix svg mimetype issue 2016-04-05 06:18:40 +01:00
Bryan Housel
e590e88ae7 Improve Windows prerequisites section 2016-04-04 21:58:45 -04:00
Bryan Housel
33713555e1 Don't rebuild d3 or lodash unless specifically asked to 2016-04-04 21:10:48 -04:00
Bryan Housel
9e60df93c3 Normalize line endings to LF 2016-04-04 20:50:06 -04:00
Bryan Housel
fa3f47cf24 Update Prerequesites section for Windows 2016-04-04 16:57:56 -04:00
Kushan Joshi
9261752068 add multiselect preset 2016-04-03 12:40:14 +05:30
Bryan Housel
3b461c073d Add Code of Conduct, remove translation chart, other minor cleanups 2016-03-28 12:14:10 -04:00
Bryan Housel
04a754c477 Add link to CODE_OF_CONDUCT, request screenshots with bug reports 2016-03-28 11:55:16 -04:00