Skip to content

Releases: PxaMMaxP/obsidian-prj

Release 0.0.26

15 Jan 16:21
5ce20b7
Compare
Choose a tag to compare
Release 0.0.26 Pre-release
Pre-release
Refactorization & experimental function (#19)

* Optimize model fetching for render components

Refactor the model fetching logic in `DocumentBlockRenderComponent` and `ProjectBlockRenderComponent` to use a new, generic `getModels` method from the `TableBlockRenderComponent` base class. This centralizes and streamlines model retrieval based on specified file types and tags, promoting reuse and maintainability. Removed redundant `getModels` implementations and unnecessary tag filtering logic from the subclasses, reducing code duplication. Also, enhanced content column label clarity in the `DocumentBlockRenderComponent` for better user understanding.

* Refactor settings to utilize global configuration

Consolidated component-specific settings with global configuration to reduce redundancy and improve maintainability. Removed local symbols for document and project structures, instead referencing global settings for symbols like `docSymbol`, `hideDocSymbol`, `topicSymbol`, and others. Simplified the `DocumentBlockRenderComponent` and `ProjectBlockRenderComponent` by using the common `BlockRenderSettings` type and eliminating outdated and duplicated `parseSettings` logic, which is now handled in `TableBlockRenderComponent`. This change aims to unify the way settings are managed across different components, leading to a more coherent and centralized approach.

* Implement debounce handling for filter changes and active file events

Debounced event handling has been introduced to optimize performance when filtering documents in `DocumentBlockRenderComponent`, `ProjectBlockRenderComponent`, and for handling active file changes in `TableBlockRenderComponent`. Filter operations now initiate after a 750ms delay to limit excessive processing on rapid changes. Similarly, changes to the active file now trigger tag updates and component redraw after a debounce period, reducing the frequency of redraw operations. Additionally, initialized a new `NoteBlockRenderComponent` with methods for building and managing note type render components, expanding the rendering capabilities of the system.

* Enhanced task management and interface updates

- Introduced sub-task templates in settings for more granular task structuring.
- Added `component` property in processor settings to facilitate enhanced data passing.
- Improved file type checking logic to support arrays and offer more flexibility.
- Implemented random string generation for unique identification scenarios.
- Updated UI text for clarity and consistency across various modals and commands.
- Introduced the concept of 'Note' as a new file type with corresponding data structure and model.
- Added handling for newly registered commands and modals to extend plugin functionality.
- Rectified missing 'None' symbol definition in default settings for consistency.
- Made translation updates for better user-facing messaging.

* Enhanced Markdown rendering and lifecycle tracking

Added support for NoteBlockRenderComponent in Markdown processing to enable note block rendering within documents. Introduced a new child class extending MarkdownRenderChild with an overridden onunload method for improved traceability of component lifecycle events. Refactored the block processing logic to ensure proper handling of view states and optimize rendering based on the current view context. Incorporated mutation observers to dynamically adjust content during view state transitions between source and preview modes, ensuring consistency in document appearance. Enhanced logging for better visibility into the performance and behavior of the MarkdownBlockProcessor during content transformation.

Remark:
These changes are just quick & dirty.
If this proves successful, I'll take another look.

* Version bump to V0.0.26

Release 0.0.25

14 Jan 21:53
Compare
Choose a tag to compare
Release 0.0.25 Pre-release
Pre-release
Version bump to V0.0.25

Release 0.0.24

14 Jan 18:08
Compare
Choose a tag to compare
Release 0.0.24 Pre-release
Pre-release
Version bump to V0.0.24

Release 0.0.23

14 Jan 00:59
Compare
Choose a tag to compare
Release 0.0.23 Pre-release
Pre-release
# `Style`

- Mobile Styles and Panel Styles separated from each other.
- Two-column layout added as intermediate level.

# Version bump to V0.0.23

Release 0.0.22

13 Jan 23:53
Compare
Choose a tag to compare
Release 0.0.22 Pre-release
Pre-release
Version bump to V0.0.22

Release 0.0.21

13 Jan 22:35
Compare
Choose a tag to compare
Release 0.0.21 Pre-release
Pre-release
Version bump to V0.0.21

Release 0.0.20

13 Jan 18:50
Compare
Choose a tag to compare
Release 0.0.20 Pre-release
Pre-release
- The changes from commit `6970cce` regarding the event system of the…

Release 0.0.19

13 Jan 18:09
Compare
Choose a tag to compare
Release 0.0.19 Pre-release
Pre-release
Version bump to V0.0.19

Release 0.0.18

13 Jan 17:25
Compare
Choose a tag to compare
Release 0.0.18 Pre-release
Pre-release
Version bump to V0.0.18

Release 0.0.17

12 Jan 17:14
Compare
Choose a tag to compare
Release 0.0.17 Pre-release
Pre-release
Version bump to V0.0.17