Skip to content

Let a worker row reach the frame its goal rows reach - #1210

Merged
max-sixty merged 1 commit into
mainfrom
command-measure
Sep 26, 2026
Merged

max-sixty merged 1 commit into
mainfrom
command-measure

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

On a wide page, an lf-agent row in a goal tree ended its hairline short of the rows beside it: the goal rows (lf-task) declare x-measure: group and fill their frame, while the worker, undeclared markup, was text and kept the 720px measure. In the Command Hub example at 1440px the lead's row stopped 31px short of the panel and the goals' chips; a worker under a goal of an lf-tasks tree straight on the page stopped 500px short.

The fix is on the worker rather than on lf-command. Holding the command to the measure (x-measure: text, as #1198 did for lf-options) lines its rows up only by pulling every goal row 109px off the panel's edge, and leaves lf-tasks as it was, since the worker stands under goals in both trees. lf-agent now declares group, the same as its sibling lf-task: nothing else on the example page moves, and a roster, which is a surface already, is unchanged. The $keys text for group names the row case, and docs/registry.html follows.

Test: test_a_worker_row_on_a_wide_page_reaches_the_frame_its_goals_reach.

This was written by Claude Code on behalf of max-sixty

🤖 Generated with Claude Code

On a wide page, an `lf-agent` row in a goal tree ended its hairline short
of the rows beside it: the goal rows (`lf-task`) declare `x-measure:
group` and fill their frame, while the worker, undeclared markup, was
text and kept the 720px measure. In the Command Hub example at 1440px
the lead's row stopped 31px short of the panel and the goals' chips; a
worker under a goal of an `lf-tasks` tree straight on the page stopped
500px short.

The fix is on the worker rather than on `lf-command`. Holding the command
to the measure (`x-measure: text`, as #1198 did for `lf-options`) lines
its rows up only by pulling every goal row 109px off the panel's edge,
and leaves `lf-tasks` as it was, since the worker stands under goals in
both trees. `lf-agent` now declares `group`, the same as its sibling
`lf-task`: nothing else on the example page moves, and a roster, which
is a surface already, is unchanged. The `$keys` text for `group` names
the row case, and `docs/registry.html` follows.

Test: `test_a_worker_row_on_a_wide_page_reaches_the_frame_its_goals_reach`.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 78aac4e into main Sep 26, 2026
5 checks passed
@max-sixty
max-sixty deleted the command-measure branch September 26, 2026 15:23
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.

2 participants