Commit Graph

2475 Commits

Author SHA1 Message Date
Quincy Morgan e22f3359f5 Allow up to 10 favorite presets
Show favorite preset keyboard shortcut in tooltip
2019-03-05 12:27:42 -05:00
Quincy Morgan fc6bf79ed1 Make Add Note shortcut translatable 2019-03-05 12:04:13 -05:00
Quincy Morgan 46037c0cb6 Add tab key as shortcut for focusing the search-to-add field
Add tab navigation of the search results
2019-03-05 11:21:38 -05:00
Quincy Morgan 3bbb9006d8 Merge branch 'master' into add-feature-search-bar 2019-03-05 10:37:38 -05:00
Quincy Morgan 5ce788f6a3 Add bus_guideway as whitelisted value for checking crossing highways 2019-03-05 10:06:50 -05:00
Quincy Morgan 604ff29593 Use whitelist instead of blacklist for affected highways in crossing ways validation 2019-03-05 10:01:16 -05:00
Quincy Morgan 062872c4f0 Merge tags instead of adding new point when adding a point to a point
Fix lint error
2019-03-05 09:39:55 -05:00
Quincy Morgan be8bf1fac7 Use the number keys as shortcuts for adding favorite presets 2019-03-05 09:19:00 -05:00
Quincy Morgan 62aea31192 Fix an issue with preset names in favorite button labels 2019-03-04 17:55:02 -05:00
Quincy Morgan 6df14474fe Fix stale favorite preset buttons 2019-03-04 17:50:35 -05:00
Quincy Morgan d99fe79b6e Always show generic presets when searching 2019-03-04 17:47:20 -05:00
Quincy Morgan 6e0f5c6823 Allow adding vertex-only features from the serach-to-add field
Allow favoriting vertex presets
Don't allow adding vertex-only presets as points
Rename Other preset to Vertex
2019-03-04 17:38:08 -05:00
Quincy Morgan b828ada0e2 Don't allow adding point-only features as vertices 2019-03-04 17:04:35 -05:00
Quincy Morgan 5e02523396 Scroll to show all when expanding a result
Fix lint warnings
2019-03-04 14:37:00 -05:00
Quincy Morgan c8dc155a27 Add expansion of multigeometry features within categories 2019-03-04 14:08:55 -05:00
Quincy Morgan 929a27b384 Allow arrow key navigation out of expanded subsections 2019-03-04 13:56:34 -05:00
Quincy Morgan 734731bfda Make categories not geometry-specific 2019-03-04 13:39:30 -05:00
Quincy Morgan 0aa95bf8b0 Make category items expandable 2019-03-04 12:45:38 -05:00
Quincy Morgan 9a7ad8a5cb Add disclosure arrow to expandable search results 2019-03-04 12:11:31 -05:00
Quincy Morgan fa2e718edf Keep the focused item visible when navigating the search-to-add results with the arrow keys 2019-03-04 10:51:23 -05:00
Quincy Morgan 7bf73111c4 Don't use double point icons
Remove subsections when reloading
2019-03-04 10:28:13 -05:00
Quincy Morgan 9f3329149c Add basic arrow key navigation of the search-to-add bar 2019-03-04 10:03:05 -05:00
Quincy Morgan 2f40854780 Use the same point path for the point preset icon as in the map 2019-03-04 08:41:48 -05:00
Quincy Morgan bc9c179a67 Fix search field selection upon focus 2019-03-02 18:11:11 -05:00
Quincy Morgan ad58779d09 Press return to choose the first list item in search-to-add field 2019-03-02 16:52:24 -05:00
Quincy Morgan 971b901b21 Add 1 as the hotkey for focusing the search bar 2019-03-02 15:37:15 -05:00
Quincy Morgan 3723c741f1 Add border to point icons in top bar 2019-03-02 14:47:48 -05:00
Quincy Morgan 301d626784 Select the search bar text upon focus 2019-03-02 14:10:28 -05:00
Quincy Morgan a8d5a16a7d Tweak search-to-add 2019-03-02 13:17:09 -05:00
Quincy Morgan a857847bf7 Add geometry selection to search-to-add field 2019-03-02 13:05:59 -05:00
Quincy Morgan e7ae433467 Merge branch 'master' into add-feature-search-bar 2019-03-02 10:55:32 -05:00
Bryan Housel 3f8911c149 Merge pull request #5999 from openstreetmap/squarish
Improve orthogonalization action
2019-03-01 23:28:23 -05:00
Bryan Housel fab6bd1d33 Support orthogonalizing a single vertex, add tests
(closes #2205)
2019-03-01 23:20:50 -05:00
Bryan Housel e64693eea5 Upgrade tests from legacy iD.Difference to iD.coreDifference 2019-03-01 16:03:21 -05:00
Bryan Housel cb51c16c8f Expand actionOrthogonalize tests, fix abs issue in canOrthogonalize 2019-03-01 13:45:00 -05:00
Quincy Morgan b883504849 Prevent adding features from search-to-add field if they are hidden 2019-03-01 09:44:16 -05:00
Quincy Morgan 5ed5a7536b Show preset browser when adding generic point, line, or area 2019-03-01 09:07:41 -05:00
Bryan Housel bf02ead5cc Allow orthogonalize to work on unclosed lines
(re: 5093, but see comment
https://github.com/openstreetmap/iD/pull/5999#issuecomment-468535581)
2019-02-28 23:12:04 -05:00
Bryan Housel b47ab4ac50 Change orthogonalize to support degenerate shapes, non-closed ways
Also adds a handful of useful vector math functions to geo module
2019-02-28 22:52:45 -05:00
Quincy Morgan a108b7958b Keep add feature search results a constant width instead of matching search input width 2019-02-28 18:05:47 -05:00
Quincy Morgan 81320c6e3f Remove static add generic geometry mode buttons 2019-02-28 17:29:20 -05:00
Quincy Morgan 81996ee551 Add favoriting or presets in the search add bar 2019-02-28 17:13:38 -05:00
Quincy Morgan 9b8d4d2ab4 Remove labels from mode buttons 2019-02-28 16:39:54 -05:00
Quincy Morgan 43661d1b39 Merge add search bar UI with draw mode buttons UI 2019-02-28 16:20:19 -05:00
Quincy Morgan 4e5b507fc5 Separate the add note button from the add feature buttons 2019-02-28 15:48:47 -05:00
Quincy Morgan a2297c8896 Move spinner out of the top bar 2019-02-28 15:23:08 -05:00
Quincy Morgan 4a82604cab Add search-to-add functionality 2019-02-28 15:00:00 -05:00
Quincy Morgan b6effd6ed0 Add initial search bar UI element 2019-02-28 11:19:40 -05:00
Quincy Morgan 6bdb59c7d3 Fix lint errors 2019-02-27 14:53:22 -05:00
Quincy Morgan bfeb374510 Don't allow favoriting fallback presets 2019-02-27 14:31:23 -05:00