GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — fix(web): cap dialog height so long content keeps actions reachable by EightDoor · Pull Request #430 · tickernelz/opencode-mem Conversation
|
| before | after | |
|---|---|---|
| dialog height | 2024px (top -612, overflowed the viewport) | 768px (top 16, fully in viewport) |
| Save button | bottom 1388 — outside viewport, unreachable | reachable after scrolling the dialog (bottom 760, in viewport) |
| dialog scrollable | no | yes |
bun run dev:sim (sim data, no real memories touched), verified before/after geometry above, clicked Save end-to-end (dialog closes, skill saved)bun test failures on my machine (config/embedding-prefix/profile-runtime) come from local user config leaking into the test env (CONFIG.embeddingPooling resolves to last_token via the installed model preset instead of the expected mean); none import web/ and none are touched by this change. bun test after bun run build: 828 pass / 7 fail / 6 skip.main (do not open PRs from commits already on main)bun test passes (or N/A) — see pre-existing failures noted abovebun run typecheck passes (or N/A)bun run check passes (format + lint + typecheck; or N/A)cd web && bun run check (svelte-check): 0 errors, 0 warnings
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Dialog content is fixed-centered with no height limit, so a long skill body (the textarea uses field-sizing-content) grows the dialog past the viewport and the footer actions end up unreachable because the page itself does not scroll. Cap the shared dialog at the viewport height with internal scrolling. This also fixes other long-form dialogs (e.g. the memory editor) in one place. Closes tickernelz#429
Overflow on the whole dialog made Save reachable only after scrolling and hid the close button. Cap height on a flex column shell, scroll the body, and pin header/footer — aligning AiCleanup with the shared layout.
Review follow-upThe original Pushed a follow-up that matches the pattern already used in AI Cleanup:
Save / Cancel stay visible without scrolling; long skill/memory bodies still scroll inside the dialog. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
TrashDialog is a custom overlay, so the shared dialog height cap from #430 does not apply. Make the panel a flex column and give the list min-h-0 flex-1 overflow-y-auto so many trashed items scroll inside the dialog and Restore stays reachable. Co-authored-by: Oscar <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Web UI: skill content editor doesn't scroll, confirm button unreachable for long skills
There was an error while loading. Please reload this page.