You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser acceptance of the styled admin console found that submitting a basic user search includes default sort=id and direction=asc values, causing the advanced-filter disclosure to reopen even when no advanced filters are selected. Keep it collapsed for default sort settings and expand it for actual advanced selections. Fix and regression coverage are being included in jimhoyd-com/urlcode-admin#4.
Fixed in admin commit 3cc257706b4594257d8b73dca133b7b931bd86f6, included in jimhoyd-com/urlcode-admin#4. Regression coverage and all34 admin tests pass. Final built-tarball browser test confirms a basic search keeps advanced controls collapsed while displaying the empty-result guidance. Leaving issue open until the PR merges.
Verified fixed on jimhoyd-com/urlcode-admin@edb6de8 (admin PR #4, merged as part of #5).
src/admin-reporting.ts:67-68 treats the default sort controls as non-advanced: the disclosure opens only when an advanced key carries a value that is not sort=id or direction=asc.
test/admin-reporting.test.ts:37 asserts a default browser GET (query, status, sort=id, direction=asc) leaves the disclosure collapsed, and line 38-39 asserts it opens for each of sort=email, direction=desc, role=member and verified=false — so both directions are covered, not just the reported symptom.
Activity
jimhoyd commentedon Sep 18, 2026
Fixed in admin commit 3cc257706b4594257d8b73dca133b7b931bd86f6, included in jimhoyd-com/urlcode-admin#4. Regression coverage and all34 admin tests pass. Final built-tarball browser test confirms a basic search keeps advanced controls collapsed while displaying the empty-result guidance. Leaving issue open until the PR merges.
jimhoyd commentedon Sep 18, 2026
The advanced-filter default-state fix and regression coverage have merged into urlcode-admin main through the reviewed admin PRs. Admin verification now passes on Node22/24/26: https://github.com/jimhoyd-com/urlcode-admin/actions/runs/35295649183 . Default sort settings keep advanced filters collapsed; actual advanced selections expand them.
jimhoyd commentedon Sep 18, 2026
Verified fixed on
jimhoyd-com/urlcode-admin@edb6de8(admin PR #4, merged as part of #5).src/admin-reporting.ts:67-68treats the default sort controls as non-advanced: the disclosure opens only when an advanced key carries a value that is notsort=idordirection=asc.test/admin-reporting.test.ts:37asserts a default browser GET (query,status,sort=id,direction=asc) leaves the disclosure collapsed, and line 38-39 asserts it opens for each ofsort=email,direction=desc,role=memberandverified=false— so both directions are covered, not just the reported symptom.Closing as completed.
Generated by Claude Code