Closed i-like-robots closed 5 years ago
Suggestions for property definitions:
isLoggedIn: <boolean>
and isLoggedOut: <boolean>
(as per the anon
middleware implemented by n-express
)userIsLoggedIn: <boolean>
userStatus: enum<anon|loggedin|string>
In
n-ui
we surfaced the user status (logged in or anonymous) via a data attribute on the document element.In Page Kit we removed these data attributes in favour of a defined "app context" (#340) which can be used by ads, tracking, and other client-side code.
However, the schema does not currently include any properties for sharing the user status so we need to define one.