Commit Graph

2463 Commits

Author SHA1 Message Date
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
Quincy Morgan
dd74a18206 Tweak favorite mode spacing
Don't show area midpoint dots on small preset icons
2019-02-27 14:27:03 -05:00
Quincy Morgan
04247eb985 Merge branch 'master' into squash-favorite-preset 2019-02-27 14:08:55 -05:00
Quincy Morgan
d613714137 Draw area preset icon frame parametrically in code rather than with external SVG resource 2019-02-27 14:06:35 -05:00
Quincy Morgan
b302d853ac Fix issue where the favorite preset button could be stale
Use first in, first out favoriting order
2019-02-27 13:13:15 -05:00
Quincy Morgan
0fe4513e2a Tweak CSS class 2019-02-27 12:30:38 -05:00
Quincy Morgan
1058a2cb27 Fix instances where adding favorite preset would not add tags 2019-02-27 12:27:54 -05:00
Quincy Morgan
2da011c3ca Remove unused string
Don't show preset browser when adding a favorite point
Don't automatically open the sidebar when selecting a non-new feature
2019-02-27 12:20:23 -05:00
Quincy Morgan
4fabb4aac8 Nicen favorite preset mode button tooltips 2019-02-27 12:03:10 -05:00
Quincy Morgan
af5012107f Fix crash when drawing a favorite highway 2019-02-27 11:44:47 -05:00
Quincy Morgan
1c1c3b2823 Disallow favoriting vertices and relations 2019-02-27 11:34:47 -05:00
Quincy Morgan
0a0e4890ca Nicer favorite preset icon rendering in the top bar 2019-02-27 11:28:24 -05:00
Quincy Morgan
8f4f929401 Merge branch 'master' into squash-favorite-preset 2019-02-27 10:51:59 -05:00