overleaf/services/web/frontend
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
..
fonts Merge pull request #18870 from overleaf/mf-new-plans-page-table-individual 2024-06-18 08:05:16 +00:00
js Default LaTeX beginners to the Visual Editor (#18917) 2024-08-02 08:05:10 +00:00
macros Replace logger with console in frontend macro (#16816) 2024-01-30 16:49:46 +00:00
stories Merge pull request #19466 from overleaf/ii-bs5-projects-tags 2024-07-25 08:05:20 +00:00
stylesheets Default LaTeX beginners to the Visual Editor (#18917) 2024-08-02 08:05:10 +00:00
extracted-translations.json Default LaTeX beginners to the Visual Editor (#18917) 2024-08-02 08:05:10 +00:00
translations-loader.js Merge pull request #3589 from overleaf/i18next-scanner 2021-02-11 03:04:29 +00:00