Skip to content

Feature: keyboard shortcut for 'Open today's daily note' #32

@thetechjon

Description

@thetechjon

Context

Calendar daily notes are a core flow in noteser. The Calendar sidebar UI lets you click a date to open / create that day's note. Obsidian users coming to noteser expect a keyboard shortcut — Obsidian binds Ctrl/Cmd+T-ish hotkeys for "Open today's daily note". noteser currently has no equivalent fast path.

Where to look

  • src/utils/commands.ts — the central command registry. Other commands (open Settings, open Templates, etc.) live here.
  • src/utils/keyboardShortcuts.ts (or src/hooks/useKeyboardShortcuts.ts) — where shortcuts are wired.
  • src/components/sidebar/CalendarView.tsx — has the "open daily note for date" logic; the new command should reuse the same path.
  • src/help/content.ts — shortcut documentation rendered in /help. Add a row.

Acceptance criteria

  • New command "Open today's daily note" added to commands.ts.
  • Default shortcut Ctrl+Shift+T (configurable like the other shortcuts).
  • If today's daily note exists → open it. If it does not → create it from the configured daily-note template, then open.
  • Shortcut row added to /help page.
  • No regression in the Calendar UI (clicking still works the same).

Complexity

Small.

For first-time contributors

Read CONTRIBUTING.md. npm install, npm run dev. Existing commands in commands.ts are good templates to copy. PR against dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions