fix(uploads): say how many files a mixed pick, drop or paste skipped

A selection mixing a file the server takes with one it refuses dropped the refused one without a word, and the Compose and paste-dialog pickers never toasted even when every file was refused. Every pick, drop and paste filter now goes through one helper that counts what the classifier refused: a partial refusal toasts how many were skipped while the rest upload, a full one keeps the existing Unsupported file type toast, and a clipboard paste that falls back to its text stays quiet.
This commit is contained in:
JD committed 2026-10-16 10:37:20 -04:00
1 parent ce809eac41
commit 2cfa2783ad
10 files changed
+228 -44

No files matched your search

+1 -1
View File
@@ -299,7 +299,7 @@ const context = vm.createContext({
});
vm.runInContext(
`${read('constants.js')}\n${read('app.js')}\n${read('terminal-ui.js')}\n${read('terminal-split.js')}\n` +
`${read('tile-grid.js')}\n${read('mobile-overview.js')}\n` +
`${read('tile-grid.js')}\n${read('mobile-overview.js')}\n${read('image-input.js')}\n` +
'globalThis.__CodemanApp = CodemanApp;',
context
);