Skip to content

feat(window): the 3D viewport, the palettes and the panels; build with the mouse (0.3.0) - #3

Merged
nodemode-ai merged 253 commits into
mainfrom
feat/window-and-viewport-0.3.0
Nov 27, 2026
Merged

nodemode-ai merged 253 commits into
mainfrom
feat/window-and-viewport-0.3.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat(window): the 3D viewport, the palettes and the panels; build with the mouse (0.3.0)

Summary

  • The window: a 3D view of the model drawn from the engine's meshes (one instanced batch per part and colour, edge lines, transparency, orbit, pan, zoom, named views, picking, box selection), the parts palette (categories, search, thumbnails, favourites, recent), the colour palette, the model tree, the step strip and the status bar's snapping, grid and overlap switches.
  • Placing with the pointer: the chosen part follows the pointer as a ghost and seats on studs through the engine's snapping (POST /api/place/preview), a click places it; select, nudge, quarter turns, recolour, duplicate, hide, delete, undo and redo, steps, save and open.
  • The first start with no library shows what the fetch would download and from whom; nothing is fetched until the person presses Fetch.
  • The owner's icon art and every size made from it; the trademark piece in formvis's form.
  • Engine: a placed part covers the ground studs under it (a brick no longer sinks into a baseplate), a move seats the lowest point of what is moved, saved files name the library's update, the model as a tree, the parts list and its CSV.
  • Two real skill packs, formblocks-driving (with a wall, a house and a table as worked examples) and formblocks-harness.
  • The specification was brought in line with what was built, one commit per topic.

Commits

