Tickets list: keeps itself up to date with a bar for tickets that came or went, bold for tickets the client wrote on since you last opened them with Mark as read (db 4.0.2), the last reply on hover over Activity, your open ticket count in the browser tab title, and desktop notifications for tickets assigned to you and client replies

This commit is contained in:
johnnyq
2026-11-19 17:56:51 -05:00
parent 533b801a70
commit 44773561cc
19 changed files with 919 additions and 7 deletions

16
db.sql
View File

@@ -4482,6 +4482,22 @@ CREATE TABLE `ticket_mail_choices` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ticket_reads`
--
DROP TABLE IF EXISTS `ticket_reads`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_reads` (
`ticket_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`read_at` datetime NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`ticket_id`,`user_id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ticket_replies`
--