Skip to content

feat: Add Files Upload tab with manual file download request flow #1270

Merged
lusergit merged 2 commits intoedgehog-device-manager:mainfrom
OmarBrbutovic:manual_file_download_requests_ui
Mar 9, 2026
Merged

feat: Add Files Upload tab with manual file download request flow #1270
lusergit merged 2 commits intoedgehog-device-manager:mainfrom
OmarBrbutovic:manual_file_download_requests_ui

Conversation

@OmarBrbutovic
Copy link
Collaborator

@OmarBrbutovic OmarBrbutovic commented Mar 5, 2026

Add Files Upload tab with manual file download request flow

  • Add FilesUploadTab with a 4-step upload flow:
    compute SHA-256 digestfetch presigned PUT URLupload to S3create FileDownloadRequest via GraphQL mutation
  • Add ManualFileDownloadRequestForm with destination, TTL, and progress fields validated via zod
  • Add FileDownloadRequestsTable showing request history

Checklist

  • I have read the CONTRIBUTING.md
  • I have added tests that prove my fix is effective or that my feature works
  • I have added or updated documentation (if appropriate)

Further Comments (optional)

Screenshots / Demos (optional)

Demos

image

2026-03-09.08-59-08.mp4

@OmarBrbutovic OmarBrbutovic added the frontend This issue is relative to the Edgehog Frontend label Mar 5, 2026
@OmarBrbutovic OmarBrbutovic force-pushed the manual_file_download_requests_ui branch 7 times, most recently from 151634e to 382c015 Compare March 9, 2026 08:32
Add `file_download_requests: :relay` to `paginate_relationship_with`
in `Device`, enabling cursor-based pagination over a device's file
download requests consistent with other paginated relationships.

Signed-off-by: Omar <omar.brbutovic@secomind.com>
- Add FilesUploadTab with a 4-step upload flow:
  `compute SHA-256 digest` → `fetch presigned PUT URL` →
  `upload to S3` →  `create FileDownloadRequest via GraphQL mutation`
- Add ManualFileDownloadRequestForm with destination, TTL, and
  progress fields validated via zod
- Add FileDownloadRequestsTable showing request history

Signed-off-by: Omar <omar.brbutovic@secomind.com>
@OmarBrbutovic OmarBrbutovic force-pushed the manual_file_download_requests_ui branch from 382c015 to dea4541 Compare March 9, 2026 11:57
Copy link
Collaborator

@lusergit lusergit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lusergit lusergit merged commit 23f8951 into edgehog-device-manager:main Mar 9, 2026
34 of 35 checks passed
@OmarBrbutovic OmarBrbutovic deleted the manual_file_download_requests_ui branch March 10, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend This issue is relative to the Edgehog Frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants