Changelog

Last updated: July 25, 2025

Track the latest updates, improvements, and fixes to the Masca Helpdesk system.

Version 3.0.0
MAJOR RELEASE
July 25, 2025

Highlights

  • Complete Request Management System
  • Approval workflows
  • Email notifications
  • Three request types

features

  • Full-featured Request Management System with Asset, Leave, and Consumables request types
  • Sophisticated approval workflows - single approver for leave, department-based for assets/consumables
  • Automatic request ID generation with type-specific prefixes (AST-, LVE-, CON-)
  • Role-based request creation - admin_it, department_head, and department_member can create
  • Department-based approval routing for asset and consumables requests
  • User-specific approval routing for leave requests with approver selection
  • Leave calculator with working days calculation (excludes weekends)
  • Request attachments support with drag-and-drop file upload
  • Additional notification recipients selection for wider visibility
  • Request status workflow: pending → approved/declined with history tracking
  • Approval comments and decline reasons with full audit trail
  • Request listing with advanced filtering by status, type, and priority
  • Request detail view with approval actions and print functionality
  • Email notifications for request creation, assignment, and status changes
  • Integration with existing notification system for real-time updates

improvements

  • Enhanced email system to support request-specific notifications
  • Optimized database schema with proper indexes for request queries
  • Improved UI/UX with request type indicators and status badges
  • Better form validation with context-aware required fields
  • Progress indicators during request creation with file uploads
  • Responsive design for request pages on all device sizes
  • Smart permission checks preventing unauthorized access
  • Efficient pagination for large request lists

security

  • Complete RLS policies blocking external users from request system
  • Role-based access control for request creation and approval
  • Secure file upload with proper validation and storage
  • Protected approval actions with permission verification
  • Audit trail for all request-related actions
Version 2.1.1
PATCH RELEASE
June 17, 2025

Highlights

  • Enhanced escalation system
  • Clean activity logs
  • Improved user experience

improvements

  • Enhanced escalation system with dual-type support (users and projects)
  • Professional escalation activity log messages replacing raw field changes
  • Streamlined escalation UI with progress tracking and better feedback
  • Removed duplicate escalation comments for cleaner activity timeline
  • Enhanced "Escalated to External" badge for converted internal issues
  • Improved escalation permissions for users with supervised departments
  • Better email integration for project escalation notifications
  • Enhanced activity log formatting with escalation-specific messaging

fixes

  • Fixed unwanted raw field change activity logs during escalation (project id: empty → uuid)
  • Eliminated duplicate escalation comments that cluttered the issue timeline
  • Corrected escalation activity log action types for proper message formatting
  • Fixed escalation progress indicators and descriptions for better UX
  • Resolved activity log display issues showing technical field changes to users
  • Fixed escalation notification email templates and recipient handling
  • Corrected escalation badge visibility for internal-to-external conversions
Version 2.1.0
MINOR RELEASE
June 4, 2025

Highlights

  • Real-time notifications with filtering
  • User mention system
  • Enhanced dashboard

features

  • Real-time notification system with smart filtering (All, Department, Assigned)
  • User mention system with @tag autocomplete in comments - type @ to trigger user suggestions
  • Dashboard action items with filtering tabs and count badges for better task organization
  • Instant notifications for issue creation, assignments, status changes, and mentions
  • Notification bell icon with unread count badge in header - never miss important updates
  • Database integration for user mentions with full audit trail and relationship tracking
  • Smart user suggestions based on department and project context - see relevant team members first
  • Click-to-navigate from notifications directly to source issues or comments
  • Mark notifications as read/unread and delete functionality for inbox management
  • Real-time notification count updates without page refresh
  • Context-aware mention processing that understands project and department relationships

improvements

  • Enhanced comment system with mention processing and automatic notification creation
  • Real-time updates via Supabase subscriptions for instant notification delivery (no delays)
  • Improved dashboard UX with organized action items by relevance and assignment status
  • Context-aware notification filtering for better focus on what matters to each user
  • Visual feedback for mentions with styled badges and hover effects for better UX
  • Keyboard navigation support for mention autocomplete (arrow keys, Enter, Escape)
  • Pagination support for large numbers of dashboard action items with performance optimization
  • Enhanced empty state handling for dashboard filters with contextual messages
  • Improved notification UI with better visual hierarchy and clear action buttons
  • Better mention suggestion algorithm that prioritizes recently active users
  • Optimized database queries for notification and mention retrieval with proper indexing

