Commit Graph

1861 Commits

Author SHA1 Message Date
Quincy Morgan
969a4254fd Revert "added function to strip whitespace from searches" 2020-09-03 14:52:33 -04:00
Quincy Morgan
77c7fe6ec7 Merge pull request #7816 from NateGrobe/trim-search-features-whitespace
added function to strip whitespace from searches
2020-09-03 14:49:03 -04:00
Quincy Morgan
8708c13f87 Followup changes to #7932 2020-09-03 14:00:30 -04:00
Quincy Morgan
087122a731 Merge pull request #7932 from til-schneider/patch-1
Improve performance of raw tag editor
2020-09-03 13:45:46 -04:00
Quincy Morgan
426af25ae4 Fix code tests re: #7890 2020-09-02 16:32:30 -04:00
Quincy Morgan
1bfc129327 Merge pull request #7893 from JeeZeh/note_links_new_tab
Open external links in OSM notes in a new tab
2020-09-02 16:15:08 -04:00
Jesse Ashmore
93c249fdd1 Open all links externally and preserve attrs 2020-09-02 21:13:53 +01:00
Quincy Morgan
caf1343b62 Properly default the Wikipedia field language to iD's current language (close #7890) 2020-09-02 14:51:15 -04:00
Quincy Morgan
6d9167920a Fix issue where inspector may not properly update after dragging a node (close #7386) 2020-09-02 11:46:39 -04:00
Til Schneider
4dabd79702 Move relation type detection to osm_wikibase (#7932) 2020-08-29 11:05:07 +02:00
Til Schneider
d3069a47ae Improve performance of raw tag editor
The detection whether `_entityIDs ` includes a relation is performed many times inside a loop. Instead this should be done only once (lazy).
2020-08-26 13:05:34 +02:00
Quincy Morgan
cbf6b151cf Merge pull request #7895 from til-schneider/patch-2
Fix geometries detection in preset_fields.js
2020-08-12 12:26:19 -04:00
Til Schneider
cf1c5085d1 Fix geometries detection in preset_fields.js
`renderDisclosureContent` in `preset_fields.js` tries to detect the geometry types of the selected entities, but the result is always `[]`.

Reason: The handler of `_entityIDs.reduce` always returns `true`. So the result of the `reduce` call is `true` as well. `Object.keys(true)` results in `[]`.

Fix: The handler of `_entityIDs.reduce` should return the map which collects the geometry types, so `geometries` will be be something like `["line", "vertex"]`.
2020-08-11 16:09:51 +02:00
Jesse Ashmore
519fca2e32 Open external links in OSM notes in a new tab 2020-08-10 20:47:36 +01:00
Peter Newman
4205ca1d07 Fix the seemingly safe spellings found by codespell
Untested, only checked by inspection.

(cherry picked from commit 2c47a11008)
2020-08-10 17:32:37 +01:00
Quincy Morgan
171d867d92 Make sure the add note button label in the help matches the toolbar (close #7841) 2020-07-27 15:59:31 -04:00
Nate Grobe
1de39ad9c6 changed stripWhitespace function to use string.prototype.replace per secan's suggestion 2020-07-24 10:31:42 -04:00
Quincy Morgan
293971da34 Fix issue where inspector may not update correctly when switching between weak and fallback presets (close #7827) 2020-07-22 11:18:05 -04:00
Quincy Morgan
4643caaae8 Don't prevent default click events when clicking input elements (close #7828) 2020-07-22 09:48:00 -04:00
Nate Grobe
4b4afb051c fixed indentation 2020-07-21 00:02:55 -04:00
Nate Grobe
e425caeba8 added function to strip whitespace from searches 2020-07-20 17:16:35 -04:00
Quincy Morgan
51b676609b Don't show gift icon when switching development version numbers 2020-07-20 13:14:45 -04:00
Quincy Morgan
1f6a270535 Fix issue with toggling the locator overlay too quickly (close #7814) 2020-07-20 11:49:49 -04:00
Quincy Morgan
284a9291c4 Show full height footer even when there're no links 2020-07-19 21:50:32 -04:00
Quincy Morgan
cf868464f4 Fix issue where hover sidebar wouldn't be closed when zooming out past editable extent (close #7765) 2020-07-13 15:47:12 -04:00
Quincy Morgan
0112547c89 Fix map data style options tooltip keyboard shortcuts (close #7778) 2020-07-13 15:28:37 -04:00
Quincy Morgan
99383355b2 Update doubletap icon
Use consistent close button
Update a few strings
2020-07-13 14:33:49 -04:00
Quincy Morgan
85e02dea87 Add info about touchscreen multiselection to the help pane 2020-07-13 14:14:45 -04:00
Quincy Morgan
a3475251b8 Update more of the documentation for touch input 2020-07-13 13:22:32 -04:00
Quincy Morgan
27faeae96a Add touch info to keyboard shortcuts screen 2020-07-13 12:21:08 -04:00
Quincy Morgan
31740f1ebb Add pinch-to-zoom icon to help and walkthrough 2020-07-13 11:26:42 -04:00
Quincy Morgan
f5d280682e Add mousewheel icon to help and walkthrough 2020-07-13 10:57:59 -04:00
Quincy Morgan
89da4a2ff3 Merge branch 'develop' into touch-walkthrough-update 2020-07-12 19:04:55 -04:00
Quincy Morgan
bf5ed60f96 Update walkthrough touch icons 2020-07-12 19:04:39 -04:00
Quincy Morgan
1514648468 Add doubletap and touch-and-drag icons to the walkthrough
Update tap and longpress icons
2020-07-11 21:04:07 -04:00
Quincy Morgan
365fa1bf0d Add tap and longpress icons to walkthrough 2020-07-11 19:27:50 -04:00
Quincy Morgan
3229390178 Clean up the mouse icons' size and clarity 2020-07-11 19:00:17 -04:00
Quincy Morgan
0d4946fe47 Update more help pane strings for touchscreens 2020-07-10 16:46:00 -04:00
Quincy Morgan
e93e0fdbf9 Update buildings walkthrough chapter for touchscreens 2020-07-10 16:02:30 -04:00
Quincy Morgan
3892600814 Reduce redundant strings in the walkthrough
Update the lines walkthrough chapter for touchscreens
Add toggled dispatch event to the edit menu
2020-07-10 15:24:01 -04:00
Alex Hennings
0789b861b4 Updating regex to simplify and account for leading zeros in the element id. 2020-07-10 13:37:16 -04:00
Quincy Morgan
cf5bf61d72 Use the same string replacements for the walkthrough as the help docs
Use keyboard styling for keys referenced in the walkthrough
Add mouse icons for left/right click referenced in the walkthrough
Add labels for all buttons referenced by icon in the walkthrough
2020-07-10 12:18:46 -04:00
Quincy Morgan
45f337e13c Merge branch 'develop' into touch-walkthrough-update 2020-07-10 10:32:36 -04:00
Alex Hennings
009f7f2664 Fixing whitespace. 2020-07-09 11:08:15 -04:00
Alex Hennings
a0de2c7706 Fix https://github.com/openstreetmap/iD/issues/7627
Accept a variety of formats in Feature Search when specifying an element by type and id.
For example: n123, n 123, node123, node 123 or even https://www.openstreetmap.org/node/123/history#map=19/43.66140/-70.25415
2020-07-09 11:05:51 -04:00
Quincy Morgan
f1b6009b8e Merge pull request #7762 from mapillary/mapillary-features
Mapillary map features everywhere
2020-07-07 13:05:34 -04:00
Quincy Morgan
60a0856d12 Fix issue where preset list search would get autofocus unexpectedly 2020-07-06 16:07:51 -04:00
Quincy Morgan
4a85857457 Fix issue where the entity editor wouldn't be loaded if skipping preset selection for new features 2020-07-06 15:48:04 -04:00
Quincy Morgan
3d4703b60c Fix various CSS issues 2020-07-06 15:28:25 -04:00
Nikola Plesa
944953dbf2 Update Mapillary map_features URL and remove request_data button 2020-07-01 16:50:30 +02:00