Repository navigation
fix: name work goals by label, as #6325 names option and board cards - #6331
Merged
Merged
Conversation
#6289 stopped taking a widget's name from its leading <strong>, but the goal widgets declared no label, so readWork titled every goal by its id and the Leaf panel's activity row named an atlas task by all its words. lf-atlas-task and the fixture's lf-test-task now declare label, and each goal carries it beside the <strong> title it still draws, the split #6325 made for cards: label is the name Leaf reads, the <strong> is the title the page shows. Goals in the activity feed and the work projection show their names again. Closes #6329
leaf-agent
commented
Nov 18, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The usability eval's hub fixture has the same gap. evals/usability/fixtures/hub.html builds its page from examples/command-hub.page (dev/leaf_dev/usability_eval.py runs page init --package on it), but its three lf-atlas-task goals (goal-parser, parser-entities, parser-cdata) still have no label. So the eval's agent sees each goal named by its id, which is the symptom #6329 reports. I'll push a commit that gives those goals label beside their <strong> titles.
The hub fixture composes examples/command-hub.page, whose lf-atlas-task now takes label; without it the eval's goals were named by their ids.
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.
#6289 stopped taking a widget's name from its leading
<strong>and has widgets name themselves withlabel. But the goal widgetslf-atlas-task(command-hub) and the fixture'slf-test-taskdeclared nolabel, soreadWorktitled every goal by its id (addressableName(goal) || goal.id), and the Leaf panel's activity row on command-hub named an atlas task by all its words, status chip included. Both widgets now declarelabel, and each goal inexamples/command-hub.html, in the usability eval'sevals/usability/fixtures/hub.html(which composes the command-hub package) and in the work tests carries it beside the<strong>title the widget still draws.#6329 left the choice open between this and dropping the
<strong>. #6325, merged since, settled it for cards:labelis the name Leaf reads, and the<strong>is the title the page shows. This PR applies that split to goals. As #6325 notes for cards, each name is now written twice and the two copies can drift.Verification: these three tests failed on
mainatb8f70ba96and pass with this change:tests/browser/test_render_work.py::test_public_work_roles_preserve_scope_remit_and_reportstests/browser/test_render_work.py::test_a_page_owned_goal_joins_the_public_projectiontests/browser/test_render_projection.py::test_atlas_send_and_pause_is_one_thread_foldThe rest of
test_render_work.py,tests/model/interact_contractandtests/model/test_model_folds.pyalso pass.leaf page checkon a command-hub preview reports status 0.Closes #6329 — automated triage