overleaf/services/web/frontend/js/utils
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
..
dates.js Merge pull request #9245 from overleaf/integration-project-dashboard-react-migration 2022-09-14 08:04:03 +00:00
debugging.ts Merge pull request #14980 from overleaf/jpa-debug-console 2023-09-28 08:04:12 +00:00
decode-utf8.ts Merge pull request #15376 from overleaf/td-ide-page-working-editor 2023-10-27 08:03:07 +00:00
EventEmitter.js Remove Angular (#17534) 2024-06-06 08:04:09 +00:00
functions.ts Merge pull request #19840 from overleaf/ii-bs5-project-tools 2024-08-22 14:01:43 +00:00
isNetworkError.js Merge pull request #10337 from overleaf/jpa-localized-network-error-messages 2022-11-08 09:04:18 +00:00
meta.ts [web] Set Subscription pages to have layout-react (#20969) 2024-10-18 08:05:53 +00:00
normalize.ts
operations.ts Add review panel context providers and components (#19490) 2024-08-13 08:04:20 +00:00
react.ts Merge pull request #19840 from overleaf/ii-bs5-project-tools 2024-08-22 14:01:43 +00:00
readable-stream-async-iterator-polyfill.ts Merge pull request #19830 from overleaf/ae-iterator-polyfill 2024-08-08 08:04:26 +00:00
service-worker-cleanup.js
splitTestUtils.ts Merge pull request #14773 from overleaf/ii-modify-design-system-update-split-test 2023-09-18 08:03:49 +00:00
webpack-public-path.js
window.ts Merge pull request #20880 from overleaf/ii-bs5-submit-modal 2024-10-14 11:10:00 +00:00