Skip to content

fix(planning): show live and archived question counts beside interview question ids - #8092

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-7758-39105793262-1
Oct 18, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-7758-39105793262-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #7758

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The interview page header now shows "N live, M archived" as visible text beside the meter, so question ids (one session counter) are no longer read as a question count. The archived count stays in the meter tooltip too.

Fix

  • plugins/planning/surface/index.html: new #qCounts header element filled in renderHeader with live and archived counts, plus its separator style
  • plugins/planning/surface/tests/ui_a.js: asserts the header counts text format
  • plugins/planning/surface/tests/ui_c.js: asserts exact live and archived counts with an archived question present
  • .changes/planning/fix-7758-question-counts-3f9a1c2e.md: patch changelog fragment

Verification

The run reports:

Left out: nothing the run reported.

Related

#7758

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 70459d22c5992166b1c8e9fac42d51ef19aac6c6: 0 finding(s), 0 as inline comments.

No security issues found in PR #8092 at head 70459d2.

The diff adds a changelog fragment, a .qcount span in plugins/planning/surface/index.html, and test assertions. The new span is filled through textContent from two numeric array lengths, so no HTML or script injection is possible. The title is a static string. No standing instruction, hook, permission or auth control is removed or softened. The instruction-exception register was not consulted, because the diff touches no instruction surface.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 70459d22c5992166b1c8e9fac42d51ef19aac6c6: 0 finding(s), 0 as inline comments.

No findings. I read the full diff and the closing issue #7758 and checked the CSS and renderHeader in plugins/planning/surface/index.html. I did not run the test suite. The 563-pass result and the check-changelog-fragments result in the PR body are the author's claims, and I did not confirm them.

  • Closing issue fix(planning): show live and archived question counts beside interview question ids #7758: Its criterion is that the header or Rounds view shows live and archived counts as visible text, not only in a tooltip, with a UI test that has archived questions. The change meets it. #qCounts renders "N live, M archived" in the header meter. The archived count stays in the #meterText tooltip too.
  • Tests: ui_c.js asserts the exact text against a fixture that has an archived question (archN > 0). ui_a.js asserts the format. Both tests could fail if the element or text broke.
  • Code: na0 is declared once, inside renderHeader, and does not collide with another name. l is the live list and the archived filter is the same one the tooltip already used, so the two counts stay consistent.
  • Layout: The .qcount::before separator matches the existing .mlink.sep::before style. The .meter flex container already wraps, so the new span fits.
  • Path-scoped rules: No file in .claude/rules/ has a paths: glob that matches the changed files. They are all under plugins/planning/surface/, .changes/ or tests.
  • Changelog fragment: It is a patch fix under the planning directory, which fits the repository's fragment convention.
  • Paved paths: I did not resolve the standards index, so I report nothing on paved paths.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path enqueued this pull request at head 70459d22c5992166b1c8e9fac42d51ef19aac6c6.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit de9bf79 Oct 18, 2026
28 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-7758-39105793262-1 branch October 18, 2026 13:22
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.

fix(planning): show live and archived question counts beside interview question ids

0 participants