Skip to content

feat(project): allow projects to be deleted#57

Merged
StarDylan merged 4 commits into
mainfrom
project-delete
Feb 27, 2026
Merged

feat(project): allow projects to be deleted#57
StarDylan merged 4 commits into
mainfrom
project-delete

Conversation

@StarDylan

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds end-to-end support for deleting projects, including backend APIs to authorize and perform deletion and frontend UI to initiate/confirm destructive actions.

Changes:

  • Expose current-user and project-info APIs to drive “owner-only” delete UI and show session counts.
  • Add backend project deletion endpoint with creator-only authorization and name confirmation.
  • Extend project listings with creator_user_id so the frontend can determine project ownership.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
frontend/src/lib/api.ts Adds API typings and client calls for current user, project info, and delete project.
frontend/src/components/ProjectList.tsx Adds owner-only project menu + delete confirmation modal and wiring to delete API.
backend/src/main.py Adds /user/me, /project/{id}/info, and /project/{id} DELETE endpoints.
backend/src/interview_helper/context_manager/database.py Adds DB helpers for session counts, creator lookup, and cascading project deletion (including audio file cleanup).

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

Comment thread frontend/src/components/ProjectList.tsx Outdated
Comment thread frontend/src/components/ProjectList.tsx
Comment thread frontend/src/lib/api.ts Outdated
Comment thread backend/src/interview_helper/context_manager/database.py Outdated
Comment thread backend/src/interview_helper/context_manager/database.py
Comment thread backend/src/main.py
Comment thread backend/src/interview_helper/context_manager/database.py
StarDylan and others added 3 commits February 27, 2026 13:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@StarDylan StarDylan merged commit 77003fc into main Feb 27, 2026
2 checks passed
@StarDylan StarDylan deleted the project-delete branch February 27, 2026 21:50
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