refactor(module1): drop live board feed + actor map; focus on Layer 1
Module 1 is now: domain (carried, read-only) → ADD Layer 1 (domain & events) → proceed. Removed the Live board feed and Actor map cards. The node feed hook stays (its online signal still gates Proceed), just no longer rendered. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
f6979a685a
commit
c2ef338888
@@ -47,20 +47,10 @@ describe('Module1', () => {
|
||||
expect(screen.queryByLabelText(/your domain/i)).toBeNull()
|
||||
})
|
||||
|
||||
it('renders the actor map and the live board feed', () => {
|
||||
it('focuses on Layer 1 — no live board feed or actor map cards', () => {
|
||||
renderPage()
|
||||
expect(screen.getByTestId('actor-map')).toBeInTheDocument()
|
||||
expect(screen.getByTestId('live-board-feed')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('streams real board activity into the feed', async () => {
|
||||
renderPage()
|
||||
act(() =>
|
||||
emit({ type: 'node:activity', teamId: 'x', kind: 'flash', label: 'Flashing sketch to the MCU', ts: '' }),
|
||||
)
|
||||
await waitFor(() =>
|
||||
expect(screen.getByTestId('live-board-activity')).toHaveTextContent(/flashing sketch/i),
|
||||
)
|
||||
expect(screen.queryByTestId('live-board-feed')).toBeNull()
|
||||
expect(screen.queryByTestId('actor-map')).toBeNull()
|
||||
})
|
||||
|
||||
it('gates Proceed until the board is online and L1 is filled', async () => {
|
||||
|
||||
Reference in New Issue
Block a user