Repository navigation
feat: keep the Extensions and Help menus inside the window and show when rows remain below (0.14.0) - #20
Merged
Conversation
…hen rows remain below Both header popovers hang from their buttons and had no height cap, so a long Extensions menu ran past the window's bottom. Each now takes a max-height of three quarters of the window, never past the bottom edge, set before it paints, and scrolls the rest. A menu cut off by the cap shows a fade and a small down pill at its bottom while rows remain; both go at the last row. The rows move into a scrolling list inside the card, so the fade does not touch the glass. FORM-MENU-OVERLAP-FIX 1.2.0, section 3b.
Version sites, the same as the 0.13.0 release: Cargo.toml (workspace), Cargo.lock (formskills, formskills-cli, formskills-core), frontend/package.json, frontend/package-lock.json (two fields), src-tauri/tauri.conf.json, the README badge, SECURITY.md, .docs/wiki/Home.md, the headers of core, frontend and src-tauri HASHOUT_LOG.md, and CHANGELOG.md, which also takes the fixes merged since 0.13.0. The three browser demos are not rebuilt in this commit: their build reads every family app's release tags, and FormVis and FormVFX were not available beside this checkout. Rebuild them with npm run build:demo and the two vite commands of demos/install and demos/author.
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 and Help menus inside the window and show when rows remain below (0.14.0)
Summary
contextmenu,ContextMenu,openAt,place(andpopoverfound no right-click menu.top: calc(100% + var(--sp-1))) and had no height cap, so a long Extensions menu (one row per extension command) could run past the bottom of a short window.frontend/src/popmenu.tssetsmax-height: min(75% of the window, innerHeight - top - 4px)while the card isvisibility: hidden, before it paints, and again on resize while open. What does not fit scrolls..ext-pop-listinside the card, which carries the mask, and.ext-pop-moreis the pill, using the card's own--glass-solidand--edge-strongtokens. It is in place on the first frame (no-fade), goes at the last row in 160 ms and comes back in 490 ms, with no fade under reduced motion. Colours, glass, spacing and placement are unchanged.Commits
Version
v0.14.0 (release commit is last). Bumped: Cargo.toml (workspace), Cargo.lock (formskills, formskills-cli, formskills-core), frontend/package.json, frontend/package-lock.json (two fields), src-tauri/tauri.conf.json, the README badge, SECURITY.md, .docs/wiki/Home.md, the headers of core, frontend and src-tauri HASHOUT_LOG.md, and CHANGELOG.md.
Checks
npm run buildin frontend (tsc --noEmit, then vite build): clean.Not run: the app's Rust tests (
cargo test --locked -p formskills-core -p formskills-cli) and the Python notices tests, which the change does not touch; a before measurement on origin/main; a long Extensions menu with real extension commands (the browser build lists none); the 1871x1080 and 800x320 sizes; the hint timings (80/380 ms out, 245/750 ms back in); End and Home (the popovers have no End or Home key handling); arrow-key checks against the fade; the Tauri desktop build. The three browser demos were not rebuilt: their build reads every family app's release tags, and FormVis and FormVFX were not available beside this checkout, so a rebuild here would have dropped their skills. The demo pages carry no Extensions or Help popover, so they are unaffected by the fix, but they still show 0.13.0. The owner should runcd frontend && npm run build:demo, then from demos/install and demos/authornode ../../frontend/node_modules/vite/bin/vite.js build --config ./vite.config.mjs, with the family repositories beside this one orFORM_FAMILY_DIRset, and commit the result.Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.