feat(tasks): greyed-out "add task" with a hint for list-only columns in "Alle Aufgaben"
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m48s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sandrodachandClaude Opus 5.5 committed 2026-11-03 06:46:06 +01:00
1 parent 8439ae1ccf
commit ab1cef65a1
2 files changed
+17 -4

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ Das Format folgt [Keep a Changelog](https://keepachangelog.com/de/1.1.0/), die V
### Changed ### Changed
- Fokus-Modus: Die obere Leiste wirft nur noch einen leichten Schatten. - Fokus-Modus: Die obere Leiste wirft nur noch einen leichten Schatten.
- Kanban in „Alle Aufgaben“: Bei Spalten, die es nur in Aufgabenlisten gibt, ist „Aufgabe hinzufügen“ jetzt ausgegraut sichtbar statt einfach zu fehlen. Ein Hinweis beim Drüberfahren nennt die Listen, in denen man dort Aufgaben anlegen kann.
## [0.66.0] - 2026-11-02 ## [0.66.0] - 2026-11-02
+16 -4
View File
@@ -3138,13 +3138,25 @@ export const TasksView: React.FC<TasksViewProps> = ({
)} )}
</div> </div>
{/* Quick Add Task to Column */} {/* Quick Add Task to Column. In "Alle Aufgaben" a new task has no list: a column only lists
{!isSelectedListReadOnly && activeColumns.some((c) => boardIdOf(c) === col.id) && ( have shows the button greyed out, with a hint where the column is */}
<div className="p-2 border-t border-border bg-panel"> {!isSelectedListReadOnly && (
<div
className="p-2 border-t border-border bg-panel"
title={
activeColumns.some((c) => boardIdOf(c) === col.id)
? undefined
: `Neue Aufgaben hier landen ohne Liste, und dort gibt es diese Spalte nicht. Zum Anlegen die Liste öffnen: ${safeTaskLists
.filter((l) => (Array.isArray(l.columns) ? l.columns : []).some((c) => boardIdOf(c) === col.id))
.map((l) => `„${l.title}“`)
.join(', ')}`
}
>
<button <button
type="button" type="button"
disabled={!activeColumns.some((c) => boardIdOf(c) === col.id)}
onClick={() => handleQuickAddTaskToColumn(col.id)} onClick={() => handleQuickAddTaskToColumn(col.id)}
className="w-full h-7 px-2 text-xs border border-dashed border-border rounded-btn text-muted hover:text-main hover:bg-canvas flex items-center justify-center gap-1 transition-colors" className="w-full h-7 px-2 text-xs border border-dashed border-border rounded-btn text-muted hover:text-main hover:bg-canvas flex items-center justify-center gap-1 transition-colors disabled:opacity-40 disabled:pointer-events-none"
> >
<Plus className="w-3 h-3" /> <Plus className="w-3 h-3" />
<span>Aufgabe hinzufügen</span> <span>Aufgabe hinzufügen</span>