Skip to content

feat: add pinned PRs feature#5

Closed
cesarferreira wants to merge 1 commit intofeat/config-filefrom
feat/pinned-prs
Closed

feat: add pinned PRs feature#5
cesarferreira wants to merge 1 commit intofeat/config-filefrom
feat/pinned-prs

Conversation

@cesarferreira
Copy link
Copy Markdown
Owner

Summary

Add the ability to pin PRs so they always appear at the top of the list, regardless of score.

Features

  • Press p in list view to toggle pin on the selected PR
  • Pinned PRs are shown in a dedicated "📌 PINNED" section at the top
  • Pin indicator (📌) shown next to pinned PRs
  • Pin state persists across sessions via SQLite storage
  • Pinned PRs are sorted first, then by score, then by updated timestamp

Changes

  • Add pinned column to SQLite schema
  • Add toggle_pin() function in db.rs
  • Update TUI with p keybind and PINNED section
  • Update help text and footer

Stacked on

- Add 'pinned' column to SQLite schema for persistence
- Add toggle_pin() function to toggle pin state
- Add 'p' keybind in list view to toggle pin on selected PR
- Show dedicated 'PINNED' section at the top of the list
- Show 📌 indicator next to pinned PRs
- Pinned PRs are sorted first, then by score/updated
- Pin state persists across sessions via SQLite
- Update help text and footer with new keybind
@cesarferreira cesarferreira deleted the branch feat/config-file December 19, 2025 01:59
@cesarferreira cesarferreira deleted the feat/pinned-prs branch December 19, 2025 02:00
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.

1 participant