refactor(ticketing): delete existing ticketing system for V2 rebuild#109
Draft
TristanHourtoulle wants to merge 1 commit intodevfrom
Draft
refactor(ticketing): delete existing ticketing system for V2 rebuild#109TristanHourtoulle wants to merge 1 commit intodevfrom
TristanHourtoulle wants to merge 1 commit intodevfrom
Conversation
Remove all frontend ticketing code (types, services, hooks, components, pages, tests, docs) and clean up references in navigation, toasts, and role permissions. This clears the way for the TICKETING-V2 rebuild. Closes TRI-85
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the entire ticketing system (V1) to prepare for a clean V2 rebuild. This clears out all existing ticket-related pages, components, hooks, services, types, and documentation.
Type of Change
Changes Overview
Removed Pages
app/(dashboard)/admin/tickets/page.tsxβ Admin ticket management pageapp/(dashboard)/support/page.tsx&layout.tsxβ Support pageapp/(dashboard)/tickets/[id]/page.tsxβ Ticket detail pageapp/(dashboard)/tickets/page.tsxβ Tickets listing pageapp/unauthorized/page.tsxβ Minor cleanupRemoved Components
components/ticket/β All ticket components (admin stats, ticket cards, create dialog, barrel export)components/navigation-location.tsxβ Navigation reference cleanupRemoved Hooks & Services
hooks/useTicket.tsβ Ticket management hookhooks/useRole.tsβ Role permissions hookhooks/use-links.ts&hooks/index.tsβ Links and barrel exportservices/ticket.ts&services/index.tsβ Ticket API serviceRemoved Types, Utils & Docs
lib/types/ticket.tsβ Ticket type definitionslib/utils/file-upload.tsβ File upload utilitieslib/toast.tsβ Toast translation helpersdocs/backend_ticketing.md&backend_ticketing.mdβ Backend ticketing documentationtests/unit/lib/role-permissions.test.tsβ Role permissions testsTechnical Details
Files Changed: 23 files
Lines Removed: ~7,071
This is a full teardown of the V1 ticketing system. All ticket-related code has been removed to allow a clean architecture for V2.
Testing
Breaking Changes
All V1 ticketing functionality is removed. This is intentional as V2 will be built from scratch.
Deployment Notes
No special steps required. Ensure no other branches depend on removed ticketing code before merging.