Skip to content

feat: clean error favorites and history - #4

Merged
josexy merged 1 commit into
mainfrom
codex/clean-error-records
Jul 25, 2026
Merged

feat: clean error favorites and history#4
josexy merged 1 commit into
mainfrom
codex/clean-error-records

Conversation

@josexy

@josexy josexy commented Jul 25, 2026

Copy link
Copy Markdown
Owner

What changed

  • add “Clean errors” actions to Favorites and History in the requested toolbar locations
  • show a confirmation dialog before cleanup
  • refresh saved server snapshots before selecting records for deletion
  • delete only records whose fresh snapshot still contains lastQueryError
  • abort deletion when the batch refresh fails
  • add Chinese and English UI copy and running/result states

Why

Stored server status can become stale. Refreshing immediately before cleanup prevents accidentally deleting records that have recovered since the previous query.

User impact

Favorites cleanup is limited to the currently selected group. History cleanup removes all history records associated with servers that still report an error after the fresh query.

Validation

  • npm run build
  • cargo test --manifest-path src-tauri/Cargo.toml (130 tests passed)
  • git diff --check
  • Tauri development app startup smoke test

@josexy
josexy merged commit 01e88fb into main Jul 25, 2026
2 checks passed
@josexy
josexy deleted the codex/clean-error-records branch July 25, 2026 01:56
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