release v1.10.0: compact English calendar and remove recent type filters
This commit is contained in:
1 parent
c9afc16c53
commit
165a3d1f27
11 files changed
+42
-122
No files matched your search
+6
-9
@@ -59,7 +59,7 @@ interface WaypointSettings {
|
||||
quarterly: PeriodNoteSettings;
|
||||
yearly: PeriodNoteSettings;
|
||||
dateSystems: DateSystemSettings[]; // day-scoped systems beyond the daily note, in menu order
|
||||
recentFiles: RecentFilesSettings; // maxItems, show, omittedPaths[], omittedTags[], showTypeFilter, types[]
|
||||
recentFiles: RecentFilesSettings; // maxItems, show, omittedPaths[], omittedTags[], types[]
|
||||
display: DisplaySettings; // px sizing for bookmark rows, fonts, icons, calendar cells
|
||||
}
|
||||
|
||||
@@ -82,12 +82,11 @@ interface RecentFilesSettings {
|
||||
show: 'all' | 'opened' | 'changed'; // header switch, default 'all'
|
||||
omittedPaths: string[]; // regex patterns (one per line)
|
||||
omittedTags: string[]; // regex patterns for frontmatter/inline tags
|
||||
showTypeFilter: boolean; // type pills above the list, default true
|
||||
types: { type: string; icon: string }[]; // frontmatter types: row icon + pill order (empty = pills auto-detected)
|
||||
types: { type: string; icon: string }[]; // frontmatter types with a row icon each
|
||||
}
|
||||
```
|
||||
|
||||
Migration in `applySettings`: a saved `filterTags: string[]` becomes `types` with empty icons; the saved `updateOn` is dropped (both kinds are always tracked).
|
||||
Migration in `applySettings`: the saved `filterTags`, `showTypeFilter` (the removed type filter), and `updateOn` (both kinds are always tracked) are dropped.
|
||||
|
||||
```typescript
|
||||
interface DisplaySettings {
|
||||
@@ -357,15 +356,15 @@ Called on every change. Full DOM rebuild — `contentEl.empty()`, then Favorites
|
||||
|
||||
```
|
||||
┌────────────────────────────────────┐
|
||||
│ Q2 June 2026 ◀ Today ▶ │ ← breadcrumb (clickable) + nav
|
||||
│ Q2 Jun 2026 ◀ Today ▶ │ ← breadcrumb (clickable) + nav
|
||||
├──┬───┬───┬───┬───┬───┬───┬───┤
|
||||
│24│sun│mon│tue│wed│thu│fri│sat│ ← header row + week# col
|
||||
│24│ S │ M │ T │ W │ T │ F │ S │ ← header row + week# col
|
||||
├──┼───┼───┼───┼───┼───┼───┼───┤
|
||||
│25│ 1 │ 2 │ 3 │... ← day cells (clickable)
|
||||
└──┴───┴───┴───┴───┴───┴───┴───┘
|
||||
```
|
||||
|
||||
- **Breadcrumb:** Q-label, month name, year — each clickable to open that period note.
|
||||
- **Breadcrumb:** Q-label, 3-letter month (`MMM`), year — each clickable to open that period note. Weekday headers are single letters.
|
||||
- **Nav buttons:** ◀/▶ shift month ±1. "Today" resets to current month. The `calendar-search` button calls `showPicker()` on a hidden native `<input type="date">` (`.waypoint-calendar-pick-input`); picking a date calls `showDate()` — the calendar jumps to that month and marks the day without opening or creating a note.
|
||||
- **Week number column:** Clicking a week number opens the weekly note for that week's Monday; middle-clicking opens it in a new tab.
|
||||
- **Day cells:** Left-click opens the daily note, middle-click opens it in a new tab, right-click opens the day context menu (below). `.other-month` is muted; `.today` has an inset accent ring; hover receives a quiet fill. With `indicatorMode: 'any'`, `.has-note` shows the existing single neutral dot through the O(1) `plugin.hasNoteForDate(dateStr)` lookup. With `indicatorMode: 'systems'`, the view calls `getDateSystemIndicators()` once for the month and renders one tooltip-labelled coloured dot per matching daily/journal/meeting/custom system.
|
||||
@@ -384,8 +383,6 @@ Renders `recentFilesFor(plugin.recentFiles, settings.show)` as Obsidian-native `
|
||||
|
||||
**Header switch** (`.waypoint-recent-show`): `all` / `opened` / `changed`, saved to `settings.recentFiles.show`.
|
||||
|
||||
**Type pills** (only when `showTypeFilter`): with `types` configured, one pill per type in that order (count may be 0); otherwise one per frontmatter `type` present, most frequent first. The pill filter is view state (`recentFilesFilter`) and resets when pills are turned off. Types with an empty name (rows being typed in settings) are ignored.
|
||||
|
||||
**Type icons** (`.waypoint-recent-icon`): a file whose frontmatter `type` matches a configured type with an icon shows that Lucide icon before its name. Once any type has an icon, every row reserves the slot so names stay aligned.
|
||||
|
||||
**Per-file features:**
|
||||
|
||||
Reference in new issue
Block a user