feat: Add upload completion hint and increase notification debounce timer
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -164,6 +164,10 @@ function render(){
|
||||
if (isComplete && hasSuccess) {
|
||||
showBanner("All uploads complete.", "ok");
|
||||
allCompleteBannerShown = true;
|
||||
// Hint to backend that this batch is done, to trigger notification sooner
|
||||
try {
|
||||
fetch('/api/uploads/batch_complete_hint', { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({ session_id: sessionId }) }).catch(()=>{});
|
||||
} catch {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user