Repository navigation
feat: keep the Extensions menu inside the window and show when rows remain below (0.15.0) - #24
Merged
Merged
Conversation
…emain below The Extensions menu hangs from its toolbar button and lists every ready extension's commands. Its only cap was 60vh from the stylesheet, so in a short window a long menu ran past the bottom edge. It now takes an inline max-height of three quarters of the window, never past the bottom, measured from its own top while it is still hidden, and scrolls the rest. While rows remain below, the bottom rows fade into the card and a small down pill shows; both go at the last row. The rows move into a scrolling list inside the card, so the fade does not touch the card. FORM-MENU-OVERLAP-FIX 1.2.0, section 3b.
Version sites, the same as 0.14.1's: Cargo.toml (workspace), Cargo.lock (formmcp, formmcp-cli, formmcp-core), frontend/package.json and package-lock.json (own fields), src-tauri/tauri.conf.json, the README badge, the wiki Home, SECURITY.md's supported line (0.15.x), the core, frontend, src-tauri, demo, demos/connect and demos/safety HASHOUT log heads, and the CHANGELOG entry for 0.15.0, which takes the Unreleased notes and the third-party notices merged after them. All three demos rebuilt from this tip: demo 1 with npm run build:demo, demos 2 and 3 with their own vite configs; the old bundle files are removed. The README hero picture is not remade. Run on this tree: npm run build (tsc --noEmit and vite build) and npm run build:demo (tsc -p ../demo and vite build).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: keep the Extensions menu inside the window and show when rows remain below (0.15.0)
Summary
max-height: 60vhcap from the stylesheet, which ignores where the button sits, so a long menu in a short window ran past the bottom edge. It now takes an inlinemax-heightofmin(75% of the window, innerHeight - top - 4), measured from its own top while it is stillvisibility: hidden, and scrolls the rest. A resize while it is open recomputes the cap..ext-menu-listinside the card, the bottom rows fade into the card's own--floatwhile rows remain, and a 56 by 12 pill (.ext-menu-more, card tokens--float,--edge-strong,--ink-soft,--radius-pill) shows; both go at the last row (160 ms) and come back on scrolling up (490 ms). The hint is in place on the first painted frame (showMore(true)).formmcp-cli notices), the gone agent program and disk image checks, and the settings, launcher and heartbeat fixes.Commits
Version
v0.15.0 (release commit is last). Bumped: Cargo.toml (workspace), Cargo.lock (formmcp, formmcp-cli, formmcp-core), frontend/package.json and the two own fields of frontend/package-lock.json, src-tauri/tauri.conf.json (formcompiler's version file), the README badge, the wiki Home, SECURITY.md's supported line, the six HASHOUT log heads, and a CHANGELOG section for 0.15.0 that takes the Unreleased notes. All three demos (demo, demos/connect, demos/safety) rebuilt from the release tip; old bundle files removed.
Checks
npm run build(tsc --noEmit and vite build): clean, run again after rebasing onto the moved main (694c846).npm run build:demo(tsc -p ../demo and vite build) and both demos' own vite builds: clean.Not run: the "before" probe on origin/main (skipped by instruction; the 60vh overflow is from reading the CSS); 1871x1080 and 800x320 sizes; hint timings; End and Home (the menu has no such keys); the arrow-key fade check; reduced motion; the Tauri desktop build; cargo test. DOM law: verified under throttling (the menu was never seen at another place in any opening frame); first-frame size not checked frame by frame.
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.