Commit graph

871 commits

Author SHA1 Message Date
quorafind
0ac37c66e5 fix: update husky pre-commit hook for cross-platform compatibility 2025-07-31 21:36:29 +08:00
quorafind
d941ebca3c chore: remove test timer file 2025-07-31 21:34:18 +08:00
quorafind
f844c36cdc build: add husky pre-commit hook to run build validation 2025-07-31 21:26:21 +08:00
quorafind
7da5883184 refactor(timer): use CodeMirror Facet for configuration passing
Replace global variable configuration with CodeMirror 6's recommended Facet pattern
for passing configuration to StateField. This provides better type safety,
reactive updates, and follows CodeMirror architecture best practices.

Changes:
- Replace globalTimerConfig with taskTimerConfigFacet
- Update all config access to use state.facet() pattern
- Return array of [facet, statefield] from extension function
- Maintain compatibility with existing functionality
2025-07-31 21:04:42 +08:00
quorafind
8999fd7f44 chore: styles conflict 2025-07-29 09:43:51 +08:00
Quorafind
c8b3a108a6 fix(timer): resolve timer widget display and subtask detection issues
- Fix timer not starting after block ID insertion
- Improve parent task detection to find all subtasks, not just immediate next line
- Add proper state updates to refresh widget after block ID creation
- Fix TypeScript errors with generateBlockId visibility and elapsed property
- Ensure timer controls update correctly after inserting block reference
2025-07-29 09:41:46 +08:00
Quorafind
b89df435ac chore: update 2025-07-28 23:56:42 +08:00
Quorafind
6dcb7649df chore: update 2025-07-28 23:52:03 +08:00
Quorafind
2fe839e4e4 debug(timer): add logging and fix editor access attempts 2025-07-28 23:31:23 +08:00
Quorafind
43518eba36 chore: update 2025-07-28 23:27:20 +08:00
Quorafind
0caa51fd54 refactor(timer): redesign timer UI with text-based interface
Replace complex button-based UI with simple text links for better
integration and cleaner appearance. Improve subtask detection logic
to only show timers on actual parent tasks.

- Replace buttons with underlined text links for all actions
- Remove complex CSS styling in favor of minimal text styling
- Fix subtask detection to stop at same/lower indentation levels
- Update real-time display to refresh every second
- Add click event propagation prevention
- Simplify UI to show "⏱ time | action | action" format
- Remove 280+ lines of unnecessary CSS styling
2025-07-28 23:00:37 +08:00
Quorafind
a05f49f9f7 fix(timer): correct method name and constructor parameters
Fix TypeError by using correct method name isTaskTimerEnabled instead
of isTimerEnabledForFile, and remove extra app parameter from
TaskTimerMetadataDetector constructor.

- Use correct method name isTaskTimerEnabled()
- Remove app parameter from TaskTimerMetadataDetector constructor
- Resolves "metadataDetector.isTimerEnabledForFile is not a function"
2025-07-28 22:29:28 +08:00
Quorafind
96a67d2270 debug(timer): add comprehensive logging and fix config access
Add detailed console logging throughout timer decoration creation to
help diagnose rendering issues. Fix global configuration access by
properly setting timerConfig instead of undefined global variables.

- Add debug logs for each step of decoration creation process
- Log file processing, task detection, and decoration count
- Fix timerConfig initialization in taskTimerExtension function
- Add test file with proper frontmatter for timer functionality
- Enable troubleshooting of timer widget display issues
2025-07-28 22:13:12 +08:00
Quorafind
d422aa000c fix(timer): refactor to StateField for proper block decorations
Replace ViewPlugin with StateField to resolve CodeMirror block decoration
error. Use editorInfoField for proper editor access and replace innerHTML
with Obsidian's native DOM APIs.

