release v1.9.0: date picker and open-date command, recent files opened/changed with background dot and type icons, mobile layout

This commit is contained in:
olivier committed 2026-10-28 14:02:41 -04:00
1 parent 984a0ab44f
commit ff15470a06
14 files changed
+626 -175

No files matched your search

+120 -1
View File
@@ -13,7 +13,7 @@
flex-shrink: 0;
}
.waypoint-view .waypoint-section:last-child {
.waypoint-view .waypoint-calendar-section {
margin-top: auto;
margin-bottom: 0;
}
@@ -102,6 +102,20 @@
display: flex;
align-items: center;
gap: 1px;
position: relative;
}
/* Anchors the native picker under the date button without taking space. */
.waypoint-calendar-today-group .waypoint-calendar-pick-input {
position: absolute;
right: 0;
bottom: 0;
width: 1px;
height: 1px;
padding: 0;
border: 0;
opacity: 0;
pointer-events: none;
}
.waypoint-calendar-today-group button {
@@ -194,6 +208,40 @@
background-color: var(--background-modifier-active-hover);
}
/* Day jumped to with the date picker or the "Open date" command. */
.waypoint-calendar .waypoint-day.is-selected {
color: var(--text-on-accent);
background-color: var(--interactive-accent);
}
.waypoint-calendar .waypoint-day.is-selected:hover {
background-color: var(--interactive-accent-hover);
}
/* Lists wrap only so mobile can scroll them apart from the calendar. */
.waypoint-lists {
display: contents;
}
/* Mobile drawer: the whole calendar stays on screen; the lists scroll above it. */
.is-mobile .waypoint-view {
overflow-y: hidden;
}
.is-mobile .waypoint-view .waypoint-lists {
display: block;
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
margin-bottom: 8px;
}
/* Mobile's wide default buttons push the date button out of the calendar. */
.is-mobile .waypoint-calendar-today-group button {
width: auto;
padding: 4px 8px;
}
/* Single-dot mode preserves the pre-date-systems indicator. */
.waypoint-calendar .waypoint-day.has-note::after {
content: '';
@@ -268,6 +316,8 @@
padding: 2px 28px 2px 4px;
font-size: var(--font-ui-small);
position: relative;
/* Obsidian's baseline alignment puts the type icon above the text's centre. */
align-items: center;
}
.waypoint-recent-files .waypoint-recent-remove {
@@ -294,6 +344,64 @@
color: var(--text-accent);
}
/* Header switch: all / opened / changed. */
.waypoint-recent-show {
margin-left: auto;
display: flex;
gap: 2px;
text-transform: none;
letter-spacing: normal;
font-weight: var(--font-normal);
}
.waypoint-recent-show-option {
font-size: var(--font-ui-smaller);
color: var(--text-faint);
padding: 0 6px;
border-radius: 10px;
cursor: var(--cursor-link, pointer);
user-select: none;
transition: color 80ms, background 80ms;
}
.waypoint-recent-show-option:hover {
color: var(--text-normal);
background: var(--background-modifier-hover);
}
.waypoint-recent-show-option.is-active {
color: var(--text-normal);
background: var(--background-modifier-active-hover);
}
/* Icon of the file's configured frontmatter type; empty slots keep names aligned. */
.waypoint-recent-files .waypoint-recent-icon {
flex-shrink: 0;
display: flex;
align-items: center;
width: 16px;
/* Same box with or without an icon, and shorter than a text line, so rows keep one height. */
height: 14px;
margin-right: 6px;
color: var(--text-muted);
transform: translateY(-2px);
}
.waypoint-recent-files .waypoint-recent-icon svg {
width: 14px;
height: 14px;
}
/* Changed in the background (sync, another plugin) since last opened. */
.waypoint-recent-files .waypoint-recent-changed {
flex-shrink: 0;
width: 6px;
height: 6px;
margin-left: 6px;
border-radius: 50%;
background-color: var(--interactive-accent);
}
/* ── Favorites ── */
.waypoint-favorites .waypoint-bookmark-item {
@@ -423,6 +531,7 @@ button.waypoint-calendar-today-btn {
.waypoint-settings-tabs {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-bottom: 20px;
border-bottom: 1px solid var(--background-modifier-border);
@@ -453,6 +562,16 @@ button.waypoint-calendar-today-btn {
margin-bottom: -9px;
}
/* Wrapped rows cannot sit on the bar's bottom border, so mobile tabs are pills. */
.is-mobile .waypoint-settings-tab {
border-radius: 6px;
}
.is-mobile .waypoint-settings-tab.is-active {
border-bottom: none;
margin-bottom: 0;
}
/* ── Icon picker ── */
/* Sits left of Cancel/Save so clearing reads as a separate, secondary action. */