Project

General

Profile

Feature #3312

Open copilot on exit

Added by Ram Kordale about 1 year ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Urgent
Target version:
Start date:
10/30/2023
Due date:
% Done:

0%

Estimated time:

Description

When user is about to exit, open the copilot.

How to decide if the user is about to exit. We can combine the following heuristics. If all of the following happens, we can assume that the user is about to exit
- Direction of the mouse movement is roughly towards the top of the window (between (0,2h/3) and (w, 2h/3)) where w is the width and h is the height of the window.
- Relatively fast movement [This needs some experimentation. We can use the same logic for both the points from the Angular implementation.]

Also available in: Atom PDF