feat: add stars mode and star/unstar functionality#29
Conversation
- Add Shift+S toggle to enter/exit stars mode (Personal Account only) - Implement GraphQL query to fetch starred repositories - Add UnstarModal component with U key to unstar repos - Show ⭐ Stars Mode indicator in header when active - Update help text to show stars mode commands - Stars sorted by STARRED_AT desc for most recent first
- Visibility filter (V key) is now disabled when in stars mode - Visibility filter label is hidden from header when in stars mode - V shortcut is removed from help text when in stars mode - Visibility filter is automatically reset to 'all' when entering stars mode
- Detect and provide user-friendly message for OAuth restriction errors - Show [org] indicator next to organization repos in stars mode - Use warning icon (⚠️ ) for OAuth restriction errors in modal - Inform users they need to unstar directly on GitHub for restricted orgs
- Filter starred repositories locally (no server search) - Different placeholder text for stars mode filtering - Prevent GitHub search API calls when filtering in stars mode - Filter by repository name and description
- Down arrow now properly exits filter mode and selects first item in stars mode - Consistent behavior between normal search and stars mode filtering
- Escape key now properly clears the filter when in stars mode - Maintains search state correctly (only clears search state in normal mode) - Resets cursor to top after clearing filter
- Filter is now cleared when entering or exiting stars mode - Prevents confusion from having different filters in different modes - Search state is properly reset when switching modes
- Added star icon (⭐) next to starred repository names in both modes - Implemented Shift+U shortcut to star/unstar repos in normal mode - Created StarModal component for star/unstar confirmation - Added viewerHasStarred field to GraphQL queries - Added owner field to identify organization repos - Handle OAuth access restrictions for star/unstar operations - Update star count dynamically when starring/unstarring
- Added viewerHasStarred field to all Apollo Client queries (org and personal) - Added owner field to all Apollo queries for OAuth restriction detection - Star icons will now show properly in normal listing mode - Organization repos can be identified for OAuth warnings
- Changed from Shift+U to Ctrl+U for consistency with other Ctrl shortcuts - Updated help text to reflect the new shortcut
… Ctrl+Y, fork status to Ctrl+F
…e fork status toggle
…conflict with Sort
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Caution Review failedThe pull request is closed. Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (12)
✨ Finishing Touches
🧪 Generate unit tests
Comment |
There was a problem hiding this comment.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
- Fix API rate limit tracking by removing no-op setPrevRateLimit call - Fix undefined setStarredPageInfo by using individual state setters
# [1.35.0](v1.34.0...v1.35.0) (2025-09-09) ### Bug Fixes * add npm authentication configuration for semantic-release ([d2d5ad0](d2d5ad0)) * ensure build job fetches updated version from semantic-release ([e8df4ec](e8df4ec)) * optimize release workflow to check before building ([5027d45](5027d45)) * resolve PR Title Manager workflow script loading issue ([5764938](5764938)) * resolve Windows build failure in release pipeline ([708c0d3](708c0d3)) * restore original workflow behavior for release pipeline ([2781719](2781719)) * use --config flag to fully override semantic-release config ([b233b58](b233b58)) * use minimal config for semantic-release dry-run check ([830d058](830d058)) ### Features * add stars mode and star/unstar functionality ([#29](#29)) ([9295dcb](9295dcb))
|
🎉 This PR is included in version 1.35.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
This PR implements comprehensive starred repository management functionality, including:
Features Added
🌟 Stars Mode (Personal Account Only)
Shift+Sto enter/exit stars modeUkey and confirmation modal⭐ Star/Unstar in Normal Mode
Ctrl+Sto toggle star status for any repository🎯 Visual Indicators
⌨️ Keyboard Shortcut Updates
Ctrl+S(was conflicting with Sort, now fixed)Ctrl+F(moved from Ctrl+S)Technical Implementation
viewerHasStarredfield to all repository queriesStarModalandUnstarModalcomponentsBug Fixes
Documentation
Testing
Closes #[issue-number-if-applicable]
Summary by CodeRabbit
New Features
Documentation