Enhancement: add upload count to button, link to tray, reduce notifications (#14501)

This commit is contained in:
shamoon authored and GitHub committed 2026-10-19 20:32:35 -07:00
1 parent f8e93a535a
commit 3374debd6a
10 files changed
+125 -18

No files matched your search

@@ -119,7 +119,7 @@ describe('FileDropComponent', () => {
}
component.onDrop(dragEvent as DragEvent)
advanceTimers(3000)
expect(toastSpy).toHaveBeenCalled()
expect(toastSpy).not.toHaveBeenCalled()
expect(uploadSpy).toHaveBeenCalled()
})
@@ -159,7 +159,7 @@ describe('FileDropComponent', () => {
component.onDrop(dragEvent as DragEvent)
await flushPromises()
advanceTimers(3000)
expect(toastSpy).toHaveBeenCalled()
expect(toastSpy).not.toHaveBeenCalled()
expect(uploadSpy).toHaveBeenCalled()
})
@@ -227,7 +227,7 @@ describe('FileDropComponent', () => {
}
component.onDrop(dragEvent as DragEvent)
advanceTimers(3000)
expect(toastSpy).toHaveBeenCalled()
expect(toastSpy).not.toHaveBeenCalled()
expect(uploadSpy).toHaveBeenCalled()
})