Datei Upload und Download fix
Dieser Commit ist enthalten in:
committet von
Server Deploy
Ursprung
5b1f8b1cfe
Commit
671aaadc26
@ -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());
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren