feat: open a commit from recent activity - #1
Merged
Merged
Conversation
Each Recent Activity row links to its commit on GitHub, by click or by keyboard: the card is now the Overview's bottom region, reached with j past the bottom of the grid. The URL is built from the repository URL, so cached years open it too.
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Reset pointer ownership when leaving an activity row so keyboard highlighting is restored.
Review effort: Lite
Findings: None
What changed in this PR
Adds GitHub commit links and keyboard/mouse activation for Recent Activity rows, including navigation from the heatmap.
Changes:
- Builds and exposes commit URLs.
- Adds clickable and keyboard-activatable activity rows.
- Extends keyboard navigation through Recent Activity.
| File | Description |
|---|---|
qml/Overview.qml |
Adds activity-card navigation. |
qml/Heatmap.qml |
Enables navigation into Recent Activity. |
qml/ActivityList.qml |
Adds focus, hover, and URL activation. |
gitframe/models.py |
Stores commit URL data. |
gitframe/github.py |
Constructs commit-page URLs. |
gitframe/backend.py |
Exposes URLs to QML. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Each Recent Activity row now links to its commit on GitHub.
Enter/Spacewith the cursor on a row, opens the commit and closes the overlay, like the avatar and the Repositories rows.jpast the bottom of the grid enters it,kfrom its first row goes back,hgoes to the sidebar.<repo url>/commit/<oid>, so the query is unchanged and cached years open it too.