Skip to content

fix: add paused account filter#1403

Open
LvyuanW wants to merge 1 commit intoWei-Shaw:mainfrom
LvyuanW:account-status-paused-filter-main
Open

fix: add paused account filter#1403
LvyuanW wants to merge 1 commit intoWei-Shaw:mainfrom
LvyuanW:account-status-paused-filter-main

Conversation

@LvyuanW
Copy link
Copy Markdown
Contributor

@LvyuanW LvyuanW commented Mar 31, 2026

Summary

  • add the missing paused option to the account status filter dropdown in account management
  • make paused filtering work end-to-end by treating paused as schedulable=false in frontend and backend filtering
  • cover the paused filter with frontend and repository tests

Root Cause

The account management status dropdown did not include the paused state, and paused filtering logic was missing from the account list filter pipeline.

Validation

  • env PATH=/Users/apple/.nvm/versions/node/v20.19.5/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Users/apple/.codex/tmp/arg0/codex-arg0BeN2uO:/Users/apple/.gvm/pkgsets/go1.25.7/global/bin:/Users/apple/.gvm/gos/go1.25.7/bin:/Users/apple/.gvm/pkgsets/go1.25.7/global/overlay/bin:/Users/apple/.gvm/bin:/opt/homebrew/opt/ffmpeg-full/bin:/Users/apple/.antigravity/antigravity/bin:/Users/apple/.langflow/uv:/Users/apple/.catpawai/bin:/Users/apple/.bun/bin:/Users/apple/.local/bin:/Users/apple/miniconda/bin:/Users/apple/miniconda/condabin:/Users/apple/.jenv/shims:/Users/apple/.jenv/bin:/Users/apple/.sdkman/candidates/maven/current/bin:/Users/apple/.sdkman/candidates/java/current/bin:/Users/apple/.nvm/versions/node/v17.9.1/bin:/Applications/Codex.app/Contents/Resources pnpm exec vitest run src/components/admin/account/tests/AccountTableFilters.spec.ts
  • env GOCACHE=/tmp/go-build GOMODCACHE=/tmp/go-mod go test -tags=integration ./internal/repository -run TestAccountRepoSuite/TestListWithFilters

@LvyuanW LvyuanW marked this pull request as ready for review March 31, 2026 03:51
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.

1 participant