Oldest first, release commit last. Hashes are left out because signing changes them.

  • docs(trademarks): word the trademark piece as formvis does (0.3.0)
  • feat(icons): add the owner's FormBlocks icon art (0.3.0)
  • feat(desktop): add the bundle icons made from the owner's art (0.3.0)
  • feat(window): add the favicon, the touch icon and the mark from the owner's art (0.3.0)
  • docs(readme): show the app icon and say the icons exist (0.3.0)
  • build(window): add three 0.186.1 for the viewport (0.3.0)
  • build(window): add the types of three 0.186.0 for the viewport's checks (0.3.0)
  • feat(window): name the favicon and the touch icon in the page's head (0.3.0)
  • feat(splash): show the owner's mark in place of the placeholder letter (0.3.0)
  • feat(tokens): add the sizes, layers and overlay colours of the window's regions (0.3.0)
  • feat(palette): keep every word of the parts and colour palettes in one strings module (0.3.0)
  • feat(icons): draw the icons of the file actions, the step strip, the switches and the tree (0.3.0)
  • feat(palette): draw the star, grip, size and printed glyphs the palettes need (0.3.0)
  • docs(spec): decide that a placement standing on the ground covers the ground studs under it (0.3.0)
  • feat(palette): read the engine's search, category, part, colour and library answers into plain shapes (0.3.0)
  • feat(api): type the engine's document, changes, settings, library, colours and placing answers (0.3.0)
  • feat(palette): debounce typing and drop every answer but the newest (0.3.0)
  • feat(view): read the engine's part mesh bytes into typed arrays (0.3.0)
  • fix(connect): stop a part seating on ground studs covered by a baseplate (0.3.0)
  • feat(palette): keep favourites, recent, hidden parts and the category order in the engine's settings (0.3.0)
  • feat(window): keep every word the window shows in one strings module (0.3.0)
  • feat(view): read the scene's colours from the window's tokens (0.3.0)
  • docs(skills): add the coordinates and units reference to the driving pack (0.3.0)
  • feat(view): type the document, changes, colours and ghost as the viewport reads them (0.3.0)
  • feat(palette): ask for a part's details once and keep the answer, a missing part included (0.3.0)
  • feat(view): map a placement into the scene's axes, preferring the engine's matrix (0.3.0)
  • fix(files): write the library's update name into a saved project instead of unknown (0.3.0)
  • docs(skills): add the tool naming reference to the driving pack (0.3.0)
  • feat(view): resolve part colour codes from the engine's colour table (0.3.0)
  • feat(palette): page search results from the engine only where the grid is about to show them (0.3.0)
  • feat(doc): patch the window's copy of the model from the engine's changes on each revision (0.3.0)
  • feat(view): share four face materials and an instanced line material across batches (0.3.0)
  • docs(skills): add the error reference to the driving pack (0.3.0)
  • feat(settings): mirror the engine's snap, grid step and overlap settings in one window store (0.3.0)
  • feat(mesh): hit a pointer ray against a placed part's real triangles (0.3.0)
  • feat(palette): ask for a tile's thumbnail only while it is on screen and fade it in over the part number (0.3.0)
  • feat(library): keep the library's status and its fetch progress in one window store (0.3.0)
  • feat(view): build a part's face and edge geometry for one colour over shared arrays (0.3.0)
  • feat(lookup): ask the colour table and each part's description once and keep them (0.3.0)
  • feat(skills): add the finding-parts sub-skill to the driving pack (0.3.0)
  • feat(palette): window the result grid so only the rows in view have nodes (0.3.0)
  • feat(view): draw each part and colour as one instanced batch patched by slot (0.3.0)
  • feat(skills): add the colours sub-skill to the driving pack (0.3.0)
  • feat(palette): draw a part tile as a fixed box with its thumbnail, number, description, star and hide button (0.3.0)
  • perf(connect): return the spatial hash at once when a read's stamp has not moved (0.3.0)
  • feat(view): fetch and decode each part's mesh once per window (0.3.0)
  • feat(skills): add the placing-and-snapping sub-skill to the driving pack (0.3.0)
  • feat(picking): find the placement under a scene ray on its real triangles (0.3.0)
  • feat(palette): show the empty, loading and no-library states in the results' own box (0.3.0)
  • feat(shell): lay the window out as top bar, parts palette, viewport, right column, step strip and status bar (0.3.0)
  • feat(palette): move through the result grid with the arrows, pick with Enter, star with S and hide with H (0.3.0)
  • feat(skills): add the building-in-order sub-skill to the driving pack (0.3.0)
  • fix(view): type a grown batch array over a plain buffer so the attributes accept it (0.3.0)
  • feat(skills): add the changing-parts sub-skill to the driving pack (0.3.0)
  • feat(view): expand the model into instances and patch them by placement id (0.3.0)
  • feat(skills): add the selection sub-skill to the driving pack (0.3.0)
  • feat(palette): list the categories in the person's order, star them, and reorder by drag or Alt and an arrow (0.3.0)
  • feat(place): preview where a part under the pointer would go, and pick through the engine (0.3.0)
  • fix(api): turn the viewport's scene ray into LDraw's axes when placing falls back to part.fit (0.3.0)
  • feat(palette): show a pointed part's description, category, keywords, author and licence in a fixed details line (0.3.0)
  • feat(skills): add the submodels sub-skill to the driving pack (0.3.0)
  • feat(viewport): mount the view module in the viewport's region and feed it the document, selection and step (0.3.0)
  • feat(tokens): add the seven view tokens the viewport reads for its background, ground, selection, hover and ghost (0.3.0)
  • feat(view): orbit, pan, zoom toward a point and fit with a camera of our own (0.3.0)
  • feat(commands): add part.place_at_ray and part.pick, the drop and the pick of the pointer (0.3.0)
  • feat(palette): add the parts search box with its clear button and keys (0.3.0)
  • docs(spec): list part.place_at_ray and part.pick in the command catalogue (0.3.0)
  • feat(view): aim the corner, front, back, left, right, top and bottom views (0.3.0)
  • feat(skills): add the steps sub-skill to the driving pack (0.3.0)
  • feat(palette): switch between categories, favourites, recent and hidden parts with four fixed tabs (0.3.0)
  • feat(colours): mount the colour palette and recolour the selection with the chosen colour (0.3.0)
  • feat(view): draw the ground grid at stud pitch with stronger lines every ten studs (0.3.0)
  • feat(skills): add the files sub-skill to the driving pack (0.3.0)
  • feat(palette): add the bar with back, the listing line, restore all, the printed switch and three thumbnail sizes (0.3.0)
  • feat(place): hold a picked part as a ghost placed by the engine's preview and drop it with part.place (0.3.0)
  • feat(skills): add the checking-a-model sub-skill to the driving pack (0.3.0)
  • perf(place): keep the hidden placements per stamp instead of walking the model twice a preview (0.3.0)
  • feat(view): pick placements by a ray against boxes then triangles, and by a screen box (0.3.0)
  • feat(skills): add the parts-library sub-skill to the driving pack (0.3.0)
  • feat(parts): mount the parts palette in the left column and pick its chosen part for placing (0.3.0)
  • feat(skills): add the working-with-the-person sub-skill to the driving pack (0.3.0)
  • perf(place): warm the pointer's index in the background after every change (0.3.0)
  • fix(skills): write the checkout placeholder in square brackets in connect-and-status (0.3.0)
  • feat(view): map the mouse, wheel and trackpad to orbit, pan, zoom, pick, box and placing (0.3.0)
  • fix(skills): make two driving sub-skill descriptions valid YAML (0.3.0)
  • refactor(skills): point connect-and-status at working-with-the-person for the approval rules (0.3.0)
  • feat(keys): name Space, Alt letters and digits and shifted comma and full stop, and let a command take a second key (0.3.0)
  • feat(view): light the scene from the sky and a key light that follows the camera (0.3.0)
  • feat(view): draw a see-through ghost of the part being placed, tinted when blocked (0.3.0)
  • feat(doc): count the parts a model needs through every use of its submodels (0.3.0)
  • feat(view): draw part thumbnails once each through one shared off-screen renderer (0.3.0)
  • feat(keys): select, delete, duplicate, turn, nudge, hide and enter from the keys of the specification (0.3.0)
  • feat(skills): add the wall of twenty bricks example to the driving pack (0.3.0)
  • feat(doc): answer the model as a tree for the panel at GET /api/doc/tree (0.3.0)
  • feat(palette): mount the parts palette with categories, search, lists, the windowed grid and its states (0.3.0)
  • feat(skills): add the small house example to the driving pack (0.3.0)
  • fix(palette): fit three medium tiles across the default panel instead of two (0.3.0)
  • feat(status): show the selection, the hint, the step, the pointer's place, the snap, grid and overlap switches and progress (0.3.0)
  • feat(skills): add the table example to the driving pack (0.3.0)
  • fix(window): leave a region empty when its module does not yet export its mount function (0.3.0)
  • feat(doc): answer model information, the parts list and its CSV at GET /api/doc/info and /api/doc/parts.csv (0.3.0)
  • fix(palette): show the four list names whole in the default panel (0.3.0)
  • fix(palette): give the listing line the room of restore all outside the hidden list (0.3.0)
  • fix(palette): mark the current category row only while the category list has the focus (0.3.0)
  • feat(commands): add model.info, the read behind the About tab (0.3.0)
  • feat(steps): add the step strip with walking buttons, a chip per step, a new step button and the step keys (0.3.0)
  • feat(view): create the viewport with its public surface for the shell (0.3.0)
  • feat(commands): add parts.list for the whole model, the submodel edited or up to the step shown (0.3.0)
  • feat(tabs): add the Model and Steps tabs over two fixed panes in the right column (0.3.0)
  • feat(commands): add parts.list_save, writing the parts list as CSV or tab separated (0.3.0)
  • feat(skills): add build_wall.py, the wall example as an MCP script, to the driving pack (0.3.0)
  • docs(spec): move model.info, parts.list and parts.list_save into the built catalogue (0.3.0)
  • feat(doc): say in the document state which placements the step shown draws and which it adds (0.3.0)
  • refactor(skills): retire building-models, now split across the driving sub-skills (0.3.0)
  • fix(view): wash selected parts strongly enough to tell them from their neighbours (0.3.0)
  • docs(view): record that the view tokens now exist in the tokens file (0.3.0)
  • feat(skills): rewrite the driving pack's description to trigger on building and set its version to 0.3.0 (0.3.0)
  • feat(live): announce every settings change with the names changed and the new values (0.3.0)
  • fix(palette): hide the windowed grid's spare tiles for real (0.3.0)
  • feat(skills): route the driving pack's body to its examples, references and scripts (0.3.0)
  • feat(tree): show the model tree with expandable uses, eyes, a filter and the Submodels list (0.3.0)
  • feat(live): announce selection and step changes with their values (0.3.0)
  • fix(palette): stop the placeholder part number showing through a loaded thumbnail (0.3.0)
  • feat(live): greet an attaching window with the revision, selection, step, settings and any running fetch (0.3.0)
  • feat(skills): add evaluations and trigger tests to the driving pack and widen its trigger words (0.3.0)
  • feat(palette): group, filter and remember colours for the colour palette (0.3.0)
  • feat(steps): list the steps in the Steps tab with their parts, and show, name, hide and delete a step from its row (0.3.0)
  • fix(skills): bring add-pane in line with the window as it is now built (0.3.0)
  • feat(palette): draw colour swatches with a see-through checker, finish marks and a current ring (0.3.0)
  • fix(overlap): name the parts of each overlapping pair and record why the car's 21 pairs stay (0.3.0)
  • fix(skills): write add-router's placeholders in square brackets and state the guard's real answer (0.3.0)
  • feat(palette): reach every colour swatch from one tab stop with the arrow keys (0.3.0)
  • fix(skills): write add-command's placeholders in square brackets and keep the spec in step (0.3.0)
  • fix(skills): write the cli placeholder in install-and-boot in square brackets (0.3.0)
  • feat(details): show the selection's colour, position, height, turn and step and move it to typed numbers (0.3.0)
  • fix(fit): meet part.fit's pointer ray on real triangles, as the preview does (0.3.0)
  • feat(files): ask the desktop's open and save dialogs through the shell's dialog plugin, and set the window title (0.3.0)
  • feat(picking): pick a use of a submodel on the triangles of the parts inside it (0.3.0)
  • feat(palette): mount the colour palette with the current colour, recent and favourite rows and all colours by finish (0.3.0)
  • feat(skills): add the headless look at the window and the pack checks to verify (0.3.0)
  • feat(skills): add the skill pack gates to laws-and-logs (0.3.0)
  • feat(files): add new, open, save and save as with a typed path in the browser and the unsaved changes question (0.3.0)
  • fix(skills): name the 0.3.0 parts list commands by the ids the engine gave them (0.3.0)
  • feat(place): preview and put down a dragged selection by the part pressed on (0.3.0)
  • feat(undo): name the next undo and redo from the engine's labels, add Ctrl+Y, and let Ctrl+Z drop a held part first (0.3.0)
  • docs(spec): list part.move_at_ray in the command catalogue (0.3.0)
  • feat(skills): add the clean-room-and-spec sub-skill to the harness pack (0.3.0)
  • feat(skills): add the packages sub-skill to the harness pack (0.3.0)
  • feat(cli): add parts list MODEL --csv OUT, a model file's parts list without opening it (0.3.0)
  • docs(spec): name parts list among the command line's own subcommands (0.3.0)
  • feat(skills): add the add-connector-kind sub-skill to the harness pack (0.3.0)
  • feat(skills): add the parts-library-and-scratch sub-skill to the harness pack (0.3.0)
  • feat(commands): add model.set_info for the title, author and licence of the About tab (0.3.0)
  • feat(library): show the library card with the engine's consent and attribution, fetch only on a click, and use a typed folder (0.3.0)
  • docs(spec): move model.set_info into the built catalogue (0.3.0)
  • fix(palette): keep a reused tile's lines in place when its part changes (0.3.0)
  • fix(palette): draw a new thumbnail size with fresh tiles so nothing shifts (0.3.0)
  • feat(skills): add the freeze-and-ship sub-skill to the harness pack (0.3.0)
  • feat(commands): add snap.set, grid.step and overlap.set behind the toolbar's switches (0.3.0)
  • feat(skills): rewrite the harness pack's description for its new sub-skills and set its version to 0.3.0 (0.3.0)
  • feat(skills): add the clean room, the library and shared runs to the harness pack's hard stops (0.3.0)
  • docs(skills): list the environment variables the ports reference was missing (0.3.0)
  • feat(files): keep the snap switch and grid step in a project file and restore them on open (0.3.0)
  • docs(spec): move snap.set, grid.step and overlap.set into the built catalogue (0.3.0)
  • feat(skills): add evaluations and trigger tests to the harness pack (0.3.0)
  • fix(skills): treat the overlap switch as the person's setting rather than one no command turns (0.3.0)
  • fix(skills): name only ids that will exist in the driving pack's arriving sections (0.3.0)
  • fix(shell): keep the viewport's box filling its region when the view module positions its host (0.3.0)
  • fix(skills): state the command id rule in clean-room-and-spec without naming an id that does not exist (0.3.0)
  • fix(window): mount the viewport and the palettes before the first paint and hand the view the colour list (0.3.0)
  • fix(palette): place colour swatches by transform so filtering and new recent colours shift nothing (0.3.0)
  • docs(skills): point the driving pack's body at its evaluations (0.3.0)
  • docs(skills): point the harness pack's body at its evaluations (0.3.0)
  • fix(palette): search again for hidden parts and the category order only after the engine saved them (0.3.0)
  • feat(place): hold copies of a selection under the pointer and drop them with part.duplicate_at_ray (0.3.0)
  • docs(spec): list part.duplicate_at_ray in the command catalogue (0.3.0)
  • chore(agents): sync the manifest, the command reference and the skill mirrors with the engine's new commands (0.3.0)
  • fix(view): wash a blocked ghost in the warning colour so it shows on any part colour (0.3.0)
  • fix(palette): look for the library again every six seconds while none is found (0.3.0)
  • fix(palette): clear the details line when the listed parts change to another view (0.3.0)
  • fix(view): fit the camera to a newly opened file, not only to the first model (0.3.0)
  • fix(place): drive the ghost from the preview route's LDraw pose and drop with part.place_at_ray (0.3.0)
  • feat(view): build a part's optional lines with their segments and controls per vertex (0.3.0)
  • feat(view): add the optional line material that keeps a line when both controls lie on one side (0.3.0)
  • fix(doc): call each store listener on its own so one panel's throw neither stops the rest nor reads as an engine failure (0.3.0)
  • feat(status): run snap.set, grid.step and overlap.set from the switches and their keys (0.3.0)
  • feat(view): draw each part's optional lines in its batch beside the edges (0.3.0)
  • feat(viewport): float the submodel path and the Show all button with its count over the viewport (0.3.0)
  • feat(view): add F to fit, Alt and a digit for the preset views and Ctrl+backslash for the clear view (0.3.0)
  • fix(view): keep the direction a view is sliding to when a fit comes during the slide (0.3.0)
  • feat(menu): list the window's commands by area with their keys before the engine's catalogue (0.3.0)
  • feat(view): fit the camera to the model's box corners in the view's own frame (0.3.0)
  • feat(help): add the About box with the version, the library in use and the engine's attribution sentence (0.3.0)
  • fix(palette): fit the colour palette into the shell's 200 px box with recent and favourites inside the list (0.3.0)
  • feat(prefs): add preferences on Ctrl+comma with General, Appearance, Keys and Library pages and one search (0.3.0)
  • feat(view): mark the connectors a seated ghost would join (0.3.0)
  • fix(view): find the hovered part again after a wheel zoom under a still pointer (0.3.0)
  • fix(palette): show a filtered colour list from its top (0.3.0)
  • fix(topbar): give the file name a fixed column so its text and the unsaved dot never move the file tools (0.3.0)
  • fix(view): keep a renamed submodel's parts by reading its placement list from its steps (0.3.0)
  • feat(run): show the engine's refusal with the id of the command that refused (0.3.0)
  • refactor(window): take the template's last inline words from the strings module (0.3.0)
  • fix(view): follow a change of pixel density with the drawing buffer (0.3.0)
  • fix(palette): show the command palette's ids and keys in full instead of a few letters (0.3.0)
  • fix(view): draw the model again when a lost WebGL context is restored (0.3.0)
  • feat(start): show the start card with new, open and recent files on an empty untitled model (0.3.0)
  • docs(view): record the 2,000-placement measurements and the layout shift check (0.3.0)
  • refactor(files): share one reader of the engine's recent files between the open dialog and the start card (0.3.0)
  • fix(status): keep the selection, the step and the switches readable in a window under 1024 pixels (0.3.0)
  • feat(topbar): add a button that shows and hides the side columns, lit while they show (0.3.0)
  • feat(tokens): add the three thumbnail sizes the parts palette reported missing (0.3.0)
  • feat(steps): walk to the previous and next step with the mouse's back and forward buttons (0.3.0)
  • docs(notice): list three, its type declarations and the owner's icon art (0.3.0)
  • feat(shell): let the window open the desktop's open and save dialogs (0.3.0)
  • feat(library): answer an empty search inside a list with that list in its order (0.3.0)
  • feat(settings): keep the current colour and the recent colours in the engine (0.3.0)
  • feat(part): push each placed library part to the front of the recent parts (0.3.0)
  • feat(colours): add colours.used and colours.current to the catalogue (0.3.0)
  • feat(doc): send each placement's scene matrix with the document and its changes (0.3.0)
  • refactor(view): draw placements from the engine's scene matrix and the ghost from its scene pose (0.3.0)
  • fix(view): stop asking the engine for a mesh of a submodel when a model opens (0.3.0)
  • feat(colours): keep the current colour in the engine through colours.current (0.3.0)
  • feat(palette): start the recent colours from the engine's setting (0.3.0)
  • fix(palette): let the engine alone write the recent parts, on each placement (0.3.0)
  • fix(placing): draw no ghost until the first preview answer (0.3.0)
  • feat(placing): pass the connector marks of the preview to the ghost (0.3.0)
  • feat(shell): give the colour palette a taller box and let the right column's panels be resized (0.3.0)
  • style(palette): size the parts tiles from the thumbnail tokens (0.3.0)
  • refactor(icons): move the palette's four glyphs into the window's icon module (0.3.0)
  • fix(palette): keep the state title's box still when a library arrives (0.3.0)
  • docs(spec): seat a moved selection by its lowest part and keep it above the ground (0.3.0)
  • fix(placing): seat a dragged selection by its lowest part and lift it out of the ground (0.3.0)
  • fix(tree): give the model tree's part count a fixed column so the load shifts nothing (0.3.0)
  • fix(setup): bundle the engine's data files into the frozen engine and check them (0.3.0)
  • fix(colours): name the hue families colours.list takes and refuse any other (0.3.0)
  • docs(spec): let the pointer ray commands take the window's +Y-up scene axes (0.3.0)
  • docs(spec): list colours.used and colours.current in the catalogue at a glance (0.3.0)
  • docs(spec): ask before each outside agent's change unless the person allows it always (0.3.0)
  • docs(spec): name part.connectors as the way to print a part's connectors (0.3.0)
  • docs(spec): drop the toolbar row for the status bar's switches and the step strip (0.3.0)
  • docs(spec): let Ctrl+D copy the selection one grid step aside until the window drags (0.3.0)
  • docs(spec): mark the fine angle and the pivot tool as later; 0.3.0 turns by quarter turns (0.3.0)
  • refactor(palette): drop the parts palette's setColour, since thumbnails are neutral grey (0.3.0)
  • chore(agents): sync the manifest, the command reference and its mirrors with the colour commands (0.3.0)
  • fix(review): name no other vendor's product in the window's code and fonts (0.3.0)
  • fix(agents): open the generated command reference with a table of contents (0.3.0)
  • fix(skills): stop two driving references pointing at other references (0.3.0)
  • fix(view): read the colour table again when a library arrives after the window started (0.3.0)
  • fix(files): show the open dialog and the start card only once their recent files are in (0.3.0)
  • fix(library): name the running version in the fetch's user agent from app.version (0.3.0)
  • docs(readme): say what the window does now and what it does not yet (0.3.0)
  • fix(place): stop the drag body's copy field shadowing the model's copy method (0.3.0)
  • chore(release): 0.3.0

