Skip to content

refactor(dashboard): migrate internal fetches to actions#43

Merged
Vann-Dev merged 6 commits into
mainfrom
kaito/server-actions-dashboard-migration
May 13, 2026
Merged

refactor(dashboard): migrate internal fetches to actions#43
Vann-Dev merged 6 commits into
mainfrom
kaito/server-actions-dashboard-migration

Conversation

@Vann-Dev
Copy link
Copy Markdown
Owner

@Vann-Dev Vann-Dev commented May 13, 2026

Summary

  • Migrates dashboard browser calls away from /api/internal/** to Server Actions and server loaders.
  • Covers notes read markers, dashboard summary/audit/brief, agents, projects, project detail/task board, task CRUD/status/archive, project-agent membership, settings/company/account mutations, and create-company flow.
  • Preserves external /api/agent/** and existing /api/internal/** route files for compatibility/follow-up removal; dashboard/client source no longer references /api/internal.

Checks

  • PASS: git diff --check
  • PASS: source grep: grep -R "api/internal" -n apps/web/app/dashboard apps/web/components/dashboard returns no matches
  • PASS: corepack pnpm lint
  • PASS: DATABASE_URL=postgresql://user:pass@localhost:5432/db?schema=public AUTH_SECRET=placeholder corepack pnpm typecheck
  • PASS: corepack pnpm test:task-freshness
  • FAIL: DATABASE_URL=postgresql://user:pass@localhost:5432/db?schema=public AUTH_SECRET=placeholder corepack pnpm build — Next/web build failed with ENOSPC: no space left on device, write while writing webpack cache during optimized production build. Existing warning before failure: deprecated Next.js middleware convention.

Notes

  • Removed generated apps/web/.next after the ENOSPC build failure to recover workspace space.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-bridge-web Ready Ready Preview, Comment May 13, 2026 6:56pm

@Vann-Dev Vann-Dev changed the title refactor(dashboard): move notes read marker to server action refactor(dashboard): migrate internal fetches to actions May 13, 2026
@Vann-Dev Vann-Dev merged commit dea6342 into main May 13, 2026
2 checks passed
@Vann-Dev Vann-Dev deleted the kaito/server-actions-dashboard-migration branch May 13, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant