Skip to content

fix(web): align prompt loading spinner styles - #482

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
BharadwajKanneveti:fix/compact-loading-spinners
Jul 19, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
BharadwajKanneveti:fix/compact-loading-spinners

Conversation

@BharadwajKanneveti

Copy link
Copy Markdown
Contributor

Summary

Align the loading states on the Prompts page by updating the two table/insights loading spinners to match the existing Prompt Suggestions card.

Changes

  • Replace the large (h-8 w-8) loading spinner with the compact (h-5 w-5) spinner.
  • Replace the min-h-[300px] loading container with a compact py-10 container.
  • Apply the same loading style to both the All Prompts table and Insights loading states for a consistent UI.

Related issue

Closes #469

Type of change

  • fix — Bug fix
  • feat — New feature
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked against main — both oversized spinner blocks covered, matches the suggestions card exactly. Thanks for the tidy fix!

@gkhngyk
gkhngyk merged commit 9bdde95 into ansvisor:main Jul 19, 2026
4 checks passed
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.

Prompts: All Prompts loading spinner is oversized next to the suggestions card

2 participants