overleaf/services/web/frontend/js/features
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
..
algolia-search
bookmarkable-tab
chat Merge pull request #10184 from overleaf/ii-ignore-received-chat-messages-test 2022-11-01 09:05:17 +00:00
clone-project-modal
contact-form
cookie-banner
dictionary
editor-left-menu Migrate "help menu" in editor left menu to react 2022-11-03 09:03:49 +00:00
editor-navigation-toolbar Merge pull request #9936 from overleaf/msm-itm-referrer 2022-10-26 08:03:52 +00:00
event-tracking
fallback-image
faq-search
file-tree Merge pull request #9862 from overleaf/sg-reword-the-text-in-the-file-upload-modal 2022-10-05 13:25:54 +00:00
file-view
form-helpers
hotkeys-modal
link-helpers
mathjax
multi-submit
outline Merge pull request #10111 from overleaf/mj-lezer-file-outline 2022-11-04 09:04:33 +00:00
pdf-preview Merge pull request #10285 from overleaf/jpa-pdf-caching-ignore-404-from-fallback 2022-11-04 09:04:53 +00:00
plans
preview Merge pull request #9792 from overleaf/ds-jpa-remove-stoponfirsterror-split-test 2022-10-04 08:03:24 +00:00
project-list Merge pull request #10132 from overleaf/ii-dashboard-are-you-affiliated-migration 2022-11-01 09:05:02 +00:00
settings Merge pull request #10152 from overleaf/ii-settings-sso-unescape-characters 2022-11-01 09:05:09 +00:00
share-project-modal
source-editor Implement "switch away survey" when users switching back to ace from cm6 (#10201) 2022-11-04 09:05:50 +00:00
utils
word-count-modal