overleaf/services
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
..
chat Merge pull request #20557 from overleaf/ls-bump-express 2024-09-27 08:04:18 +00:00
clsi Merge pull request #20552 from overleaf/ac-update-node-fetch-2 2024-10-01 08:05:18 +00:00
contacts Merge pull request #20557 from overleaf/ls-bump-express 2024-09-27 08:04:18 +00:00
docstore Merge pull request #20557 from overleaf/ls-bump-express 2024-09-27 08:04:18 +00:00
document-updater Merge pull request #20679 from overleaf/bg-issue19022 2024-10-14 11:10:42 +00:00
filestore Merge pull request #20552 from overleaf/ac-update-node-fetch-2 2024-10-01 08:05:18 +00:00
git-bridge Merge pull request #20996 from overleaf/ls-proper-error-for-wrong-git-url-format 2024-10-14 11:10:14 +00:00
history-v1 Merge pull request #20552 from overleaf/ac-update-node-fetch-2 2024-10-01 08:05:18 +00:00
notifications Merge pull request #20557 from overleaf/ls-bump-express 2024-09-27 08:04:18 +00:00
project-history Merge pull request #21072 from overleaf/msm-cleanup-post-labels 2024-10-16 09:35:48 +00:00
real-time Merge pull request #20557 from overleaf/ls-bump-express 2024-09-27 08:04:18 +00:00
spelling Merge pull request #20557 from overleaf/ls-bump-express 2024-09-27 08:04:18 +00:00
web [web] Set Subscription pages to have layout-react (#20969) 2024-10-18 08:05:53 +00:00