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
refactor: remove dead AppState.History and ServiceEarning.Delta (#48)
Both were populated/computed on every GetAppState but never read by the frontend
(they existed only in the type contract, never accessed). AppState.History ran a
200-row ListEarningsHistory query on every state read — now removed, which also
drops the query from the frequent event-driven refresh added recently. Removed
the now-orphaned store.ListEarningsHistory (its only caller) and trimmed its test
to keep the ListLatestEarnings coverage. Removed the dead fields from the frontend
bindings (wails.d.ts, models.ts) to keep the type contract in sync.
Verified: go build/vet/test -race and the frontend tsc && vite build all pass.
0 commit comments