overleaf/services/web/frontend/js/ide/editor
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
..
components Merge pull request #6351 from overleaf/jk-cm6-context-menu-revamp 2022-01-20 09:03:11 +00:00
controllers Merge pull request #8898 from overleaf/ta-change-redundant-controls 2022-07-21 08:04:25 +00:00
directives Merge pull request #9297 from overleaf/ta-galileo-module 2022-08-19 08:04:56 +00:00
Document.js Dispatch doc:changed and doc:saved events in a debounced timeout (#10024) 2022-11-01 09:04:45 +00:00
EditorManager.js Implement "switch away survey" when users switching back to ace from cm6 (#10201) 2022-11-04 09:05:50 +00:00
EditorShareJsCodec.js Merge pull request #3942 from overleaf/prettier-trailing-comma 2021-04-28 02:10:01 +00:00
ShareJsDoc.js Merge pull request #6551 from overleaf/bg-remove-unused-flag 2022-02-03 09:04:20 +00:00