Version

v0.3.0 (the release commit is last). It moves the version sites the 0.2.0 release commit moved and adds the changelog section.

Checks

Run on Linux against the official library in a scratch folder, the window in a headless browser: every region and state screenshotted and read; a 25-part house built with the pointer (overlapping courses, a door opening, a roof of slopes, four steps), recoloured, walked step by step, saved as .fblk, reopened; the library's sample car opened and drawn (61 parts, transparent parts right); layout shift 0 under 4x CPU and a slow network across load and every interaction; picks at known pixels returning the right parts; 5,000 search results scrolled with 27 tile nodes alive; previews at a median 5 ms on 2,000 placements; the skill packs' three examples followed line by line; ./formblocks doctor; agents check; the MCP smoke script; a freeze of the engine with its self-check; the contract's checker (0 MUST failed); the registry's eight checks on the release commit (all pass).

Seen wrong and left for 0.4.0: over an open interior the pointer hits the ground, so a roof plate had to be lifted with the keyboard; placed parts cannot yet be dragged with the mouse; the model tree's top row is cut when scrolled.

Not run: any Tauri build; a GPU (frame times here are a software renderer's); any .bat script; macOS and Windows; ci.yml on GitHub. No tests were written; TEST_PLAN.md in the planning sidecar says what should be tested.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

…wner's art (0.3.0)

favicon.png (256 px), favicon.ico (16 to 256 px) and apple-touch-icon.png (180 px) are the full icon; mark.png is the dark mark without shadow, cropped to its bounds, for the splash and the top bar. The pages do not use them yet; that is the window lane's change in this version.
The README opens with the icon as the family's READMEs do, and its two sentences that said the icons were not drawn now say the app has them and that no desktop build has been run yet.
The viewport draws with three at the version FormCAD pins, MIT. The lock file was written by npm install. Checked: npm install resolves it; the viewport that uses it comes in the commits after this one.
…ks (0.3.0)

The type package FormCAD pins for three 0.186, MIT, as a development dependency. The lock file was written by npm install, which resolved it.
…(0.3.0)

index.html links favicon.png, favicon.ico and apple-touch-icon.png from public/ and preloads mark.png for the top bar. Checked: the four files exist in public/; looked at in the browser later in this turn.
…r (0.3.0)

The splash card draws public/mark.png at 96 pixels with its size written in the tag, in place of the inline square with the letter F. Checked: screenshot of the page headless at 360 by 280.
…'s regions (0.3.0)

tokens.css gains the widths of the parts palette and the right column, the heights of the colour palette, the details panel, the tabs and the step strip, row, swatch and field sizes, the card and preferences widths, a hud layer between raised and chrome for the viewport's overlays, and the overlay, swatch edge and selected-row colours, all for the regions this turn builds. Nothing uses them yet, so nothing on screen changes.
…e strings module (0.3.0)

The palettes' labels, list names, empty, loading and no-library states, the no-match suggestions of SPEC.md 2.3 and the colour group and hue names, with the reason in the folder's new hashout log. Checked: npm run typecheck.
…switches and the tree (0.3.0)

icons.ts gains hand-written currentColor icons for new, open, save and save as, the eye and the crossed eye, first, previous, next and last step, breaking a step, snapping, the grid, the overlap check, turning, duplicating, preferences, the tree's chevrons, a brick and a submodel, fetching, stopping, a folder, a warning, fit and the colour palette. No icon library. Checked: npm run typecheck.
…tes need (0.3.0)

Four inline currentColor glyphs in the window's icon form, falling back to ui/icons.ts for the rest, so the shell can adopt them without touching callers. Checked: npm run typecheck.
… ground studs under it (0.3.0)

The open question of 0.2.0 is settled: a ground stud is taken when the point 2 LDU above it lies inside a placement's shrunk body box, so a part held over a baseplate on the ground seats on the baseplate's studs or on nothing, never inside it. A part raised off the ground covers nothing. The free-connector rule of Candidate pairs names the new case. Not run: the code follows in the next commit.
…ibrary answers into plain shapes (0.3.0)

The public deps and handles of both panels and lenient readers for each engine answer, so a missing field becomes an empty value. Checked: npm run typecheck.
…lours and placing answers (0.3.0)

io/api.ts follows the shapes a running 0.2.0 engine answers, adds the changes, settings, library, colours, part, mesh, get and put calls, and asks POST /api/place/preview for a ghost's place, falling back to part.fit with the pointer ray while the route is missing. Checked: npm run typecheck; the answers were read with curl from an engine on 8343.
…0.3.0)

