overleaf/services/web/frontend/js/shared
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
..
components Merge pull request #20860 from overleaf/td-bs5-history-versions-list 2024-10-14 11:11:01 +00:00
context [web] Set Subscription pages to have layout-react (#20969) 2024-10-18 08:05:53 +00:00
hooks Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
svgs Merge pull request #20740 from overleaf/rd-ide-offcanvas 2024-10-14 11:09:31 +00:00
utils [web] implement in-house sha1 hash function (#18769) 2024-06-11 08:04:39 +00:00