Open
Conversation
Implements a bookmark system for saving and recalling SQL queries. Ctrl+Shift+S saves the current editor content as a bookmark with name, description, and tags. Ctrl+Shift+O opens a searchable picker to browse and load saved queries. Ships with 6 built-in PostgreSQL admin snippets (table sizes, running queries, index usage, etc.). User bookmarks persist to ~/.config/pgrsql/bookmarks.json. Closes #18 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
Implements Issue #18 — a query bookmark system for saving, browsing, and loading frequently used SQL queries.
~/.config/pgrsql/bookmarks.jsonChanges
src/bookmarks.rsSavedQuerystruct,load_bookmarks(),save_bookmarks(),built_in_snippets(), 6 unit testssrc/main.rsmod bookmarkssrc/ui/app.rsFocus::BookmarkPicker/BookmarkSave,BookmarkPickerState,BookmarkSaveState,filtered_bookmarks(), picker and save input handlers, Ctrl+Shift+S/O keybindingssrc/ui/components.rsdraw_bookmark_picker(),draw_bookmark_preview(),draw_bookmark_save(), updated help overlayTest plan
cargo clippycleancargo fmtclean🤖 Generated with Claude Code