Commit Graph

92 Commits

Author SHA1 Message Date
Max
418bf7a073 Add task sorting by updatedAt (descending) in all views
- BacklogView: Sort current sprint tasks, backlog, and other sprint tasks by last updated
- SprintBoard: Sort sprint tasks by updatedAt descending
- Ensures latest updated tasks appear at top of each section
2026-02-21 22:06:36 -06:00
Max
02d19a1afb Fix sprint timezone bug and add auto-rollover
- Sprint end dates now treated as end-of-day (23:59:59) to handle timezone issues
  where sprints appeared empty before local midnight
- Added auto-rollover: when a sprint ends, incomplete tasks automatically
  move to the next sprint, ended sprint marked as completed
- Applied fix to both main page and BacklogView
2026-02-21 20:47:03 -06:00
Max
9778c20dbf Remove internal table CRUD APIs
Removed public CRUD for internal tables:
- Deleted /api/meta - internal key-value store
- Deleted /api/users - use auth endpoints instead
- Removed CLI commands: user admin and meta operations

Core app tables with CRUD:
 tasks - Full CRUD
 projects - Full CRUD (list, get, create, update, delete)
 sprints - Full CRUD (list, get, create, update, delete)

Auth tables (internal, no public CRUD):
- users - Managed via /api/auth/* endpoints
- sessions - Managed by auth system
- password_reset_tokens - Managed by forgot/reset flow
- meta - Internal use only
2026-02-21 17:57:25 -06:00
Max
873712e037 Add individual get endpoints for projects and sprints
New API endpoints:
- GET /api/projects/[id] - Get single project
- GET /api/sprints/[id] - Get single sprint

New CLI commands:
- project get <id> - Get specific project
- sprint get <id> - Get specific sprint

Project and Sprint CRUD now complete:
 list, get, create, update, delete
2026-02-21 17:50:42 -06:00
Max
3a618e384d Add full CRUD for all database tables
New API endpoints:
- /api/meta (GET, POST, DELETE) - Meta key-value store CRUD
- /api/users (GET, PATCH, DELETE) - User admin CRUD

New CLI commands:
- user get/update/delete - Admin user management
- meta list/get/set/delete - Meta key-value management

Tables now with full CRUD:
 tasks - Full CRUD
 projects - Full CRUD
 sprints - Full CRUD
 users - Full CRUD (list, get, create via register, update, delete)
 meta - Full CRUD (list, get, set/create/update, delete)

Internal tables (no public CRUD needed):
- sessions - Managed by auth system
- password_reset_tokens - Managed by forgot/reset password flows
2026-02-21 17:45:08 -06:00
Max
42188457da Add complete CRUD APIs for projects and sprints
- New API endpoints:
  - GET /api/projects - List projects
  - POST /api/projects - Create project
  - PATCH /api/projects - Update project
  - DELETE /api/projects - Delete project
  - GET /api/sprints - List sprints
  - POST /api/sprints - Create sprint
  - PATCH /api/sprints - Update sprint
  - DELETE /api/sprints - Delete sprint

- Added CLI commands:
  - project create/update/delete
  - sprint create/update/delete

- Updated help text with new commands

Web UI can now do full CRUD on projects/sprints and CLI matches 1:1
2026-02-21 17:40:09 -06:00
Max
9453f88df4 feat: task search and save feedback fixes
- Add task search with debounce (title + description filtering)
- Add sonner toast library for notifications
- Visual save feedback: spinner → green 'Saved!' → toast confirmation
- Error handling with descriptive toast messages
- Works across Kanban and Backlog views
2026-02-21 16:32:15 -06:00
caa0bf1893 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 16:12:45 -06:00
69984f7d86 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 16:11:23 -06:00
ff3cc87dc8 Fix cookie handling for Vercel serverless 2026-02-21 15:54:32 -06:00
cd0fdfbd60 Add auth debug logging 2026-02-21 15:50:17 -06:00
5b7efa2c18 Fix 413 error - send individual tasks instead of bulk 2026-02-21 15:47:05 -06:00
b3015e8bb8 Add error logging to saveData 2026-02-21 15:43:11 -06:00
06bd8e188e Add debug endpoint 2026-02-21 15:39:44 -06:00
bacca13be5 Fix Supabase env var names to match Vercel 2026-02-21 15:37:21 -06:00
ee8158993f Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 13:37:59 -06:00
bd2261c82f Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 13:19:15 -06:00
3b807aa74d Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 13:02:06 -06:00
7c1b9d578c Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 12:59:22 -06:00
82658707a2 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 12:57:27 -06:00
6f863ba659 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 12:17:19 -06:00
a62afb95e7 Add forgot password feature with reset flow 2026-02-20 18:51:04 -06:00
ae5c952ab1 Fix TypeScript and ESLint errors for production build 2026-02-20 18:33:52 -06:00
5b3691826b Resolve assignee avatars via user profiles 2026-02-20 15:40:47 -06:00
a353ed0feb Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-20 13:43:41 -06:00
ed1d2d956a Add auth, remember-me sessions, and account settings 2026-02-20 13:12:33 -06:00
dc6722cd3f Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-20 12:56:05 -06:00
5ba0edd856 Implement threaded task comments with nested replies 2026-02-20 12:36:12 -06:00
6361ba1bb3 Add URL-based task detail page and route navigation 2026-02-20 12:31:07 -06:00
002f380893 Add task attachments with SQLite persistence 2026-02-20 12:23:58 -06:00
54a1a97e32 Show current status pill on Kanban task cards 2026-02-19 23:56:13 -06:00
301156a4ea Migrate task persistence to SQLite and remove legacy JSON store 2026-02-19 23:34:46 -06:00
eaf01cf634 Finalize sprint/backlog status flow and document current behavior 2026-02-19 23:25:43 -06:00
c5cf7703b8 Improve backlog drag targets and persistent handle visibility 2026-02-19 23:03:49 -06:00
957907c87a Refactor tasks to label workflow and simplify board layout 2026-02-19 22:57:10 -06:00
79bffbf0b8 Add extensive logging to trace data flow and fix API to handle tasks array 2026-02-19 21:05:12 -06:00
30d8d7022b Add detailed logging to updateTask and syncToServer 2026-02-19 21:01:11 -06:00
6ef31132b6 Fix: Always load server data on refresh, don't keep defaults 2026-02-19 20:55:49 -06:00
d8f212cff2 Add debugging logs to syncFromServer 2026-02-19 20:29:32 -06:00
118078fc75 Fix all optional comments references - add null checks everywhere 2026-02-19 20:22:32 -06:00
c0ca8721e8 Add debugging logs to BacklogView 2026-02-19 20:16:45 -06:00
67c6b83a78 Fix undefined comments error in BacklogView 2026-02-19 20:06:24 -06:00
694cb6a793 Fix TypeScript errors causing HTTP 500 2026-02-19 20:03:40 -06:00
1db22ef509 Add Save button to task edit dialog - changes only save when clicked 2026-02-19 20:02:04 -06:00
33d8822b45 Fix date parsing errors in Backlog view 2026-02-19 19:57:44 -06:00
50164ac95a Fix: Don't persist task data to localStorage, always load from server 2026-02-19 19:53:41 -06:00
1420a1ed43 Add Close button and saved indicator to task detail dialog 2026-02-19 19:51:05 -06:00
b737a1c318 Fix task creation to use sprint's project when sprint is selected 2026-02-19 19:49:26 -06:00
5bcb1a6468 Show all sprints in task detail dialog (not filtered by project) 2026-02-19 19:44:43 -06:00
226e446f5f Fix task creation to respect sprint selection dropdown 2026-02-19 19:41:58 -06:00