• Stefy Lanza (nextime / spora )'s avatar
    Modify analyze page to show job progress in sidebar instead of redirecting · 4d03625c
    Stefy Lanza (nextime / spora ) authored
    - Changed analyze route to stay on page after job submission instead of redirecting to history
    - Added submitted_job parameter to template to track current job
    - Modified sidebar to show for all users (not just admins)
    - Added job progress section in sidebar that displays:
      - Job ID and status (queued/processing/completed/failed)
      - Tokens used
      - Result preview
    - Added /api/job_status/<job_id> endpoint for real-time job status
    - Added JavaScript polling for job status updates every 2 seconds
    - Job progress updates automatically without page refresh
    - Users can see their analysis job progress in real-time in the sidebar
    
    The analyze page now provides immediate feedback and progress tracking instead of requiring navigation to the history page.
    4d03625c
Name
Last commit
Last update
docs Loading commit data...
templates Loading commit data...
vidai Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CHANGELOG.md Loading commit data...
Dockerfile.runpod Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
build.bat Loading commit data...
build.sh Loading commit data...
clean.bat Loading commit data...
clean.sh Loading commit data...
create_pod.sh Loading commit data...
image.jpg Loading commit data...
requirements-cuda.txt Loading commit data...
requirements-rocm.txt Loading commit data...
requirements.txt Loading commit data...
setup.bat Loading commit data...
setup.sh Loading commit data...
start.bat Loading commit data...
test_comm.py Loading commit data...
test_runpod.py Loading commit data...
vidai.conf.sample Loading commit data...
vidai.py Loading commit data...
vidai.sh Loading commit data...