Commit Graph

1752 Commits

Author SHA1 Message Date
Quincy Morgan
38db23fab5 Extend behaviorHover to support multiple pointers 2020-05-27 15:07:23 -04:00
Quincy Morgan
caec202a08 Fix potential JS error and some formatting 2020-05-26 13:47:15 -04:00
Quincy Morgan
bd376a3a7d Fix lint error 2020-05-26 10:52:04 -04:00
Jacob Scherber
e11070d3a3 cleanup coding style 2020-05-23 15:50:27 -07:00
Jacob Scherber
e8233247d3 add highlight to multi-select hover 2020-05-23 15:06:58 -07:00
Quincy Morgan
63aa47f02f Fix issue with entering language codes directly in multilingual name fields (close #7156) 2020-05-21 14:33:10 -04:00
Quincy Morgan
67bd93b14c Fix sidebar drag-resizing when iD is embedded at x!=0 2020-05-21 13:54:28 -04:00
Quincy Morgan
dcc66f7d8e Never show the preset list when hover-selecting 2020-05-21 13:25:59 -04:00
Quincy Morgan
ca80926db7 Increase time tolerance for discarding iOS 13.4 mouse pointerenter event 2020-05-21 12:34:19 -04:00
Quincy Morgan
5cb23acc00 Enable sidebar resizing with touch input using pointer events (re: #5505) 2020-05-21 12:32:08 -04:00
Quincy Morgan
1c1f40cf80 Fix issue with maxspeed field updating 2020-05-21 10:52:32 -04:00
Quincy Morgan
cb698fb9d3 Add endpoints for setting the default changeset parameters (close #7614)
Make the cached changeset a property of the context
Properly clear cached changeset when resetting iD
2020-05-20 14:48:27 -04:00
Quincy Morgan
9954b3636e Update multilingual name button tooltip (close #7486) 2020-05-20 12:08:42 -04:00
Quincy Morgan
41418e57a5 Fix issues with wikidata field searching and label updating 2020-05-20 11:23:01 -04:00
Quincy Morgan
311566328e Enable nudging the selection via shift+arrow keys and shift+command+arrow keys to nudge more (close #7186)
No longer nudge the viewport with shift+arrow keys
2020-05-19 12:08:14 -04:00
Quincy Morgan
ec73a88e26 Don't show tooltips when the mouse has buttons pressed 2020-05-19 11:11:50 -04:00
Quincy Morgan
7b09b6c0dc Enable low-zoom display of focused feature when resolving conflicts (close #7330) 2020-05-18 17:14:50 -04:00
Quincy Morgan
3bebda08fd Don't display tooltips for non-mouse interaction on iOS 13.4 (re: #6035) 2020-05-15 14:52:11 -04:00
Quincy Morgan
1f45ad933a Don't show hover tooltips for non-mouse pointerenter events (re: #6035) 2020-05-15 12:12:43 -04:00
Quincy Morgan
834b8b4d6c Fix issue where dynamic tooltips titles might not get updated 2020-05-14 16:56:29 -04:00
Quincy Morgan
db9eed2434 Move the edit menu logic to uiInit
Make context the first argument of operation objects
Add Paste operation to edit menu when opening the context menu on a blank area of the map (close #2508)
2020-05-14 15:49:35 -04:00
Quincy Morgan
dff4268256 Allow selection, deselection, and multiselection with the spacebar (re: #3843)
Don't open the edit menu on single spacebar press
Open the edit menu for long spacebar press (re: #7577)
2020-05-14 11:19:20 -04:00
Quincy Morgan
23714ba822 Position the edit menu above the anchor point if triggered via touch or stylus (re: #7577)
Add additional code safety to behaivorSelect
2020-05-12 18:42:36 -04:00
Quincy Morgan
20fadf0b1a Update the first two chapters of the walkthrough for non-mouse interaction 2020-05-10 12:02:36 -07:00
Quincy Morgan
e6fc7e221a Fix menu position when long-pressing features on touchscreens (re: #7577)
Improve comment
2020-05-10 10:59:56 -07:00
Quincy Morgan
95dc16b7a6 Update more mouse events to use pointer events if available (re: #5505) 2020-05-08 16:10:15 -07:00
Quincy Morgan
edc32849c0 Use pointer events in raw tag editor when supported (re: #5505) 2020-05-08 15:01:15 -07:00
Quincy Morgan
e838d06328 Use pointer events for the background offset on supported devices (re: #5505) 2020-05-08 12:52:46 -07:00
Quincy Morgan
a16a95e32e Use pointer events in welcome walkthrough chapter on supported devices (re: #5505) 2020-05-08 12:09:35 -07:00
Quincy Morgan
a781847d6a Use pointer events for resizing the photoviewer on supported devices (re: #5505) 2020-05-08 12:01:38 -07:00
Quincy Morgan
77061e9c6c Fix lint warnings 2020-05-08 09:42:02 -07:00
Quincy Morgan
38bc5131fa Fix incorrect curtain positioning when iD's container doesn't match the window dimensions (close #7551) 2020-05-08 09:40:27 -07:00
Quincy Morgan
ff4eb971ac Fix various issues that made the walkthrough non-completable 2020-05-07 13:27:20 -07:00
Wille Marcel
c12b846328 update osmcha url 2020-04-29 18:58:13 -03:00
Quincy Morgan
d7e5aa6735 Keep track of the initial hash parameters through multiple loads of the UI (close #7504) 2020-04-14 14:03:18 -07:00
Quincy Morgan
417caba3be Fix issue where hashtags set in URL parameter would not be honored 2020-04-14 12:25:18 -07:00
Quincy Morgan
06f487140d Switch order of from/to fields in route presets (re: #7479)
Add Trolleybus Route preset (re: #7498)
Remove Level field from Stop Position presets (close #7499)
Add Stop Number field to transit platform-as-point presets (close #7492)
Add Distance and Color fields to more route presets
Use field inheritance for several more route presets
2020-04-03 11:00:16 -07:00
Quincy Morgan
ca3a0f9dbc Fix lint warnings 2020-04-02 11:12:10 -07:00
Quincy Morgan
8734b67821 Remove the context.intersects passthrough function 2020-04-01 15:36:53 -07:00
Quincy Morgan
60f7dc7c0b Replace presets property of context with singleton
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan
527faa7b42 Remove need for coreContext in presetIndex 2020-04-01 11:25:45 -07:00
Quincy Morgan
a58abe3c6f Move localStorage interface from a property of coreContext to a corePreferences function 2020-04-01 11:00:48 -07:00
Quincy Morgan
c49deee86c Fix nested popover selection issues 2020-03-31 15:57:59 -07:00
Quincy Morgan
170cf0beea Add isFirstSession property to context 2020-03-31 15:45:52 -07:00
Quincy Morgan
dffb21a730 Fix issue with prerequisiteTag 2020-03-31 13:15:03 -07:00
Quincy Morgan
a1af118f0e Ensure locales and presets are loaded before the UI loads (close #7406)
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
89ed2b4d0d Don't use global selector in uiPopover (re: #7445) 2020-03-29 10:43:05 -07:00
Quincy Morgan
a1a398650f Instantiate uiFlash only once as a property of the UI and remove global selection (re: #7445) 2020-03-29 10:22:58 -07:00
Quincy Morgan
74e7a108a9 Remove global selection from walkthrough (re: #7445) 2020-03-29 10:19:59 -07:00
Quincy Morgan
7f9b1d0e9a Account for container offset when positioning combobox dropdowns (close #7458) 2020-03-29 09:54:48 -07:00