overleaf/services/web/frontend/js
M Fahru 361f6f245a Refactor new plans page (#8493)
* [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
2022-06-23 08:02:56 +00:00
..
directives [web] Upgrade Prettier to match version in monorepo root (#6231) 2022-01-11 09:03:23 +00:00
features Fix group modal search persistence when closing the modal (#8525) 2022-06-23 08:02:53 +00:00
filters
ide Merge pull request #8473 from overleaf/ii-cm6-missing-keyboard-shortcuts-2 2022-06-22 08:05:20 +00:00
infrastructure Merge pull request #8074 from overleaf/ii-ts-strict-fixes-1 2022-05-27 08:04:04 +00:00
main [web] Add new admin tool for surveys (#8356) 2022-06-23 08:02:37 +00:00
modules
pages Refactor new plans page (#8493) 2022-06-23 08:02:56 +00:00
services Merge pull request #5367 from overleaf/jpa-node-handle-callback-err 2021-10-28 08:03:26 +00:00
shared Merge pull request #8532 from overleaf/ta-dictionary-release 2022-06-23 08:02:40 +00:00
utils Merge pull request #7290 from overleaf/ii-7154-list-user-emails 2022-04-11 08:03:38 +00:00
vendor/libs Delete unused PDF-related code (#6334) 2022-03-16 09:03:04 +00:00
base.js Merge pull request #5071 from overleaf/jpa-web-learn-de-ng 2021-09-16 08:03:43 +00:00
cdn-load-test.js Merge pull request #5515 from overleaf/jpa-new-cdn-caching 2021-10-22 08:03:56 +00:00
i18n.js
ide-detached.js Merge pull request #7034 from overleaf/ta-pdf-detach-full 2022-04-05 12:19:23 +00:00
ide.js Merge pull request #8473 from overleaf/ii-cm6-missing-keyboard-shortcuts-2 2022-06-22 08:05:20 +00:00
libraries.js Merge pull request #5808 from overleaf/revert-5736-ab-drop-ie11-polyfill 2021-11-17 09:04:23 +00:00
main.js Merge pull request #8259 from overleaf/ds-admin-panel-register-new-user 2022-06-17 08:03:16 +00:00
marketing.js Add cookie banner (#6627) 2022-04-05 12:17:25 +00:00
serviceWorker.js