- Replace ViewPlugin with StateField for block-level decorations
- Use state.field(editorInfoField) to access editor and app instances
- Remove innerHTML usage in favor of createEl/createDiv/createSpan
- Fix "Block decorations may not be specified via plugins" error
- Improve CSS with proper width and box-sizing for block display
- Maintain all existing timer functionality (start/pause/complete)
2025-07-28 17:07:42 +08:00
Quorafind
162a5652ce feat(timer): add comprehensive task timer functionality
- Add TaskTimer editor extension with start/stop/pause controls
- Implement TaskTimerManager for timer state management
- Add TaskTimerExporter for data export capabilities
- Create TaskTimerFormatter for time display formatting
- Add TaskTimerMetadataDetector for task metadata parsing
- Include task timer CSS styling and UI components
- Integrate timer settings into plugin configuration
- Support timer persistence and session management
2025-07-28 15:12:08 +08:00
quorafind
7a8f6b4efd chore: release version 9.1.5
- Bump version from 9.1.4 to 9.1.5 in manifest.json and versions.json
- Update package.json version
- Fix onboarding CSS selector specificity issues
- Improve code formatting in ConfigPreview component
- Adjust checkbox icon sizing in TaskGeniusIconManager
2025-07-22 22:35:52 +08:00
quorafind
f8d428a055 chore: bump version to 9.1.4 2025-07-22 21:22:38 +08:00
quorafind
2b14a7a847 feat(onboarding): migrate to leaf view and add smart detection
- Replace OnboardingModal with OnboardingView (ItemView-based)
- Add SettingsChangeDetector service for intelligent onboarding triggers
- Implement settings check step with user confirmation
- Enhance configuration safety with smart view merging
- Update CSS to support both modal and leaf view layouts
- Add "Open Task Genius Setup" command for manual access
- Preserve all existing onboarding functionality
- Improve UX by preventing unnecessary interruptions for configured users

BREAKING CHANGE: Onboarding now opens as a leaf view instead of modal
2025-07-22 21:21:49 +08:00
quorafind
ba902e373e feat(onboarding): add user onboarding system with guided setup
- Add comprehensive onboarding modal with user level selection
- Implement configuration presets for beginner, advanced, and power users
- Add onboarding completion tracking and settings integration
- Create task creation guide component for new users
- Add restart onboarding option in settings
- Improve UI consistency with scoped CSS selectors
- Update translation keys for better internationalization
2025-07-22 17:39:51 +08:00
quorafind
e61e1f9806 chore(translation): update zh-cn/zh-tw translations 2025-07-22 13:45:15 +08:00
Quorafind
695ebc50c9 chore: bump version to 9.1.3 2025-07-22 11:13:19 +08:00
Quorafind
c06083c6ff chore: bump version to 9.1.4 2025-07-22 11:11:55 +08:00
Quorafind
f11e9672bf fix(forecast): correct task categorization relative to selected date
- Replace fixed today-based categorization with dynamic date-relative logic
- Remove incorrect Past Due display condition (selectedTimestamp >= todayTimestamp)
- Tasks now properly categorize as past/present/future relative to selected date
- Past due tasks display correctly regardless of selected date
- Apply proper task sorting to all recategorized task groups
- Handle sort configuration for descending date order

Resolves issue where Past Due disappeared when selecting past dates and
tasks showed incorrect relative positioning to selected date.
2025-07-22 11:10:46 +08:00
Quorafind
ed039a835e style(calendar): optimize mini calendar layout for more compact design
Remove aspect-ratio constraint from calendar days and reduce spacing
throughout the mini calendar component to achieve a more compact layout
while maintaining visual clarity. Changes include:

- Remove aspect-ratio: 1 from calendar days for better height control
- Reduce grid gaps and padding values across calendar elements
- Adjust header and day-header spacing for tighter layout
- Update task count badge styling with smaller border radius
- Set min-height using CSS variable for consistent sizing
2025-07-22 10:38:49 +08:00
Quorafind
58e53e8a91 fix(filters): properly filter tasks with tgProject in inbox view
- Update inbox filter to use hasProject() function which correctly
  checks both metadata.project and metadata.tgProject fields
- Ensure tasks with any project assignment are excluded from inbox
2025-07-22 10:31:27 +08:00
Quorafind
74e2d74c71 fix(task-view): sync originalMarkdown when updating task content
- Update originalMarkdown field when task content changes in details panel
- Check both content and originalMarkdown fields for UI updates
- Fix task data propagation from filteredTasks to components
- Ensure task title changes are reflected in list/tree views immediately

