Reference for the TBT (Turn-by-Turn) Knockout → Angular rewrite. The org’s Angular documentation is light; this file captures the standard patterns the organisation uses. Treat these as the default house style for the rewrite — deviate only with a documented reason, and keep code simplicity as the overriding goal.
BehaviorSubjects
used for maintaining global state such as logged-in user info and
organisation context.These are observations for the rewrite, not part of the org standard above:
BehaviorSubjects
maps cleanly onto TBT’s current Knockout observables
(e.g. header, shift, routing/off-route state)
— a natural, low-boilerplate migration path that fits the “simplicity”
goal without pulling in NgRx.sticky-ui look. UI should remain similar in functionality
but need not be identical.