24 Commits

Author SHA1 Message Date
590f019ca7 feat: focus priority, focus links, task list assignment, lists drag-and-drop, URL display fixes
- Focus page: turn sequence number into persistent editable priority (focus_priority column)
- Focus detail: add links section (add existing, create new, unlink) via focus_links junction table
- Focus detail: add copy and inline edit for checklist items
- Task detail lists tab: add existing list assignment and unlink actions
- Lists page: add drag-and-drop reorder support
- Links/bookmarks pages: remove artificial URL truncation, use CSS ellipsis

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:19:06 +00:00
30cff10150 feat: add sortable column headers to focus page
Click any column header to sort ascending/descending. Supports sorting by
order, done status, critical flag, due date, priority, title, domain, area,
project, and estimated time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:44:49 +00:00
d93893d5c6 feat: ungroup focus items and add domain column
Remove domain-based grouping on focus page. Show all items in a flat
list with a domain tag column per row. Simplify drag-and-drop to work
across all items without group constraints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:35:11 +00:00
865d0870d7 feat: critical flag toggle on focus items
Adds a clickable flag marker (⚑) on each focus row to mark items as
critical. Red when active, subtle when inactive. Toggle via POST.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 22:38:12 +00:00
6abef336c4 feat: focus item detail page with inline note + checklist
Each standalone focus item now auto-creates a linked note and checklist.
Clicking a focus item opens a detail page with side-by-side note editor
(left) and checklist (right) with drag-to-reorder. Save & Return writes
the note and goes back to the focus list. Added focus_id FK to notes and
lists tables, made domain optional when creating from focus context.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 20:02:27 +00:00
a61248b67d feat: standalone focus items with edit, convert, project tab, domain ordering
- Add standalone text line items to focus (quick-add with optional domain)
- Edit page for standalone items (title, domain, project)
- Convert standalone items to task, note, link, or list item
- Focus tab on project detail page showing assigned focus items
- Sort domain groups: General first, then by domain sort_order
- Add domain_id and title to nullable_fields in BaseRepository

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 02:14:31 +00:00
6aa36c570e feat: make focus items permanent — no date scoping
Focus items now persist until explicitly removed. Removed date
filtering from main query, dedup subqueries, reorder, and sidebar
badge count. Removed date navigation from UI. The focus_date column
remains as metadata but no longer affects display.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 00:09:56 +00:00
97027f2de4 feat: autolink URLs in list items, link picker, and inline edit
- Add autolink Jinja2 filter to detect URLs and make them clickable
- Add link picker dropdown to insert existing link URLs into list item content
- Add inline edit with link picker on each list item row
- Apply autolink filter on list detail and focus available list items

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 17:58:21 +00:00
7a2c6d3f2a feat: sequential numbering on focus items within domain groups
Display-only row numbers (1, 2, 3...) scoped per domain group.
Numbers update instantly on drag-and-drop reorder via JS renumber.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 16:12:19 +00:00
9833f131e1 feat: collapsible domain groups on focus page
Domain headers are now clickable to expand/collapse their item rows,
with a chevron indicator and item count badge. State persists via
localStorage, matching the sidebar toggle pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 16:00:01 +00:00
1a6b3fac1d feat: drag-and-drop reorder for daily focus items
Add HTML5 drag-and-drop within domain groups on the focus page.
Items can be dragged to reorder within their domain; cross-domain
drag is prevented. Uses hidden form POST (no fetch/XHR). Arrow
buttons kept as fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:58:05 +00:00
4c072beec0 feat: focus page table layout with domain grouping, area/project columns, compact padding
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:51:14 +00:00
bbb80067ef fix: align focus item columns with fixed-width due date placeholder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:35:17 +00:00
4c51a1daad fix: show "General" headers for items without area/project in focus hierarchy
Items without a project or area were missing group headers, causing them
to appear under the previous project's group visually.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:26:42 +00:00
73be08e7cc fix: use muted gray for project headers in focus hierarchy
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:23:28 +00:00
d034f4af4e fix: use accent blue for project headers in focus hierarchy
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:22:00 +00:00
f6a9b86131 fix: project header text color to white in focus hierarchy
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:19:15 +00:00
ec2bd51585 feat: domain > area > project hierarchy for daily focus with compact padding
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:11:36 +00:00
50200c23cc feat: group daily focus items by project with "General" fallback
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:06:58 +00:00
2094ea5fbe feat: daily focus search, show all tasks, and list item support
- Add list_item_id column to daily_focus (task_id now nullable, CHECK constraint ensures exactly one)
- Remove LIMIT 50 + [:15] slice — show up to 200 items with "show more" at 25
- Add text search (ILIKE) for filtering available items
- Add tab strip to switch between Tasks and List Items sources
- Toggle syncs list_item completed status alongside task status
- Graceful [Deleted] fallback for removed source items

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 14:52:41 +00:00
c42fe9dc13 fix: consistent row styling for capture and focus items
- Remove card-style spacing (margin, border-radius, background) from capture-item and focus-item
- Use border-bottom pattern matching list-row for uniform density
- Wrap capture and focus items in .card containers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 01:57:40 +00:00
497436a0a3 feat: universal reorder grip handles and compact UI density
- Add generic move_in_order() to BaseRepository for reorder support
- Add reusable reorder_arrows.html partial with grip dot handles
- Add reorder routes to all 9 list routers (tasks, notes, links, contacts, meetings, decisions, appointments, lists, focus)
- Compact row padding (6px 12px, gap 8px) on .list-row and .focus-item
- Reduce font size to 0.80rem on row titles, sidebar nav, domain tree

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 01:44:30 +00:00
cf84d6d2dd various enhancements for new tabs and bug fixes 2026-03-02 17:35:00 +00:00
f36ea194f3 R1 foundation - Phase 1 live build 2026-02-28 03:33:33 +00:00