Datei Upload und Download fix

Dieser Commit ist enthalten in:
hendrik_gebhardt@gmx.de
2026-01-10 20:54:24 +00:00
committet von Server Deploy
Ursprung 5b1f8b1cfe
Commit 671aaadc26
7 geänderte Dateien mit 186 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -335,6 +335,30 @@ class App {
}
});
// Notification navigation - open knowledge entry from inbox
window.addEventListener('notification:open-knowledge', (e) => {
const { entryId, categoryId } = e.detail;
if (entryId && categoryId) {
// Switch to knowledge view
this.switchView('knowledge');
// Select category and expand entry after view is loaded
setTimeout(async () => {
await knowledgeManager.selectCategory(categoryId);
// Expand the specific entry
knowledgeManager.expandedEntries.add(entryId);
const entryElement = document.querySelector(`[data-entry-id="${entryId}"]`);
if (entryElement) {
entryElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
entryElement.classList.add('highlight');
// Remove highlight after animation
setTimeout(() => {
entryElement.classList.remove('highlight');
}, 2000);
}
}, 300);
}
});
// Online/Offline
window.addEventListener('online', () => this.handleOnline());
window.addEventListener('offline', () => this.handleOffline());