feat(ui): show save status on settings fields #157

Merged
dries merged 1 commit from feat/settings-save-status into main 2026-06-24 23:25:23 +02:00
Owner

Summary

  • Add a GitHub-style inline save indicator: spinner while a save request is in flight, a checkmark that auto-clears after 5s, and an error mark on failure.
  • Wire it into the three previously-silent save spots in Settings: auto-approve human-review delay input, reviewer prompt sections, and the PR/Issue template textareas.
  • New useSaveStatus hook + <SaveStatus> component; reuses the existing .oc-spinner style.

Testing

  • make lint (go vet, tsc, eslint, platform-branching all pass; pre-existing host-helper failure on main is unrelated)
  • pnpm test — 1278 passed, incl. new SaveStatus.test.tsx
## Summary - Add a GitHub-style inline save indicator: spinner while a save request is in flight, a checkmark that auto-clears after 5s, and an error mark on failure. - Wire it into the three previously-silent save spots in Settings: auto-approve human-review delay input, reviewer prompt sections, and the PR/Issue template textareas. - New `useSaveStatus` hook + `<SaveStatus>` component; reuses the existing `.oc-spinner` style. ## Testing - `make lint` (go vet, tsc, eslint, platform-branching all pass; pre-existing host-helper failure on main is unrelated) - `pnpm test` — 1278 passed, incl. new `SaveStatus.test.tsx`
feat(ui): show save status on settings fields
All checks were successful
CI / Frontend (pull_request) Successful in 4m16s
CI / Backend (pull_request) Successful in 5m17s
CI / Build Desktop (macOS arm64) (pull_request) Successful in 53s
CI / Build (pull_request) Successful in 3m22s
CI / Coverage Ratchet (pull_request) Successful in 5m6s
CI / Playwright E2E (pull_request) Successful in 3m24s
CI / Semantic Tag (pull_request) Has been skipped
5c3d5ec853

Coverage ratchet: pass

Suite Baseline This PR Δ
go 68.90% 68.90% +0.00
frontend 54.21% 54.28% +0.07

Tolerance: -0.1%. Baseline stored on gh-pages.

<!-- coverage-ratchet --> ### Coverage ratchet: ✅ pass | Suite | Baseline | This PR | Δ | | |---|---|---|---|---| | go | 68.90% | 68.90% | +0.00 | ✅ | | frontend | 54.21% | 54.28% | +0.07 | ✅ | _Tolerance: -0.1%. Baseline stored on `gh-pages`._
dries merged commit 693593427e into main 2026-06-24 23:25:23 +02:00
Sign in to join this conversation.
No description provided.