feat: improve ticket navigation and filters

This commit is contained in:
Esdras Renan 2025-11-12 20:40:38 -03:00
parent ff41a8bd4e
commit f5898153fe
7 changed files with 199 additions and 4 deletions

View file

@ -8,8 +8,12 @@ export type TicketFiltersState = {
channel: string | null
company: string | null
assigneeId: string | null
categoryId: string | null
view: "active" | "completed"
focusVisits: boolean
dateFrom: string | null
dateTo: string | null
sort: "recent" | "oldest"
}
export const defaultTicketFilters: TicketFiltersState = {
@ -20,6 +24,10 @@ export const defaultTicketFilters: TicketFiltersState = {
channel: null,
company: null,
assigneeId: null,
categoryId: null,
view: "active",
focusVisits: false,
dateFrom: null,
dateTo: null,
sort: "recent",
}