Skip to content

Remove unanswered Ask count badges from tabs - #1556

Merged
max-sixty merged 1 commit into
mainfrom
codex/remove-tab-ask-count
Oct 2, 2026
Merged

max-sixty merged 1 commit into
mainfrom
codex/remove-tab-ask-count

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

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.

This was written by Codex on behalf of max-sixty

@max-sixty
max-sixty merged commit f0472a8 into main Oct 2, 2026
5 of 6 checks passed
@max-sixty
max-sixty deleted the codex/remove-tab-ask-count branch October 2, 2026 04:06
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]>
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