Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
654605e
refactor(upload): let the user retry what failed in an upload, upload…
xabg2 Nov 2, 2026
4e097a9
Merge branch 'refactor/upload-action' into refactor/upload-action-retry
xabg2 Nov 3, 2026
a7a45d5
Merge branch 'refactor/upload-action' into refactor/upload-action-retry
xabg2 Nov 4, 2026
e744b38
refactor(upload): give each task its retry when it is created
xabg2 Nov 4, 2026
9682335
fix(upload): retry everything only retries the failures that retrying…
xabg2 Nov 4, 2026
15eb1a4
refactor(upload): let the user retry what failed in an upload, upload…
xabg2 Nov 2, 2026
9e45bde
refactor(upload): give each task its retry when it is created
xabg2 Nov 4, 2026
5bf545f
fix(upload): retry everything only retries the failures that retrying…
xabg2 Nov 4, 2026
baf222d
Merge branch 'refactor/upload-action-retry' of github.com:internxt/dr…
xabg2 Nov 6, 2026
0ee4887
Merge branch 'refactor/upload-action' into refactor/upload-action-retry
xabg2 Nov 6, 2026
cd0c921
refactor(upload): simplify the retry flow
xabg2 Nov 6, 2026
e6c2586
fix(upload): retry only finished tasks
xabg2 Nov 6, 2026
a563214
refactor(upload): drop unused shared auth data
xabg2 Nov 9, 2026
efddfe8
fix(upload): stop showing cancelled items retrying
xabg2 Nov 9, 2026
f37e4fb
fix(upload): finish a folder after its last run
xabg2 Nov 9, 2026
2d07964
Merge branch 'refactor/upload-action' into refactor/upload-action-retry
xabg2 Nov 9, 2026
d990886
fix(upload): track a folder completed by a retry
xabg2 Nov 11, 2026
b14759d
Merge branch 'refactor/upload-action' into refactor/upload-action-retry
xabg2 Nov 11, 2026
5ccb6e9
Merge branch 'refactor/upload-action' into refactor/upload-action-retry
xabg2 Nov 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/app/tasks/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ export enum TaskEvent {
TaskError = 'task-error',
}

export interface FailedUploadItem {
name: string;
type?: string;
size: number;
modifiedAt: number;
isFolder: boolean;
isRetryable: boolean;
isRetrying: boolean;
retry: () => Promise<void>;
}

export interface BaseTask {
id: string;
relatedTaskId?: string;
Expand All @@ -51,6 +62,8 @@ export interface BaseTask {
downloadedProgress?: number;
subtitle?: string;
stop?: () => Promise<void>;
failedItems?: FailedUploadItem[];
retry?: () => Promise<void>;
}

export interface CreateFolderTask extends BaseTask {
Expand Down
Loading
Loading