Repository navigation
feat(window): a hide tool, a viewport menu, saved views and changeable keys for the submitted version (0.7.0) - #7
Merged
Conversation
….7.0) The README had no picture. It now shows assets/screenshot.png, the sample car from the library's models folder as taken for 0.6.0, with a caption saying what it is. Looked at the file; the window was booted on engine port 9260 and shows the same view.
Adds the Maintainers table (owner and co-owner) in the family layout, between Status and Licensing. The CODEOWNERS line of the other apps is left out because this repository has no such file.
…t (0.7.0) CI's desktop job runs on macOS and Windows runners only: it installs, freezes the engine and type checks the shell. Contributing now says so and that no installer is built there. Read from .github/workflows/ci.yml; not run here.
…2 (0.7.0) LDRAW.md: the VIEW line holds a saved view's projection, field of view, position, focus point and up direction, then its name; FBLK is 2 only when a file holds one, so a project without saved views is written as before, and a reader of layout 1 keeps the lines as META lines it does not know. Specification only; nothing run.
…w menu holds (0.7.0) Specification only; nothing run.
…layout 2 (0.7.0) SavedView is the camera line's eleven values and a name; it is a state record, read from anywhere in the main block and written after CAMERA in the order kept. FBLK is 2 only when a view is written, so a project with none is written as before. Checked by reading lines back in the engine's Python: names with doubled spaces, a repeated name in other capitals, a short line refused.
… window's and shell's dependencies (0.7.0) setup/collect_licenses.py writes src-tauri/licenses/python.txt, npm.txt and rust.txt from the installed wheels, node_modules and the cargo registry (cargo metadata --locked), each repeated text written once and long lines wrapped under 400 characters; bundle.resources maps the folder beside LICENSE and NOTICE.md. Run here with the engine's venv: 41 Python texts, 7 npm texts, 231 crate texts, no line over 400 characters, no dash character. The bundle itself is checked in the desktop build later this turn.
… are kept (0.7.0) One paragraph under Third-party works names src-tauri/licenses/ and the script that writes it. Nothing run beyond reading the diff.
…0.7.0) The engine table listed every package but not CPython itself, which PyInstaller puts inside every installer. A row now names it, its licence and where its text is. Read against apps/formblocks.json toolchain.python.
…product word (0.7.0) Clean room: the word Technic belongs only inside official LDraw part titles, not in our own sentences. The manual's list of example categories now reads Brick, Plate, Slope, Tile. The two remaining mentions are quoted part titles (Technic Beam 7). Read only.
…uct's name appears (0.7.0) It said the names appear only in documents, but apps/products-row.json holds one in alt_of, which the portal row needs. Checked with git grep over tracked files: NOTICE.md, README.md, spec/PROVENANCE.md and apps/products-row.json, outside the generated mirrors.
…version (0.7.0) The sample car's 19 nested pairs and 0 overlaps were re-read with overlap.check on a running engine (61 checked, 0 overlaps, 19 nested). The clause about what an earlier version reported meant nothing to a first-time reader and is removed.
…t what used to be (0.7.0) Removes the account of what an earlier build missed and says plainly that the half-turn rule for a clip has not been tried in the window. Nothing about behaviour changes.
All four programs real and not signed in: status, a dock tab each with its own token (environment, and Antigravity's 0600 file), 200 at /mcp while open and 401 after, 403 on /api, the four launcher arms, a hostile first message through stand-ins, and an outside agent's change waiting for the window's answer. Run from source on 127.0.0.1:9250 and 9251 with scratch data and home folders; the scripts stayed in scratch.
… uses (0.7.0) Inline currentColor SVG drawn for FormBlocks, on the same 24 unit grid and stroke as the others; blank keeps an unmarked switch's label in line with a marked one. Type check run clean.
…ol on reach the window's ports (0.7.0) Gestures pass a right click that never became an orbit or a pan to a menu handler, and a held ghost still takes it first. The click hub gains a hide port, which turns a plain left press into a box and a plain click into a hide while it is active, a menu port and camera move listeners. Type checked under the build lock; driven headless with the car at 1440 by 900: a right click opened a menu, a right drag of 40 pixels opened none.
…nds on the screen (0.7.0) screenOf projects the centre of the visible box of the given placements with the current camera and clamps it to the viewport, or answers null when they are not drawn or behind the camera. The context menu opened from the keyboard uses it to stand beside the selection. Seen at 1440 by 900: Shift+F10 with two plates selected put the menu's corner on them.
…eports right clicks and camera moves (0.7.0) With the hide tool on, a box hides every part it touches in either direction and is drawn dashed, and a Shift or Ctrl box still selects. A right click names the part under the pointer, or none while a ghost is held, to the menu port. Camera moves are reported only when the camera's pose changes. Checked headless with the car: one tool click hid one part, a box over the cab hid 16 more, Esc ended the tool.
… why hiding is a change (0.7.0) Section 9 says how the hide tool starts and ends (K, V, Esc, the other tools), that its box hides what it touches and never moves parts, the sign it shows, that Show all counts the whole model, and the decision for the catalogue: hiding and showing are changes, one undo step each, so an outside agent's hide waits for the person as every change does and a dock tab's does not. hide.list is built as part.hidden.
…nd how many (0.7.0) SPEC.md 9.5 named hide.list as not built. part.hidden reads every submodel, because Show all brings back every hidden placement, and answers each with its id, part, colour and submodel. It only reads, so an outside agent never waits for it. Run against the engine on 9210 with the car: 0, then 2 after hiding two parts, and through ./formblocks mcp it answered at once while cmd_part_hide waited for Allow once in the window.
…s the list of what is not built (0.7.0) The part row of the catalogue names hidden (read) beside hide, hide_others and show, maps it to hide.list, and the list of commands not yet in the catalogue no longer names hide.list.
…y a camera move never asks (0.7.0) SPEC.md 15.5 saved views (names, the project file, one undo step each, picture.save saved), 15.6 the view menu (place, order, keys), 15.7 the built camera commands: every one is of kind view, so an outside agent's camera move needs no consent by the rule of 0.3, and a camera change neither moves the revision nor marks the model unsaved. 21.2 lists the camera and views areas. Specification only; nothing run.
…as Show all brings them all back (0.7.0) The count read only the submodel being edited, so a part hidden in another submodel left the button away while Shift+H would still bring it back. hiddenItems now counts every submodel, the number part.hidden answers, and the context menu reads it too. Checked headless with the car: the button read Show all (1), (2) and (18) as parts were hidden, and part.hidden gave the same numbers.
…ject file writes both (0.7.0) app/doc/camera.py holds the camera as numbers in LDraw axes beside the model's items, never in its history, and the saved views in the meta item, so changing them is an ordinary undo step; it frames, orbits, zooms and pans with the window's own rules, through scene.py's one conversion. convert reads VIEW lines into the meta item and writes the camera and views back. Checked with the command line on the sample car: a 0.6.0 project saved again unchanged byte for byte, views kept across a save in a clone of main.
…ction in the catalogue (0.7.0) Eight camera commands of kind view, so the command line and agents reach the camera without a question to the person and without an undo step; each change stores the camera, writes the store once and announces one camera event. Run with the command line on the sample car: every command, the fit of a selection, and the refusals of a bad up, an empty selection and an unknown view name.
…f the open model (0.7.0) Six commands; the four that change the list are each one undo step named for what they did, and views.goto is a view change that slides the camera. Run with the command line on the sample car: every command, a taken name refused, undo and redo of a delete, and the list written to a project file and opened again.
…, tagged with the window (0.7.0) POST /api/camera/report stores the pose given in the scene's axes when it differs from the camera held and announces it with the window's tag and no slide. Not run on its own; it is checked with the window in the commit that registers it.
One line in ROUTERS. Checked: the engine's self-check counts 16 routers.
…r (0.7.0) FORMBLOCKS_HOST other than 127.0.0.1, localhost or ::1 now ends the start with a formblocks-start-error line and exit 6 instead of a warning, since the guard's Host check is the caller's header to write. Run from source on 9252: 0.0.0.0 refused with the sentence, an empty value and localhost started.
…ew by its name (0.7.0) picture.save and picture.steps take saved; the engine sends the window the saved view's pose, field of view and projection. Run with the command line and no window: an unknown name and view with saved are refused before the window is asked; the drawing itself is checked with the window later.
…ens when the person says so (0.7.0) Run on an engine restarted after the change: model.open on a 25,001-line file answered the question sentence, and with large true opened 25,001 placements. The paragraph is also broken into short lines under 1000 characters. The window's Open anyway button was not pressed.
…rue, asked of the person first (0.7.0) Run: model.open on a 25,001-line file answered the sentence, and with large true opened it. The 64 MB limit is from the specification.
…ute (0.7.0) New sub-skill for keys.list, keys.set and keys.reset, written from the live catalogue and these runs on a running engine with no window: a change was kept, a clash was refused with its sentence, reset put the keys back, and an unknown command id was accepted while no window had given its keys (said in the page).
…t view and finding hidden parts (0.7.0) Adds evaluations 12 and 13 to evals.json for the camera and part.hidden pages written this version. The file still parses (13 evaluations). They were not run against an agent.
…ce with the 0.7.0 catalogue (0.7.0) Written by ./formblocks agents sync after every lane's source change had landed and git status showed no other uncommitted source: the camera, views, part.hidden, keys and parts list commands, and the two new driving sub-skills with this lane's page edits. agents check passes.
… this version (0.7.0) Removed what was built (the tool row and hide tool, the right-click menu, the View menu and camera commands, changing a key, the Recent pin, typed turn and colour in Details). Kept what was not (strict seating and other preferences, tree pictures, hinge limits, ball joints, Open alone, safety copies and so on) and said why tree pictures were left out. Added what is not proven: very large models in the window and the Mac and Windows key rules.
…he licence texts it carries (0.7.0) From lane B5's done file, src-tauri/HASHOUT_LOG.md and tauri.conf.json (the licenses resource). Also names the camera, hide and keys commands under the command line and MCP paragraph. Not run by me; the Linux dialogs are B5's.
…and key changing, and what is still not built (0.7.0) Rewritten against the manual's closing list and the windows seen in the built window; nothing is claimed beyond what the manual says was run.
…(0.7.0) Proven on Linux x64: the engine and window from source, three desktop builds, four real agent programs not signed in. Not proven: macOS, Windows, every .bat, a signed-in agent turn, a real graphics card.
… (0.7.0) Lists what an agent can ask for and which of the new commands change the model.
…host and the desktop keeps its port (0.7.0) Also names the shipped licence texts and that desktop builds ran on Linux x64 only.
The three formcompiler calls were run from fresh clones of this branch, as src-tauri/HASHOUT_LOG.md records.
… hide asks and a change of keys does not (0.7.0) Section 0.3 now says the settings and camera commands are of kind view, which the catalogue already gives keys.set, snap.set and every camera command, and states the one rule that explains why part.hide waits for the person and keys.set does not. Checked against ./formblocks cli commands on this branch: part.hide is change, keys.set and keys.reset are view.
…entence (0.7.0) The registry takes a line of more than 1000 characters for generated text. The camera commands, the keys commands and section 0.3 (made long by the previous commit) are each broken at a sentence into an indented continuation line of the same list item, so the words and the list are unchanged. Checked with awk: no line of spec/SPEC.md is now over 1000 characters.
… lines under 1000 characters (0.7.0) Three entries of the engine's hashout log had lines of 1801, 1255 and 1326 characters, which the registry takes for generated text. Each is broken at a sentence into lines of the same paragraph; no word changed. Checked with awk over the file's first 40 lines.
…ies into lines under 1000 characters (0.7.0) The rest of the engine's hashout log lines over 1000 characters, including the keys setting entry the previous commit left at 1045, are broken at a sentence; no word changed. Checked with awk: no line of backend/HASHOUT_LOG.md is now over 1000 characters.
… (0.7.0) The open dialog, view menu, Keys page, tool row and Details entries of the window's hashout log had lines of 1016 to 1325 characters, which the registry takes for generated text. Each is broken at a sentence; no word changed. Checked with awk: no line of frontend/HASHOUT_LOG.md is now over 1000 characters.
…der 1000 characters (0.7.0) The palette's pin entry (1061 characters) and the view's camera link entry (1401) are broken at a sentence; no word changed. With this no tracked markdown outside the dock module has a line over 1000 characters; the dock's CONTRACT.md is the family's and is not edited. Checked with awk over every tracked file.
…e (0.7.0) The Details panel's turn row was one line of 425 characters, over the 400 the family's laws allow for source. It is broken between the row's label and its turn box; the row is a grid, so the white space between them draws nothing. Type check run; the built window's Details panel was looked at in the review walk.
…ORMBLOCKS_HOST says (0.7.0) The engine's entry refuses a non-loopback host, but backend/boot_backend and boot_backend.bat still passed FORMBLOCKS_HOST to uvicorn. Both now pass 127.0.0.1, as the setup scripts do. Run on Linux with FORMBLOCKS_HOST=0.0.0.0 on port 9271: uvicorn said it was running on 127.0.0.1, the machine's own network address got no answer and 127.0.0.1 answered 200. The .bat twin was read, not run.
…MBLOCKS_HOST (0.7.0) boot_backend.bat no longer reads the variable, so the ports and environment table names only formblocks_engine.py and says the boot and serve scripts always listen on 127.0.0.1. The mirrors are written by the final agents sync.
…d 80 character limits (0.7.0) The VIEW line reader took every line a file had, so a file made by hand opened with 302 saved views, a name of 3000 characters and one holding a bell character. It now cleans each name as views.save does, leaving out characters that print nothing, and offers a view only while there are fewer than 100 and the name is 1 to 80 characters and not taken. LDRAW.md and SPEC.md 15.5 say so. Checked through the command line on engine 9270: that file listed 100 views, Save As wrote 100 VIEW lines and kept the one unreadable line as it was, and views.save dropped a bell character from a name.
…w's reset, so esc still closes it (0.7.0) A row's reset arrow is disabled after use and Swap and Cancel are hidden, so the focus fell to the page and Esc, which Preferences hears inside its frame, closed nothing. The row's key button now takes the focus first. Checked in headless Chrome on a build of this tree on engine 9270: after changing Undo and pressing its reset arrow the focus was on the row's key and one Esc closed Preferences, where before two did not. Type check run.
…e keys in use, not the first ones (0.7.0) The row menu wrote Ctrl+G, Ctrl+Shift+G and Delete as fixed text, so a key changed on the Keys page was shown wrong there. It now reads each window command's present key from the catalogue when the menu opens. Checked in headless Chrome on a build of this tree at 1440 by 900 under 4x CPU and a slow network: Pack into a Submodel changed to Ctrl+Shift+U on the Keys page, and the tree row's menu then showed Ctrl+Shift+U. Type check run.
… it showed (0.7.0) The manual said the window's Open anyway question was never pressed. In the review walk on a build of this tree, headless at 1152 by 760 under 4x CPU and a slow network, a file of 25,001 part lines brought the question after the unsaved car was discarded, and after Open anyway the engine had the file open in about 11 seconds. Both places now say so, and that the window's drawing time was not measured.
…ST row (0.7.0) Written by ./formblocks agents sync after the harness pack's ports and environment table stopped naming boot_backend.bat; only the two mirrors changed, and agents check then said clean: mirrors, pack gate, MCP configs, manifest, command reference and the dock module's hashes.
The picture is the real window at 1440 by 900 with the library's sample car open at step 8 of 8, taken in headless Chrome under a 4x slower processor and a slow network from the engine serving the built window with the version already moved, so the status bar reads 0.7.0 and the top bar shows the new row of tool buttons. Not edited. Layout shift during the walk was 0 with and without input and the console had no error.
Moves every version site to 0.7.0 by hand: tauri.conf.json, Cargo.toml and the formblocks entry of Cargo.lock, package.json and both fields of package-lock.json, version.ts, the engine's __init__.py, the README badge, the wiki's Home page, two mentions in the manual and pack-version in both skill packs, with the mirrors written by agents sync. Adds the 0.7.0 section of the changelog, written for a first-time reader because it becomes the registry submission's changelog. Run with the bump in place: doctor, the type check, the window build, agents check, the contract checker (0 MUST failed), the engine freeze with its self-check (formblocks 0.7.0, data files ok) and a headless walk of the sample car under throttling with layout shift 0.
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(window): a hide tool, a viewport menu, saved views and changeable keys for the submitted version (0.7.0)
Summary
.fblk), a right-click menu in the viewport (also the menu key and Shift+F10), a View menu with named views saved in the project, a row of tool buttons that folds into one button below 1152 px, a Keys page that changes keys, Mac keys, and a typed turn and a colour in Details.camera.*,views.*,part.hidden,keys.list,keys.set,keys.reset, andlargeonmodel.open. The specification now states one rule for when an outside agent's call waits for the person (0.3): a change to the model or a file asks, a setting or the view does not.Commits
Oldest first, release commit last. No hashes: signing at the push changes them.
Version
v0.7.0 (the release commit is last; the screenshot retake is the commit before it). Bumped by hand:
src-tauri/tauri.conf.json,src-tauri/Cargo.toml, theformblocksentry ofsrc-tauri/Cargo.lock,frontend/package.json, both fields offrontend/package-lock.json,frontend/src/version.ts,backend/app/__init__.py, the README badge,.docs/wiki/Home.md, two mentions indocs/MANUAL.md,pack-versionin both skill packs, the mirrors from./formblocks agents sync, andCHANGELOG.md.Checks
Run at the release commit on Linux:
./formblocks doctor(ready); the type check and the window build;./formblocks agents check(clean);./formblocks freezewith the frozen engine's self-check (formblocks 0.7.0, 15 routers, 97 commands, 103 tools, data files ok); FormAnything's contract checker (0 MUST failed, 0 SHOULD not held, 83 clauses checked); the registry's eight checks on a throwaway submission naming the release commit, with this repository's real changelog and screenshot, read with--sourceon a clean clone and the three family checkouts: all eight pass. A boot on a scratch port with the official LDraw library and a walk in headless Chrome at 1440 by 900 under a 4x slower processor and a slow network: the sample car opened with Ctrl+O, the Info and Parts tabs, the hide tool, the right-click menu on a part; layout shift 0 with and without input, no console error. That window isassets/screenshot.png. The Linux desktop build as formcompiler runs it, from a fresh clone of the release commit: 196 s, a deb (50,332,864 bytes), an rpm and an AppImage, unsigned; the deb started under a virtual display and drew the window with the library's categories, and nothing was left running when the display closed. By the lanes and the reviewer before the release commit: walks at 1440 by 900 and 1024 by 700 in both themes of every feature above with layout shift 0 without input; the Keys page with a Mac told to the browser; round trips of the library's models and fifteen awkward files; a 0.6.0 project opened and saved byte for byte unchanged; 55 route methods probed with no key, a wrong key and a tab token; Claude Code 2.1.332, Codex 0.172.0, Cursor 2026.11.22 and Antigravity 1.5.18 as real programs, none signed in, each started from the dock.Not run: anything on GitHub; macOS and Windows, every
.batscript and a real Mac keyboard; a signed-in agent turn in any program; a frame time on a real graphics card. In the last desktop build no part was placed and the dock was not opened (both were done in the lane's builds earlier in the turn). No tests exist, by the owner's rule;TEST_PLAN.mdin the planning sidecar says what should be tested.For the owner to decide, nothing changed: specification 14.7 says an MCP tool that writes outside the open model's folder asks every time, while a dock tab is never asked.
One commit subject starts with a capital after the colon and four documents commits are stamped +0000 instead of US Eastern (
formprrestamps those at the push); history is not rewritten.Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.