Repository navigation
Remove unanswered Ask count badges from tabs - #1556
Merged
Merged
Conversation
leaf-agent
approved these changes
Oct 2, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 4, 2026
A side-list queue showed no progress: #1556 removed the open-Ask count from tab rows, so a row whose item was answered looked the same as one still open. Now, once every Ask in an item is answered, its row shows a check beside the name. Where the item holds one Ask, the picked option's title follows the check, cut to the row's width. The tab's accessible description adds "Answered: <title>", or "All N Asks answered" for several Asks. Whether an Ask is answered comes from the admitted Ask inventory, as the Asks drawer reads it, so a pick and an undo both reach the row when their POST's state is adopted (about 35ms against a local server). AGENTS.md settles Ask readings at that boundary and forbids the browser folding the answer a second time. An undo shows "✓ No options selected" for that round trip, as the drawer row does. The words come from the owning widget's `answer` reader. - `asks/answer.js` is the one home for an Ask's answer words. The drawer's row model and lf-tabs both read it. `answersWithin(root)` gives the answers of the Asks inside an element, across declared shadow roots. `watchAnswers` reads again once those Asks' widgets have presented, because a widget registers its answer reader as it renders, so a revision that rebuilds one has no words at the publication itself. A widget declaring two answer readers is reported and costs only its own row the answer. - A row asks whether its item is decided, so it should stay checked after the agent settles the question. The page's Ask inventory (`inventory` in `asks.py`) now keeps an Ask whose standing answer admission marked as `meaning.answer`, after a later version retires the question around it, as `settled` does. **Interim, with a side effect on every page:** such an Ask also stays in the Asks drawer as an answered row and keeps counting in the banner's Asks progress (7/9 after seven settled rounds, where main reads 0/2), and a re-pick on a settled group, which admission does not stamp as an answer, drops it. The forthcoming Tasks model replaces this reading; comments at both sites say so. - The answer column is reserved only on rows whose panel authors an Ask, so an answer moves no row and other rows wrap their names as before. The answer is an inline-size container that hides its words below 5em, so a name that wraps leaves the check alone, and the words never widen a stacked phone row. `test_a_side_list_is_a_queue_beside_the_item_it_opens` replaces its assertion that a pick leaves the row unchanged: it checks the row and its description after a pick, holds the undo's POST to check the row stays answered until the reply lands, and settles the group by revision to check the row keeps the answer. The feature gallery's side-list scenario and `page-authoring.md` ("A workspace") describe the row, the corpus is regenerated, and the TODO entry is removed. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
Remove the unanswered-Ask count from tab labels, including side-list queues. Delete its subscription, rendering and reserved CSS slot, and update the guide, feature gallery, generated corpus and browser coverage.
Validation: the complete Python gate (1,527 tests), runtime tests (189), tab and side-list browser tests, and pre-commit pass. Desktop and phone browser comparisons confirm the removal. Startup keeps the same request count and loads fewer bytes.