A small debounce with cancel and flush, and a ticket counter so an older search answer is discarded rather than drawn. Checked: npm run typecheck.
Decodes layout version 1 of the mesh format as views on the fetched buffer and refuses a buffer that fails any check. Checked with Node on the engine's mesh of 4315 (800 triangles, the expected bounds) and on a buffer cut by 4 bytes, which is refused.
…ate (0.3.0)

A ground stud whose point 2 LDU above lies in a neighbour's shrunk body box is taken, as CONNECTIONS.md now says. Checked on an engine with the 2026-10 library: a 3001 over a 3811 on the ground seats on the baseplate's studs or falls to the grid, never at y = -24 inside it; brick on brick and beside a brick unchanged.
… order in the engine's settings (0.3.0)

Optimistic local lists with ordered, non-overlapping PUT /api/settings writes of only the changed lists; a refusal is reported and the settings read again. Checked: npm run typecheck.
…(0.3.0)

ui/strings.ts holds the window's words grouped by region, with plural and fill helpers for counts and named values. The regions built next read their words from it. Checked: npm run typecheck.
Background, ground, selection, hover, ghost and blocked colours come from --view-* tokens, falling back to the nearest existing token and noting the missing names. Not yet run in a browser; it is checked with the viewport in a later commit.
…pack (0.3.0)

