overleaf/services/web/app/views
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
..
_mixins Merge pull request #18883 from overleaf/jel-eyebrow-text 2024-06-14 08:04:55 +00:00
admin Merge pull request #18729 from overleaf/ae-ng-non-bindable 2024-06-12 08:04:27 +00:00
beta_program Merge pull request #10262 from overleaf/jel-ds-btn-secondary 2022-11-15 09:06:25 +00:00
general Merge pull request #18729 from overleaf/ae-ng-non-bindable 2024-06-12 08:04:27 +00:00
layout Merge pull request #19472 from overleaf/rd-stylelint-ci 2024-07-23 08:04:09 +00:00
project Default LaTeX beginners to the Visual Editor (#18917) 2024-08-02 08:05:10 +00:00
referal [web] Add #main-content to some pug pages (fix skip-to-content links) (#18050) 2024-04-24 08:04:43 +00:00
subscriptions Merge pull request #19611 from overleaf/ds-plans-page-faq-follow-up-finishing 2024-08-01 08:05:49 +00:00
user Merge pull request #18764 from overleaf/td-bs5-dashboard-feature-flag 2024-06-25 11:12:35 +00:00
user_membership Merge pull request #18729 from overleaf/ae-ng-non-bindable 2024-06-12 08:04:27 +00:00
_cookie_banner.pug Merge pull request #10791 from overleaf/ds-accept-all-cookies-primary-btn 2022-12-06 09:05:47 +00:00
_google_analytics.pug Merge pull request #18464 from overleaf/ar-pass-analytics-id-to-google-analytics 2024-05-30 08:04:07 +00:00
_metadata.pug Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2024-02-09 09:04:11 +00:00
layout-base.pug Merge pull request #18764 from overleaf/td-bs5-dashboard-feature-flag 2024-06-25 11:12:35 +00:00
layout-marketing.pug Merge pull request #18660 from overleaf/td-rd-bs5-contact-us-modal 2024-06-04 08:04:46 +00:00
layout-website-redesign.pug Merge pull request #18276 from overleaf/td-bs5-load-js 2024-05-16 08:04:59 +00:00