feat: chevron on right + tabbed settings + display customization
View: - Chevron moved from left side to right side of bookmark rows - Display settings applied as CSS variables on the view element Settings: - Tabbed UI with 4 tabs: Calendar, Periodic Notes, Recent Files, Display - Display tab: row size, row spacing, indent size, font size, icon size, calendar cell size - All settings use sliders with live preview and dynamic tooltips - Reset to defaults button CSS: - Bookmark items use CSS variables (--wp-row-size, --wp-row-spacing, etc.) - Calendar cells use --wp-cal-cell-size for configurable height - Settings tab styling with active indicator
This commit is contained in:
@@ -19,6 +19,15 @@ export interface RecentFilesSettings {
|
||||
omittedTags: string[];
|
||||
}
|
||||
|
||||
export interface DisplaySettings {
|
||||
rowSize: number; // px, base height of bookmark items (20–40)
|
||||
rowSpacing: number; // px, gap between items (0–12)
|
||||
indentSize: number; // px, indent per depth level (8–32)
|
||||
fontSize: number; // px, font size for bookmark labels (10–18)
|
||||
iconSize: number; // px, icon size (12–24)
|
||||
calendarCellSize: number; // px, calendar day cell height (20–48)
|
||||
}
|
||||
|
||||
export interface WaypointSettings {
|
||||
calendar: CalendarSettings;
|
||||
daily: PeriodNoteSettings;
|
||||
@@ -27,6 +36,7 @@ export interface WaypointSettings {
|
||||
quarterly: PeriodNoteSettings;
|
||||
yearly: PeriodNoteSettings;
|
||||
recentFiles: RecentFilesSettings;
|
||||
display: DisplaySettings;
|
||||
}
|
||||
|
||||
export const DEFAULT_SETTINGS: WaypointSettings = {
|
||||
@@ -70,4 +80,12 @@ export const DEFAULT_SETTINGS: WaypointSettings = {
|
||||
omittedPaths: [],
|
||||
omittedTags: [],
|
||||
},
|
||||
display: {
|
||||
rowSize: 26,
|
||||
rowSpacing: 2,
|
||||
indentSize: 16,
|
||||
fontSize: 13,
|
||||
iconSize: 16,
|
||||
calendarCellSize: 32,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user