Commit Graph
35 Commits
Author SHA1 Message Date
bot-hermes 9bc571eb69 feat: add notification bell with activity feed and notification preferences
- New NotificationBell component in topbar showing recent activity
- Popover with last 10 activity items from /api/domains/[id]/activity
- Notification preferences section in Settings > Shortcuts tab
- Preferences persisted to localStorage (pe_notification_prefs)
- Toggle switches for task_created, task_completed, habit_logged, comment_added
2026-07-29 19:27:24 +00:00
bot-hermes 7ced6f2bf2 feat: add undo toasts for task and note deletions
- Capture deleted item before DELETE call
- Show sonner toast with Undo action button
- On Undo, POST to recreate the item with original data
- Applied to tasks-list-view, task-detail-panel, and notes page
2026-07-29 19:26:05 +00:00
bot-hermes fb68009c23 feat: add pagination with Load More button to task list view
- Add offset/limit pagination with 50 items per page
- Load More button appends tasks to existing list
- Show "Showing X of Y" count in the filter bar area
2026-07-29 19:25:17 +00:00
bot-hermes bfada34ead feat: add time tracking UI with timer and clock icon on kanban cards
- Add time tracking section in task detail panel with progress bar
- Start/Stop timer with elapsed time display
- On stop, PATCH trackedMinutes with delta
- Add clock icon on kanban cards when estimatedMinutes is set
- Note: timer is per-tab (no persistence across refresh)
2026-07-29 19:22:36 +00:00
bot-hermes 3708505b00 fix: remove completionMode/color/icon from habits route (not in schema) 2026-07-29 18:50:32 +00:00
bot-hermes f5121f3b8d fix: rewrite /api/tasks, /api/habits, /api/projects to use Drizzle ORM instead of PocketBase stub 2026-07-29 18:48:10 +00:00
bot-hermes 0de8f3837f fix: restore domainId prop to TasksKanbanView and TasksListView 2026-07-29 15:26:02 +00:00
bot-hermes bc27e3e4bc fix: wrap tasks page in RealtimeProvider to prevent useRealtimeContext error 2026-07-29 15:23:54 +00:00
bot-hermes dbce018ce5 fix: use sql tagged template for pg_notify instead of db.execute 2026-07-29 13:07:03 +00:00
bot-hermes 83befd6a84 fix: activity.ts pg_notify syntax and graph-service.ts sections empty inArray 2026-07-29 13:03:55 +00:00
bot-hermes 4089d7464c fix: use whitelist sort columns in domains route to fix TypeScript error 2026-07-29 12:59:20 +00:00
bot-hermes f5463f21b0 fix: rewrite /api/domains route to use Drizzle ORM instead of PocketBase stub 2026-07-29 12:57:06 +00:00
bot-hermes 700d1456ac fix: remove .unref() from middleware setInterval (Edge Runtime incompatibility) 2026-07-29 12:47:39 +00:00
bot-hermes ed3d3ae8d1 fix: rename [id] to [domainId] in domains API route to resolve Next.js param conflict 2026-07-29 12:44:41 +00:00
bot-hermes 326af9fd48 fix: rename [id] to [projectId] in projects API route to resolve Next.js param conflict 2026-07-29 12:39:08 +00:00
bot-hermes 4f0010fe40 Merge rrule import fix 2026-07-29 12:30:17 +00:00
bot-hermes 33f1009946 Merge v2 full rewrite (P1-P6) 2026-07-29 12:25:13 +00:00
bot-hermes c5e996326c Merge PR #9: Full UX audit fixes 2026-07-28 22:00:19 +00:00
bot-hermes e21028a64c fix: search route - in-process substring match for cross-entity search 2026-07-28 21:54:50 +00:00
bot-hermes 9ddab4e5a5 fix: round 3 UI gaps - habit edit dialog, domain edit, empty states, domain name resolution 2026-07-28 15:02:01 +00:00
bot-hermes a06d34264d fix: compute project progress, task_count, completed_count in detail API 2026-07-28 14:41:07 +00:00
bot-hermes 945dd8904a fix: allow null due_date in task schema for PATCH updates 2026-07-28 14:20:03 +00:00
bot-hermes b76ba9f5c0 fix: notes page default domain should be empty (fetched from API) 2026-07-28 13:57:20 +00:00
bot-hermes 80834ef121 fix: notes page fetches domains on mount for domain name resolution 2026-07-28 13:54:18 +00:00
bot-hermes 640994c9c1 fix: projects page re-fetches on refreshKey change 2026-07-28 13:45:55 +00:00
bot-hermes b45248be87 fix: resolve domain UUIDs in tasks list view 2026-07-26 01:26:37 +00:00
bot-hermes af7d05be0f fix: 7 UX bugs across dashboard, tasks, projects, calendar, settings
- Dashboard: fetch project progress from /api/projects/[id]/progress
- Tasks List: add DropdownMenuTrigger to More options button
- Projects: add New project button with CreateItemDialog integration
- Settings: use color picker value when creating domains
- Calendar: use dynamic domain options instead of hardcoded list
- Dashboard: make View all button navigate to /tasks
- Dashboard: domain names already resolved via domainMap (verified working)
2026-07-26 01:22:41 +00:00
bot-hermes 953a947874 fix: resolve 15+ UX issues across the full app
- CreateItemDialog: shared Zustand store for dialog state
- TopBar: use store instead of router.push navigation
- TaskDetailPanel: dynamic domain fetch from /api/domains
- TodayTasksWidget: domain name resolution from UUIDs
- ProjectProgressWidget: fetch real progress, default to 0
- Calendar page: domain filter fetches from API dynamically
- Habits page: edit/delete dropdown with AlertDialog
- Projects page: domain name display + delete button
- Notes page: domain picker on creation, names in list
- Settings domains: add color picker input
- Tasks list view: MoreHorizontal wired to edit/delete
- HabitCard: domain resolution + edit/delete dropdown
- PocketBase compat: add JSDoc migration comment
2026-07-25 02:22:01 +00:00
bot-hermes ec33544172 fix: calendar, habits, analytics PB 0.25 compat (#6) 2026-07-19 19:39:41 -04:00
bot-hermes a21c1606c9 fix: calendar filter, habit service, PB 0.25 field compat
- Calendar: remove unsupported due_date!="" filter (PB 0.25 rejects), fetch all + filter client-side
- habit-service: fix active=true filter to archived!=true (field doesnt exist)
- habit-service: remove references to non-existent fields (completed, skipped, score_config, start_date)
- All PocketBase collections: re-added proper data fields with correct PB IDs for relations

Fixes calendar, analytics, habits heatmap, and habits streaks endpoints.
2026-07-19 23:39:20 +00:00
bot-hermes e76f60e4de fix: PB 0.25 compat — empty filter/sort and created/updated fields (#5) 2026-07-19 11:03:46 -04:00
bot-hermes 327c5bf733 fix: handle empty filter param and add created/updated fields for PB 0.25 compat 2026-07-19 15:03:15 +00:00
bot-hermes a45a2a0bb2 fix: add apps/web/public/.gitkeep for Docker build 2026-07-19 00:10:16 +00:00
bot-hermes 22da26d6e9 fix: resolve Zod v4 record type error and worker TS compilation (#1)
Fixes two build-breaking bugs:

1. Zod v4 type error — z.record() needed 2 args
2. Worker Dockerfile — tsx for TS runtime

Review notes:
- tsbuildinfo build artifact committed (should be gitignored — follow-up)
- tsx as devDependency + --omit=dev in worker Dockerfile = npx fetches on restart (fragile — follow-up)

Merged by Hermes (Grade 36 Bureaucrat)
2026-07-18 20:04:57 -04:00
bot-hermes 301f4ea5ce fix: resolve Zod v4 record type error and worker TypeScript compilation
- packages/shared/src/schemas/agent.ts: z.record(z.unknown()) → z.record(z.string(), z.unknown())
- Dockerfile.worker: add TypeScript compilation support (tsx)

Fixes #build-web and #build-worker container failures.
2026-07-19 00:03:43 +00:00