Says what LDU, the LDraw axes with -Y up, a part's origin, standing on the ground lattice, stacking heights and quarter-turn matrices mean for a driving agent. The numbers were checked by placing parts through ./formblocks cli against an engine on port 8345 with the library at /tmp/fb-lib/ldraw: every position named seated.
…port reads them (0.3.0)

The viewport's own narrow types over the engine's doc and changes answers, the colour table, the ghost and the pointer ray. Type-only; checked when the viewport compiles.
…issing part included (0.3.0)

One shared promise per part name over GET /api/parts/{name}, a 404 kept as null for the not-in-this-library mark, other failures asked again, at most 2,000 names kept. Checked: npm run typecheck.
…ine's matrix (0.3.0)

Writes C M C for an LDraw position and matrix and uses the placement's own scene matrix when the engine sends one. Checked by hand against scene.py's placement_to_scene; drawn in the viewport in a later commit.
…ead of unknown (0.3.0)

The library host answers the release of the library in use (the fetched archive's, else the index's newest update) and the .fblk writer puts it in the LIBRARY line; with no library the line read from the file is kept. Checked on an engine with the 2026-10 library: a save wrote LIBRARY 2026-10 and reopened, an .ldr export wrote no project lines.
Explains the four command kinds, the six fixed MCP tools, how a cmd_ tool is named from a command id, the command line's run form and its own subcommands, one call written three ways, and the older spec ids that do not run. Checked against ./formblocks cli commands (48 commands) and backend/app/automation/forms.py.
…(0.3.0)

