Commit Graph

52 Commits

Author SHA1 Message Date
bd87cdd0db feat: Edit, Unlink, Delete actions on all project detail tabs
Every tab (tasks, notes, links, files, lists, decisions, meetings,
focus, contacts) now has consistent row actions: Edit, Unlink from
project, and Delete.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 14:06:13 +00:00
b73bd4fc06 feat: unlink and delete buttons for links on project detail page
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 14:02:22 +00:00
e6049336e9 fix: redirect back to project detail after creating link from project
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 14:00:08 +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
a2183af6e2 fix: test suite — seed reset, FK mappings, standalone focus tests
- Change all seed inserts from ON CONFLICT DO NOTHING to DO UPDATE SET
  so seeds always reset to canonical values between test runs
- Add meeting_id, decision_id, link_id to FK_FIELD_MAP in form_factory
- Add item_ids, direction, label, content to NAME_PATTERNS
- Add TestStandaloneFocusItems (7 tests): quick-add, edit, project tab
- Add TestFocusConversion (6 tests): convert to task/note/link/list item
- Add focus_standalone seed with fixture
- Update focus_page_loads test for permanent (non-date-scoped) items
- All 398 tests passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 03:08:53 +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
1bb92ea87d fix: filter deleted tasks/list items from focus, redirect task delete to list
Focus query now excludes soft-deleted tasks and list items.
Task delete redirects to /tasks instead of back to the (now deleted)
task's edit page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 16:08:35 +00:00
b5c8f305dd feat: add delete button to task detail and edit pages
Task detail page gets a Delete button in the header bar (matching
all other entity detail pages). Task edit form gets a Delete button
below the form. Both use confirmation dialog via data-confirm.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 16:04:45 +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
997ea786ba fix: sort focus projects — General first, then alphabetical
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:29:02 +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
0be6566045 feat: add text search to All Tasks page
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:02:23 +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
f88c6e5fd4 fix: notes preview text wrapping and right margin
Add word-break/overflow-wrap to .detail-body so long text wraps
properly, and add right margin inside the preview card for balanced
spacing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 14:27:49 +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
34b232de5f feat: consistent compact density across all list views
- Reduce capture-item, files table, date group labels to 6px 12px padding
- Set font-size 0.80rem on capture-text, file table cells

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 01:53:41 +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
75b055299a feat: file search, type/tag filters, and pagination
Add tsvector full-text search, type filter (image/document/text/
spreadsheet/archive), tag filter dropdown, and pagination (50/page).
Replace folder button bar with compact dropdown. All filters combine
and carry through sort and pagination links.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 01:05:10 +00:00
41b974c804 feat: sortable file table and dropdown folder picker
Replace flat folder button bar with compact dropdown select.
Add sortable columns (path, name, date) to file list table.
Restore soft-deleted files on sync when file still on disk.
Serve text file previews with white background.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 00:49:16 +00:00
ff9be1249a File Sync and repoint to WebDAV folder 2026-03-02 23:58:23 +00:00
c8a1d5ba40 feat: bookmark folder reordering and add-existing-link
Add up/down arrow buttons to reorder links within a folder, with lazy
sort_order initialization. Add dropdown to move existing links into the
current folder.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 21:08:20 +00:00
0ed86ee2dc Links and Other Enhancements 2026-03-02 19:55:04 +00:00
cf84d6d2dd various enhancements for new tabs and bug fixes 2026-03-02 17:35:00 +00:00
9dedf6dbf2 various bug fixes Sunday 20260301 5:15pm 2026-03-01 23:44:47 +00:00
bcb0007217 feat: topbar quick capture, fix mobile bottom nav and more panel
- Add quick capture input to topbar (desktop: inline 250px, mobile: full-width
  with submit button) that POSTs to /capture/add with redirect back to current page
- Fix mobile bottom bar: 5 items (Dashboard, Focus, Tasks, Capture, More),
  nowrap/overflow:hidden to prevent multi-line wrapping
- Rebuild mobile More panel as 3-column grid overlay (z-index 998/999/1000 stack)
  with backdrop dismiss, 8 items: Calendar, Notes, Meetings, Decisions, Contacts,
  Processes, Weblinks, Admin
- Add file seed fixture and registry mapping to eliminate 4 test skips
- Add time_budgets form factory patterns to fix 2 test failures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 22:44:41 +00:00
8499c99721 feat: eisenhower matrix view 2026-03-01 22:22:19 +00:00
d792f89fe6 feat: unified calendar view and eisenhower matrix view 2026-03-01 22:17:23 +00:00
c21cbf5e9b fix: mobile bottom nav bar sizing and layout and capture queue input visible on mobile 2026-03-01 22:10:00 +00:00
21bbb169f9 feat: processes and process runs CRUD 2026-03-01 22:04:24 +00:00
dbd40485ba feat: enhanced capture queue with multi-type conversion, and bottom menu bar for cell phones 2026-03-01 21:48:15 +00:00
a21e00d0e0 feat: enhanced capture queue with full conversion, batching, and filtering
- Convert to 7 entity types: task, note, project, list item, contact, decision, weblink
- Each conversion has a dedicated form page with pre-filled fields and context selectors
- Multi-line paste creates batch with shared import_batch_id and undo button
- 3-tab filtering: Inbox (unprocessed), Processed (with conversion links), All
- Context pre-fill: optional area/project selectors on capture form
- Processed items show type badge and link to converted entity
- Sidebar badge count for unprocessed items already working

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 21:47:23 +00:00
5092e7e015 feat: mobile bottom navigation bar
5-item fixed bottom bar (Dashboard, Focus, Tasks, Calendar, More)
visible only on mobile (<768px). "More" opens a slide-up panel
with links to Notes, Meetings, Decisions, Contacts, Weblinks, Admin.
Active page highlighted with accent color. Desktop unaffected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 21:36:51 +00:00
a427f7c781 fix: test suite green (156 passed, 7 skipped)
- Fix seed data to match actual DB schemas (capture.processed, daily_focus.completed, weblinks junction table)
- Add date/datetime coercion in BaseRepository for asyncpg compatibility
- Add UUID validation in BaseRepository.get() to prevent DataError on invalid UUIDs
- Fix focus.py and time_tracking.py date string handling for asyncpg
- Fix test ordering (action before delete) and skip destructive admin actions
- Fix form_factory FK resolution for flat UUID strings
- Fix route_report.py to use get_route_registry(app)
- Add asyncio_default_test_loop_scope=session to pytest.ini

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 21:30:27 +00:00
f7c5ac2d89 Commit prior to Claude Code implementation on VM 2026-03-01 14:45:15 +00:00
a1d24354a0 Tier 3: timers CRUD + time tracking with topbar timer 2026-02-28 05:03:16 +00:00
7b259b9597 Tier 3: timetracking CRUD + time tracking with topbar timer 2026-02-28 04:48:37 +00:00
6ad642084d Tier 3: appointments CRUD + time tracking with topbar timer 2026-02-28 04:38:56 +00:00
82d03ce23a Session 2: files upload/preview, meetings with action items, decisions 2026-02-28 04:00:55 +00:00