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
c7e86de579
Merge branch 'master' into add-feature-search-bar
2019-03-04 08:43:16 -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
Bryan Housel
297027db04
Fix misspelling
2019-03-03 22:24:03 -05:00
Bryan Housel
26465819ef
Merge pull request #6005 from tordans/patch-5
...
Clarify API.md description for `locale` param
2019-03-03 22:21:40 -05:00
Tobias
b6b0026254
Clarify API.md description for locale param
...
- Highlight the different URL param-patterns (hash vs. regular)
- Add an example with regional locale `en-US`
- Add `locale` param to the list of osm-website-params with a bit more info about the different default-behavior there
This is a follow up to https://github.com/openstreetmap/iD/pull/5650 and based on the feedback in https://github.com/openstreetmap/iD/issues/5988 .
2019-03-03 16:26:19 +01:00
Bryan Housel
ec6591d374
Upgrade esm to v3.2.9
...
(testing #6002 - it's fine)
2019-03-02 19:07:01 -05:00
Bryan Housel
6cca99a98c
Upgrade eslint to v5.15.0
...
(testing #6003 - it's fine)
2019-03-02 19:00:24 -05:00
Bryan Housel
2747123ee0
Update to rollup v1.4.0
...
(closes #5983 )
2019-03-02 18:56:05 -05:00
Quincy Morgan
75df357bdb
Merge branch 'master' into add-feature-search-bar
2019-03-02 18:35:39 -05:00
Bryan Housel
c02389bd14
Restore focusable=false added by new FontAwesome (this is for IE)
2019-03-02 18:31:04 -05:00
Bryan Housel
322951bdc0
Add polyfill for Object.getOwnPropertySymbols for sinon
...
(closes #6001 )
2019-03-02 18:18:44 -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
b8a1a65316
Fix preset icon misalignment due to rounding errors
2019-03-02 15:06:45 -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
Quincy Morgan
56126f2e80
Update steps fields and terms
2019-03-02 10:54:30 -05:00
greenkeeper[bot]
fcdd8ae205
chore(package): update mapillary-js to version 2.17.0
2019-03-01 23:28:48 -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
dd234df05b
Add tests for geoVecNormalize, geoVecNormalizedDot, geoVecProject
2019-03-01 14:09:33 -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
Bryan Housel
2227c46338
Switch "Square" keyboard shortcut to Q
...
So it doesn't conflict with "Straighten"
(sorry in advance for all the disruption this will cause)
2019-03-01 09:35:35 -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
3c1bf2d74a
Fix CSS
2019-02-28 18:13:26 -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
c09171d0e2
Deprecate various cuisine values in favor of diet tags ( close #5993 )
2019-02-28 09:15:17 -05:00
Quincy Morgan
eda4c1fef9
Add line geometry to Historic preset (for historic roads, walls, etc.)
2019-02-27 16:31:06 -05:00