16 takes the placement's colour, 24 its edge, direct colours are read from their bits and unknown codes take the table's 16. Checked against the shape of GET /api/colours on the engine; drawn in a later commit.
…d is about to show them (0.3.0)

SearchSource asks for 120-hit pages on demand and knows the total from the first; NameSource lists favourites, recent and hidden parts from the settings and fills each from the part route. Checked: npm run typecheck.
…nges on each revision (0.3.0)

The document store reads GET /api/doc once and on each reconnection, then GET /api/doc/changes?since=n for each revision, keeping every placement by id and every submodel by key with the document's state, and starts over on a reset answer. The read-only list and the status bar read the new store. Checked: npm run typecheck; the changes answer was read with curl after two drops.
…across batches (0.3.0)

Solid and transparent, one- and two-sided faces, and edge lines that read instance matrices, each mixing an instanced tint for fading, selection and hover. Drawn and looked at in a later commit.
Lists the command line's exit codes, every way an MCP call fails with its JSON-RPC code, the person's refusals, the commands' refusal sentences by the parameter they name, and answers that succeed but need a second look such as seated false. Each refusal was taken from backend/app/cmd and backend/app/automation, and the exit codes and several sentences were produced by ./formblocks cli runs against the engine on port 8345.
…0.3.0)

The placing module keeps the preview's marks with the last free place and hands them to the viewport, which draws a small square on each connector the ghost would join. Checked headless: a 2 by 2 plate over a 2 by 4 brick showed its marks.
…olumn's panels be resized (0.3.0)

