Skip to content

Release 0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 05 May 19:50
5ff1396
Feature/kanban sync new parser (#38)

* Refactor Kanban sync logic and model extraction

Removed the old KanbanSync logic that directly manipulated markdown and replaced it with a more structured approach. The new implementation abstracts Kanban board parsing, models, and markdown generation, facilitating easier management and synchronization of Kanban boards with project files. This change introduces classes like `KanbanMarkdownGenerator`, `KanbanModels`, and `KanbanParser`, which modularize the processing of Kanban data. Now synchronization checks file status changes more efficiently, and reflects them seamlessly in the corresponding Kanban board, improving reliability and code maintainability. Additionally, updated event registration in `MetadataCache` to ensure cache array invalidation occurs after metadata changes are processed to avoid potential synchronization issues.

* Enhanced logging and optimized Kanban sync

- Extended debug logs to include file content after save action for better traceability.
- Added trace logs to capture individual kanban item generation for improved debugging.
- Removed unnecessary import of the `App` class to streamline code dependencies.
- Documented the purpose of private variables `_syncMode` and the function `loadKanbanFile` for clearer code understanding.
- Added a condition to prevent unnecessary file saves when the Kanban board has not changed to optimize performance.
- Minor refactor in sync functionality comments and code for clarity and maintainability.
- Ensured new files get titles and tags set to match card details to maintain data consistency.

* Refactor Kanban to use lists instead of cards

Replaced 'KanbanCard' with 'KanbanList' throughout the codebase to better reflect the domain model, aligning with the updated data structure that now organizes cards into lists. Updated methods, comments, and documentation in Markdown generator, models, and parser accordingly to ensure consistent terminology and behavior. Enhanced the code with comprehensive docstrings to improve readability and maintainability. These changes entail a shift in the representation of kanban entities to enhance the clarity of data handling within kanban boards.

* Version bump to V0.3.0