-
Notifications
You must be signed in to change notification settings - Fork 971
make tab previews based on mouse idle time #8852
Conversation
f5f1c9a
to
668da6e
Compare
668da6e
to
33d596e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test plan works. LGTM.
8ab0118
to
fc9790a
Compare
fc9790a
to
1154bb3
Compare
setting to work in progress since we'll fully change how we deal with tab previews |
7d4dab6
to
cabbc3e
Compare
cabbc3e
to
37f38f5
Compare
PR is still WIP as it needs Brad approval regarding preview timing but is ready for code review and feedback |
37f38f5
to
276fac0
Compare
- Fix #8860 - Auditors: @bsclifton
276fac0
to
3d87b1e
Compare
ok rebased |
* | ||
* @param {Boolean} shouldEnablePreview - true if user enters in previewMode state | ||
*/ | ||
setPreviewMode: function (shouldEnablePreview) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this action doesn't provide any new information that we don't already have in setPreviewFrame
. We are already duplicating information in setTabHoverState
and setPreviewFrame
(fixed in #9542) and definitely don't want to add any more actions for this functionality
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments
moving to 0.18.x per last weekly triage meeting. WIP and blocked until #9542 lands, which is set for the same milestone. |
am going to close this and keep as a ref and open a new one with updated logic |
This PR changed its purpose, please see description
Submitter Checklist:
git rebase -i
to squash commits (if needed).Close #8860
Note for reviewers:
Previews are now happening based on mouse idle time. Which means that it will only be fired if you stay the mouse over a tab for a given amount of time -- which is defined in prefs->tabs.
Once the mouse is long enough over a tab and you wish to preview another tab, the preview is fired immediately. Once you leave the tab to another component, the event is canceled and you'll only be able to preview again if the mouse is idle again.
Test Plan:
Intentional preview
Unintentional preview/intentional preview
Dealing with options
Reviewer Checklist:
Tests