refactor(layout): promote AI capture above timeline on desktop
Give the composer full-width desktop space before the event timeline so capture stays prominent and the toolbar can keep its intended two-column composition. Add source-level regression tests to lock the new page hierarchy in place.
This commit is contained in:
@@ -166,6 +166,14 @@ describe("AI capture redesign", () => {
|
||||
expect(source).not.toContain("lg:grid-cols-");
|
||||
});
|
||||
|
||||
test("desktop composer uses a two-column row when the page gives it full-width space", () => {
|
||||
const source = readToolbarSource();
|
||||
|
||||
expect(source).toContain("isMobile");
|
||||
expect(source).toContain('? "grid gap-3"');
|
||||
expect(source).toContain(': "grid gap-3 grid-cols-[minmax(0,1fr)_minmax(0,1fr)]"');
|
||||
});
|
||||
|
||||
test("attachments panel is a first-class surfaced region, not an inline footer affordance", () => {
|
||||
const source = readToolbarSource();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user