Add bookmark support and enhance share dialog

- Add bookmark button to file header and context menu
- Implement toggle bookmark API call with toast notification
- Redesign share dialog to show existing shares with revocation
- Add expiration options when creating a new share
- Add CSS styles for share action buttons
This commit is contained in:
2026-05-26 15:40:02 -04:00
parent 20f9bad9c0
commit b1fcc080e5
2 changed files with 124 additions and 23 deletions
+18
View File
@@ -5744,6 +5744,24 @@ body.popup-mode .content-area {
cursor: pointer;
font-size: 0.85rem;
}
.share-create-btn {
padding: 6px 16px;
background: var(--accent);
color: #fff;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 0.85rem;
}
.share-revoke-btn {
padding: 6px 16px;
background: none;
color: var(--text-error);
border: 1px solid var(--text-error);
border-radius: 6px;
cursor: pointer;
font-size: 0.85rem;
}
/* ── Enhanced Search Bar Toggles ── */
.search-actions .tog {