Skip to content

Batch: #546 #547 #548 #550 #551 #552 #554 #556 #557 - #561

Merged
bubulux merged 11 commits into
mainfrom
feat/batch-546-557
Dec 3, 2026
Merged

bubulux merged 11 commits into
mainfrom
feat/batch-546-557

Conversation

@bubulux

@bubulux bubulux commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

One branch for the batch, one commit per issue (#555 was solved elsewhere).

Closes #546
Closes #547
Closes #548
Closes #550
Closes #551
Closes #552
Closes #554
Closes #556
Closes #557

What changed and the decisions

Issue Change
#550 An empty cut keeps its track element mounted, so it works as a drop zone and lights up during a drag.
#548 New GET /api/projects/:id/next-name?type= shows the next name without raising the counter. The Studio's prompts for a new collection and a new folder are prefilled with it; if the name is left unchanged, the server assigns it, so a cancel uses up no number. The phone (Make a collection) and Flows (new flow) send no name and use the server's.
#547 Import uses upload. The tick is gone (owner's choice); choosing photos for a collection now starts with a long-press on a photo, so it stays possible. Stacked/spread is now a two-way switch next to All photos / Folders (on its own inside a folder).
#546 The passphrase backup is removed (phone UI, keyBackup.ts, keySeal.ts, the key-backup routes). Migration 0002 drops hw_mesh_networks.key_backup and key_backup_at: destructive, the owner chose to delete the stored backups. The header's lock is now a gear that opens Hardware settings: where each network's keys are, plus the key file. Taking a network over only happens through a key-file import.
#556 take_over: true on the lock route takes the lock from another window of the same person; the window that loses it learns at once through the room (messages now carry until and holder). Viewers re-read the lock when the lock they show would have run out. No release on idle (owner's choice). The cause is not reproduced; there is an entry in known-issues.
#552 The canvas editor gets its own Properties panel (selection, or the paper when nothing is selected), above Layers/Frames/Comments (new dock key canvas.v2, so existing saved layouts reset once). The toolbar's colour and width also apply to the selection.
#554 Grid on blank paper: surface.grid = cells across (2–64), stored, drawn in the editor only (not in render or thumbnail), and moving objects snap to it. The Flows stage was not touched (owner).
#551 Paper in any ratio (W × H); reshapePaper keeps the size and place of objects and comments relative to the middle (unit: the shorter side). The highlighter has no blend any more (it was invisible on white). Kept colours: body.colours (max. 12, newest first), shown in every colour chooser of the canvas, removed with a right-click or long-press (ColorChooser gets kept/onForget, shown in the specimen).

Bug found along the way: a click on a row in the Layers panel selected nothing (the row was captured for drag-reordering as soon as it was pressed). It is now captured only once a drag starts.

Checked

  • make check green (lint, typecheck, unit and route tests, build dry runs). New tests: next-name peek, take-over, room messages, grid/colours validation, reshapePaper.
  • Clicked through in the Studio (Playwright, local): Properties panel, grid switch, own ratio 9×9 (rectangle keeps its size and place), selection colour from the toolbar, colour kept and removed by right-click, highlighter visible on white, Layers click and reorder, empty timeline takes a dragged canvas.

Not clicked through

🤖 Generated with Claude Code

bubulux and others added 10 commits December 3, 2026 14:01
The strip kept no track element while the cut was empty, so a drag found no place to drop. It is now a drop zone that lights up under a drag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GET /api/projects/:id/next-name shows the next name without raising the counter. The Studio's prompts for a collection and a folder are prefilled with it; kept as it is, the server names the file. The phone and Flows send no name and use the server's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#547)

Choosing photos for a collection now starts with a long-press on a photo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The recovery passphrase, the per-network backup/restore rows and the key-backup routes are gone; migration 0002 drops the stored backups with their columns (the owner chose to delete them). The header's lock becomes a gear that opens Hardware settings: where each network's keys stand, and the key file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n a lock runs out (#556)

POST /api/files/:id/lock takes take_over: true to take the lock from another window of the same person; the room's editor messages carry the lock's end and the holder, so the window that lost it becomes a viewer at once. A viewer showing someone editing reads the file again when that lock would have run out. Cause of the report not reproduced; noted in known issues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lours (#552, #554, #551)

- Properties of its own above Layers/Frames/Comments: the selection, or the paper with nothing selected; the toolbar's colour and width change the selection too.
- A grid on blank paper (stored, editor only, snapped to); not shared with the Flows stage.
- Paper of one's own ratio; objects and comments keep their size and place (reshapePaper).
- Kept colours per canvas in the body (at most 12), removable; the highlighter without a blend so it shows on white.
- A click on a layer row selects again: the row was captured on press for the reorder drag, so the click went to its block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A photo steps to its neighbours in the list the grid showed ("3 / 12" in the header, the ends stop); a tap shows it alone on black, where pinch or double-tap zooms and loads the original.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd Recent in the colour chooser

PropertyLine lays controls side by side with a short label; NumberSlider pairs a slider with its number; NumberInput can commit on Enter or blur. The colour chooser heads its two rows and no longer marks a recent colour twice (once more on the own button).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…size, a compact Properties panel (#551, #554 feedback)

The paper has a width and height of its own (fields, or dragging its right or bottom edge); its top-left corner and the objects stay, and the view keeps its scale. A ratio preset keeps the height. The grid's cells are in pixels and its lines take a colour. Properties use compact lines with numbers beside the sliders. Escape in a colour chooser keeps the selection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bubulux

bubulux commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

Feedback round (ff91eda, 621e808):

  • Paper: a free size in pixels (W and H fields, or drag the right/bottom edge or the corner). The top-left corner and the objects stay, and the view keeps its scale. Ratio presets keep the height. This replaces the ratio-only fields.
  • Grid: cells are now a size in pixels (they no longer stretch with the paper) and the lines take a colour.
  • Properties: compact lines with short labels, the name without a label, a number beside every slider (stroke width, opacity, looks; the toolbar too). Shared components: PropertyLine, NumberSlider; NumberInput can commit on Enter or blur.
  • Colour chooser: Defaults and Recent rows, headed and separated. A recent colour is no longer marked twice (the own button showed it too). Escape in a chooser keeps the selection.

make check green; clicked through locally.

As on a flow's stage: shown, unlocked objects (a group as a whole); Shift adds to the selection; a click on empty paper still clears it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bubulux
bubulux merged commit 7c2d557 into main Dec 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment