Commit graph

7 commits

Author SHA1 Message Date
callumalpass
a8e8b29810 refactor: extract plugin bootstrap and architecture docs 2026-03-29 07:42:09 +11:00
callumalpass
15a68ce965 feat(bases): add MiniCalendar view and fix DateValue conversion
- Add new MiniCalendarBasesView for visualizing notes by date property
  - Monthly calendar grid with dot indicators on days with notes
  - Configurable date property (file.ctime, note.dateCreated, etc.)
  - Fuzzy selector modal for selecting notes on clicked days
  - UTC anchor compliance for timezone-independent date handling
  - Reuses existing mini-calendar CSS styling

- Fix BasesDataAdapter.convertValueToNative() to properly handle DateValue
  - DateValue objects have {date: Date, time: boolean} structure
  - Now checks for value.date instanceof Date before legacy methods
  - Fixes property-based events in CalendarView as well

- Register MiniCalendar view in bases registration
  - View name: "TaskNotes Mini Calendar"
  - Default property: file.ctime
  - Property filter for date-type properties

Files changed:
- src/bases/MiniCalendarView.ts (new)
- src/bases/BasesDataAdapter.ts (fix DateValue conversion)
- src/bases/registration.ts (register view)
2025-11-04 14:35:22 +11:00
callumalpass
96e01ae58b docs: add i18n-state-manager documentation and clean up development section 2025-11-04 14:02:24 +11:00
callumalpass
c721a67230 feat: complete fr locale and fix i18n tooling 2025-09-23 22:10:35 +10:00
callumalpass
8add49cc63 feat: add translation framework and French locale 2025-09-23 22:01:57 +10:00
Renato Mendonca
b383904f5f
Feature/Custom User Fields Mapping: Option to filter on your own frontmatter properties (+ smarter list and numeric filtering) (#471)
* feat: implement multi-field user properties for dynamic filtering

- Add userFields[] data model with id, key, displayName, type
- Migrate legacy userField to userFields array on load
- Extend FilterOptions with userProperties from settings
- Update FilterBar to include user properties in dropdown
- Add evaluation logic for user:* property conditions
- Create Settings UI for managing multiple user fields
- Add comprehensive unit tests for all components
- Support Text, Number, Date, Boolean, List field types

* fix(settings/user-fields): widen inputs and align layout with Priority section

- Use grid tailored for user-fields (1fr 1fr 160px 80px)
- Make Property Name and Display Name inputs flex to full width
- Standardize type dropdown width; stack neatly on mobile
- Follow existing settings-view patterns for consistency

* feat: add bracket/quote-aware CSV splitting and missing numeric operators

- Add src/utils/stringSplit.ts with splitListPreservingLinksAndQuotes()
  - Single-pass O(n) algorithm preserves commas inside [[...]] and quotes
  - Handles wikilink aliases [[path|alias]] correctly
  - Trims tokens and ignores empty values
- Integrate splitter in FilterService.normalizeUserListValue for string inputs
- Add missing numeric operators: is-greater-than-or-equal, is-less-than-or-equal
  - Update FilterOperator type and FILTER_OPERATORS labels
  - Add support for timeEstimate and user number fields
  - Implement comparison logic in FilterUtils
- Fix instant user field availability in FilterBar after settings changes
  - Invalidate filter options cache in main.saveSettings()
  - Push fresh options to open views in settings.ts
- Add comprehensive unit tests for string splitting and filter normalization
- Fix TypeScript compilation issue with new operator validation

* docs: add comprehensive user fields documentation and examples

- Add User Fields section to Advanced Settings with setup guide
- Document all 5 field types (text, number, date, boolean, list) with examples
- Explain smart list filtering that preserves wikilinks and quotes
- Document numeric intelligence for mixed text-number formats
- Add new comparison operators (equal or greater/less than) to filtering docs
- Include practical filtering examples for custom user fields
- Add technical implementation guide for developers
- Include demonstration GIFs showing list and numeric field filtering
- Update main settings overview to reference user fields feature
2025-08-24 20:17:51 +10:00
renatomen
1385c51821 docs(settings): add boolean property identification note and examples; tests: add MinimalNativeCache and TaskService boolean true/false cases; chore: ignore project planning directory 2025-08-09 13:11:59 +12:00