Skip to content

fix(web): prevent fanout intent badge pop-in - #387

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
d180:fix/fanout-intent-pop-in
Jul 10, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
d180:fix/fanout-intent-pop-in

Conversation

@d180

@d180 d180 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the Query Fan-out table loading behavior so intent badges no longer
visibly pop in after the table renders on normal cached loads.

The fan-out tab now waits up to 1.5s for the existing batched intent
classification request during the initial load. If intents resolve within that
window, the table and badges render together. If classification is slow, the
table still renders after the timeout and the same request fills badges later,
preserving the existing fallback behavior without adding extra network calls.

Related issue

Closes #380

Type of change

  • fix — Bug fix

Checklist

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

Clean, focused fix — the intent badges and the table now paint together on a warm load, and reusing the same promise means no extra network call. Verified typecheck + prettier pass. Thanks!

@gkhngyk
gkhngyk merged commit f74c79e into ansvisor:main Jul 10, 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.

ux(prompts): Query Fan-out Intent column pops in a few seconds after the table loads

2 participants