feat(pipeline): wire SessionPanel into App once logged in

SessionPanel composes PipelineStepper (status derived via
deriveStepsFromStatus), the ChatBubble conversation, the
ObjectiveValidationCard (shown once Agent 1 is ready to confirm) and
InputBar, all driven by useSessionStore. It's anchored to the bottom
of the avatar window (420x720) like the existing voice/update banners,
shown only once App.tsx confirms the user is actually logged in
(re-checked via getAuthStatus on every toggle-listening event, since
listening can be turned off manually without logging out).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
william
2026-10-31 22:05:41 +01:00
co-authored by Claude Sonnet 5
parent 309db80add
commit 919b82ef37
5 changed files with 236 additions and 3 deletions
@@ -145,4 +145,16 @@ describe('<App />', () => {
await new Promise((resolve) => setTimeout(resolve, 10))
expect(getWindowBounds).not.toHaveBeenCalled()
})
it('should not show the session panel when logged out', async () => {
render(<App />)
await waitFor(() => expect(getAuthStatus).toHaveBeenCalled())
expect(screen.queryByLabelText('Message')).not.toBeInTheDocument()
})
it('should show the session panel input once logged in', async () => {
getAuthStatus.mockResolvedValue({ loggedIn: true, email: 'william@example.com' })
render(<App />)
expect(await screen.findByLabelText('Message')).toBeInTheDocument()
})
})