Commit Graph

281 Commits

Author SHA1 Message Date
Julien Froidefond
411bac8162 test(JiraSync): further enhance test coverage for synchronization and change detection logic 2025-11-21 15:14:54 +01:00
Julien Froidefond
4496cd97f9 test(JiraSync): improve test coverage for synchronization logic and change detection 2025-11-21 14:58:31 +01:00
Julien Froidefond
5c9b2b9d8f test(JiraSync): enhance test coverage for change detection logic and preserved fields 2025-11-21 14:56:16 +01:00
Julien Froidefond
a1d631037e test(JiraSync): add assertion for preserved fields in project change scenario 2025-11-21 14:16:57 +01:00
Julien Froidefond
af41531597 feat(JiraSync): enhance synchronization logic to preserve original Jira actions and detect changes
- Updated the Jira synchronization process to include original Jira actions for better detail retention.
- Implemented a new function to detect real changes and preserved fields during task synchronization.
- Enhanced the UI to display actions with preserved fields separately for improved clarity.
- Added comprehensive tests for the new change detection logic to ensure accuracy and reliability.
2025-11-21 14:14:30 +01:00
Julien Froidefond
8bdd3a8253 feat(tests): integrate Vitest for testing framework and add test scripts
- Added Vitest as a dependency for improved testing capabilities.
- Updated package.json with new test scripts for running tests, watching, and coverage reporting.
- Configured ESLint to recognize test runner scripts and included them in the linting process.
- Modified tsconfig.json to include Vitest types for better TypeScript support in tests.
2025-11-21 10:40:30 +01:00
Julien Froidefond
31f9855a3c feat(TaskManagement): implement centralized readonly field logic for task synchronization
- Added functionality to determine readonly fields based on task source (Jira, TFS) and status.
- Updated EditTaskForm and TaskBasicFields components to utilize readonly fields for better user experience.
- Introduced buildSyncUpdateData function to manage field preservation during synchronization.
- Enhanced tests for readonly field logic to ensure correct behavior across different scenarios.
2025-11-21 10:40:21 +01:00
Julien Froidefond
deb3097047 feat(package): add sharp library for image processing and update dependencies
- Added sharp version 0.34.5 to package.json for enhanced image processing capabilities.
- Updated pnpm-lock.yaml to reflect the new sharp version and its dependencies.
- Included additional icons in layout metadata for improved application branding.
2025-11-17 11:36:59 +01:00
Julien Froidefond
a9a2988293 feat(MarkdownEditor, NotesList): add editing change handler and improve delete confirmation text encoding 2025-11-17 08:30:02 +01:00
Julien Froidefond
72cd76c77b style(NotesList): enhance delete confirmation UI with improved styling and dynamic note title display 2025-11-17 08:29:26 +01:00
Julien Froidefond
6cad6a333d feat(NotesPage, MarkdownEditor): enhance note creation and editing experience
- Added state management for new notes in NotesPageClient to track if a note is newly created.
- Updated MarkdownEditor to support initial editing state and handle editing changes, improving user interaction during note creation and editing.
2025-11-17 08:27:34 +01:00
Julien Froidefond
f0b9f75817 fix(DailyCheckboxItem): adjust emoji display size for better responsiveness 2025-11-12 09:38:45 +01:00
Julien Froidefond
8340008839 feat(DailyPage, DailyService, Calendar): enhance task deadline management and UI integration
- Implemented user authentication in the daily dates API route to ensure secure access.
- Added functionality to retrieve task deadlines and associated tasks, improving task management capabilities.
- Updated DailyPageClient to display tasks with deadlines in the calendar view, enhancing user experience.
- Enhanced Calendar component to visually indicate deadline dates, providing clearer task management context.
2025-11-11 08:46:19 +01:00
Julien Froidefond
f7c9926348 feat(auth): enhance authentication process with secure cookie handling and detailed logging
- Implemented secure cookie options based on HTTPS detection to improve security.
- Added detailed logging for credential checks and user authentication flow to aid in debugging and monitoring.
2025-11-10 23:15:53 +01:00
Julien Froidefond
c7c47039b4 feat(EditCheckboxModal, ObjectivesBoard, StatusBadge): enhance task filtering and status handling
- Improved task filtering in EditCheckboxModal to prioritize non-completed tasks and enhance relevance scoring.
- Updated ObjectivesBoard to support dynamic visibility of task statuses and improved layout for better user experience.
- Enhanced StatusBadge component to support size variations and customizable display options for task statuses.
- Added new CSS variables for task priority colors in globals.css to standardize priority indicators across the application.
2025-11-10 09:09:28 +01:00
Julien Froidefond
2d4c161e1d chore(README): enhance project structure documentation and clarify folder purposes
- Updated README.md to provide a detailed explanation of the project structure, including descriptions for each directory and its contents.
- Improved clarity on the organization of Next.js pages, API routes, components, services, and utilities.
2025-11-05 08:05:13 +01:00
Julien Froidefond
9fc355abad feat(DailyCheckboxItem, TaskCard, DailyService): enhance task emoji handling and improve data fetching
- Added emoji support in DailyCheckboxItem and TaskCard components using getTaskEmoji.
- Updated DailyService to include taskTags and primaryTag in checkbox data fetching, improving task detail retrieval.
- Refactored mapPrismaCheckbox to handle taskTags and primaryTag extraction for better task representation.
2025-11-03 09:29:37 +01:00
Julien Froidefond
e4e49df60b chore: update configuration and improve backup service handling
- Added root path configuration for turbopack in next.config.ts.
- Updated build script in package.json to include Prisma generation.
- Changed backup service methods to use synchronous config retrieval where appropriate, improving performance and avoiding async issues.
- Ensured dynamic rendering in layout.tsx for better page performance.
2025-10-31 12:11:19 +01:00
Julien Froidefond
0bf9802e71 feat(DailyService): implement toggleCheckbox method for direct checkbox state updates 2025-10-30 08:15:01 +01:00
Julien Froidefond
cd391506ce fix(JiraService): add support for cancelled and abandoned statuses in Jira integration 2025-10-27 09:04:55 +01:00
Julien Froidefond
3e19121cb2 fix(FormField): ensure full-width styling for input fields 2025-10-27 08:37:24 +01:00
Julien Froidefond
fd46ed180f fix(globals.css): improve select appearance in Safari 2025-10-27 08:18:23 +01:00
Julien Froidefond
f7f77a49dc feat(MarkdownEditor): enhance Markdown rendering with new plugins and components
- Integrated rehype-raw and rehype-slug for improved Markdown processing.
- Added remark-toc for automatic table of contents generation.
- Refactored Markdown components for better styling and functionality.
- Updated package.json to include new dependencies for enhanced Markdown features.
2025-10-24 09:49:56 +02:00
Julien Froidefond
b60e74b1ff feat(DailyPageClient): add pending refresh trigger for daily dates updates
- Introduced a new state variable `pendingRefreshTrigger` to manage refresh actions for daily dates.
- Updated relevant functions to increment the trigger upon checkbox actions and date refreshes, ensuring UI updates reflect the latest data.
2025-10-23 13:02:13 +02:00
Julien Froidefond
2b9205007f chore(TasksContext): remove debug logging for old completed tasks 2025-10-16 06:00:28 +02:00
Julien Froidefond
3b7a6c3972 fix(JiraService): preserve archived status when updating tasks 2025-10-16 05:54:52 +02:00
Julien Froidefond
a4188b09e5 fix: suppress hydration warnings in JiraLogs, MarkdownEditor, and NotesList components 2025-10-16 05:17:41 +02:00
Julien Froidefond
7952459b42 feat(Tags): implement user-specific tag management and enhance related services
- Added ownerId field to Tag model to associate tags with users.
- Updated tagsService methods to enforce user ownership in tag operations.
- Enhanced API routes to include user authentication and ownership checks for tag retrieval and management.
- Modified seeding script to assign tags to the first user found in the database.
- Updated various components and services to ensure user-specific tag handling throughout the application.
2025-10-11 15:03:59 +02:00
Julien Froidefond
583efaa8c5 feat(KanbanFilters): add filter for hiding completed tasks older than 7 days
- Enhanced KanbanFilters component to include a new filter option for hiding tasks completed more than 15 days ago.
- Updated GeneralFilters component to display the new filter and its count.
- Modified TasksContext to calculate and provide the count of old completed tasks.
- Adjusted KanbanFiltersProps and related types to accommodate the new filter functionality.
2025-10-10 17:02:20 +02:00
Julien Froidefond
5dcfa19b0c feat(HeaderNavigation): update navigation to use user preferences for Jira configuration
- Replaced Jira configuration context with user preferences context to determine Jira setup.
- Enhanced navigation links to reflect user-specific Jira project key.
- Fixed CSS class syntax for hover effects and adjusted link display logic for larger screens.
2025-10-10 15:48:01 +02:00
Julien Froidefond
67515441fb fix: duplication on markdownRenderer 2025-10-10 13:48:16 +02:00
Julien Froidefond
75f27c69ee feat(MarkdownEditor): integrate Mermaid support for diagram rendering in Markdown
- Added MermaidRenderer component to handle Mermaid diagrams within Markdown content.
- Enhanced preformatted code block handling to detect and render Mermaid syntax.
- Updated package.json and package-lock.json to include Mermaid dependency for diagram support.
2025-10-10 12:00:56 +02:00
Julien Froidefond
8cb0dcf3af feat(Task): implement user ownership for tasks and enhance related services
- Added ownerId field to Task model to associate tasks with users.
- Updated TaskService methods to enforce user ownership in task operations.
- Enhanced API routes to include user authentication and ownership checks.
- Modified DailyService and analytics services to filter tasks by user.
- Integrated user session handling in various components for personalized task management.
2025-10-10 11:36:10 +02:00
Julien Froidefond
6bfcd1f100 feat(DailyCheckbox): associate checkboxes with users and enhance daily view functionality
- Added userId field to DailyCheckbox model for user association.
- Updated DailyService methods to handle user-specific checkbox retrieval and management.
- Integrated user authentication checks in API routes and actions for secure access to daily data.
- Enhanced DailyPage to display user-specific daily views, ensuring proper session handling.
- Updated client and service interfaces to reflect changes in data structure.
2025-10-10 08:54:52 +02:00
Julien Froidefond
6748799a90 fix(IconsSection, ToastSection): correct HTML entity usage in French text
- Replaced apostrophes with HTML entities in French phrases for proper rendering.
- Ensured consistency in text presentation across UI components.
2025-10-10 08:25:38 +02:00
Julien Froidefond
e7cbd56e89 feat(DateTimeInput): add calendar picker functionality to DateTimeInput component
- Introduced a ref to manage the input element for triggering the native calendar picker.
- Enhanced the Calendar icon with a click handler to open the date picker, improving user interaction.
- Updated styles for the Calendar icon to include hover effects for better visual feedback.
2025-10-10 08:24:33 +02:00
Julien Froidefond
52d8332f0c refactor(TaskSelector): enhance task selection logic and integrate shared component
- Replaced TaskSelector with TaskSelectorWithData to streamline task selection.
- Updated TaskSelector to accept tasks as a prop, improving data handling.
- Removed unnecessary API calls and loading states, simplifying the component's logic.
- Added new sections to UIShowcaseClient for better component visibility.
2025-10-10 08:22:44 +02:00
Julien Froidefond
7811453e02 feat(Notes): associate notes with tasks and enhance note management
- Added taskId field to Note model for associating notes with tasks.
- Updated API routes to handle taskId in note creation and updates.
- Enhanced NotesPageClient to manage task associations within notes.
- Integrated task selection in MarkdownEditor for better user experience.
- Updated NotesService to map task data correctly when retrieving notes.
2025-10-10 08:05:32 +02:00
Julien Froidefond
ab4a7b3b3e feat: integrate EmojiPickerProvider and add emoji selector shortcut
- Wrapped the layout with EmojiPickerProvider to enable emoji selection functionality.
- Added a new keyboard shortcut (Ctrl/Cmd + Space) for opening the emoji selector, enhancing user experience.
2025-10-09 22:05:20 +02:00
Julien Froidefond
0b17934ca1 refactor(TagInput): optimize dropdown position handling and improve tag loading logic
- Replaced the dropdown position update logic with a dedicated calculatePosition function for clarity.
- Introduced a new state to track if popular tags have been loaded, enhancing the suggestion display logic.
- Cleaned up unnecessary event listeners and streamlined the component's focus handling.
2025-10-09 21:47:59 +02:00
Julien Froidefond
7d4ab33fca feat(Notes): review style of action part of Notes 2025-10-09 16:33:56 +02:00
Julien Froidefond
1c28d6b782 feat: polish notes glass ui 2025-10-09 16:23:10 +02:00
Julien Froidefond
d6538356a1 fix: neutralize bold weight in markdown preview 2025-10-09 14:49:16 +02:00
Julien Froidefond
ae22535dd0 refactor: improve type safety in CustomLabel for StatusDistributionChart component
- Updated the CustomLabel component to use PieLabelRenderProps for better type definitions.
- Added type guards to ensure numeric values are validated before rendering labels, enhancing robustness.
2025-10-09 14:01:36 +02:00
Julien Froidefond
0ffcec7ffc refactor: update CustomTooltip types in chart components for better type safety
- Enhanced type definitions for the payload in CustomTooltip across multiple chart components to improve TypeScript support and maintainability.
2025-10-09 13:50:10 +02:00
Julien Froidefond
d9cf9a2655 chore: prettier everywhere 2025-10-09 13:40:03 +02:00
Julien Froidefond
6c86ce44f1 feat: add notes feature and keyboard shortcuts
- Introduced a new Note model in the Prisma schema to support note-taking functionality.
- Updated the HeaderNavigation component to include a link to the new Notes page.
- Implemented keyboard shortcuts for note actions, enhancing user experience and productivity.
- Added dependencies for markdown rendering and formatting tools to support note content.
2025-10-09 13:38:09 +02:00
Julien Froidefond
1fe59f26e4 chore: clean up avatar and gravatar files by removing extra blank lines for improved readability 2025-10-09 13:26:57 +02:00
Julien Froidefond
1499394438 fix: docker KO, emoji empty and adding some todos in doc 2025-10-08 08:32:43 +02:00
Julien Froidefond
8bb5495e13 fix: remove size prop from Emoji component for consistency
- Eliminated the size prop from the Emoji component across various files to standardize rendering and improve code cleanliness.
2025-10-06 09:09:17 +02:00