Skip to content

feat(ui): add delay support to Spin#94

Merged
wyf027 merged 3 commits into
mainfrom
codex/spin-delay-2026-07-08
Jul 8, 2026
Merged

feat(ui): add delay support to Spin#94
wyf027 merged 3 commits into
mainfrom
codex/spin-delay-2026-07-08

Conversation

@wyf027

@wyf027 wyf027 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a delay prop to Spin so short loading states can avoid flashing a spinner/status region.
  • Keep wrapped content aria-busy aligned with the real spinning state while delaying only the visual spinner and live region.
  • Cover delayed display and cancellation in tests, and update the VitePress example with Tailwind layout classes.

Validation

  • GitHub Actions CI run 28906237411 passed for commit a42a39c4450d16bb0fa0f8113be26d04bac95c69.
  • CI quality job passed: Install, Lint UI, Typecheck UI, Test UI, Build UI, Build docs.
  • Local npm run lint:ui, npm run typecheck:ui, npm run test:ui, and npm run build could not be executed because the local shell runner failed to create a process in this Codex environment.

@ecc-tools

ecc-tools Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

@wyf027
wyf027 merged commit 79f1fc8 into main Jul 8, 2026
1 check passed
@wyf027
wyf027 deleted the codex/spin-delay-2026-07-08 branch July 8, 2026 03:18
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