Open Issues Need Help
View All on GitHubAI Summary: This issue involves adding two new POST-only API actions to the `TicketViewSet` in `Server/dggcrm/tickets/view.py`: `/api/tickets/<ticket_id>/claim` and `/api/tickets/<ticket_id>/unclaim`. The `/claim` action will assign the ticket to the requesting user (`request.user`), while `/unclaim` will set the `assigned_to` field to `None`. The unclaim action should only succeed if the requesting user is currently assigned to the ticket.
AI Summary: This issue proposes adding a linter to the project, initially as a pre-commit git hook, with future plans for CI integration. It requires linting Python code in `/Server` (suggesting Ruff) and React code in `/Application`, along with updating the README for setup instructions. The provided Ruff configuration serves as a starting point for Python linting.
AI Summary: This GitHub issue aims to implement a unit testing framework for the existing React frontend, which currently lacks any tests, to improve confidence in production deployments. A key challenge is selecting the most suitable React testing framework, and the issue seeks input on this decision. Acceptance criteria include writing an initial set of tests, integrating the chosen framework into the repository, and documenting its usage in the README.