Skip to content

feat: display analysis queue position while waiting for results - #106

Merged
vvatelot merged 1 commit into
mainfrom
feat/show-analysis-queue-position
Aug 18, 2026
Merged

vvatelot merged 1 commit into
mainfrom
feat/show-analysis-queue-position

Conversation

@vvatelot

Copy link
Copy Markdown
Member

Summary

  • Show the analysis queue position under the popup loader while polling the task endpoint.
  • Surface queue_position (people ahead / next in line / currently running) and tasks_in_progress so users know when their turn is coming.
  • Parse 425 responses immediately so the queue status updates before the next retry.

Test plan

  • Launch an analysis from the popup while other tasks are queued and confirm the loader shows how many analyses are ahead.
  • Confirm the message switches to “next in the queue” when queue_position is 0.
  • Confirm the message switches to “it’s your turn” when queue_position becomes null (task running).
  • Confirm the in-progress count appears when tasks_in_progress > 0.
  • Confirm the popup still shows the result (or error) when the task completes.

Made with Cursor

Show queue_position and tasks_in_progress from the task API in the popup loader so users know when their turn is coming.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vvatelot
vvatelot merged commit eeb658c into main Aug 18, 2026
1 check passed
@vvatelot
vvatelot deleted the feat/show-analysis-queue-position branch August 18, 2026 08:05
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