--colours-h goes from 200 to 320 pixels, and two separators in the right column resize the colour palette and the details panel by dragging or with Up and Down, kept across starts and restored by a double click, as SPEC.md 1.2 asks. Checked: npm run typecheck; headless at 1440 by 900, drag, keys, reload and reset gave the expected heights.
--pp-thumb now reads --thumb-sm, --thumb and --thumb-lg from tokens.css instead of multiples of the spacing scale; the values are the same, so nothing moves. Checked headless: the medium picture square is 64 pixels.
…n module (0.3.0)

The star, grip, size squares and printed-parts picture are now ICONS entries in ui/icons.ts, and the palette's glyph is a re-export of icon, so no caller changed. Checked: npm run typecheck; the glyphs drew the same headless.
… (0.3.0)

The palette's state title was as wide as its words and centred, so changing No parts library yet to Loading parts moved it, a layout shift of 0.000039. The title now spans the box and the note has a fixed width. Measured under 4x CPU and a slow network: 0 when the library arrives.
…ve the ground (0.3.0)

SPEC.md 5.1 now says a move seats the lowest point of what is moved and nothing moved with the mouse ends below the ground, nudges and typed values staying exact; CONNECTIONS.md gains Moving several parts with the lead, the rigid motion and the ground guard. Decided because dragging the top brick of a stack to the ground carried the bricks under it below the ground.
… out of the ground (0.3.0)

drag now snaps the moving placement that reaches lowest (the grabbed one when level with it) and moves the rest rigidly with it, then lifts the whole move straight up if any part would end below y = 0, as spec/CONNECTIONS.md Moving several parts decides; the answer names lead and lifted. Checked against an engine on 8346: a stack dragged by its top brick stands on the ground or seats its lower brick on another brick.
…d shifts nothing (0.3.0)

The count in the tree's head sat in an auto column and moved when 0 parts became 61 parts, a load shift of 0.000006 at 1024 by 768. It now has the --num-w column, right-aligned. Measured under 4x CPU and a slow network at five window sizes, load and hard reload: 0.
… check them (0.3.0)

The engine opens stud.json, overrides.json and categories.json beside its modules; the freeze scripts now add each with --add-data to its package folder and refuse a freeze without one, and --selfcheck reports data_files. Checked: ./formblocks freeze with PyInstaller 6.22.3, self-check data_files ok, the frozen engine derived 3001's connectors. The .bat twin was not run.
… other (0.3.0)

The hue parameter said such as red or blue while the engine matches only the plural families reds to greys; the summary now lists them and all, another value is refused with the list, and SPEC.md 3.4's row names group and hue as built. Checked against an engine on 8346.
…e axes (0.3.0)

SPEC.md 0.2 said every number passed to a command is in LDraw's axes, but the ray commands and the place routes built in 0.3.0 take the viewport's ray in scene axes. Decided for the built form: the ray is the viewport's, the answers carry the LDraw pose too, placements stay in LDraw's axes, and part.place and part.fit remain the LDraw-axes forms for agents.
… a glance (0.3.0)

