overleaf/services/web/frontend/js/pages/user/subscription
Antoine Clausse 2c7530a6cf [web] Set Subscription pages to have layout-react (#20969)
* [web] Set Subscription pages to have `layout-react`

* [web] import `header-footer-react` in Subscription pages (!!)

* [web] Add `ol-user` meta tag to the subscription pages (!!)

⚠️ invite_logged_out.pug should be updated instead of setting the user as `{}`

* [web] Fix unit test

* [web] Update User types to handle a logged out user, add `LOGGED_OUT_USER` const

* [web] Add type `User` to `getSessionUser`

* [web] Remove `LOGGED_OUT_USER` const

* [web] Just pass `{ id: null }` as the user

* [web] Remove comment in pugs, it breaks things

* [web] Don't pass the full user to the frontend!!!

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 1768f1f13de924a18be43c1a08614000500dcbec
2024-10-18 08:05:53 +00:00
..
group-management Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
plans-v2 Merge pull request #20071 from overleaf/mf-plans-page-click-currency 2024-09-05 08:06:26 +00:00
base.js [web] Set Subscription pages to have layout-react (#20969) 2024-10-18 08:05:53 +00:00
canceled-subscription.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
dashboard.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
group-invites.tsx Merge pull request #14756 from overleaf/mf-group-invite-new-user-redirection 2023-11-10 09:04:23 +00:00
invite-managed.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
invite.tsx Merge pull request #18188 from overleaf/jel-react-group-invite 2024-05-09 08:05:03 +00:00
successful-subscription.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00