Repository navigation
Let a worker row reach the frame its goal rows reach - #1210
Merged
Merged
Conversation
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]>
leaf-agent
approved these changes
Sep 26, 2026
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.
On a wide page, an
lf-agentrow in a goal tree ended its hairline short of the rows beside it: the goal rows (lf-task) declarex-measure: groupand 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 anlf-taskstree 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 forlf-options) lines its rows up only by pulling every goal row 109px off the panel's edge, and leaveslf-tasksas it was, since the worker stands under goals in both trees.lf-agentnow declaresgroup, the same as its siblinglf-task: nothing else on the example page moves, and a roster, which is a surface already, is unchanged. The$keystext forgroupnames the row case, anddocs/registry.htmlfollows.Test:
test_a_worker_row_on_a_wide_page_reaches_the_frame_its_goals_reach.🤖 Generated with Claude Code