* Add onboarding survey page
* Add onboarding new analytics events to mixpanel allowlist
* [web] Try Premium prompt
* moved try-premium code to overleaf-integration
* fixed sheet styling
* Add onboarding flow redirect handling to registration handlers (#9462)
* Add redirect logic for onboarding flow after registration
* Update UPGRADE_PROMPT_URL
* Cleanup style of OverleafAuthenticationController
* Refactor finishLogin calls to call wrapped function in OverleafAuthenticationController
* Refactor user properties/onboarding flow redirect into finishLogin wrapper
* Fix async/await calls after refactoring
* Update tests for finishLogin refactoring
* Don't redirect to upgrade prompt if user has premium via commons
Co-authored-by: Miguel Serrano <mserranom@users.noreply.github.com>
GitOrigin-RevId: 7c392aa6949f99fa909f9ca4e4baad4c4d4ff6be
* Implement compile time warning split test
* Add i18n for compile time warning
* Memoize CompileTimeWarning component
* Reuse startFreeTrial() function from account-upgrade
* Improve usage of react bootstrap native properties
* Cleanup compile-time-warning
* Move all logic into CompileTimeWarning component
* Only show compile time warning to project owners
* Handle compile time warning in detached mode and while switching layout
GitOrigin-RevId: 4fc40acfc113f91c81a6744c14c0f8b3ef766e39
* [web] hide the monthly/annual switch for small screens via css
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
* [web] merge logic for hiding elements shown in a subset of view
Co-Authored-By: M Fahru <m.fahru@overleaf.com>
* [web] hide the monthly/annual switch for small screens via css
Co-Authored-By: M Fahru <m.fahru@overleaf.com>
* [web] merge logic for hiding elements shown in a subset of view
Co-Authored-By: M Fahru <m.fahru@overleaf.com>
* fix inverted logic on monthly annual checking
* delete some duplicated logic and refactor
* merge switch functions
* move global variable into the main module
* simplify the enable and disable switch
* remove unused parseFloat
* simplify group plan pricing calculation
* simplify discount group plan logic
* simplify sticky header logic
* merge view and period switching
* fix underlining of switch text
* simplify class list toggling
* merging two function of the group plan
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 5e51690514bbf1dee2639011748c6a8470e1c19a
* Setup survey module and admin page skeleton
* Replace survey staff access permission with admin-only
* Manage survey config with admin tool
* Display configurable survey in project list + add preview in admin
* Fix linting errors and unit tests
* Add acceptance tests for survey module
* Move survey-form to survey components
* Add configuration option for Recurly group subscription users on surveys
* Change survey pre-link text to a lighter gray for accessibility
* Cleanup survey options implementation after review
GitOrigin-RevId: 8f621951efeae458d1ab081fe98b8d0d539cca1a
* Display the current plan in the project list dashboard
* Add unit tests for SubscriptionViewModelBuilder#getBestSubscription
* Handle free trial for group subscriptions
* Reuse the info-badge icon for the plan labels
* Do not display subscription status when projects are selected
* Custom tooltip for group subscriptions with team name
GitOrigin-RevId: 40982f70cf9fb7c92058e417b73c84af1648c33e