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
+3
-15
@@ -426,29 +426,17 @@ export class WaypointSettingTab extends PluginSettingTab {
|
||||
};
|
||||
});
|
||||
|
||||
new Setting(container)
|
||||
.setName('Type filter')
|
||||
.setDesc('Show pills above the list to filter recent files by their frontmatter `type`.')
|
||||
.addToggle((toggle) => {
|
||||
toggle
|
||||
.setValue(this.settings.recentFiles.showTypeFilter)
|
||||
.onChange((value) => {
|
||||
this.settings.recentFiles.showTypeFilter = value;
|
||||
this.saveAndRefresh();
|
||||
});
|
||||
});
|
||||
|
||||
this.renderRecentTypes(container);
|
||||
}
|
||||
|
||||
/** Frontmatter types with an icon each; also the pill list when the type filter is on. */
|
||||
/** Frontmatter types with an icon each. */
|
||||
private renderRecentTypes(container: HTMLElement): void {
|
||||
const types = this.settings.recentFiles.types;
|
||||
|
||||
new Setting(container)
|
||||
.setHeading()
|
||||
.setName('File types')
|
||||
.setDesc('Frontmatter `type` values. A type\'s icon shows beside matching recent files. With the type filter on, these types are the pills, in this order; with no types listed, pills are detected automatically.');
|
||||
.setDesc('Frontmatter `type` values. A type\'s icon shows beside matching recent files.');
|
||||
|
||||
types.forEach((entry, i) => {
|
||||
new Setting(container)
|
||||
@@ -618,7 +606,7 @@ export class WaypointSettingTab extends PluginSettingTab {
|
||||
`<p><strong>Waypoint</strong> is a sidebar plugin that brings three essential panels into one view:</p>`,
|
||||
`<ul style="padding-left: 20px; margin: 8px 0;">`,
|
||||
`<li><strong>Calendar</strong> — a monthly grid for your periodic notes (daily, weekly, monthly, quarterly, yearly). Click any day, week, or month to open or create the corresponding note.</li>`,
|
||||
`<li><strong>Recent Files</strong> — a list of recently opened files with type filtering, drag-and-drop, and right-click actions.</li>`,
|
||||
`<li><strong>Recent Files</strong> — a list of recently opened and changed files with type icons, drag-and-drop, and right-click actions.</li>`,
|
||||
`<li><strong>Bookmarks</strong> — custom bookmarks with icons, groups, nesting, and drag-and-drop reordering. Separate from Obsidian's native bookmarks.</li>`,
|
||||
`</ul>`,
|
||||
`<p style="color: var(--text-muted); font-size: var(--font-ui-small);">Made by Olivier. Licensed under MIT.</p>`,
|
||||
|
||||
Reference in new issue
Block a user