fix(planka): drag&drop via dataTransfer + create_list + synchro position
Deploy HouseHub / deploy (push) Successful in 2s

- Drag & drop: utilise e.dataTransfer (pas de variable globale fragile)
- dropCard prend cardId en paramètre, envoie position requis par Planka
- Nouveau bouton 'Ajouter une liste' en fin de board
- Endpoint create_list dans api.php (POST /api/boards/{id}/lists)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
perco
2026-05-19 17:43:16 +02:00
co-authored by Claude Sonnet 4.6
parent 7d62aa02be
commit 0db14560a5
3 changed files with 71 additions and 14 deletions
+25
View File
@@ -463,3 +463,28 @@
border-radius: 8px;
margin-bottom: .35rem;
}
.pk-list-new {
background: transparent;
border: 2px dashed var(--border-light, #e5e7eb);
display: flex;
align-items: flex-start;
justify-content: center;
padding: .75rem .5rem;
}
.pk-add-list-btn {
background: none;
border: none;
cursor: pointer;
color: var(--text-muted, #9ca3af);
font-size: .9rem;
font-weight: 600;
padding: .4rem .75rem;
border-radius: 8px;
transition: background .15s, color .15s;
white-space: nowrap;
}
.pk-add-list-btn:hover {
background: var(--bg-panel, #f3f4f6);
color: var(--primary, #4361ee);
}