Revert "fix(ui-conversation): keep composer visible across views"

This reverts commit 978d035d4a8d3578a70844511a42aa793664e5de.
This commit is contained in:
_Kerman
2026-07-29 11:46:14 +08:00
parent 549315256a
commit 33afcc913b
6 changed files with 13 additions and 11 deletions

View File

@@ -217,8 +217,8 @@ describe('ConversationRoot resident composer', () => {
expect(b.view.getByTestId('view-chat')).toBeTruthy()
})
it('keeps the composer accessible under the Trajectory view', () => {
const b = mount(conversationSnapshot())
it('keeps pending takeover interaction accessible outside the Chat view', () => {
const b = mount(conversationSnapshot({ pending: [{} as never] }))
act(() => { b.chat.actions.setView('trajectory') })
expect(b.view.getByTestId('view-trajectory')).toBeTruthy()
expect(b.view.getByRole('textbox')).toBeTruthy()