Commit 23f8951
authored
feat: Add Files Upload tab with manual file download request (#1270)
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.
- 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>1 parent 00c7e64 commit 23f8951
File tree
13 files changed
+2753
-158
lines changed- backend/lib/edgehog/devices/device
- frontend
- src
- api
- components
- DeviceTabs
- forms
- i18n/langs
- lib
- pages
13 files changed
+2753
-158
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments