overleaf/services/web/frontend/js/ide
M Fahru 19dd2f67e2 Implement "switch away survey" when users switching back to ace from cm6 (#10201)
Implement legacy source editor survey:

* Force user to switch to cm6 if they haven't seen switch away survey

* Only show user switch away survey if they open ace from another editor

* We need to wait 3 seconds until the survey is being shown

* Add comment to explain the reasoning of not showing cm6 switch away survey for rich text users

* Use localstorage `editor.has_seen_cm6_switch_away_survey` setter to not show the survey if user has seen the survey

* the `editor.has_seen_cm6_switch_away_survey` will have the value `true` even if user is not interacting with it, so update comment to reflect that

* Add `once: true` option to keydown event to avoid unnecessary callback invocation upon key presses

GitOrigin-RevId: c26be2bb39efac2dff112c821fca893e5993dcbf
2022-11-04 09:05:50 +00:00
..
binary-files Merge pull request #8804 from overleaf/jel-rich-text-pos 2022-07-28 08:03:30 +00:00
chat
clone
cobranding
colors
connection
directives Merge pull request #9142 from overleaf/ae-outline-pane-height-fix 2022-08-08 08:04:06 +00:00
editor Implement "switch away survey" when users switching back to ace from cm6 (#10201) 2022-11-04 09:05:50 +00:00
file-tree
file-view
files/services
graphics/services
history [web] SL history: fix incorrect var->let replacement (#8994) 2022-07-27 12:18:13 +00:00
hotkeys
human-readable-logs
log-parser
metadata
online-users
permissions
preamble/services
references
review-panel Merge pull request #10109 from overleaf/ds-switch-component 2022-11-02 09:04:07 +00:00
services
settings Migrate download menu in editor left menu to react (#10046) 2022-10-25 08:04:19 +00:00
wordcount
LoadingManager.js
SafariScrollPatcher.js