Make stay bands draggable to move stays between days

Dragging any week-segment of a stay band onto an in-range day moves the
whole stay there, preserving its length (same one-PATCH date+end_date
shift the multi-day chips use). Clicking a band still opens the editor.
This commit is contained in:
2026-07-20 09:50:01 +07:00
parent b452430415
commit 71a158aa51
4 changed files with 28 additions and 4 deletions
+3
View File
@@ -268,6 +268,9 @@ textarea.input { resize: vertical; }
.cal-chip-draggable { cursor: grab; }
.cal-chip-draggable:active { cursor: grabbing; }
.cal-chip.dragging { opacity: 0.4; }
.cal-band-draggable { cursor: grab; }
.cal-band-draggable:active { cursor: grabbing; }
.cal-band.dragging { opacity: 0.4; }
.cal-day-drop { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); background: var(--brand-soft); }
/* ---------- Detail grid (map + summary) ---------- */