feat: integrate Tagify for multi-tag support and add a new view-note modal across the application

This commit is contained in:
root
2026-03-29 16:25:45 +07:00
parent f4f842d658
commit 8dedb57692
8 changed files with 408 additions and 106 deletions

View File

@@ -289,9 +289,12 @@ function renameItem(id, currName) {
}
function deleteItem(id, name) {
if(!confirm(`Delete "${name}"? This cannot be undone.`)) return;
document.getElementById('delete-item-id').value = id;
document.getElementById('delete-item-form').submit();
appConfirm(`Delete "${name}"? This cannot be undone.`).then(y => {
if(y) {
document.getElementById('delete-item-id').value = id;
document.getElementById('delete-item-form').submit();
}
});
}
function openShare(id) {
@@ -300,9 +303,12 @@ function openShare(id) {
}
function removeProjectShare(shareId) {
if(!confirm('Unshare this item?')) return;
document.getElementById('remove-share-id').value = shareId;
document.getElementById('remove-share-form').submit();
appConfirm('Unshare this item?').then(y => {
if(y) {
document.getElementById('remove-share-id').value = shareId;
document.getElementById('remove-share-form').submit();
}
});
}
function showNewFolderDialog() {