Skip to content

[FEAT] Project Creation#43

Merged
OverDsh merged 15 commits intodevfrom
feat/project_creation
Apr 5, 2026
Merged

[FEAT] Project Creation#43
OverDsh merged 15 commits intodevfrom
feat/project_creation

Conversation

@OverDsh
Copy link
Copy Markdown
Contributor

@OverDsh OverDsh commented Apr 5, 2026

See Issue #34

@OverDsh OverDsh added this to the V1.0 MVP Release milestone Apr 5, 2026
@OverDsh OverDsh self-assigned this Apr 5, 2026
Copilot AI review requested due to automatic review settings April 5, 2026 09:46
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 5, 2026

🚀 Preview Deployment:

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Implements initial “Project” support across the stack (DB schema, backend services + API routes, frontend hooks/controllers, and a basic dashboard UI) to enable listing and creating projects within a team context.

Changes:

  • Added project database table + Drizzle migration/snapshot, plus shared project types/schemas.
  • Introduced ProjectService and /api/teams/[teamId]/projects* endpoints for CRUD + slug resolution.
  • Added client-side hooks/controller and a dashboard projects table with create dialog + project details page.

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
src/services/TeamService.ts Reuses shared nameToSlug utility for team slug generation.
src/services/ProjectService.ts Adds server-side project CRUD, permissions checks, and slug logic.
src/lib/utils/team-utils.ts Introduces project-related permission actions.
src/lib/utils.ts Adds nameToSlug helper for consistent slug generation.
src/lib/types/project-types.ts Adds project select map + Zod schemas for create/rename.
src/hooks/useProject.ts Adds useProject, useProjects, and project mutations for react-query.
src/db/schema/project.ts Defines project table and unique (teamId, slug) constraint.
src/db/schema/index.ts Re-exports project schema.
src/controllers/ProjectController.ts Adds client API wrapper for project endpoints.
src/app/dashboard/[teamSlug]/projects/[projectSlug]/page.tsx Adds basic project page rendering name/slug.
src/app/dashboard/[teamSlug]/page.tsx Adds projects table, create dialog trigger, and row navigation.
src/app/dashboard/[teamSlug]/components/ProjectColumn.tsx Defines table columns and per-row actions menu.
src/app/dashboard/[teamSlug]/components/CreateProjectDialog.tsx Adds “create project” dialog with name input and mutation handling.
src/app/api/teams/[teamId]/projects/route.ts Implements list/create projects API endpoints.
src/app/api/teams/[teamId]/projects/resolve-slug/[slug]/route.ts Adds “resolve slug to project” API endpoint.
src/app/api/teams/[teamId]/projects/[projectId]/route.ts Implements get/rename/delete project API endpoints.
drizzle/meta/0003_snapshot.json Adds schema snapshot including new project table.
drizzle/meta/_journal.json Registers migration 0003_happy_starhawk.
drizzle/0003_happy_starhawk.sql Migration creating project table and unique index.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@OverDsh OverDsh merged commit c5f4c08 into dev Apr 5, 2026
2 checks passed
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.

2 participants