Commit graph

1179 commits

Author SHA1 Message Date
Quorafind
a167e7d256 chore: update packagejson and also release script 2025-09-24 10:44:51 +08:00
Quorafind
86cbad4a47 feat(view): add task count display in view title
- Add createTaskMark() method to show total task count
- Display formatted task count in view title
- Remove debug console.log statement
2025-09-24 08:44:01 +08:00
Quorafind
7721ac191c feat(fluent): add mobile drawer navigation and responsive design
- Implement mobile drawer with overlay and swipe gestures
- Add touch gesture support for drawer open/close
- Refactor sidebar rail mode for better collapsed state
- Add responsive breakpoints for mobile devices
- Optimize search and navigation UI for small screens
- Add mobile-specific CSS classes and styling
- Improve task details panel layout on mobile
2025-09-24 08:42:03 +08:00
Quorafind
59643c038f feat(fluent-sidebar): add right-click context menu for view items
- Add context menu with Open in new tab, Open settings, Copy view options
- Add Hide in sidebar option (limited to Other Views only)
- Add Delete option for custom views
- Support context menu in both expanded and collapsed rail modes
- Use DOM manipulation instead of full re-render for hide/delete actions
- Import ViewConfigModal and TASK_SPECIFIC_VIEW_TYPE for menu functionality
2025-09-24 00:38:05 +08:00
Quorafind
e08aa647af perf(fluent): optimize view initialization and reduce unnecessary renders
- Add initialization flag to prevent multiple renders during startup
- Implement scheduled update system to batch multiple update requests
- Only hide currently visible component instead of all components
- Apply filters once during initialization instead of multiple times
- Defer initial data load in ReviewComponent to avoid duplicate calls
- Add requestAnimationFrame for smoother scheduled updates
- Track visible component separately from active component
- Reduce redundant switchView calls with smarter update logic

This significantly improves startup performance and eliminates render flashing
2025-09-23 17:48:05 +08:00
Quorafind
f3bee5e16d feat(projects): add tree view support and improve view mode system
- Add hierarchical tree view for projects with expand/collapse functionality
- Implement per-view mode configuration (list, tree, kanban, calendar)
- Add tree/list toggle button to sidebar project header
- Remove FluentFilterPanel component (consolidated elsewhere)
- Store tree expansion state and view preference in local storage
- Enhance ProjectList with tree node structure and level-based rendering
- Update styles for tree view indentation and expand indicators
- Configure available view modes per view type
- Improve FileSourceSettings with better organization

BREAKING CHANGE: FluentFilterPanel component removed - filter functionality moved to view header
2025-09-23 09:58:39 +08:00
Quorafind
1e162c219a feat(fluent-nav): hide entire navigation when no view tabs are needed
- Add configurable availableModes support to TopNavigation
- Hide complete navigation bar when availableModes is empty
- Dynamically show/hide navigation based on view requirements
- Update rendering logic to be conditional on available modes

