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 Fix "Edit file" link in visual editor tooltip (#19532) 2024-07-24 08:05:29 +00:00
figure-modal Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
paste-html [visual] Add events for tracking usage of the pasted content menu (#19589) 2024-07-30 08:05:22 +00:00
review-panel Merge pull request #19381 from overleaf/dp--review-panel-css-clean-up 2024-07-15 09:32:50 +00:00
table-generator Merge pull request #18991 from overleaf/mj-table-generator-promotion-teardown 2024-06-24 12:05:18 +00:00
toolbar Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
codemirror-command-tooltip.tsx [visual] Show tooltip with target for linkable nodes (#13636) 2023-08-14 08:05:09 +00:00
codemirror-editor.tsx Merge pull request #18936 from overleaf/rh-viewer-no-comment 2024-06-26 08:04:38 +00:00
codemirror-outline.tsx [ide-react] Improve file tree and outline components in the editor sidebar (#16225) 2023-12-18 09:03:53 +00:00
codemirror-search-form.tsx Merge pull request #18918 from overleaf/dp-swap-search-arrows 2024-06-19 08:04:26 +00:00
codemirror-search.tsx [cm6] Add "within selection" option to the search form (#12798) 2023-05-01 08:05:02 +00:00
codemirror-toolbar.tsx Reapply "Avoid vertical border between editor switch and empty space (#18029)" (#18072) 2024-04-24 08:04:22 +00:00
codemirror-view.tsx Expose ScopeValueStore via window.overleaf.unstable.store (#16404) 2024-01-09 09:03:46 +00:00
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 Merge pull request #18927 from overleaf/dp-remove-grammarly-promo 2024-06-19 08:04:46 +00:00
switch-to-pdf-button.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00