7ebc0af3c7
feat: expand multi-tenant architecture and role management in TODO - Updated migration plan to include a complete user model with roles (ADMIN, MANAGER, USER) and hierarchical relationships. - Added detailed phases for implementing role-based permissions and collaborative features, enhancing user management and task assignment. - Structured UI/UX considerations for different user roles, ensuring tailored experiences and improved navigation.
Julien Froidefond
2025-09-24 06:13:48 +02:00
11ebe5cd00
refactor: remove unused analytics actions and integrate metrics directly - Deleted analytics.ts and deadline-analytics.ts as they were no longer needed. - Integrated AnalyticsService and DeadlineAnalyticsService directly into HomePage and DailyPage, streamlining data fetching. - Updated components to utilize the new metrics structure, ensuring proper data flow and rendering.
Julien Froidefond
2025-09-23 22:07:52 +02:00
21e1f68921
fix: clean up imports and improve text formatting - Removed unused DeadlineMetrics import from deadline-analytics.ts. - Updated text in DeadlineReminder component to use HTML entity for apostrophe, enhancing rendering consistency.
Julien Froidefond
2025-09-23 21:55:02 +02:00
8a227aec36
feat: update analytics services for improved task handling - Removed unused parseDate import from analytics.ts. - Refactored ManagerSummaryService to handle standalone todos with a new priority rule, ensuring todos without tasks default to low priority. - Updated logic in MetricsService to calculate total tasks by including in-progress tasks, enhancing completion rate accuracy. - Adjusted comments for clarity on new functionality and priority determination.
Julien Froidefond
2025-09-23 21:54:55 +02:00
7ac961f6c7
feat: add DeadlineReminder component for urgent task notifications - Introduced DeadlineReminder component to display urgent tasks based on deadlines. - Integrated the component into DailyPageClient for desktop view, enhancing user awareness of critical tasks. - Implemented logic to fetch and sort urgent tasks by urgency level and remaining days.
Julien Froidefond
2025-09-23 21:52:56 +02:00
fd3827214f
feat: update dashboard components and analytics for 7-day summaries - Modified ManagerWeeklySummary, MetricsTab, and ProductivityAnalytics to reflect a focus on the last 7 days instead of the current week. - Enhanced ManagerSummaryService and MetricsService to calculate metrics over a sliding 7-day window, improving data relevance. - Added a new utility function formatDistanceToNow for better date formatting in French. - Updated comments and documentation to clarify changes in timeframes.
Julien Froidefond
2025-09-23 21:22:59 +02:00
336b5c1006
feat: integrate Jira and TFS filters into KanbanFilters - Replaced existing Jira and TFS toggle handlers with JiraFilters and TfsFilters components for improved modularity and maintainability. - Streamlined filter management by encapsulating logic within dedicated components, enhancing readability and future extensibility.
Julien Froidefond
2025-09-23 20:53:04 +02:00
db8ff88a4c
feat: add TFS filters and integration - Introduced TFS filtering capabilities in KanbanFilters with options to show/hide TFS tasks and filter by TFS projects. - Integrated TfsQuickFilter component into KanbanPageClient and MobileControls for enhanced task management. - Updated TasksContext to support new TFS filter states and ensure proper task filtering based on TFS criteria. - Enhanced type definitions in types.ts to accommodate new TFS filter properties.
Julien Froidefond
2025-09-23 11:07:24 +02:00
bbb4e543c4
feat: enhance type organization and import structure - Added detailed tasks in TODO.md for isolating and organizing types/interfaces across various services, including analytics, task management, and integrations. - Updated imports in multiple files to use the new @/services/core/database path for consistency. - Ensured all type imports are converted to import type { ... } where applicable for better clarity and performance.
Julien Froidefond
2025-09-23 10:35:52 +02:00
88ab8c9334
feat: complete Phase 5 of service refactoring - Marked tasks in TODO.md as completed for moving TFS and Jira services to the integrations directory and correcting imports across the codebase. - Updated imports in various action files, API routes, and components to reflect the new structure. - Removed obsolete jira-advanced-filters.ts, jira-analytics.ts, jira-analytics-cache.ts, jira-anomaly-detection.ts, jira-scheduler.ts, jira.ts, and tfs.ts files to streamline the codebase. - Added new tasks in TODO.md for future cleaning and organization of service imports.
Julien Froidefond
2025-09-23 10:32:25 +02:00
f5417040fd
feat: complete Phase 4 of service refactoring - Marked tasks in TODO.md as completed for moving task-related files to the task-management directory and correcting imports across the codebase. - Updated imports in seed-data.ts, seed-tags.ts, API routes, and various components to reflect the new structure. - Removed obsolete daily.ts, tags.ts, and tasks.ts files to streamline the codebase. - Added new tasks in TODO.md for future cleaning and organization of service imports.
Julien Froidefond
2025-09-23 10:25:41 +02:00
b8e0307f03
feat: complete Phase 3 of service refactoring - Marked tasks in TODO.md as completed for moving backup-related files to the data-management directory and correcting imports across the codebase. - Updated imports in backup-manager.ts, API routes, and various components to reflect the new structure. - Removed obsolete backup.ts and backup-scheduler.ts files to streamline the codebase. - Added new tasks in TODO.md for future cleaning and organization of service imports.
Julien Froidefond
2025-09-23 10:20:56 +02:00
ed16e2bb80
feat: complete Phase 2 of service refactoring - Marked tasks in TODO.md as completed for moving analytics-related files to the analytics directory and correcting imports across the codebase. - Updated imports in src/actions/analytics.ts, src/actions/metrics.ts, and various components to reflect the new structure. - Removed unused analytics.ts, manager-summary.ts, and metrics.ts files to streamline the codebase.
Julien Froidefond
2025-09-23 10:15:13 +02:00
f88954bf81
feat: refactor service organization and update imports - Introduced a new structure for services in src/services/ to improve organization by domain, including core, analytics, data management, integrations, and task management. - Moved relevant files to their new locations and updated all internal and external imports accordingly. - Updated TODO.md to reflect the new service organization and outlined phases for further refactoring.
Julien Froidefond
2025-09-23 10:10:34 +02:00
472135a97f
fix: remove tooltip functionality from TaskCard component - Disabled hover tooltip on task cards by removing related state and event handlers. - Updated TODO.md to reflect the completion of disabling hover on task cards.
Julien Froidefond
2025-09-22 09:09:50 +02:00
b5d53ef0f1
feat: add "Move to Today" functionality for pending tasks - Implemented a new button in the PendingTasksSection to move unchecked tasks to today's date. - Created moveCheckboxToToday action in daily.ts to handle the logic for moving tasks. - Updated DailyPageClient and PendingTasksSection to integrate the new functionality and refresh the daily view after moving tasks. - Marked the feature as completed in TODO.md.
Julien Froidefond
2025-09-22 08:51:59 +02:00
f9d0641d77
fix: improve text truncation in EditCheckboxModal - Added min-w-0 to the title container to prevent overflow in the EditCheckboxModal. - Updated task title and description elements to use truncate for better text handling and prevent layout issues.
Julien Froidefond
2025-09-22 08:49:47 +02:00
361fc0eaac
feat: enhance mobile and desktop layouts in Daily and Kanban pages - Refactored DailyPageClient to prioritize mobile layout with today's section first and calendar at the bottom for better usability. - Updated KanbanPageClient to include responsive controls for mobile, improving task management experience. - Adjusted DailyCheckboxItem and DailySection for better touch targets and responsive design. - Cleaned up TODO.md to reflect changes in mobile interface considerations and task management features.
Julien Froidefond
2025-09-21 21:37:30 +02:00
2194744eef
chore: clean up TODO.md by removing outdated mobile component examples - Deleted specific mobile component examples that are no longer relevant to the current project scope. - Updated UX considerations for mobile to focus on simplicity and touch optimization.
Julien Froidefond
2025-09-21 21:13:06 +02:00
8be5cb6f70
feat: update TODO.md with completed tasks and new features - Marked the "Pending Tasks Section" and "Archived Status" as implemented with detailed descriptions. - Added visual indicators for task age and actions for each task in the Daily page. - Updated mobile task management features to improve navigation and usability.
Julien Froidefond
2025-09-21 19:58:23 +02:00
3cfed60f43
feat: refactor daily task management with new pending tasks section - Added PendingTasksSection to DailyPageClient for displaying uncompleted tasks. - Implemented getPendingCheckboxes method in DailyClient and DailyService to fetch pending tasks. - Introduced getDaysAgo utility function for calculating elapsed days since a date. - Updated TODO.md to reflect the new task management features and adjustments. - Cleaned up and organized folder structure to align with Next.js 13+ best practices.
Julien Froidefond
2025-09-21 19:55:04 +02:00
0a03e40469
feat: enhance metrics dashboard with new components and data handling - Introduced MetricsOverview, MetricsMainCharts, MetricsDistributionCharts, MetricsVelocitySection, and MetricsProductivitySection for improved metrics visualization. - Updated MetricsTab to integrate new components and streamline data presentation. - Added compatibility fields in JiraTask and AssigneeDistribution for better data handling. - Refactored calculateAssigneeDistribution to include a count for total issues. - Enhanced JiraAnalyticsService and JiraAdvancedFiltersService to support new metrics calculations. - Cleaned up unused imports and components for a more maintainable codebase.
Julien Froidefond
2025-09-21 15:55:11 +02:00
c650c67627
feat: integrate UserPreferencesContext for improved preference management - Added UserPreferencesProvider to RootLayout for centralized user preferences handling. - Updated components to remove direct user preferences fetching, relying on context instead. - Enhanced SSR data fetching by consolidating user preferences retrieval into a single service call. - Cleaned up unused props in various components to streamline the codebase.
Julien Froidefond
2025-09-21 15:03:19 +02:00
4ba6ba2c0b
refactor: unify date handling with utility functions - Replaced direct date manipulations with utility functions like getToday, parseDate, and createDateFromParts across various components and services for consistency. - Updated date initialization in JiraAnalyticsService, BackupService, and DailyClient to improve clarity and maintainability. - Enhanced date parsing in forms and API routes to ensure proper handling of date strings.
Julien Froidefond
2025-09-21 13:04:34 +02:00
c3c1d24fa2
refactor: enhance date handling across components - Replaced direct date manipulations with utility functions for consistency and readability. - Updated date formatting in DailyCalendar, RecentTasks, CompletionRateChart, and other components to use formatDateShort and formatDateForDisplay. - Improved date parsing in JiraLogs, JiraSchedulerConfig, and BackupSettingsPageClient to ensure proper handling of date strings. - Streamlined date initialization in useDaily and DailyService to utilize getToday and getYesterday for better clarity.
Julien Froidefond
2025-09-21 12:02:06 +02:00
557cdebc13
refactor: date utils and all calls
Julien Froidefond
2025-09-21 11:41:17 +02:00
799a21df5c
feat: implement Jira auto-sync scheduler and UI configuration - Added jiraAutoSync and jiraSyncInterval fields to user preferences for scheduler configuration. - Created JiraScheduler service to manage automatic synchronization with Jira based on user settings. - Updated API route to handle scheduler actions and configuration updates. - Introduced JiraSchedulerConfig component for user interface to control scheduler settings. - Enhanced TODO.md to reflect completed tasks related to Jira synchronization features.
Julien Froidefond
2025-09-21 11:30:41 +02:00
a0e2a78372
feat: update Daily and Jira dashboard pages with dynamic titles and improved UI - Implemented getTodayTitle and getYesterdayTitle functions in DailyPageClient to dynamically set section titles based on the current date. - Updated TODO.md to mark completed tasks related to the Jira dashboard UI consistency. - Enhanced card content in JiraDashboardPageClient to ensure charts are responsive and maintain consistent styling. - Removed unused date formatting function in DailySection for cleaner code.
Julien Froidefond
2025-09-21 10:49:39 +02:00
4152b0bdfc
chore: refactor project structure and clean up unused components - Updated TODO.md to reflect new testing tasks and final structure expectations. - Simplified TypeScript path mappings in tsconfig.json for better clarity. - Revised business logic separation rules in .cursor/rules to align with new directory structure. - Deleted unused client components and services to streamline the codebase. - Adjusted import paths in scripts to match the new structure.
Julien Froidefond
2025-09-21 10:26:35 +02:00
9dc1fafa76
feat: expand TODO.md with multi-user and mobile interface plans - Added detailed sections for transitioning to a multi-tenant architecture, including authentication, data model adjustments, and service modifications. - Introduced a comprehensive migration plan for user data isolation and security considerations. - Outlined phases for developing a dedicated mobile interface, addressing current usability issues and enhancing user experience on mobile devices. - Included specific tasks for mobile components and UX optimizations.
Julien Froidefond
2025-09-21 10:12:54 +02:00
d7140507e5
chore: update TODO.md with new feature ideas and refactoring plans - Added sections for future features including TFS/Azure DevOps integration, task management, and modular architecture. - Detailed a migration plan for restructuring the project directory to align with Next.js 13+ best practices. - Included specific tasks for improving integration interfaces and enhancing the user experience.
Julien Froidefond
2025-09-21 09:14:52 +02:00
43998425e6
feat: enhance backup functionality and logging - Updated createBackup method to accept a force parameter, allowing backups to be created even if no changes are detected. - Added user alerts in AdvancedSettingsPageClient and BackupSettingsPageClient for backup status feedback. - Implemented getBackupLogs method in BackupService to retrieve backup logs, with a new API route for accessing logs. - Enhanced UI in BackupSettingsPageClient to display backup logs and provide a refresh option. - Updated BackupManagerCLI to support forced backups via command line.
Julien Froidefond
2025-09-21 07:27:23 +02:00
618e774a30
fix: update database path in README and remove backup link - Changed DATABASE_URL in data/README.md to use a relative path for better compatibility. - Removed the reference to BACKUP.md in DOCKER.md as it is no longer relevant.
Julien Froidefond
2025-09-21 07:18:49 +02:00
c5bfcc50f8
fix: refine loading states in MetricsTab - Simplified loading logic by removing unnecessary trends loading check. - Enhanced UI feedback by disabling the weeks selection during trends loading and added a loading state for the trends chart. - Improved user experience by displaying a message when no velocity data is available.
Julien Froidefond
2025-09-21 06:42:26 +02:00
6e2b0abc8d
chore: update TODO list with new tasks - Added tasks for backup changes, date refactoring, and component splitting to the TODO.md file.
Julien Froidefond
2025-09-21 06:42:18 +02:00
9da824993d
fix: update fs import in SystemInfoService for eslint compliance - Changed the fs import in system-info.ts to comply with eslint rules by adding a comment to disable the specific linting error.
Julien Froidefond
2025-09-21 06:36:13 +02:00
e88b1aad32
chore: remove unused system info functionality - Deleted system-info.ts as it is no longer needed in the codebase. - No changes made to workday-utils.ts, just added a new line for consistency.
Julien Froidefond
2025-09-21 06:34:43 +02:00
3c20df95d9
feat: add system info and backup functionalities to settings page - Integrated system info fetching in SettingsPage for improved user insights. - Enhanced SettingsIndexPageClient with manual backup creation and Jira connection testing features. - Added loading states and auto-dismiss messages for user feedback during actions. - Updated UI to display system info and backup statistics dynamically.
Julien Froidefond
2025-09-20 16:38:33 +02:00
da0565472d
feat: enhance settings and backup functionality - Updated status descriptions in SettingsIndexPageClient to reflect current functionality. - Added a new backup management section in settings for better user access. - Modified BackupService to include backup type in filenames, improving clarity and organization. - Enhanced backup file parsing to support both new and old filename formats, ensuring backward compatibility.
Julien Froidefond
2025-09-20 16:21:50 +02:00
9a33d1ee48
fix: improve date formatting and backup path handling - Updated formatTimeAgo in AdvancedSettingsPageClient to use a fixed format for hydration consistency. - Refined formatDate in BackupSettingsPageClient for consistent server/client formatting. - Refactored BackupService to use getCurrentBackupPath for all backup path references, ensuring up-to-date paths and avoiding caching issues. - Added getCurrentBackupPath method to dynamically retrieve the current backup path based on environment variables.
Julien Froidefond
2025-09-20 16:12:01 +02:00
ee442de773
chore: refine database and backup paths in configuration - Updated .gitignore to only exclude .db files in the /data/ directory and preserve backups. - Modified docker-compose.yml to switch database and backup paths to dev.db, aligning with the current development setup.
Julien Froidefond
2025-09-20 15:58:53 +02:00
329018161c
chore: update backup configurations and directory structure - Modified .gitignore to exclude all files in the /data/ directory. - Enhanced BACKUP.md with customization options for backup storage paths and updated database path configurations. - Updated docker-compose.yml to reflect new paths for database and backup storage. - Adjusted Dockerfile to create a dedicated backups directory. - Refactored BackupService to utilize environment variables for backup paths, improving flexibility and reliability. - Deleted dev.db as it is no longer needed in the repository.
Julien Froidefond
2025-09-20 15:45:56 +02:00
dfa8d34855
feat: add workday utility functions - Introduced utility functions for workday calculations in workday-utils.ts, including getPreviousWorkday, getNextWorkday, isWorkday, and getDayName. - Updated DailyService and DailyPageClient to utilize getPreviousWorkday for accurate date handling instead of simple date subtraction.
Julien Froidefond
2025-09-20 15:43:38 +02:00
9d0b6da3a0
refactor: remove deprecated weekly summary components and related services - Deleted WeeklySummaryClient, VelocityMetrics, PeriodSelector, and associated services to streamline the codebase. - Removed the weekly-summary API route and related PDF export functionality, as these features are no longer in use. - Updated TODO.md to reflect the removal of these components and their functionalities.
Julien Froidefond
2025-09-19 15:26:20 +02:00
888e81d15d
feat: add 'Manager' link to Header component - Introduced a new navigation link for the 'Manager' page in the Header component, improving user access to management features.
Julien Froidefond
2025-09-19 15:07:04 +02:00
c4d8bacd97
feat: enhance GeneralSettingsPage with tag management - Added tag management functionality to the GeneralSettingsPageClient, including filtering, sorting, and CRUD operations for tags. - Integrated a modal for creating and editing tags, improving user experience in managing task labels. - Updated the Header component to replace the 'Tags' link with 'Manager'. - Removed the deprecated TagsPage and TagsPageClient components to streamline the codebase. - Adjusted data fetching in page.tsx to include initial tags alongside user preferences.
Julien Froidefond
2025-09-19 13:34:15 +02:00
d6722e90d1
fix: correct date formatting in VelocityMetrics component - Updated date formatting in the VelocityMetrics component to ensure proper conversion of week.weekStart to a Date object before calling toLocaleDateString. This change improves the reliability of date display in the dashboard.
Julien Froidefond
2025-09-19 12:37:15 +02:00
f16ae2e017
chore: add backups directory to docker-compose - Included a volume mapping for the ./backups directory in the docker-compose file to facilitate backup management.
Julien Froidefond
2025-09-19 12:30:17 +02:00
fded7d0078
feat: add weekly summary features and components - Introduced CategoryBreakdown, JiraWeeklyMetrics, PeriodSelector, and VelocityMetrics components to enhance the weekly summary dashboard. - Updated WeeklySummaryClient to manage period selection and PDF export functionality. - Enhanced WeeklySummaryService to support period comparisons and activity categorization. - Added new API route for fetching weekly summary data based on selected period. - Updated package.json and package-lock.json to include jspdf and related types for PDF generation. - Marked several tasks as complete in TODO.md to reflect progress on summary features.
Julien Froidefond
2025-09-19 12:28:11 +02:00
f9c0035c82
chore : no db in git by default
Julien Froidefond
2025-09-19 10:51:35 +02:00
dfeac94993
chore: clean up seed files with generic data
Julien Froidefond
2025-09-19 10:36:28 +02:00
a112bb74f3
doc: ajout todo
Julien Froidefond
2025-09-19 10:31:06 +02:00
978bb4d380
feat: add weekly summary link to Header component - Introduced a new navigation link for the weekly summary in the Header component, enhancing user access to summary insights.
Julien Froidefond
2025-09-19 10:28:33 +02:00
3dd6e0fd1c
feat: enhance Jira dashboard with advanced filtering and sprint details - Updated TODO.md to mark several tasks as complete, including anomaly detection and sprint detail integration. - Enhanced VelocityChart to support click events for sprint details, improving user interaction. - Added FilterBar and AnomalyDetectionPanel components to JiraDashboardPageClient for advanced filtering capabilities. - Implemented state management for selected sprints and modal display for detailed sprint information. - Introduced new types for advanced filtering in types.ts, expanding the filtering options available in the analytics.
Julien Froidefond
2025-09-19 10:13:48 +02:00
b7707d7651
feat: reintroduce TaskStats to HomePageClient and TasksProvider - Added initialStats prop to HomePageClient and TasksProvider to enhance task management capabilities. - Updated data fetching in page.tsx to include task statistics, improving overall functionality. - Adjusted useTasks hook to utilize the new stats parameter, ensuring comprehensive task data handling.
Julien Froidefond
2025-09-19 09:05:11 +02:00
e0b1090f18
doc: todos
Julien Froidefond
2025-09-19 09:01:54 +02:00
013b3d4d40
feat: remove TaskStats from HomePageClient and Header components - Eliminated initialStats prop from HomePageClient and KanbanPageClient to streamline data handling. - Updated Header and HeaderContainer components to remove references to stats, enhancing clarity and reducing unnecessary complexity. - Adjusted useTasks hook to make stats optional, ensuring compatibility with the updated components.
Julien Froidefond
2025-09-19 08:57:51 +02:00
128167341e
feat: update checkbox actions to include type parameter - Modified addTodayCheckboxAction and addYesterdayCheckboxAction to accept a type parameter for better flexibility in checkbox creation. - Updated corresponding function signatures in daily.ts to reflect the new parameter, ensuring consistent usage across the application.
Julien Froidefond
2025-09-19 08:50:55 +02:00
c2681f9399
feat: enhance JiraConfigForm with conditional display and instructions - Added state management for form visibility with showForm to toggle display based on Jira configuration. - Implemented instructions for configuration, detailing base URL, email, and API token setup. - Updated UI to improve user interaction with a button to show/hide the form.
Julien Froidefond
2025-09-19 08:44:25 +02:00
5a6d907006
feat: integrate Jira configuration into Header and layout - Added JiraConfigProvider to layout.tsx for server-side Jira configuration retrieval. - Updated Header.tsx to conditionally display a link to the Jira dashboard with the project key if Jira is configured. - Enhanced user experience by integrating Jira settings into the main application layout.
Julien Froidefond
2025-09-19 08:36:55 +02:00
2008cc3382
feat: update Jira components with improved color schemes and UI enhancements - Refined color schemes in BurndownChart, CollaborationMatrix, ThroughputChart, and TeamActivityHeatmap for better visibility and consistency. - Adjusted opacity handling in TeamActivityHeatmap for improved visual clarity. - Cleaned up imports in CollaborationMatrix and SprintComparison for better code organization. - Enhanced JiraSync component with updated color for the sync status indicator. - Updated jira-period-filter to remove unused imports, streamlining the codebase.
Julien Froidefond
2025-09-19 08:30:49 +02:00
01b702f630
feat: refine Jira dashboard analytics with period filtering - Introduced period filtering for analytics in JiraDashboardPageClient using filterAnalyticsByPeriod and getPeriodInfo for enhanced data visualization. - Updated state management for selected period to use PeriodFilter type for better type safety. - Improved UI to display period information alongside project metrics, enhancing user experience.
Julien Froidefond
2025-09-18 22:48:51 +02:00
0acc54025b
feat: enhance Jira dashboard with export functionality and sprint comparison - Added export options for CSV and JSON in JiraDashboardPageClient, allowing users to download metrics easily. - Integrated SprintComparison component to visualize inter-sprint trends and predictions. - Updated TODO.md to reflect completion of export metrics and sprint comparison features.
Julien Froidefond
2025-09-18 22:43:11 +02:00
10de6d25f7
feat: add predictability and collaboration metrics to Jira dashboard - Marked predictability and collaboration tasks as complete in TODO.md. - Integrated PredictabilityMetrics and CollaborationMatrix components into JiraDashboardPageClient for enhanced analytics visualization. - Updated UI layout to include new metrics cards, improving dashboard functionality.
Julien Froidefond
2025-09-18 22:37:43 +02:00
4c03ae946f
feat: enhance Jira analytics with caching and force refresh - Updated getJiraAnalytics to accept a forceRefresh parameter for optional cache bypass. - Modified getProjectAnalytics to check the cache and return cached data unless forced to refresh. - Adjusted loadAnalytics in useJiraAnalytics to trigger a forced refresh on manual updates. - Improved UI in JiraDashboardPageClient to indicate when data is served from cache.
Julien Froidefond
2025-09-18 22:28:34 +02:00
5d73a6c279
feat: add advanced metrics to Jira dashboard - Marked advanced metrics in TODO.md as complete, including Velocity, Burndown Chart, Cycle Time, Throughput, Work in Progress, and Quality Metrics. - Integrated BurndownChart, ThroughputChart, and QualityMetrics components into JiraDashboardPageClient for enhanced analytics visualization. - Updated UI layout to accommodate new metrics cards, improving dashboard functionality.
Julien Froidefond
2025-09-18 22:22:36 +02:00
78a96b9c92
feat: add project key support for Jira analytics - Introduced projectKey and ignoredProjects fields in Jira configuration to enhance analytics capabilities. - Implemented project validation logic in JiraConfigClient and integrated it into the JiraConfigForm for user input. - Updated IntegrationsSettingsPageClient to display analytics dashboard link based on the configured project key. - Enhanced API routes to handle project key in Jira sync and user preferences. - Marked related tasks as complete in TODO.md.
Julien Froidefond
2025-09-18 22:08:29 +02:00
4f9cff94f3
feat: integrate Jira ticket information in EditTaskForm - Added functionality to display Jira ticket details in the EditTaskForm when the task source is 'jira'. - Implemented a helper function to construct the Jira ticket URL based on user preferences. - Included badges for Jira key, project, and type, enhancing task visibility and user interaction. - Utilized useUserPreferences to fetch Jira configuration dynamically.
Julien Froidefond
2025-09-18 21:13:09 +02:00
b12dd4f8dc
feat: migrate tag management to server actions - Completed migration of tag management to server actions by creating actions/tags.ts for CRUD operations. - Removed obsolete API routes for tags (/api/tags, /api/tags/[id]) and updated related components to utilize new server actions. - Updated TagForm and useTags hook to handle tag creation, updating, and deletion through server actions, improving performance and simplifying client-side logic. - Cleaned up tags-client.ts by removing unused types and methods, focusing on validation only. - Marked related TODO items as complete in TODO.md.
Julien Froidefond
2025-09-18 21:00:28 +02:00
8b98c467d0
fix: update Dockerfile to use npm install instead of npm ci - Changed the command in the Dockerfile to use npm install when a package-lock.json file is present, ensuring compatibility with the current setup.
Julien Froidefond
2025-09-18 20:44:47 +02:00
9c2c719384
feat: enhance backup management in AdvancedSettingsPage - Added backup management functionality to AdvancedSettingsPageClient, including creating and verifying backups. - Updated package.json with new backup-related scripts. - Improved UI to display backup status and next scheduled backup time. - Updated .gitignore to exclude backup files. - Enhanced server-side data fetching to include backup data and database statistics.
Julien Froidefond
2025-09-18 17:19:37 +02:00
2fbfab1b9e
feat: update swimlane column titles with status colors - Marked the TODO item for swimlane column title colors as complete. - Enhanced SwimlanesBase component to apply dynamic styles based on status colors using getTechStyle. - Updated dev.db to reflect changes in the database schema.
Julien Froidefond
2025-09-18 15:58:09 +02:00
6161653611
feat: implement optimistic updates for column visibility toggle - Enhanced toggleColumnVisibility function to optimistically update the UI by modifying hiddenStatuses before awaiting server response. - Added error handling to revert to original visibility state if the server action fails, improving user experience. - Updated dependencies in the useCallback hook to include preferences.columnVisibility for accurate state management.
Julien Froidefond
2025-09-18 15:44:14 +02:00
523a7f00cc
fix: improve QuickAddTask and TagInput components - Added min-w-0 class to the title input in QuickAddTask for better layout handling. - Updated priority select to use flex-shrink-0 and w-10 for consistent sizing and added title tooltip for better UX. - Enhanced TagInput to support compactSuggestions prop, adjusting suggestion display based on available space. - Modified suggestion container to conditionally apply grid classes based on compactSuggestions, improving responsiveness.
Julien Froidefond
2025-09-18 15:44:06 +02:00
02f59caf08
feat: add related todos functionality in task editing - Implemented RelatedTodos component in EditTaskForm to display and manage related todos for a task. - Updated TasksClient to fetch daily checkboxes related to a task. - Enhanced TasksService with a method to retrieve related daily checkboxes from the database. - Added functionality to create new todos linked to tasks in the daily actions. - Marked the task for displaying related todos in the task editing interface as complete in TODO.md.
Julien Froidefond
2025-09-18 15:26:07 +02:00
729a04d557
doc: add todo
Julien Froidefond
2025-09-18 14:58:25 +02:00
618b2e9e5c
feat: implement drag-and-drop reordering for daily checkboxes - Added DnD functionality to DailySection for reordering checkboxes using @dnd-kit/core and @dnd-kit/sortable. - Introduced onReorderCheckboxes prop to handle server updates after reordering. - Updated useDaily hook to streamline error handling during reordering. - Cleaned up Header component by removing unnecessary syncing text. - Adjusted DailyPageClient to pass reorder function to DailySection.
Julien Froidefond
2025-09-18 14:56:05 +02:00
2c262b06e7
doc: ajout todo
Julien Froidefond
2025-09-18 14:50:35 +02:00
25e934170d
feat: update GeneralSettingsPageClient and useDaily hook - Removed unused CardHeader import from GeneralSettingsPageClient.tsx for cleaner code. - Refactored useDaily.ts to replace dailyClient.updateCheckbox calls with updateCheckboxAction, improving consistency with action usage. - Added reorderCheckboxesAction to handle checkbox reordering, including error handling for better user feedback. - Updated database schema in dev.db to reflect recent changes.
Julien Froidefond
2025-09-18 13:59:08 +02:00
8ce1eef6ae
feat: update settings page and theme context for user preferences - Replaced SettingsPageClient with SettingsIndexPageClient to fetch and display user preferences on the settings page. - Integrated userPreferencesService to retrieve all preferences asynchronously, enhancing data handling. - Refactored theme management in ThemeContext to use updateViewPreferences for saving theme changes, improving error handling and user feedback. - Marked the task for creating dedicated config sub-pages as complete in TODO.md.
Julien Froidefond
2025-09-18 13:50:49 +02:00
93e72013f9
feat: enhance font size toggle functionality in UserPreferencesContext - Implemented optimistic UI updates for font size changes, cycling through small, medium, and large options. - Added error handling to revert to original preferences if the server action fails, improving user experience. - Updated dependencies in the toggleFontSize function to include preferences.viewPreferences for better state management.
Julien Froidefond
2025-09-18 13:39:08 +02:00
23e3c30126
feat: refactor color management in charts and dashboard - Replaced hardcoded priority colors in PriorityDistributionChart and DashboardStats with centralized configuration functions for better maintainability. - Updated RecentTasks to utilize new status badge classes and labels from the centralized configuration. - Enhanced status-config.ts with new functions for retrieving colors and styles, ensuring consistency across components. - Marked the task for refactoring priority colors in TODO.md as complete.
Julien Froidefond
2025-09-18 13:36:07 +02:00
5d32ba0271
doc: add task in todo
Julien Froidefond
2025-09-18 13:31:15 +02:00
a98bde86d3
feat: implement project ignore list for Jira synchronization - Updated JiraConfigForm to include an input for ignored projects, allowing users to specify projects to exclude from synchronization. - Enhanced JiraService with a method to filter out tasks from ignored projects, improving task management. - Modified user preferences to store ignored projects, ensuring persistence across sessions. - Updated API routes to handle ignored projects in configuration, enhancing overall functionality. - Marked the corresponding task as complete in TODO.md.
Julien Froidefond
2025-09-18 13:29:15 +02:00
3ce7af043c
feat: complete daily checkbox actions and cleanup - Marked all daily checkbox actions as complete in TODO.md. - Removed outdated mutation methods from daily-client.ts, now managed by server actions in actions/daily.ts. - Deleted unused API routes for checkbox management, streamlining the codebase. - Updated useDaily.ts to utilize server actions with useTransition, enhancing performance and user experience.
Julien Froidefond
2025-09-18 13:20:44 +02:00
6135fd8cb1
feat: update TODO.md with Jira settings sync task - Added a new task to implement a project ignore list for Jira settings synchronization, ensuring it is considered by the service.
Julien Froidefond
2025-09-18 13:12:41 +02:00
aeb4e17939
feat: refactor user preferences management - Marked all user preferences actions as complete in TODO.md. - Updated user-preferences-client.ts to remove outdated mutation methods, now handled by server actions. - Deleted unused API routes for column visibility, kanban filters, and view preferences. - Refactored UserPreferencesContext.tsx to utilize server actions for updates, improving performance with useTransition.
Julien Froidefond
2025-09-18 13:10:04 +02:00
cece09d150
feat: enhance Header component with active link styling - Added usePathname hook to determine the current route. - Implemented isActiveLink and getLinkClasses functions for dynamic link styling based on active state. - Adjusted navigation links in the Header to utilize the new styling functions for improved user experience. - Updated KanbanPageClient subtitle for consistency.
Julien Froidefond
2025-09-18 12:57:10 +02:00
3c7f5ca2fa
feat: update package dependencies and integrate Recharts - Changed project name from "towercontrol-temp" to "towercontrol" in package-lock.json and package.json. - Added Recharts library for data visualization in the dashboard. - Updated TODO.md to reflect completion of analytics and metrics integration tasks. - Enhanced RecentTasks component to utilize TaskPriority type for better type safety. - Minor layout adjustments in RecentTasks for improved UI.
Julien Froidefond
2025-09-18 12:48:06 +02:00
d38053b4dc
feat: revamp HomePageClient and dashboard layout - Updated HomePageClient to replace Kanban board with a modern dashboard layout. - Integrated DashboardStats, QuickActions, and RecentTasks components for enhanced user experience. - Marked several tasks as complete in TODO.md, including the creation of a new dashboard and quick action features. - Added navigation link for the new dashboard in the Header component.
Julien Froidefond
2025-09-18 11:52:10 +02:00
e7a4091f94
chore: clean up README by removing optional interface variables - Removed optional interface variables for theme and items per page from the README to streamline configuration instructions.
Julien Froidefond
2025-09-18 11:39:47 +02:00
ec634add04
feat: update README for TowerControl v2.0 - Revamped README to reflect the new version, including a comprehensive overview of features, installation instructions, and architecture details. - Added sections for Kanban functionality, advanced tagging system, daily notes, and Jira integration. - Included Docker installation instructions and environment variable configuration for enhanced usability. - Emphasized the project's modern tech stack and architectural principles.
Julien Froidefond
2025-09-18 11:38:34 +02:00
8c88322823
fix: lint and types
Julien Froidefond
2025-09-18 11:30:19 +02:00
49874b38c0
feat: add automatic database backup system to TODO - Introduced tasks for implementing an automatic database backup system, including configurable intervals, manual backup options, and backup rotation. - Added details for backup format and an interface for managing existing backups.
Julien Froidefond
2025-09-18 11:25:39 +02:00