Repository navigation
feat(calendar): configurable slot height and pinch to resize - #2523
Merged
Merged
Conversation
Add a slot height setting for the calendar time grid, so short slots such as 15 minutes no longer make the day taller than the window. - New `slotHeight` setting (5-60 px, default 24) in Settings > Appearance > Time settings and in each calendar view's time grid options. - Passed through to the calendar's time grid; values outside the supported range are clamped and non-numeric values fall back to the saved height. - Named `slotHeight` because that is the time grid option that controls the rendered height of one slot, unlike a CSS zoom.
Upgrade @tasknotes/calendar to 0.1.10 and turn on its pinch zoom. - Two fingers on a time grid change the slot height (16-96 px) around the time beneath them. - The pinched height is stored per device in Obsidian local storage, keyed by the configured height it replaces, so changing the configured Time slot height starts fresh. - New "Pinch to resize time slots" toggle in the view's time grid options (on by default); the slot height limit rises to 96 px to match the pinch range. - Translations for all locales, docs and release notes.
…1.10 Three-way merge the upstream 0.1.6 -> 0.1.10 stylesheet changes into the host copy, keeping its Host: adaptations. The one conflict was upstream's new interaction block at the end of the file; it now sits before the host's reduced-motion rule, which stays last. The new upstream rules need no further host changes: no !important, short hex, :has() or display: contents, and styles.css passes stylelint.
callumalpass
force-pushed
the
feat/calendar-pinch-settings
branch
from
November 9, 2026 08:45
317b1a3 to
226dff3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #2497 by @AIDockerCloud. Their commit is included unchanged, apart from a rebase onto current main, so merging this also lands #2497.
From #2497
slotHeightsetting for the time grid, in Settings → Appearance → Time settings and in each calendar view's time grid options.Added here
@tasknotes/calendargoes from 0.1.6 to 0.1.10, which addspinchZoomandonSlotHeightChange.unreleased.mdupdated, and @AIDockerCloud credited for the setting.TaskNotes App shipped the same feature in callumalpass/tasknotes-app#374.
Verified
npm run typecheckandnpm run lintpass.npm run i18n:checkpasses.npx jestpasses: 6051 tests, 783 suites.The calendar 0.1.6 → 0.1.10 upgrade changes how overlapping events lay out and adds a day-navigation row on narrow week views. The app needed CSS changes for both (see #374). Check the plugin's calendar on a narrow pane before releasing.