Skip to content

Filter Inbox sections by repository - #2277

Merged
JacobStephens2 merged 3 commits into
mainfrom
issue-2217
Nov 18, 2026
Merged

JacobStephens2 merged 3 commits into
mainfrom
issue-2217

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

 Inbox filters
   Machine
+  Repository
   Section counts and rows follow both choices
+  Pending choices survive live refreshes

Closes #2217

Test seams

  • Console HTTP Inbox rendering and filter navigation, with fixture Command records and paired Fleet Consoles.
  • Console browser filter submission, section navigation and responsive layout, with and without JavaScript.

Evidence

Execution evidence

  • Before: cargo test --test console repository_filter_narrows_every_inbox_section_and_keeps_navigation
    failed with repository filter leaked another repository's rows (0 passed; 1 failed).
    After: the same command passed (1 passed; 0 failed). HTTP checks also cover all six sections, case-insensitive matching, distinct choices, empty results, clearing the choice, preserved links and a selected Fleet peer.
  • Before: node --test --test-name-pattern='Repository filtering' console/tests/inbox.test.cjs
    failed after a live refresh reset the pending Machine choice: '' !== 'thirdshift'.
    After: the same command passed against embedded assets (1 passed; 0 failed), at both viewports with and without JavaScript.
  • Before: the Spec review reproduction bash /tmp/issue-2217-spec-repro.sh failed with 'overview' !== 'done' after Overview → Done → Repository submission.
    After: the same reproduction passed (exit 0); the deterministic case is retained in the browser suite.
  • npm run docs:check --prefix site: passed.
  • cargo fmt --check: passed.
  • scripts/affected-tests main: site checks passed (72), Console browser checks passed (262), and the Rust run stopped on an existing Fleet Plan usage peer-availability assertion (537 passed; 1 failed). That test passed alone with cargo test --test console plan_usage::fleet_plan_usage_groups_shared_logins_and_keeps_an_offline_peer_cached -- --exact (1 passed; 0 failed).
  • Complete Rust rerun passed: /usr/bin/time -p cargo nextest run --test-threads 3 --no-fail-fast — 4,798 passed, 0 failed, 213 skipped; 5,140.88 seconds wall time with test binaries already built. This follows the repository guidance for load-sensitive failures.

Visual evidence

All captures use synthetic Command records and the same /?section=done&repository=acme%2Fwidgets state.

Before — Done repository filter, desktop 1440×900

Before Done repository filter at 1440×900

After — Done repository filter, desktop 1440×900

After Done repository filter at 1440×900

Before — Done repository filter, mobile 390×844

Before Done repository filter at 390×844

After — Done repository filter, mobile 390×844

After Done repository filter at 390×844

Unaddressed findings

Standards

None. No findings were skipped or declined.

Spec

None. The one finding was reproduced with bash /tmp/issue-2217-spec-repro.sh ('overview' !== 'done'), fixed in ee7c7edf, and verified with the same command (exit 0). Its regression is retained as Submitting Repository after navigating from Overview keeps the displayed folder in console/tests/inbox.test.cjs.

Security

None. No unaddressed introduced findings.

Security review outcome

No unaddressed introduced findings.

CI notes

  • site-test, run 44403699898 hit its unchanged 10-minute job timeout during Playwright installation (APT: 32.1 MB in 9 minutes at 59.3 kB/s); npm test never ran. The workflow, setup script, package files and site tests are unchanged versus origin/main; local npm test --prefix site passed all 72 tests.

Review coverage

Independent Standards and Spec reviews used git diff refs/remotes/origin/main...HEAD, fixed at e137ab54ec9758cc3b06b28f6e857bede4ac6281, with follow-up coverage of ee7c7edf. Standards: 0 findings. Spec: 1 finding, fixed. Both axes read all 12 changed files, including the generated manual hunk. Unread changed files: none. Generated-output exclusions: none.

Merge Danger

Door: two-way

Blast Radius: Console

Filters only Inbox page rows and Landing references after Machine selection. Active-run totals and the status CLI/API keep their existing behavior. No persistent format or configuration changes.

Built with codex codex-cli 0.167.1 · gpt-6.1-sol · xhigh

@JacobStephens2
JacobStephens2 merged commit 8e123e5 into main Nov 18, 2026
37 of 38 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-2217 branch November 18, 2026 22:08
@JacobStephens2 JacobStephens2 mentioned this pull request Nov 19, 2026
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.

On /?section=done I want to be able to filter my view to a particular repository

1 participant