Skip to content

Add quick tag modal and keyboard shortcuts for bookmark management#27

Merged
pheuberger merged 7 commits intomainfrom
claude/add-bookmark-shortcuts-sSe5s
Feb 5, 2026
Merged

Add quick tag modal and keyboard shortcuts for bookmark management#27
pheuberger merged 7 commits intomainfrom
claude/add-bookmark-shortcuts-sSe5s

Conversation

@pheuberger
Copy link
Copy Markdown
Owner

Summary

This PR adds a new quick tag modal and several keyboard shortcuts to improve bookmark management efficiency. Users can now quickly edit tags, toggle read later status, and copy URLs using keyboard shortcuts inspired by Linear's interface.

Key Changes

  • New QuickTagModal component (src/components/ui/QuickTagModal.jsx)

    • Linear-style modal for editing bookmark tags
    • Search/filter functionality for tags
    • Support for creating new tags inline
    • Keyboard navigation (j/k, arrow keys, number keys 1-9 for quick selection)
    • Visual feedback with checkmarks for selected tags
  • New keyboard shortcuts

    • Shift+T: Open tag edit modal for selected bookmark
    • Shift+L: Toggle read later status for selected bookmark
    • c: Copy selected bookmark URL to clipboard
    • o: Alternative shortcut to open selected bookmark (in addition to Enter)
    • d: Delete selected bookmark (now documented)
  • Updated HelpModal to document all new shortcuts in organized groups:

    • Navigation shortcuts
    • Quick Actions (new group)
    • Go To shortcuts
    • General shortcuts (including Undo/Redo)
  • BookmarkList enhancements

    • Added state management for tag modal (isTagModalOpen, tagModalBookmark)
    • Implemented helper functions: getSelectedBookmark(), openTagModal(), toggleReadLaterSelected(), copySelectedUrl()
    • Integrated new shortcuts into keyboard handler
    • Added toast notifications for user feedback

Implementation Details

  • All new shortcuts respect the current filter view (disabled in inbox)
  • Shortcuts are disabled while adding or editing bookmarks
  • Tag modal includes keyboard hints and number key shortcuts for quick selection
  • URL copy uses native clipboard API with error handling
  • Toast notifications provide user feedback for all actions

https://claude.ai/code/session_011LNAQ1835Z6ACAzS3fDeMv

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 5, 2026

Deploy Preview for hypermarkk ready!

Name Link
🔨 Latest commit 4fa59b9
🔍 Latest deploy log https://app.netlify.com/projects/hypermarkk/deploys/6984799b2e13fd0007bc032c
😎 Deploy Preview https://deploy-preview-27--hypermarkk.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

claude and others added 3 commits February 5, 2026 12:46
Add quick action shortcuts for power users:
- Shift+T: Open tag edit modal for selected bookmark
- Shift+L: Toggle read later status
- c: Copy URL to clipboard
- o: Open selected bookmark (alias for Enter)

Also adds QuickTagModal component for fast tag editing and
updates HelpModal to document all shortcuts including d, g i,
undo/redo.

https://claude.ai/code/session_011LNAQ1835Z6ACAzS3fDeMv
Replace the basic tag modal with a Linear-inspired design:
- Bookmark title header at top
- Search/filter input field
- List of tags with hash icons
- Checkmarks for currently applied tags
- Number keys (1-9) for instant tag toggling
- j/k and arrow key navigation
- Enter to toggle, Escape to close
- Option to create new tags inline

https://claude.ai/code/session_011LNAQ1835Z6ACAzS3fDeMv
- Use Ctrl+j/k instead of j/k for navigation (avoids conflict with typing)
- Add Space key to toggle tags (Linear-style)
- Add checkbox UI on left side for selected tags
- Keep arrow keys and number keys (1-9) for navigation/quick toggle
@pheuberger pheuberger force-pushed the claude/add-bookmark-shortcuts-sSe5s branch from 31f0e2d to bf97579 Compare February 5, 2026 10:54
Tag selector now works like Linear's label picker:
- Track tag selections locally (not applied immediately)
- Space: toggle tag selection
- Enter: save all changes and close
- Escape: discard changes and close
- Arrow keys or Ctrl+j/k: navigate
- 1-9: quick toggle by position

This fixes the stale state issues and provides cleaner UX.
@pheuberger pheuberger merged commit ab9bc1e into main Feb 5, 2026
7 checks passed
@pheuberger pheuberger deleted the claude/add-bookmark-shortcuts-sSe5s branch February 5, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants