Skip to content

Add backend-driven history filters and GitKraken-style graph enhancements#16

Merged
hoangsvit merged 1 commit into
mainfrom
codex/improve-gitpilot-to-match-gitkraken
Jun 27, 2026
Merged

Add backend-driven history filters and GitKraken-style graph enhancements#16
hoangsvit merged 1 commit into
mainfrom
codex/improve-gitpilot-to-match-gitkraken

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Motivation

  • Provide richer, Git-backed commit graph filtering and search so users can narrow history by branch/author/date/keyword/file and keep the UI responsive for large repos.
  • Keep the existing Tauri/Rust/React architecture and wire filters to real Git commands via the backend so UI controls reflect actual repo history.

Description

  • Extended the Tauri get_history command to accept filter parameters and build a git log --graph --decorate argument list supporting --author, --since, --until, --grep, branch/ref selection, and file path filtering. (src-tauri/src/commands/history.rs)
  • Updated the frontend RPC surface and types with a HistoryFilters type and changed gitService.getHistory to send filters and increase the default page size to 500 commits. (src/types/git.ts, src/services/gitService.ts)
  • Added store support for historyLimit/historyFilters and a loadHistory action that preserves filters and supports loading more commits. (src/store/gitStore.ts)
  • Enhanced the commit graph UI to expose search and filter controls (author, ref, since/until, keyword, file path), show more refs on commits, scroll/highlight the selected commit, and add a Load 500 more commits action. (src/components/graph/GitGraph.tsx)

Testing

  • Ran npm ci successfully in the workspace.
  • Ran npm run typecheck (tsc --noEmit) and it passed.
  • Ran npm run build (frontend vite build) and it succeeded.
  • Ran cargo fmt --manifest-path src-tauri/Cargo.toml --check and git diff --check, both passed.
  • Ran npm run tauri:check locally but cargo check failed due to a missing system glib-2.0 pkg-config dependency in this container (CI installs Tauri Linux system deps before running the check); frontend and non-system Rust checks completed successfully.

Codex Task

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@github-actions

Copy link
Copy Markdown

GitPilot build artifacts are ready

One CI workflow run built all 3 desktop apps: open workflow run.

Download links:

@hoangsvit hoangsvit merged commit 841ba89 into main Jun 27, 2026
5 checks passed
@hoangsvit hoangsvit deleted the codex/improve-gitpilot-to-match-gitkraken branch June 28, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant