overleaf/services/web/frontend/js/features/source-editor/components
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
..
command-tooltip
figure-modal
paste-html
review-panel
table-generator
toolbar
codemirror-command-tooltip.tsx
codemirror-editor.tsx
codemirror-outline.tsx
codemirror-search-form.tsx
codemirror-search.tsx
codemirror-toolbar.tsx
codemirror-view.tsx
editor-switch-beginner-tooltip.tsx Default LaTeX beginners to the Visual Editor (#18917) 2024-08-02 08:05:10 +00:00
editor-switch.tsx Default LaTeX beginners to the Visual Editor (#18917) 2024-08-02 08:05:10 +00:00
source-editor.tsx
switch-to-pdf-button.jsx