Quick Wins: - Feature 1: Ticket linking in comments (#123456789 auto-links) - Feature 6: Checkbox click area fix (click anywhere in cell) - Feature 7: User groups display in settings modal UI Enhancements: - Feature 4: Collapsible sidebar with localStorage persistence - Feature 5: Inline ticket preview popup on hover (300ms delay) - Feature 2: Mobile responsive improvements (44px touch targets, iOS zoom fix) Major Features: - Feature 3: Kanban card view with status columns (toggle with localStorage) - Feature 9: API key generation admin panel (/admin/api-keys) - Feature 8: Ticket visibility levels (public/internal/confidential) New files: - views/admin/ApiKeysView.php - api/generate_api_key.php - api/revoke_api_key.php - migrations/008_ticket_visibility.sql Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
699 B
SQL
16 lines
699 B
SQL
-- Migration: Add ticket visibility levels
|
|
-- Run this migration to enable ticket visibility features
|
|
|
|
-- Add visibility columns to tickets table
|
|
ALTER TABLE tickets
|
|
ADD COLUMN visibility ENUM('public', 'internal', 'confidential') DEFAULT 'public' AFTER type,
|
|
ADD COLUMN visibility_groups VARCHAR(500) DEFAULT NULL AFTER visibility;
|
|
|
|
-- Create index for visibility filtering
|
|
CREATE INDEX idx_tickets_visibility ON tickets(visibility);
|
|
|
|
-- Example usage:
|
|
-- Public: All authenticated users can see the ticket
|
|
-- Internal: Only users in specified groups can see the ticket (visibility_groups contains comma-separated group names)
|
|
-- Confidential: Only creator, assignee, and admins can see the ticket
|