feat(FN-2732): add manual dream processing actions in dashboard

- Extend useMemoryData with triggerDreamNow and dreamRunning state by locating and invoking the Memory Dreams automation
- Add Dream Now actions to MemoryView and SettingsModal memory settings with loading UI, success/error toasts, and file refresh in MemoryView
- Expand hook and component tests to cover dream-trigger visibility and execution flows in both views
- Update terminal mobile keyboard layout CSS contract expectations for the current mobile modal width and min-height rules
This commit is contained in:
Fusion
2026-04-28 01:58:49 -07:00
committed by gsxdsm
parent 789afc30b0
commit 0b8ffa1528
7 changed files with 327 additions and 37 deletions

View File

@@ -125,9 +125,9 @@ describe("terminal mobile keyboard layout CSS contract", () => {
return match?.[1] ?? "";
}
it("sets width: 100% on mobile", () => {
it("sets width: 100vw on mobile", () => {
const ruleBody = findMobileTerminalModalRule();
expect(ruleBody).toContain("width: 100%");
expect(ruleBody).toContain("width: 100vw");
});
it("sets height: 100dvh on mobile", () => {
@@ -140,9 +140,9 @@ describe("terminal mobile keyboard layout CSS contract", () => {
expect(ruleBody).toContain("max-height: 100dvh");
});
it("sets min-height: 100dvh on mobile", () => {
it("resets min-height constraint on mobile", () => {
const ruleBody = findMobileTerminalModalRule();
expect(ruleBody).toContain("min-height: 100dvh");
expect(ruleBody).toContain("min-height: 0");
});
});