Home

dev / openkara

publicthedavidweng/OpenKara· sync paused
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(remote): use as_str for diagnostics, regenerate changelog

2 months ago

5d9ae19
Authored
Davy7/20/2026, 8:35:07 PM
- Use enum as_str() methods instead of format!("{:?}").to_lowercase()
  for LocalState, OperationKind, and OperationState in diagnostics IPC.
  The Debug-derived format drops underscores for multi-word variants
  (ReauthRequired -> reauthrequired, DownloadAsset -> downloadasset,
  RetryWait -> retrywait), which does not match the snake_case values
  documented by the contract. The as_str() methods return the correct
  snake_case strings.
- Regenerate CHANGELOG.md with pnpm changelog so the frontend states
  entry is produced by git-cliff with the proper PR reference, instead
  of being hand-written.

Parent6453f89

2 files changed
  • CHANGELOG.md+1−1
  • src-tauri/src/commands/remote_library/mod.rs+3−3