feat(files): move files between folders by drag and drop

Arrasta um arquivo da lista para uma pasta da árvore ou para a raiz.
A movimentação preserva o id, então a referência da nota continua valendo.
This commit is contained in:
lgcosta committed 2026-11-07 19:13:44 -03:00
1 parent db14f75389
commit 08dce738e5
3 files changed
+103 -2

No files matched your search

+2
View File
@@ -1848,6 +1848,8 @@ html[data-theme="carbon-paper"] #revisions-list li:hover { background: #e6e5dd;
.fitem-meta { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fitem-acts { display: flex; gap: 3px; flex: none; opacity: 0; transition: opacity .12s ease; }
.fitem:hover .fitem-acts, .fitem:focus-within .fitem-acts { opacity: 1; }
.fitem.dragging { opacity: .5; border-style: dashed; }
.tree-row.drop-hl { background: color-mix(in oklab, var(--panel), var(--accent) 24%); box-shadow: inset 3px 0 0 var(--accent); }
.dropzone.drop-hl, #editor-host.drop-hl {
outline: 2px dashed var(--accent);
outline-offset: -4px;