security

  • Row Level Security (RLS) policies for notifications and user mentions ensuring data privacy
  • Secure mention processing with input validation to prevent injection attacks
  • Protected notification access based on user permissions and department/project visibility
  • Validated user mention extraction with proper error handling for malformed mentions
  • Secure notification creation that respects user roles and access levels
Version 2.0.0
MAJOR RELEASE
June 2025

Highlights

  • Enhanced authentication flow
  • Short ID system
  • Performance improvements

features

  • Added short_id columns to departments, projects, and profiles for better display and user-friendly URLs
  • Implemented auto-generation triggers for short IDs with collision detection and retry logic
  • New session refresh logic with visibility change detection to handle browser tab switching
  • Created DashboardWrapper for improved session management and automatic token refresh
  • Enhanced authentication flow with better error handling and user feedback
  • Automatic session validation on page load and navigation
  • Improved middleware for better route protection and user experience

improvements

  • Enhanced middleware error handling with proper fallbacks and user-friendly messages
  • Better user experience during authentication with loading states and clear feedback
  • Improved performance with new indexes on short_id columns for faster lookups
  • Consistent ID formatting with getDisplayId utility across all components
  • Optimized database queries for better performance on large datasets
  • Enhanced session management with proper cleanup and refresh handling
  • Better error boundaries and fallback UI for authentication failures

security

  • Implemented session validation and refresh API route with proper security checks
  • Enhanced authentication security measures with improved token handling
  • Better protection against session hijacking and CSRF attacks
  • Improved middleware security with proper authentication validation
Version 1.5.0
MINOR RELEASE
June 2025

Highlights

  • Complete CRUD functionality
  • Database optimizations
  • UI standardization

features

  • Full CRUD operations for all entities (users, departments, projects, issues)
  • Comprehensive department management system with hierarchical structure
  • Advanced project tracking capabilities with team assignment and progress monitoring
  • Sophisticated issue assignment workflow with role-based permissions
  • Enhanced search and filtering capabilities across all entities
  • Bulk operations support for administrative tasks
  • Data validation and integrity checks throughout the application

improvements

  • Major database schema enhancements with proper relationships and constraints
  • Complete UI component standardization using Radix UI primitives
  • Comprehensive error handling across the application with user-friendly messages
  • Performance optimizations with proper database indexing and query optimization
  • Enhanced form validation with real-time feedback and proper error states
  • Improved loading states and skeleton components for better UX
  • Better accessibility support with proper ARIA labels and keyboard navigation

fixes

  • Removed unnecessary color configurations that were causing theme conflicts
  • Fixed complex database relationship issues with proper foreign key constraints
  • Resolved type mismatches throughout the codebase for better type safety
  • Fixed pagination issues with large datasets
  • Corrected permission checks for various user roles
Version 1.0.0
MAJOR RELEASE
June 2025

Highlights

  • Initial release
  • Core functionality
  • Complete helpdesk system

features

  • Complete user authentication system with Supabase Auth integration
  • Comprehensive role-based access control with 6 distinct user roles and permissions
  • Full-featured issue tracking system with status management and lifecycle tracking
  • Advanced department and project management with hierarchical organization
  • Robust file attachment support with multiple file types and drag-and-drop upload
  • Comprehensive activity logging and audit trail for all user actions
  • Basic notification system for issue updates and assignments
  • Analytics dashboard with performance metrics and reporting capabilities
  • User profile management with role assignment and department affiliation
  • Search functionality across issues, projects, and users
  • Comment system for collaborative discussion on issues

improvements

  • Fully responsive design optimized for desktop, tablet, and mobile devices
  • Accessible UI components built with Radix UI for maximum compatibility
  • Complete TypeScript implementation for type safety and developer experience
  • Server-side rendering with Next.js 15 for optimal performance and SEO
  • Dark mode support with system preference detection
  • Optimized database queries and proper error handling
  • Professional UI design with consistent styling and branding