Drive sync progress + documents list API + prompt heatmap (#59, #60, #94) #61

Merged
westfarn merged 1 commits from feature/docs-sync-progress-list-api-59-60 into master 2026-08-02 04:49:23 -07:00
Owner

Summary

  • #59 — Persist and expose Drive sync progress (sync_total, sync_processed, sync_added, sync_updated, sync_failed) during sync so the FE can show a progress bar.
  • #60 — Paginate/search/sort GET /documents/ with workspace=personal|company scope isolation.
  • #94 (API) — Add GET /analytics/user_prompt_heatmap/?tz= weekday × hour bins for user-entered prompts.

Test plan

  • manage.py test drive sync / documents / analytics / drive_tasks suites
  • Manual: trigger Drive sync and poll connections → progress fields update while pending
  • Manual: GET /documents/?workspace=personal&page=1&search=…&ordering=name
  • Deploy FE companion PR for #92/#93/#94 UI

Closes #59
Closes #60

## Summary - **#59** — Persist and expose Drive sync progress (`sync_total`, `sync_processed`, `sync_added`, `sync_updated`, `sync_failed`) during sync so the FE can show a progress bar. - **#60** — Paginate/search/sort `GET /documents/` with `workspace=personal|company` scope isolation. - **#94 (API)** — Add `GET /analytics/user_prompt_heatmap/?tz=` weekday × hour bins for user-entered prompts. ## Test plan - [x] `manage.py test` drive sync / documents / analytics / drive_tasks suites - [ ] Manual: trigger Drive sync and poll connections → progress fields update while pending - [ ] Manual: `GET /documents/?workspace=personal&page=1&search=…&ordering=name` - [ ] Deploy FE companion PR for #92/#93/#94 UI Closes #59 Closes #60
westfarn added 1 commit 2026-08-02 04:44:27 -07:00
Add Drive sync progress, paginated docs list, and prompt heatmap API.
CI / test (pull_request) Successful in 11s
Unit Tests / test (pull_request) Successful in 10s
95edf3090e
Expose sync_total/processed counters for FE progress bars (#59), support
documents pagination/search/sort/workspace scope (#60), and add
weekday×hour user prompt heatmap analytics (#94).
westfarn merged commit 57a2350b8e into master 2026-08-02 04:49:23 -07:00
westfarn deleted branch feature/docs-sync-progress-list-api-59-60 2026-08-02 04:49:24 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/chat_backend#61