Skip to content

Fix universal upload progress#31

Merged
OmGuptaIND merged 1 commit into
mainfrom
OmGuptaIND/fix-mov-upload-ui
May 5, 2026
Merged

Fix universal upload progress#31
OmGuptaIND merged 1 commit into
mainfrom
OmGuptaIND/fix-mov-upload-ui

Conversation

@OmGuptaIND
Copy link
Copy Markdown
Contributor

Summary

  • allow composer and Files uploads to use the same chunked upload flow for any file type
  • add upload progress tracking in the desktop Activity dock so users can see active/recent uploads and byte progress
  • support video/generic file artifacts, including .mov MIME classification and video preview rendering

Root Cause

  • composer uploads were split between inline model attachments and project file uploads, with file input constraints and drag/drop behavior that effectively excluded files like .mov
  • filesystem writes sent whole files as base64 JSON payloads with no progress protocol, so large files had no visible side UI or reliable upload feedback
  • artifact classification did not include video or generic fallback render types, so non-document uploads degraded poorly after upload

Validation

  • pnpm exec biome check --write packages/agent-server/src/server.ts packages/desktop/src/components/ActivityDock.tsx packages/desktop/src/components/artifacts/ArtifactPanel.tsx packages/desktop/src/components/artifacts/ArtifactRail.tsx packages/desktop/src/components/artifacts/VideoRenderer.tsx packages/desktop/src/components/chat/ArtifactCard.tsx packages/desktop/src/components/chat/ChatInput.tsx packages/desktop/src/components/chat/MessageBubble.tsx packages/desktop/src/components/chat/SessionFilesBar.tsx packages/desktop/src/components/files/ProjectFilesView.tsx packages/desktop/src/lib/artifacts.ts packages/desktop/src/lib/connection.ts packages/desktop/src/lib/fileUploads.ts packages/desktop/src/lib/store/index.ts packages/desktop/src/lib/store/uploadStore.ts packages/desktop/src/lib/uploadDefaults.ts packages/desktop/src/lib/workspaceArtifacts.ts
  • pnpm --filter @anton/desktop typecheck
  • pnpm --filter @anton/agent-server build
  • git diff --check

@OmGuptaIND OmGuptaIND merged commit 4cde737 into main May 5, 2026
@OmGuptaIND OmGuptaIND deleted the OmGuptaIND/fix-mov-upload-ui branch May 5, 2026 09:30
OmGuptaIND added a commit that referenced this pull request May 5, 2026
### Fixes
- docx rendering and fileupload flow
- issues

### Other
- Fix universal upload progress (#31)
- Polish markdown table typography
- Structure file artifacts (#29)
- fix(routines): add missing .conv-back styles so back buttons render inline (#27)
- fix(webhooks): unify session-options factory across desktop/telegram/slack (#28)
- observability: add per-turn telemetry to harness sessions (#26)
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