Skip to content

fix(shiso): refine flagship image preview and conversation layout - #81

Merged
kryptek2000 merged 1 commit into
mainfrom
fix/shiso-r2v1-image-workflow-polish
Nov 29, 2026
Merged

kryptek2000 merged 1 commit into
mainfrom
fix/shiso-r2v1-image-workflow-polish

Conversation

@kryptek2000

Copy link
Copy Markdown
Owner

Summary

Owner-approved visual refinement of the SHISO image workflow. This is a presentation-only polish: no backend changes, no new image-generation functionality, and no changes to authorization, confirmation, preview, save, or cancel behavior.

  • Image preview preserves its full aspect ratio and is capped at a responsive 280–340px height instead of using a cropped cover image.
  • The approval panel is now a restrained 900px card with a clear gold Save Image primary action and outlined Regenerate / Cancel controls.
  • When a confirmation or preview appears, the panel reveals itself inside the conversation so the action row is never hidden behind the composer.
  • Conversation sidebar is refined to 292–320px (312px at 1600px), giving the transcript more room.
  • Conversation scroll padding keeps the bottom action row clear of the composer.

Owner-reviewed screenshot

/tmp/opencode/tkc-r2v1-preview/desktop-final-1600x900.png — 1600×900 render from the running packaged app, deterministic image fixture.

Additional evidence:

  • /tmp/opencode/tkc-r2v1-preview/narrow-1024x768.png
  • /tmp/opencode/tkc-r2v1-preview/mobile-390x844.png
  • /tmp/opencode/tkc-r2v1-preview/desktop-continuity-1600x900.png

Verification

Check Result
Focused SHISO/image/security/UI suite 151/151 PASS
TypeScript tsc --noEmit PASS
Production build PASS
Packaged desktop verification PASS
git diff --check PASS
Image at 1600×900 866×311 displayed; natural 1200×430; aspect preserved
Action row clearance buttons bottom 762px, thread bottom / composer top 797px
Horizontal overflow at 1600 / 1024 / 390 0px / 0px / 0px
Regenerate fresh quote + one fixture generation; preview replaced
Cancel panel cleared; transcript preserved
Close/reopen continuity inventory answer and generation turns preserved
Automatic save none; fixture Vault recipe still has no image field

The live Save control was not pressed during visual acceptance because the preview token was fixture-issued. The existing explicit-save test path passed as part of the 151-test suite.

Scope

2 files changed:

  • src/components/ShisoModal.tsx
  • src/index.css

No paid provider calls, no personal Vault access, no canonical installation, and no additional Obsidian report. Not merged.

Baseline: da969f14db9b1189c59b1729d201da0562dc6e8e

- Preserve the full image aspect ratio with a responsive 280-340px cap.\n- Keep Save, Regenerate, and Cancel visible by revealing the approval panel within the conversation thread.\n- Refine the conversation sidebar proportions, panel framing, and composer clearance.\n- Preserve the existing authorization, confirmation, preview, save, and cancel behavior.
@kryptek2000
kryptek2000 merged commit 6b523a7 into main Nov 29, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant