Commit Graph

13297 Commits

Author SHA1 Message Date
Quincy Morgan
1e68917e2a Flash tooltip text when tapping undo/redo toolbar buttons and disabled operation buttons on touch devices (re: #7699) 2020-06-12 12:48:16 -04:00
Quincy Morgan
b40aeaaeab Fix bottom padding of map panes 2020-06-12 11:33:50 -04:00
Quincy Morgan
4467c4a501 Fix issue where spaces couldn't be typed in the changeset comment (re: #6817) 2020-06-11 10:52:58 -04:00
Quincy Morgan
cc5da9b9c3 Add endpoints to customize or disable iD's changing of the document title (close #7503)
Use the initial title as the default base title
2020-06-10 15:47:41 -04:00
Quincy Morgan
f03d652429 Update to temaki v4.0.0 2020-06-10 15:06:40 -04:00
Quincy Morgan
874c412b74 Enforce max unicode charachter length of keys, values, and relation roles through truncation upon input rather than HTML maxlength attribute (close #6817)
Normalize unicode when changing keys, values, and relation roles
2020-06-10 14:11:55 -04:00
Quincy Morgan
2064f7a2f7 Update util function comments 2020-06-10 12:44:10 -04:00
Quincy Morgan
d01f1598d3 Show the delete button for filled multilingual name fields even if no name tag is present (close #7572)
Focus the language input when clicking a multilingual name field label instead of deleting the value
Be more lenient with `utilUniqueDomId` function input
2020-06-10 10:35:03 -04:00
Quincy Morgan
369044bc11 Focus relation role when clicking on member or membership item label (close #7690) 2020-06-10 09:53:51 -04:00
Quincy Morgan
7c180cc5f3 Make modals wider on smaller screens 2020-06-10 09:40:02 -04:00
Quincy Morgan
05d357159d Add implied oneway logic info for man_made=goods_conveyor 2020-06-09 17:55:17 -04:00
Quincy Morgan
cbc6b72a68 Update code test 2020-06-09 17:47:34 -04:00
Quincy Morgan
039168ad0c Update code test 2020-06-09 17:43:55 -04:00
Quincy Morgan
40fd7d3964 Be lenient with utilUnicodeCharsTruncated tests for emojis 2020-06-09 17:38:55 -04:00
Quincy Morgan
2de870ff58 Be lenient with utilUnicodeCharsCount tests for emojis 2020-06-09 17:23:22 -04:00
Quincy Morgan
762307bd7d Restrict key, value, and role character limits based on unicode characters, not UTF-16 code units (re: #6817) 2020-06-09 15:41:15 -04:00
Quincy Morgan
5ab04eb0ba Update marked to 1.0.0 (re: #7687) 2020-06-09 11:47:47 -04:00
Quincy Morgan
1b2af1a1b1 Remove deprecated sudo key from travis config 2020-06-09 11:34:10 -04:00
Quincy Morgan
c7f5b81946 Merge pull request #7686 from openstreetmap/dependabot/npm_and_yarn/uglify-js-3.9.4
Bump uglify-js from 3.8.1 to 3.9.4
2020-06-09 11:28:54 -04:00
dependabot[bot]
229492cdb6 Bump uglify-js from 3.8.1 to 3.9.4
Bumps [uglify-js](https://github.com/mishoo/UglifyJS) from 3.8.1 to 3.9.4.
- [Release notes](https://github.com/mishoo/UglifyJS/releases)
- [Commits](https://github.com/mishoo/UglifyJS/compare/v3.8.1...v3.9.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-09 05:10:00 +00:00
Quincy Morgan
a7e16a5625 Show the number of unique nodes instead of the aggregate for the selection in the measurement panel (re: #7329) 2020-06-08 17:07:26 -04:00
Quincy Morgan
2f2e0dcb94 Show combined length, area, and node count in the measurement panel for multiselections (close #7329) 2020-06-08 16:47:03 -04:00
Quincy Morgan
8b258d2cbd Load the maximum nodes per way value from the OSM API and add a getter to the service object
Disable the Merge operation if the resultant way would have more than the maximum number of nodes (close #6030)
Simplify some code in operationMerge
2020-06-08 14:38:49 -04:00
Quincy Morgan
bf7b30ace9 Fix unreleased regression where OSM notes were being parsed as JSON and thus not loading (re: #7188) 2020-06-08 13:19:46 -04:00
Quincy Morgan
79dd0491a7 Merge pull request #7674 from openstreetmap/dependabot/npm_and_yarn/martinez-polygon-clipping-0.7.0
Bump martinez-polygon-clipping from 0.6.2 to 0.7.0
2020-06-08 12:51:10 -04:00
Quincy Morgan
2e5e3791c5 Disable the straighten operation for selections that are already straight (close #7658) 2020-06-08 11:58:10 -04:00
Quincy Morgan
61b3aaafd2 Autofocus new note descriptions in the UI code instead of the mode code (re: #7680) 2020-06-08 11:42:29 -04:00
Quincy Morgan
fd41e5fd75 Add specific error feedback for disabled straighten operation for multiple selected features 2020-06-08 11:16:25 -04:00
Quincy Morgan
c85fbf34f9 Underscore function scope variables in modeSelectNote 2020-06-08 10:30:04 -04:00
Quincy Morgan
def3a373a7 Autofocus the comment field when adding a new OSM note (close #7680) 2020-06-08 10:26:16 -04:00
Quincy Morgan
e8a227fc59 Allow straightening a selected line between two points if the two points are visible, regardless of how long the line is 2020-06-08 10:08:52 -04:00
Quincy Morgan
cee4b0a4da Give several functions more descriptive names 2020-06-08 09:50:13 -04:00
Quincy Morgan
1eb9cf39a7 Merge pull request #7683 from openstreetmap/dependabot/npm_and_yarn/d3-5.16.0
Bump d3 from 5.15.1 to 5.16.0
2020-06-08 09:26:46 -04:00
Quincy Morgan
123b388cab Deprecate various values of the culvert key 2020-06-08 09:25:37 -04:00
dependabot[bot]
68924d4e68 Bump d3 from 5.15.1 to 5.16.0
Bumps [d3](https://github.com/d3/d3) from 5.15.1 to 5.16.0.
- [Release notes](https://github.com/d3/d3/releases)
- [Changelog](https://github.com/d3/d3/blob/master/CHANGES.md)
- [Commits](https://github.com/d3/d3/compare/v5.15.1...v5.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 05:13:40 +00:00
Quincy Morgan
632849b509 Show the inspector instead of the preset list when selecting an untagged vertex with a parent relation 2020-06-07 20:42:42 -04:00
Quincy Morgan
78b21bfc33 Correct man_made=cross preset name (close #7678) 2020-06-07 19:49:38 -04:00
Quincy Morgan
2509e113ca Add terms to storage rental preset (close #7681) 2020-06-07 19:46:07 -04:00
Quincy Morgan
1782eddca5 Add Goods Conveyor preset (close #7637) 2020-06-05 16:23:24 -04:00
Quincy Morgan
5839376276 Update to temaki 3.24.0 2020-06-05 16:15:27 -04:00
Quincy Morgan
ab3717bbc8 Disable the Straighten operation when not enough of the selection is visible (close #7675)
Add specific straighten tooltip and annotation labels for multiple selected lines
2020-06-05 14:59:27 -04:00
Quincy Morgan
c908667a79 Fix operationExtract code tests 2020-06-05 14:35:32 -04:00
Quincy Morgan
f14577b2d0 Fix lint warning 2020-06-05 14:32:59 -04:00
Quincy Morgan
02f8849bd0 Properly disable more operations for single nodes that aren't visible 2020-06-05 14:22:50 -04:00
Quincy Morgan
251f9825f4 Fix extent logic change from 28bd985a31 2020-06-05 14:19:37 -04:00
Quincy Morgan
97bfffff4c Add quickstart command that rebuilds code without building CSS or data 2020-06-05 14:13:02 -04:00
Quincy Morgan
28bd985a31 Prevent disconnecting nodes that aren't mostly visible
Return 1 for geoExtent.percentContainedIn when caller is a zero-area extent contained within the argument extent
Prefix function-scope operationExtent variables with underscores
2020-06-05 13:54:41 -04:00
Quincy Morgan
790f90c11d Show "not visible" disabled reason over "connected to hidden" in the extract operation when both are applicable, in accordance with other operations 2020-06-05 13:12:51 -04:00
dependabot[bot]
9f6dcfbc18 Bump martinez-polygon-clipping from 0.6.2 to 0.7.0
Bumps [martinez-polygon-clipping](https://github.com/w8r/martinez) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/w8r/martinez/releases)
- [Commits](https://github.com/w8r/martinez/compare/v0.6.2...v0.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-05 16:20:22 +00:00
Quincy Morgan
fac0eea761 Use eased zoom when selecting features from search results and zoom to their full extent 2020-06-05 12:12:37 -04:00