feat: add keyboard shortcuts to insert current date/time#1668
Open
pannous wants to merge 3 commits intoBoostIO:masterfrom
Open
feat: add keyboard shortcuts to insert current date/time#1668pannous wants to merge 3 commits intoBoostIO:masterfrom
pannous wants to merge 3 commits intoBoostIO:masterfrom
Conversation
- Shift+Ctrl+/ (Shift+Cmd+/ on macOS): inserts locale date (e.g. 3/18/2026) - Ctrl+Alt+/ (Shift+Alt+/ on macOS): inserts locale date and time Closes BoostIO#515
- Add dependabot.yml: weekly npm and GitHub Actions updates with grouped PRs - Add security.yml workflow: weekly npm audit with artifact upload - Update node.js.yml: upgrade actions to v4, test on Node 18+20, add npm cache - Enable Dependabot vulnerability alerts and automated security fixes via GitHub API
Enables GitHub CodeQL analysis for JavaScript/TypeScript with security-extended and security-and-quality query suites. Results surface in GitHub Security tab / Copilot code scanning.
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.
Fixes #515 — adds keyboard shortcuts to insert the current date or date+time at the cursor position in the editor.
Shortcuts
Shift+Ctrl+//Shift+Cmd+/(macOS)3/18/2026Ctrl+Alt+//Shift+Alt+/(macOS)3/18/2026, 2:45:00 PMImplementation
Added four entries to the CodeMirror
extraKeysconfig in the cloud editor. Usescm.replaceSelection()so it inserts at the cursor or replaces any selected text. UsestoLocaleDateString()/toLocaleString()to respect the user's system locale.This matches the approach previously implemented for BoostNote.next in #1018.
Funded via IssueHunt