Commit Graph

3412 Commits

Author SHA1 Message Date
Quincy Morgan
83d2656bbc Fix responsiveness issue when selecting features on iPad
Implement an alternative solution for #6028 that doesn't rely on timeouts
2020-03-04 13:10:15 -08:00
Quincy Morgan
c41e0b9937 Use pointer events for hovering and selecting data on supported platforms (re: #5505)
Fix issue where Apple Pencil stylus could not select map data (close #7396)
Fix issue where features could not be selected in a single tap on iPad (close #7380)
2020-03-04 12:18:43 -08:00
Quincy Morgan
dcbb5ee03b Always show the unresolved issue count in the footer if any exist 2020-03-03 10:13:35 -08:00
Quincy Morgan
5e8d84ec33 Fix eslint warning 2020-03-02 15:58:30 -08:00
Quincy Morgan
52222df75f Switch to JSON endpoints of OSM API for fetching entities (re: #3765) 2020-03-02 15:54:46 -08:00
Quincy Morgan
f4c39cc434 Don't require translations or uiFlash in rendererMap 2020-03-02 14:59:11 -08:00
Quincy Morgan
c2d82eb9ce Don't require translations in coreValidator 2020-03-02 13:49:51 -08:00
Quincy Morgan
3ae009ea49 Rename d3_zoom object to disambiguate from zoom level variables (re: #5505) 2020-02-27 19:51:07 -08:00
Quincy Morgan
10fe7b6e92 Fix relation member drag-and-drop 2020-02-27 19:02:15 -08:00
Quincy Morgan
c8e9bf3de7 Account for empty string tag values in utilTagDiff (re: #7363) 2020-02-27 15:18:31 -08:00
Quincy Morgan
bed450f08b Don't enter modeBrowse if geolocation was unsuccessful
Only set geolocation timeout when fetching the location
Always fetch a new location when geolocating instead of only using the first one
2020-02-27 15:10:38 -08:00
Quincy Morgan
135fd95305 Add geolocation error feedback (re: #7376) 2020-02-27 14:10:31 -08:00
Quincy Morgan
4a6baccad3 Merge branch '2.x' into endpoints-fix 2020-02-27 12:59:00 -08:00
Quincy Morgan
b40d47fda4 Show active state on geolocate button (close #7390) 2020-02-27 10:55:22 -08:00
Quincy Morgan
a97b44f002 Remove unused uiQuickLinks 2020-02-27 10:33:36 -08:00
Quincy Morgan
f42ad53379 Add L as the keyboard shortcut for geolocation (close #7395) 2020-02-27 10:23:09 -08:00
Quincy Morgan
5aab09845d Move the "zoom to this" button from the inspector to the map next to the zoom in/out buttons (re: #6601)
Use title case for the Zoom In and Zoom Out button labels
2020-02-26 19:59:09 -08:00
Quincy Morgan
f0fe025c55 Ensure unshared issues aren't displayed during multiselection even if just one of the features has issues 2020-02-26 18:49:03 -08:00
Quincy Morgan
bf42bce3be Update martinez-polygon-clipping to v0.6.2 (close #7370) 2020-02-26 15:18:16 -08:00
Quincy Morgan
2e238b8218 Fix JS error on clicking review request
Give different instances of the raw tag editor distinct classes and disclosure states
Correctly expand raw tags section by default when selecting a feature with a fallback preset
Fix raw tag editor tests
2020-02-26 14:51:32 -08:00
Quincy Morgan
31de74479e Fix JS error on clicking feature search result (close #7359) 2020-02-25 11:24:16 -08:00
Quincy Morgan
0b1ce05f35 Fix JS error when loading post-save community resources 2020-02-25 11:15:05 -08:00
Quincy Morgan
c98c0d418d Ease relationship member zooming 2020-02-24 14:24:20 -08:00
Quincy Morgan
c4ac1813fd Remove unused classes 2020-02-24 14:12:04 -08:00
Quincy Morgan
abf536aa9b Make commit changes its own collapsible section 2020-02-24 14:03:06 -08:00
Quincy Morgan
5d6a9c278c Update validation rules section upon revalidation 2020-02-24 12:14:05 -08:00
Quincy Morgan
3e7ac18701 Use the lowest closeness threshold when flagging shared very close points (close #7379) 2020-02-24 11:53:16 -08:00
Bryan Housel
d1dcff841a Add comment clarifying debug 2020-02-24 10:52:48 -05:00
Bryan Housel
4d0ef1bafc Export only the d3 functions we use in tests
(re: #4379)

This trims a bit more off the iD bundle size
2020-02-22 15:07:09 -05:00
Bryan Housel
919687d2cf Replace legacy names still used in tests, remove the legacy exports 2020-02-21 23:12:25 -05:00
Quincy Morgan
6782947f5b Make inspector sections inherit from uiSection (re: #7368) 2020-02-21 15:22:54 -08:00
Bryan Housel
a43a7f8b50 Remove old _tkeys_ code
This was used for debugging translations, it would replace each string with
the translation key, so people could see what key was used where in the UI.
As far as I know, nobody was using this.
2020-02-21 17:05:55 -05:00
Bryan Housel
b12c30461b Don't bundle the locales anymore, load first in context init
(re: #4994)
2020-02-21 12:24:08 -05:00
Bryan Housel
e8f4452d49 Don't bundle the en.json strings anymore, Promisify locale loading
(re: #4994)
2020-02-21 11:09:59 -05:00
Bryan Housel
ed58c8f62b ES6ify detect.js 2020-02-21 10:42:58 -05:00
Bryan Housel
61c86a3527 Don't rely on the dataEn export for checking if a string exists
Instead use the special `default` key for supplying a fallback string
2020-02-20 17:11:47 -05:00
Bryan Housel
dc7fba4bf8 Have utilStringQs advance past any leading '?' or '#' characters
This lets us remove a bunch of substring(1) and +1 from the code.
2020-02-20 17:09:54 -05:00
Quincy Morgan
1f4fe57d8b Use d3-style API for section contents 2020-02-20 13:47:11 -08:00
Quincy Morgan
4fe9057eb7 Move remaining issues pane sections to their own objects 2020-02-20 13:02:09 -08:00
Bryan Housel
503d287995 ES6ify locale.js 2020-02-20 10:26:09 -05:00
Bryan Housel
3ccf0e6ccb Preload intro graph data while the user is viewing the splash screen 2020-02-20 08:52:05 -05:00
Quincy Morgan
e42bc34e4b Move validation warnings and errors to their own section objects
Allow function parameters for disclosure titles
2020-02-19 17:28:51 -08:00
Quincy Morgan
68c2b9f1a8 Move the data layers section to its own object (re: #7368) 2020-02-19 14:31:32 -08:00
Quincy Morgan
ff4ac253da Make photo overlays its own section object (re: #7368) 2020-02-19 12:08:13 -08:00
Quincy Morgan
c6129a0493 Remove unused autohidden errors code path 2020-02-19 11:28:11 -08:00
Quincy Morgan
b921ca3cb4 Move map features and map style options to their own pane section objects (re: #7368)
Handle area fill and change highlighting logic in the rendererMap object and issue change events
2020-02-19 11:23:02 -08:00
Quincy Morgan
5c04ad3eb5 Add uiSection class as standard component for pane sections
Move validation rules and privacy preferences to their own section objects
2020-02-18 20:02:55 -08:00
Quincy Morgan
d8a0f030cc Add "pane" prefix to pane UI objects
Move background and overlay layer lists to their own files
2020-02-18 13:33:12 -08:00
Quincy Morgan
5c150718a3 Make all panes inherit from a standard uiPane class (re: #7368) 2020-02-18 10:40:27 -08:00
SilentSpike
753ae3bdd2 Use marked for Osmose strings markdown
- More reliable method of handling markdown
- Change external links in the strings within the details code
2020-02-16 22:38:34 +00:00