Resolves issue where task title updates in details panel were not showing
in the task list until a full refresh occurred.
2025-07-22 09:30:16 +08:00
Quorafind
7105f5bd73 feat(task-editing): prevent view refresh during active task editing
- Add isCurrentlyEditing() checks to BaseTaskBasesView task update methods
- Skip onDataUpdated() calls when details panel is actively being edited
- Implement updateUIWithLatestTaskData() for selective UI updates without refresh
- Update TaskView and TaskSpecificView to respect editing state during cache updates
- Fix debounce comment accuracy (800ms not 1500ms) in TaskDetailsComponent

Improves editing UX by preventing jarring view refreshes that interrupt user input
2025-07-21 23:26:37 +08:00
Quorafind
bd0bbf0ee4 docs: streamline README with cleaner formatting and concise content
- Remove emojis and excessive formatting for cleaner presentation
- Consolidate feature descriptions into a structured table format
- Simplify installation instructions with clear numbered steps
- Remove screenshot section and detailed feature subsections
- Streamline support section while maintaining essential links
- Update documentation links to point to main site
- Reduce overall length while preserving all key information
2025-07-21 22:35:28 +08:00
Quorafind
f7b8749be0 chore: bump version to 9.1.2 and fix duplicate translation 2025-07-21 13:24:18 +08:00
Quorafind
cd36c228cd refactor(commands): reorganize quick capture command structure
- Remove global-quick-capture and full-featured-task-capture commands
- Add new quick-capture command that directly opens metadata modal
- Rename toggle-quick-capture to clarify it's for editor only
- Add toggle-quick-capture-globally for global editor capture access
- Update command translations to reflect new structure

This improves command clarity by separating editor-specific from
global quick capture functionality.
2025-07-21 13:21:43 +08:00
Quorafind
ff006034bb chore: bump version 2025-07-21 11:42:22 +08:00
Quorafind
3c75f68ce6 fix(view): improve view switching to focus existing leaves and sync sidebar
- Check for existing TaskView leaves before creating new ones
- Focus the existing view using revealLeaf when available
- Update sidebar component to reflect current view mode when switching
- Add missing BasesViewRegistration import to type definitions

This ensures the task view properly reuses existing instances and keeps
the sidebar synchronized with the current view mode.
2025-07-21 11:39:43 +08:00
Quorafind
afadd5fade chore: bump version 2025-07-18 19:50:23 +08:00
Quorafind
5b1c9a4799 chore: bump version 2025-07-18 19:49:42 +08:00
Boninall
0b87ed5b4b Merge pull request #338 from Quorafind/feat/new-ical
Feat/new ical
2025-07-18 19:46:26 +08:00
Quorafind
7f2e0ab9c7 chore: bump version [release-beta] 2025-07-18 14:55:57 +08:00
Quorafind
8967916eb0 fix: css issue with create task 2025-07-18 14:55:35 +08:00
Quorafind
9477d963a0 chore: fix some test suite 2025-07-18 13:40:55 +08:00
quorafind
e2a8b23d79 feat: update minimal capture 2025-07-17 15:35:41 +08:00
Quorafind
c28eef166b feat: support minimal capture 2025-07-16 20:56:48 +08:00
quorafind
024fdc7dff fix: better performance 2025-07-16 15:04:51 +08:00
quorafind
b0868745b3 improve: update performance 2025-07-16 11:33:56 +08:00
quorafind
9e428912d9 improve: update performance 2025-07-16 11:33:20 +08:00
quorafind
8937748ffa fix: metadata inherited settings not passed to the taskworker 2025-07-16 10:01:55 +08:00
quorafind
339f637a4c fix: quick capture path issue 2025-07-15 23:25:36 +08:00
quorafind
8a3fda288b chore: remove claude json 2025-07-15 20:48:04 +08:00
quorafind
90e5a31509 feat: support inherit from frontmatter 2025-07-15 20:47:40 +08:00
quorafind
7d4fdc73ca fix: tags parsing issue in frontmatter 2025-07-15 16:23:31 +08:00
quorafind
509245172b feat: inherit tags or metadata from frontmatter 2025-07-15 15:12:38 +08:00
quorafind
9b4e4ebf23 chore: bump version [release-beta] 2025-07-15 11:31:27 +08:00