This improves UI clarity for special views that don't require tab-based navigation
2025-09-23 09:50:20 +08:00
Quorafind
743b9ca866 feat(projects): add context menu with edit and delete functionality
- Add right-click context menu to project items with Edit/Delete options
- Create EditProjectModal for editing project display names and colors
- Support separate display names from internal project names
- Implement project deletion with confirmation dialog
- Disable menu options for task-derived (non-custom) projects
- Add forceRefresh parameter to AutoComplete cache
2025-09-22 23:08:16 +08:00
Quorafind
adc7e3e8e0 refactor(workspace): make search query ephemeral across workspace switches
- Remove searchQuery from workspace persistence to keep it ephemeral
- Clear search input when switching workspaces
- Preserve selectedProject and advanced filters
- Ensure consistent search clearing behavior in all switch scenarios
2025-09-22 21:37:11 +08:00
Quorafind
f617992d80 fix(workspace): resolve filter state persistence and restoration issues
- Fix workspace filter state not persisting correctly across switches
- Add detailed logging for workspace operations debugging
- Store fluentFilterState separately per workspace to prevent cross-contamination
- Handle default workspace fluentFilterState as workspace-scoped setting
- Save filter state when search query or project selection changes
- Clear cache properly when switching workspaces
- Add console logging to trace filter save/restore operations
2025-09-22 21:10:07 +08:00
Quorafind
2b7179ed9e feat(fluent): implement workspace management with persistent filter states
- Add WorkspaceManager for handling workspace operations
- Implement filter state persistence per workspace and view
- Add workspace settings UI in settings page with create/rename/delete
- Fix infinite refresh loop by using debounced quiet save
- Store fluentFilterState in workspace overrides for each view
- Add workspace events system for UI synchronization
- Support workspace switching with automatic state restoration
2025-09-22 20:09:55 +08:00
Quorafind
9f008db1a0 feat(fluent): add project creation UI with sorting capabilities
- Add CustomProject interface for project persistence
- Implement ProjectPopover (desktop) and ProjectModal (mobile) for project creation
- Add color picker with 15 predefined colors for visual organization
- Replace add button with sort menu in sidebar
- Implement 6 sort options (name, tasks, created date) with localStorage persistence
- Use Intl.Collator for locale-sensitive string comparison
- Extend Obsidian Component class for proper lifecycle management
- Add comprehensive CSS styling for popover and modal interfaces
2025-09-22 11:55:06 +08:00
Quorafind
c747e2bb14 feat(fluent): add overflow menu for other views and optimized task updates
- Add configurable overflow threshold for Other Views (default: 5)
- Show overflow menu (ellipsis) when more than 5 other views exist
- Add setting in Beta Test tab to configure overflow threshold
- Implement refreshCurrentViewData for lightweight updates
- Optimize task updates to only refresh affected components
- Preserve details panel state during task updates
- Avoid full view re-renders when task data changes
2025-09-22 09:13:03 +08:00
Quorafind
86f8d1719e feat(fluent): add collapsible sidebar and full task context menu
- Implement collapsible sidebar with rail mode for narrow layouts
- Add responsive auto-collapse on resize (<768px width)
- Add sidebar toggle button in view header
- Integrate TaskDetailsComponent for full task detail editing
- Implement comprehensive context menu with status switching
- Add task deletion with subtask handling
- Add edit in file functionality
- Refresh navigation badges when tasks update
- Improve clickable icon styling for view tabs
- Optimize task filtering to use pre-computed filtered tasks
- Add computeOtherItems method to dynamically generate other view items
2025-09-21 21:59:34 +08:00
Quorafind
c722fb4c88 feat(fluent): add project filter integration and details panel
- Add project property to filter component with standard conditions
- Integrate project selection with global filter UI state
- Sync project filters bidirectionally between sidebar and filter UI
- Implement details panel for task context menu actions
- Make projects view use content component with global filters
- Add project filter implementation in task-filter-utils
2025-09-21 09:50:11 +08:00
Quorafind
846d3bbeb6 refactor(fluent): streamline filter panel integration and fix view mode initialization
- Remove standalone filter panel in favor of Obsidian view header integration
- Fix view mode initialization to default to list view for content-based views
- Add setIsTreeView method for external view mode control
- Improve component initialization logging for better debugging
- Remove unused patches documentation file
- Fix TypeScript type issues with filter options
2025-09-21 08:28:03 +08:00
Quorafind
6b779f84a5 feat(experimental): add Fluent interface foundation with settings infrastructure
- Add ExperimentalSettings interface with Fluent configuration options
- Implement FluentIntegration class for managing experimental features
- Add Fluent toggle and ribbon icon settings in Beta Test settings tab
- Create experimental folder structure for Fluent components
- Add settings migration for experimental features
- Register Fluent integration on plugin load
2025-09-20 22:06:59 +08:00
Quorafind
e1ab75d420 chore(release): bump version to 9.8.14 2025-09-19 11:42:26 +08:00
Quorafind
c8dfe578fa refactor: remove unused plus token regex pattern
Remove TOKEN_PLUS_REGEX and its references from regex definitions and WriteAPI. This token pattern was no longer being used in the codebase and was adding unnecessary complexity to the regex matching logic.
2025-09-19 11:39:57 +08:00
Quorafind
ede2379365 refactor: extract token regexes to centralized location
Moved context (@) and plus (+) token regex patterns from inline usage
in WriteAPI to centralized regex-define module for consistency and
reusability. Now uses Unicode flag for better international character
support.
2025-09-19 11:15:09 +08:00
Quorafind
58a22af4e6 style(icons): enhance checkbox hover effects
- Add darker color on hover using brightness filter (75%)
- Remove background color on hover with media query
- Add smooth transition animation for hover state
- Fix TypeScript variable initialization in HabitChartModal
2025-09-19 10:49:33 +08:00
Quorafind
33629685fc fix(write): sanitize spaces in project and context tags for Tasks format
Replace spaces with hyphens in project and context tags when using Tasks
format to ensure proper tag parsing. Dataview format preserves original
spaces as intended.
2025-09-19 09:52:31 +08:00
Quorafind
f770126e33 fix(write): preserve spaces in project and context tags when updating tasks
Allow spaces within project tags (#project/...) and context tags (@context...)
when stripping trailing metadata during task updates. This prevents breaking
multi-word project and context values.
2025-09-18 23:07:40 +08:00
Quorafind
c93406cbe7 chore(release): bump version to 9.8.13 2025-09-17 22:52:52 +08:00
Quorafind
01613e5d7d fix(write): preserve unknown dataview fields when updating task metadata
- Refactored metadata detection to only match recognized dataview keys
- Fixed content preservation when inserting start/cancelled dates
- Added strict trailing metadata pattern matching to avoid false positives
- Preserved user-defined fields like [projt::new] during metadata updates
- Added comprehensive tests for dataview and emoji format preservation
2025-09-17 22:51:56 +08:00
Quorafind
a787cee793 fix(write): preserve wiki links and inline code when updating task metadata
- Improved metadata detection to avoid matching content inside wiki links [[...]], markdown links [text](url), and inline code blocks
- Fixed issue where links in task content could be incorrectly treated as metadata markers
- Added comprehensive test to verify links and code blocks are preserved during metadata updates
- Ensures task content remains intact when only metadata is being modified
2025-09-17 21:09:40 +08:00
Quorafind
968e5dcc41 chore(release): bump version to 9.8.12 2025-09-16 16:49:10 +08:00
Quorafind
2d5c117d5f fix(view): prevent rendering when container not visible
- Add visibility checks before task list rendering to avoid DOM errors
- Implement retry mechanism with timeout for deferred rendering
- Queue refresh requests instead of skipping when render in progress
- Fix cache ready event to properly trigger view refresh
- Prevent concurrent renders while allowing force refresh override
2025-09-16 16:32:44 +08:00
Quorafind
cf51bdb758 refactor: improve task parsing, date management, and tag handling
- Enhanced task parser to preserve trailing spaces for empty-content tasks
- Refactored WriteAPI for cleaner date insertion logic with proper formatting
- Improved status cycler to prevent conflicts with normal typing
- Fixed escaped hash tag handling to align with Obsidian behavior
- Optimized tag extraction with recursive unprotected hash detection
- Added CodeMirror state mock for better test coverage
- Improved quadrant card component structure and rendering
2025-09-16 15:29:56 +08:00
Quorafind
c75f207a2d fix(write): unify status→date pipeline; correct date insert positions; prevent clearing content; improve recurring due-date calc (weekly/monthly) and new task generation; ensure single write events; safer delete/batch ops; refs #444 #446 #431 #415 2025-09-16 09:32:59 +08:00
Quorafind
4a15c61432 fix(tags): ignore escaped \#tag to align with Obsidian behavior; refs #438 2025-09-16 09:32:52 +08:00
Quorafind
a94d20db22 fix(view): ensure single-instance activation for main view and timeline sidebar; dedupe duplicate leaves; refs #428 2025-09-16 09:32:45 +08:00
Quorafind
25b2349402 fix(status-cycler): prevent status cycling on normal typing in empty checkbox; avoids conflicts with Easy Typing capitalization; refs #409 2025-09-16 09:32:40 +08:00
Quorafind
cb7b037995 chore(release): bump version to 9.8.11 2025-09-15 17:33:25 +08:00
Quorafind
ab5b945ae2 feat(dataflow): enhance project configuration and metadata handling
- Add project configuration support to Augmentor and WorkerOrchestrator
- Implement enhanced metadata inheritance with project configs
- Add TgProject support for config-based project definitions
- Improve project metadata resolution and caching
- Add CSS styles for project info popover display
- Refactor ConfigurableTaskParser for better project handling
2025-09-15 17:27:32 +08:00
Quorafind
fd6df16b39 feat(settings): add reset all settings functionality
- Add button to reset all settings to default values
- Include confirmation modal to prevent accidental resets
- Show success notification after settings reset
- Refresh settings display after reset
2025-09-15 17:26:28 +08:00
Quorafind
574fbc8dcf refactor(projects): optimize popover creation with Obsidian APIs
- Use Obsidian's createEl and createDiv methods for DOM creation
- Register events with this.registerDomEvent for proper cleanup
- Simplify teardown logic as events are auto-cleaned by Component
- Improve code consistency with Obsidian plugin conventions
2025-09-15 17:25:30 +08:00
Quorafind
46197dbb98 fix(tasks): improve task completion handling and metadata updates
- Add support for multiple due date emojis (📅, 🗓️, 📆) in regex patterns
- Fix recurrence regex to properly handle boundaries with bracket notation
- Optimize completion date updates to preserve existing metadata
- Use consistent task ID fallback pattern (file-line) when ID is missing
- Centralize completion status checking with isCompletedMark() method
- Handle multi-symbol completion statuses from settings configuration
- Ensure proper status updates when toggling task completion state
2025-09-14 10:32:24 +08:00
Quorafind
d83b2db28c chore(release): bump version to 9.8.10 2025-09-13 22:26:43 +08:00
Quorafind
0da0bd8e5b refactor(dataflow): improve ObsidianSource lifecycle management
- Extend Component class for better lifecycle control
- Use registerEvent for automatic cleanup instead of manual event refs
- Replace initialize() with onload() following Obsidian patterns
- Wrap create event listener in onLayoutReady for proper initialization
- Simplify cleanup by leveraging Component's unload() method
2025-09-13 22:20:39 +08:00
Quorafind
e3a9f69344 fix(tasks): restore recurring task creation on completion
- Fix recurring task creation logic to properly generate next occurrence
- Add completion metadata handling for recurring tasks
- Ensure completion date is added when marking tasks complete
- Fix status update logic to handle both boolean and string status values
- Integrate WriteAPI calls in completion monitor for better consistency

The recurring task functionality was broken due to missing logic that creates
the next occurrence when a recurring task is completed. This fix ensures that
completing a recurring task properly creates the next instance with the correct
date and preserves all metadata.
2025-09-13 09:24:31 +08:00
Quorafind
12a15fe1f5 chore(release): bump version to 9.8.9 2025-09-11 22:42:00 +08:00
Quorafind
9a92ba684a fix(date-picker): improve robustness when document changes
- Add resolveCurrentRange() to re-resolve date position dynamically
- Prevent replacing multi-line ranges for safety
- Add regex escaping for special characters in date markers
- Fix dataview regex to prevent matching across line breaks
- Handle edge cases when document is modified after widget creation
2025-09-11 22:38:46 +08:00
Quorafind
4ba8b97599 fix(tasks): restore recurring task creation on completion
- Re-implemented automatic creation of new recurring tasks when completed
- Added calculateNextDueDate method supporting rrule and simple formats
- Ensured next occurrence is always in the future to handle edge cases
- Used UTC noon timestamps for consistent date storage across timezones
- Fixed issue where completing tomorrow's task today would create duplicate dates
2025-09-11 22:37:08 +08:00
Quorafind
dd611363c3 chore(release): bump version to 9.8.8 2025-09-11 16:26:09 +08:00
Quorafind
895444ce32 fix(file-filter): correct folder rule matching for nested paths
- Fix path matching logic in PathTrie to check all possible starting positions
- Add proper cache key scoping to prevent cross-scope cache pollution
- Apply inline file filter early in worker processing path
- Improve code formatting consistency across files
2025-09-11 16:17:28 +08:00
Quorafind
8f9966efd6 chore(release): bump version to 9.8.7 2025-09-09 17:51:19 +08:00
Quorafind
81f7775e8a fix(task-view): allow task selection when inline editor is disabled
Previously, clicking on task content would always prevent event bubbling,
blocking task selection even when the inline editor feature was disabled.
This fix ensures stopPropagation() is only called when:
- Opening task in file with Cmd/Ctrl+click
- Showing the inline editor (when enabled)

This allows clicks to properly bubble up for task selection when the
inline editor is disabled, restoring expected behavior.
2025-09-09 17:50:02 +08:00
Quorafind
36ca266eb3 refactor(debounce): use Obsidian's built-in debounce utility and reduce log spam
- Replace setTimeout/clearTimeout with Obsidian's debounce function for better compatibility
- Reduce TaskIndexer log spam by sampling false filter results at 10% rate
- Improve memory management by using function references instead of timeout IDs
- Simplify flush and cleanup logic in ObsidianSource
2025-09-09 16:40:07 +08:00
Quorafind
6c51119b36 fix(metadata): add reindexing prompts for inheritance settings and improve augmentor sync
- Add confirmation dialogs when file metadata inheritance settings change
- Sync inheritance settings to Augmentor on initialization and updates
- Fix formatting consistency across multiple modules
- Ensure immediate task index rebuild when inheritance behavior changes
2025-09-08 22:48:37 +08:00