Skip to content

fix(prompts): prevent skeleton flash when tracking fan-out query - #407

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
Sam-syntax35:fix/query-fanout-track-no-skeleton
Jul 11, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
Sam-syntax35:fix/query-fanout-track-no-skeleton

Conversation

@Sam-syntax35

Copy link
Copy Markdown
Contributor

Summary

This PR fixes the Query Fan-out tracking experience by updating only the tracked row locally instead of reloading the entire table.

Changes

  • Removed the full-table reload after tracking
  • Updated the tracked row in local component state
  • Preserved the existing inline loading spinner
  • Prevented the loading skeleton from appearing after tracking

Testing

  • Verified only the clicked row updates
  • Confirmed no skeleton flash occurs
  • Confirmed existing tracking behaviour remains intact

Fixes #346

@Sam-syntax35
Sam-syntax35 force-pushed the fix/query-fanout-track-no-skeleton branch from c900cf9 to 24b4bbb Compare July 11, 2026 14:18

@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.

Exactly the fix #346 asked for — optimistic row update plus a silent background refetch, so no skeleton flash. Nice touch keeping the user on their current page instead of resetting to page 1. CI is green. Thanks!

@gkhngyk
gkhngyk merged commit 168f626 into ansvisor:main Jul 11, 2026
3 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.

fix(prompts): Query Fan-out track flashes the whole table to a skeleton instead of flipping just the row

2 participants