overleaf/services/web/frontend/js/shared/context
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
..
mock Merge pull request #13485 from overleaf/msm-share-modal-fetch-tokens 2023-07-17 10:48:10 +00:00
types [web] Enforce collaborator limit (#19619) 2024-08-22 14:01:25 +00:00
detach-compile-context.tsx Add compile log rule deltas to the compile-log-entries event (#19169) 2024-07-02 08:04:48 +00:00
detach-context.tsx Merge pull request #14709 from overleaf/ae-context-typescript 2024-01-29 09:03:04 +00:00
editor-context.tsx Merge pull request #20983 from overleaf/jdt-wf-auto-account-create 2024-10-14 11:10:47 +00:00
file-tree-data-context.tsx Merge pull request #20057 from overleaf/jpa-readonly-tuning 2024-08-23 08:04:48 +00:00
ide-context.tsx Merge pull request #20381 from overleaf/ae-api-settings 2024-10-14 10:58:59 +00:00
layout-context.tsx Display current spell check language and option to change it (#21138) 2024-10-18 08:05:48 +00:00
local-compile-context.tsx Store the scroll position of the PDF per root doc (#20376) 2024-10-14 10:59:04 +00:00
project-context.tsx Merge pull request #18861 from overleaf/rh-editor-limit-exceeded 2024-06-25 08:04:46 +00:00
split-test-context.tsx Add feedback link in spelling suggestion footer (#20867) 2024-10-14 11:05:21 +00:00
user-context.tsx [web] Set Subscription pages to have layout-react (#20969) 2024-10-18 08:05:53 +00:00
user-settings-context.tsx Merge pull request #20381 from overleaf/ae-api-settings 2024-10-14 10:58:59 +00:00