Commit Graph

8 Commits

Author SHA1 Message Date
7f850bb4e9 fix: URLs im Aufgabentitel als anklickbaren Link darstellen
Some checks are pending
Playwright Tests / test (push) Waiting to run
Test and SonarQube / quality (push) Waiting to run
Eine im Titel getippte URL war bisher reiner Text innerhalb des klickbaren Bereichs
der Aufgabe -- ein Klick darauf hat je nach Ansicht die Aufgabe durchgestrichen
(Tagesraster, GridTaskBlock) oder den Bearbeiten-Modus geoeffnet (Kanban/Someday/
Liste/Prioritaet, weekly/TaskItem.tsx und PriorityView.tsx), statt den Link zu oeffnen.

- src/lib/weekly/format.ts: neue reine Funktion splitTextAndUrls zerlegt einen Titel
  in Text- und URL-Abschnitte (http(s)://, www.-Adressen). Abschliessende Satzzeichen
  (".", ",", ")", ...) bleiben Text, nicht Teil des Links.
- src/components/weekly/LinkifiedText.tsx: rendert diese Abschnitte, URL-Abschnitte als
  echtes <a target="_blank" rel="noopener noreferrer"> mit stopPropagation, damit ein
  Klick ausschliesslich den Link oeffnet und nicht an den umgebenden Klick-Handler
  durchgereicht wird. Kein Titel ohne URL bekommt ein zusaetzliches Wrapper-Element.
- Eingebaut ueberall dort, wo ein Aufgabentitel bislang als reiner Text stand:
  GridTaskBlock.tsx, weekly/TaskItem.tsx, PriorityView.tsx.

Keine Aenderung an Daten, API oder dem separaten task.url-Feld (der eigene "Termin-
Link"-Button in TaskItem.tsx) -- reine Darstellungsaenderung.

8 neue Unit-Tests fuer splitTextAndUrls (Titel ohne URL, nur URL, URL mit Text davor/
danach, www.-Form, Satzzeichen am Ende, Klammern, zwei URLs im selben Titel).

Verifiziert: Typecheck, Lint (0 Fehler), 108 Unit-Tests (8 neu), Produktions-Build.

v1.128.0

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 14:03:17 +02:00
52d160ccea feat: projects tab, priority icons, list/tab visuals
Wave-1 user feedback (points 7–10):
- Settings: new Projects tab with full CRUD (name, color, icon picker)
- Priority Icons render in simple/calendar/list views with style-specific
  visuals (Eisenhower icons, ABCDE letters, Ivy Lee 1–6, Pareto star).
  Toggle + style selector in Settings; Ivy Lee ranks now persist to
  task.priority so cross-view badges stay consistent.
- Someday Lists gain optional icon (left of title) and color (left
  border tint), edited via a pencil-popup with IconPicker + color picker.
- Tabs gain optional icon and color, stored in user.viewSettings JSON
  and edited via the same popup pattern.

Schema: SomedayList.color/icon, User.showPriorityIcons/priorityStyle.

v1.99.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 14:23:56 +02:00
6836cf58bc feat: filters in all priority mode right columns + work report CSV
Priority View: filter panel (project / list / timespan) is now always
visible in the right column of every priority mode — Eisenhower,
ABCDE, Ivy Lee, and 80/20. Removed the collapse toggle. An 'active'
indicator in the header shows when any filter is set. On mobile the
filter appears above the main content.

Work Report CSV (Settings > Data Export):
- Columns: Week / Completed / Scheduled / Created / Task / Project /
  List / Priority / Delegated to / Notes
- Rows grouped by calendar week (ISO week, most recent first), with a
  section header row showing "KW 14 — 2026 (30 Mär – 05 Apr)"
- Priority shows Eisenhower label (Sofort erledigen / Planen /
  Delegieren / Eliminieren) or ABCDE grade
- Includes project name, Someday list name, delegation info and notes
- UTF-8 BOM prepended so Excel opens German umlauts correctly
- Language-aware column headers (de/en) via ?lang= param
- Filename: arbeitsbericht_YYYY-MM-DD_bis_YYYY-MM-DD_date.csv

v1.91.0
2026-04-07 00:03:09 +02:00
3ee5bf33b5 feat: two-column priority layout + German ABCDE translations
All four priority modes (Eisenhower, ABCDE, Ivy Lee, Pareto) now use a
two-column layout on desktop: main content on the left, secondary panel
(unassigned tasks / pool / remaining) on the right. On mobile (<768px)
the layout stacks vertically automatically.

Eisenhower: filters are now always visible in the right panel instead
of behind a toggle button, making project/list/timespan selection more
accessible. The filter button is hidden for Eisenhower mode.

ABCDE: added full German translations for grade labels and descriptions
(A–E now show "Kritisch", "Sollte erledigt werden", etc. in German).
Ungraded tasks appear in the right column instead of below the buckets.

Pareto: remaining tasks (80%) are always visible in the right column,
no longer behind a show/hide toggle.

v1.90.0
2026-04-06 20:48:03 +02:00
a3b0849525 fix: hide completed tasks from priority view immediately
- Priority view is "what to do next" — completed tasks have no place there.
  Always filter them out; removed the "show completed" toggle button.
- Optimistic local hide: when you check a task off inside priority view it
  disappears immediately (no waiting for API round-trip + parent re-render).
  A `locallyDone` Set tracks tasks marked complete in the current session.

v1.88.1
2026-04-06 15:04:18 +02:00
149f0cf021 feat: priority view resize handle + dense task cards with actions
Resize handle:
- Drag the divider between priority panel and calendar to resize it
- Height persists in cookie (priorityViewHeight)

Dense task cards:
- Single-row compact layout: [✓] date · title · action icons
- Date shown before the title
- Action icon bar: rename (✏), note (📝), link (🔗), project (📁), delegate (👤), remove (×)
- Inline title editing: double-click or click ✏ icon
- Inline note textarea: toggles on 📝 click, saves on blur
- Inline URL input with open-link button: toggles on 🔗 click
- Inline project selector: toggles on 📁 click
- Icons colored when field has a value (note, url, project, delegate)
- Export/import now round-trips url, kanbanStage, recurrenceDays fields

v1.88.0
2026-04-06 12:25:05 +02:00
a117b60d84 fix: add drag-and-drop from week/someday lists into Priority View
Tasks dragged from any view (simple, list, someday sidebar) now land
in the Priority View:

- Eisenhower: drag onto any quadrant → highlights with dashed border
  + color tint; drops immediately set urgency/importance on the task
- ABCDE: drag onto any grade section (A–E) → same visual feedback;
  drops set the priority grade
- Ivy Lee: drag onto the Top-6 zone → adds task to selection (up to 6)
- TaskCard inside PriorityView is now draggable too, so tasks can be
  re-classified by dragging between quadrants/grades

All drop zones show "Drop here" hint text when a drag is in progress
and collapse-state is respected (collapsed zones still accept drops).
allTasks (unfiltered) passed to sub-components so IDs from external
drags resolve correctly even when the task is filtered out.

v1.87.1
2026-04-06 11:01:03 +02:00
46a05a87c3 feat: add Priority View — Eisenhower, ABCDE, Ivy Lee, Pareto, delegation
New "Priority View" (Target icon in toolbar) fusing four prioritization
frameworks into a single, filterable view:

- Eisenhower Matrix: 4 quadrants (Do/Schedule/Delegate/Delete) based on
  urgency × importance; unclassified tasks shown below for quick assignment
- ABCDE Method: five collapsible groups (A=Critical → E=Eliminate) with
  inline grade assignment buttons
- Ivy Lee Method: pick exactly 6 tasks for tomorrow, ordered by priority
- Pareto 80/20: highlights the important 20% of tasks with a progress bar
  and one-click "mark as important" for the rest

New DB fields: urgency (Boolean), importance (Boolean), priority (A–E),
delegatedTo, delegationNote — all persisted via Prisma + API.

Filters: by project, someday list (incl. scheduled / unscheduled), and
timespan (today / this week / next week / all).

Delegation modal: assign to a named person or to AI with optional
instruction notes; displayed as inline badge on task cards.

v1.87.0
2026-04-06 02:07:05 +02:00