overleaf/services/web/frontend/js/utils
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
..
dates.js Merge pull request #9245 from overleaf/integration-project-dashboard-react-migration 2022-09-14 08:04:03 +00:00
debugging.ts Merge pull request #14980 from overleaf/jpa-debug-console 2023-09-28 08:04:12 +00:00
decode-utf8.ts Merge pull request #15376 from overleaf/td-ide-page-working-editor 2023-10-27 08:03:07 +00:00
EventEmitter.js Remove Angular (#17534) 2024-06-06 08:04:09 +00:00
functions.ts Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
isNetworkError.js Merge pull request #10337 from overleaf/jpa-localized-network-error-messages 2022-11-08 09:04:18 +00:00
meta.ts Default LaTeX beginners to the Visual Editor (#18917) 2024-08-02 08:05:10 +00:00
normalize.ts Merge pull request #7290 from overleaf/ii-7154-list-user-emails 2022-04-11 08:03:38 +00:00
operations.ts Standardise types for ranges (#16927) 2024-02-09 09:06:51 +00:00
service-worker-cleanup.js Merge pull request #8776 from overleaf/jpa-drop-service-worker 2022-07-11 08:03:57 +00:00
splitTestUtils.ts Merge pull request #14773 from overleaf/ii-modify-design-system-update-split-test 2023-09-18 08:03:49 +00:00
webpack-public-path.js Merge pull request #4305 from overleaf/jpa-fix-undef 2021-07-14 12:40:42 +00:00
worker.js Migrate worker tests to Cypress (#7359) 2022-04-07 08:03:52 +00:00