SPEC.md 21.2 gains the two colour commands built in 0.3.0, colours.current registered as view like the switches, and they leave the list of commands not yet in the catalogue.
…allows it always (0.3.0)

SPEC.md 17.2 gave the agents preference the first value ask once per session, against 0.3 and what is built, where each change or file command from an outside agent asks with deny, once or always until the person chooses always or allows or blocks every agent. Decided for the built rule, which keeps 0.3 and 14.7 whole.
…ors (0.3.0)

CONNECTIONS.md named a cli connectors subcommand that was never built; the operation is the catalogue command part.connectors, reached with cli run and as the MCP tool cmd_part_connectors, which the harness pack already uses. Decided for the built command rather than adding a second way in.
…e step strip (0.3.0)

The window was built with no toolbar row: the snap, grid and overlap switches are status bar buttons and the step controls are the step strip under the viewport, with the tools to come going into the top bar. SPEC.md 1.1, 1.2, 6.2, 7.1, 8.1, 11.1, 18.1 and 18.2 and NAMES.md now say so; decided for the built layout, which keeps the viewport taller.
…he window drags (0.3.0)

SPEC.md 5.4 asks for copies held as a ghost under the pointer; the window built in 0.3.0 has no drag of a selection yet, so Ctrl+D runs part.duplicate one grid step along X and the copies become the selection. Recorded as the 0.3.0 rule, with the ghost form kept as the aim and already served to agents by part.duplicate_at_ray.
…rns by quarter turns (0.3.0)

SPEC.md 5.2 describes the fine angle, its preference and the pivot tool, none of which is built: part.rotate and the held ghost turn by quarter turns only. A line under 5.2 now says so, so the specification does not promise what the window cannot do.
…ls are neutral grey (0.3.0)

SPEC.md 2.5 draws every thumbnail in a neutral light grey, so setColour did nothing and currentColour was never read; both leave the parts palette's contract and the side panel stops calling them. Decided for the specification. Checked: npm run typecheck; the palette drew its 64 pixel thumbnails headless.
…rs with the colour commands (0.3.0)

Written by ./formblocks agents sync after colours.used and colours.current were added and colours.list's hue parameter was reworded; ./formblocks agents check is clean.
…fonts (0.3.0)

Renames the thumbnail renderer's class, drops the makers' system font names from the font stacks of the tokens and the splash in favour of system-ui and ui-monospace behind the bundled faces, and describes rather than names a marketplace in the library log. Checked: npm run typecheck and a search of the code for the names.
…tents (0.3.0)

The skill gate warned (D4) that the 141-line command-catalogue.md had no contents; agents.py now writes a Contents section naming its two tables with their counts, and agents sync rewrote the reference and its mirrors. Checked: agents check clean, the gate without the D4 warning.
… (0.3.0)

The skill gate warned (D3) that error-codes.md and tool-naming.md sent the reader to a second reference, two levels deep. The flat-rotation row now gives the two quarter-turn matrices itself and tool-naming.md names the live catalogue without pointing at the copy; mirrors written by agents sync. Checked: both packs pass the gate with 0 FAIL and 0 WARN; agents check clean.
…he window started (0.3.0)

A window started without a library kept an empty colour table and drew every part in the pale fallback for colour 16 once a library folder was chosen. The viewport gains refreshColours, called by the host whenever the colour lookup reads a table, which recolours the batches in place. Checked headless: no library at start, a folder chosen, the house drawn in its own colours.
…ecent files are in (0.3.0)

Both filled their recent files after they appeared, so the open dialog's buttons jumped 124 pixels and the start card's rows 43 pixels. Each now reads model.recent first and shows itself when the rows are written. Checked: npm run typecheck; the full headless walk recorded no layout shift entry, with or without input.
… app.__version__ (0.3.0)

The user agent was the literal FormBlocks/0.2.0, a version site outside the list the release bumps; it now reads app.__version__. Checked in process.
…0.3.0)

The status notes still said there was no viewport and no parts palette. They now list what a person can do in the window at 0.3.0, what is missing (dragging placed parts, the stamp, pivot, brush and sampler tools, fine turns, the information panel, the parts list in the window, pictures of the view) and that the window was run headless with software rendering only.
…y method (0.3.0)

Renames the field to copies with the alias copy, so POST /api/place/drag reads the same key and pydantic's warning at every start goes. Checked against an engine on 8346 with copy true and false, and --selfcheck.
Moves every version site from 0.2.0 to 0.3.0 by hand: frontend/src/version.ts, frontend/package.json, both version fields of frontend/package-lock.json, backend/app/__init__.py, src-tauri/tauri.conf.json, src-tauri/Cargo.toml, the formblocks entry of src-tauri/Cargo.lock and the README's version badge; the skill packs' pack-version was already 0.3.0 and the fetch's user agent now reads the engine's version. Adds the v0.3.0 section of CHANGELOG.md.
@nodemode-ai
nodemode-ai merged commit 9622abe into main Nov 27, 2026
4 checks passed
@nodemode-ai
nodemode-ai deleted the feat/window-and-viewport-0.3.0 branch November 27, 2026 06:38
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