feat(ui,store): live today clock, rail as lane filter, b toggle, quick look on space
This commit is contained in:
1 parent
83ca32d98e
commit
0a7742eb5e
19 files changed
+1236
-192
No files matched your search
@@ -36,7 +36,8 @@
|
||||
const zone = $derived(dropZone());
|
||||
const isDropTarget = $derived(zone?.target === target);
|
||||
const date = $derived(anchorDate(task));
|
||||
const tone = $derived(dueTone(date));
|
||||
const tone = $derived(dueTone(date, view.store.today));
|
||||
const label = $derived(dueLabel(date, view.store.today));
|
||||
/** The editor hangs off the chip that opened it, not the whole row. */
|
||||
const chip = (field: string): string => `${field}:${task.id}`;
|
||||
const on = $derived(view.store.cursorTask === task.id);
|
||||
@@ -196,8 +197,8 @@
|
||||
{:else}
|
||||
<CalendarDays aria-hidden="true" class="size-3" />
|
||||
{/if}
|
||||
{#if dueLabel(date)}
|
||||
<span class="tabular">{dueLabel(date)}</span>
|
||||
{#if label}
|
||||
<span class="tabular">{label}</span>
|
||||
{/if}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user