overleaf/services/web/frontend/js/features/source-editor
Domagoj Kriskovic 0766c91079 Default LaTeX beginners to the Visual Editor (#18917)
* open visual code if user havent used latex before

* test tooltip on code editor switch

* firstTimeLoadedEditor

* track editor.codeEditorOpened value

* lastEditorLoadedDate

* odc data loaded from mongo

* fix a typo

* use tutorial to check if it was dissmised

* use getInactiveTutorials fn

* fix test

* check if code editor was opened

* added translations

* pass classname to tooltip

* use signUpDate instead of lastEditorLoadedDate

* refactor visual fallback value

* use tutorial completed data only for tooltip

* set lastUsedMode in odc form

* safer usedLatex check

* getOnboardingDataValue helper function

* move tooltip to a separate component

* move classname to tooltipProps

* usedLatex in meta tag

* codeEdtiorOpened fallback value

* fix release date year

* fix 24 hours criteria for showing the tooltip

* fix tests

* hide tooltip when code editor is opened

* remove setting lastUsedMode in ODC form

* remove empty comment

* change date for checking signUpDate

* fix linting error

GitOrigin-RevId: 0a57ba3f4717492d4546633571117f667d3a05f8
2024-08-02 08:05:10 +00:00
..
commands Remove completion and shortcut event logging (#15633) 2023-11-07 12:34:56 +00:00
components Default LaTeX beginners to the Visual Editor (#18917) 2024-08-02 08:05:10 +00:00
context/review-panel Remove Angular (#17534) 2024-06-06 08:04:09 +00:00
extensions Merge pull request #19639 from overleaf/jdt-line-tracker-max-callstack-event 2024-07-31 08:05:41 +00:00
hooks Merge pull request #19528 from overleaf/dp-equation-preview 2024-07-25 08:05:04 +00:00
languages Merge pull request #19672 from overleaf/mj-fix-event-segmentation-cite 2024-07-31 08:04:39 +00:00
lezer-bibtex Merge pull request #19253 from overleaf/mj-bibtex-linter 2024-07-15 09:01:21 +00:00
lezer-latex Merge pull request #19512 from overleaf/mj-def-mathjax 2024-07-24 08:04:58 +00:00
themes Merge pull request #14980 from overleaf/jpa-debug-console 2023-09-28 08:04:12 +00:00
utils Merge pull request #19617 from overleaf/dp-tooltip-alignment 2024-07-29 08:04:36 +00:00