Skip to content

Added loading state for AI extraction button and Show success/error toast#465

Open
DUTTARGI-PAVAN wants to merge 1 commit into
Charushi06:mainfrom
DUTTARGI-PAVAN:fix-extract-loading
Open

Added loading state for AI extraction button and Show success/error toast#465
DUTTARGI-PAVAN wants to merge 1 commit into
Charushi06:mainfrom
DUTTARGI-PAVAN:fix-extract-loading

Conversation

@DUTTARGI-PAVAN
Copy link
Copy Markdown

Related Issue

Closes #373

Summary

Added a loading state for the “Extract with AI” button to improve user experience while AI extraction requests are processing.

Changes Made

  • Added loading spinner animation to the Extract button
  • Disabled button during extraction request
  • Prevented repeated clicks while request is processing
  • Restored button state after extraction completes
  • Tested loading behavior using temporary server delay

Testing

Tested locally by running the project server
Added temporary delay in /api/extract endpoint to verify loading state
Confirmed spinner appears during request
Confirmed button becomes disabled during processing
Confirmed button returns to normal after response

Screenshots

Add screenshots if UI changes exist.

Checklist

  • [✅] Code follows project style
  • [✅] Tested locally
  • [✅] No unrelated changes included
  • [] Documentation updated (if applicable)

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.

Add loading spinner while extracting tasks with AI

1 participant