Allow deleting a team / a project from the admin panel
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
It would be useful to be able to delete a team or a project from the admin panel.
Deleting a team should also chain-delete every owned resource (like projects).
To illustrate one use case: There are currently 128 undeleted teams without any members in our DB:
mysql> SELECT id, name FROM d_b_team where id not in (select distinct teamId from d_b_team_membership) and markedDeleted = 0;
These member-less teams also have some projects associated to them, thus preventing these projects from being added by other users.
To "free up" these projects, it would be useful to be able to click on "Delete" on a member-less team in the admin panel.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the admin panel entry points for teams and projects and tracing their existing deletion or marked-deleted behavior. Verify how deleting a team should handle its owned projects and how member-less teams can release associated projects, then add coverage showing the complete deletion outcome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, typescript
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100