2444 Commits

Author SHA1 Message Date
Quincy Morgan
2c96f56440 Make the document order of the footer items the same as the appearance order (re: #8004) 2020-09-17 12:45:48 -04:00
Quincy Morgan
58014ace62 Don't prevent default tabbing to elements (re: #8004) 2020-09-17 12:07:20 -04:00
Quincy Morgan
d88d599f2c Don't add undefined class to button 2020-09-17 11:33:46 -04:00
Quincy Morgan
673ea19b46 Fix issue where Safari 14 wouldn't always autofocus the preset list (close #8003) 2020-09-17 10:13:45 -04:00
Quincy Morgan
a3f9c3fb81 Merge branch 'develop' into lang-attributes
# Conflicts:
#	modules/ui/fields/combo.js
2020-09-17 09:07:18 -04:00
Quincy Morgan
98bea69947 Add Vehicles field for public_transport presets (close #6142, re: #7970)
Enable variant type of `multiCombo` field that works for any listed keys, not ones under a prefix
2020-09-16 15:15:10 -04:00
Quincy Morgan
3df84d3aee Add lang attribute for iD's locale to its container 2020-09-16 08:29:07 -04:00
Quincy Morgan
32f8274929 Make t function return a span element with a lang attribute unless html: false is specified in the options (re: #7963)
Update `text` functions to `html` to support inserting the `span` elements
Specify `html: false` for various instances where a `span` is not desired, e.g. `placeholder` and `title` attributes
2020-09-15 21:56:22 -04:00
SilentSpike
42f0b3dcd1 Fix GPS coordinate searches returning OSM elements
Simply let a loction search match take priority over an ID pattern
match
2020-09-15 20:51:32 +01:00
Quincy Morgan
ecb8ff534e Use alt/option instead of ctrl/cmd as the modifier for zooming or panning by a lot (close #7976) 2020-09-15 11:56:53 -04:00
Quincy Morgan
295a50456a Don't cache locale info in measurement panel 2020-09-15 11:35:11 -04:00
Quincy Morgan
a1c2b7f73d Support language-specific pluralization (re: #597, #4964) 2020-09-14 17:21:00 -04:00
Quincy Morgan
bde604921b Fix lint warning 2020-09-13 16:00:21 -04:00
Quincy Morgan
4050940268 Lazy load photo overlay resources (close #7982) 2020-09-13 11:52:37 -04:00
Quincy Morgan
54818a3b3d Make background filter option sliders full width 2020-09-11 15:06:01 -04:00
Quincy Morgan
0bfc154b74 Support a wider range of background filter values 2020-09-11 14:59:59 -04:00
Quincy Morgan
e0b81708b5 Remove sidebar key trap (close #7770) 2020-09-11 14:39:29 -04:00
Quincy Morgan
546de3d22e Fix lint error 2020-09-11 14:38:17 -04:00
Quincy Morgan
c4fcb23a30 Fix issue where tab-focusing off the preset list would unexpectedly navigate to the entity editor (re: #7770)
Make offscreen inspector panes display:hidden
2020-09-11 14:30:42 -04:00
Quincy Morgan
5c18d46f9d Merge pull request #7980 from bjornstar/no-forced-reflow-textarea
[Performance] Calculate height of the textarea instead of letting the browser do it
2020-09-11 13:39:25 -04:00
Quincy Morgan
2e9b8acef6 Fix some RTL layout issues 2020-09-11 13:00:10 -04:00
Quincy Morgan
868c0a380b Improve dynamic text scaling in the imagery offset control 2020-09-11 12:51:44 -04:00
Quincy Morgan
992443753b Make the scale bar text scale with dynamic text sizes 2020-09-11 11:34:52 -04:00
Quincy Morgan
046794214f Further progress on #7965 2020-09-11 11:09:38 -04:00
Bjorn Stromberg
d5159dcfa0 [Performance] Calculate height instead of letting the browser do it 2020-09-11 23:21:41 +09:00
Quincy Morgan
42efdf29f1 More progress on #7965 2020-09-10 15:03:18 -04:00
Quincy Morgan
b980e47c3c Continue making the UI responsive to text zoom (re: #7965) 2020-09-10 11:15:24 -04:00
Quincy Morgan
e6703cb1cc Begin making UI adapt correctly to scaled text sizes (re: #7965) 2020-09-09 16:11:46 -04:00
Quincy Morgan
443fb01342 Rerun validation after editing the relation members and memberships in the inspector (close #7962) 2020-09-09 11:14:29 -04:00
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
Nikola Plesa
e324a00e54 fix: fix for filter input values being reset on data loading 2020-08-31 11:25:06 +02: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
Nikola Plesa
22bc5121a4 feat: date and username filtering for photo overlay layers 2020-07-27 09:42:59 +02: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
Manfred Brandl
97650f10f1 Add Edit Menu to Help, corr 2020-07-22 15:51:25 +02:00