Skip to content

Add commit actions & graph filters; demo mode; Windows ICO; multi-OS CI artifacts#13

Merged
hoangsvit merged 1 commit into
mainfrom
codex/them-tinh-nang-nhu-gitraken
Jun 27, 2026
Merged

Add commit actions & graph filters; demo mode; Windows ICO; multi-OS CI artifacts#13
hoangsvit merged 1 commit into
mainfrom
codex/them-tinh-nang-nhu-gitraken

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Motivation

  • Expose more commit-level operations (checkout, branch/tag from commit, cherry-pick, revert, reset) from the UI and backend to improve workflow ergonomics.
  • Improve commit graph usability with search, author/ref filters and visual polish for easier history exploration.
  • Provide a browser demo mode so the frontend can run without a Tauri backend for easier development and CI validation.
  • Replace fragile screenshot-based CI with cross-platform desktop bundle builds and upload artifacts, and include a Windows ICO in the bundle.

Description

  • CI: Reworked .github/workflows/ci.yml to a matrix build job for Linux/Windows/macOS, removed headless screenshot run, changed permissions to contents: read, and added artifact upload and PR comment/summarize steps that reference the uploaded bundles.
  • Tauri/Rust: Updated src-tauri/build.rs to generate icons/icon.ico and ensure required PNG icons exist, and added the ICO to src-tauri/tauri.conf.json bundle icons.
  • Backend commands: Added multiple Tauri commands in src-tauri/src/commands/history.rs (checkout_commit, create_branch_from_commit, create_tag_from_commit, cherry_pick_commit, revert_commit, reset_to_commit) and registered them in src-tauri/src/lib.rs.
  • Frontend UI: Rewrote the commit graph (src/components/graph/GitGraph.tsx) to add search, author/ref filters, row highlighting/dimming and layout adjustments; replaced CommitDetails (src/components/history/CommitDetails.tsx) with a richer panel exposing branch/tag/cherry-pick/revert/checkout/reset actions.
  • Demo mode & services: Added src/demo/currentRepoDemo.ts with sample repo/history/status and updated src/services/gitService.ts to use a demo RPC layer when not running inside Tauri, and to expose the new commit-related RPC calls.
  • Misc: Small formatting cleanup in src/main.tsx, updated package-lock.json and added artifact naming/layout changes in CI.

Testing

  • Ran local frontend dependency install and build with npm ci and npm run build, which completed successfully.
  • Executed the Tauri check/build commands locally (npm run tauri:check and npm run tauri -- build) to validate the desktop bundle generation and new ICO inclusion, which succeeded in the local environment.
  • CI workflow updated to perform matrix builds and artifact uploads; the workflow configuration was validated in the repository (no automated test failures from the config changes during the rollout).

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 →

@hoangsvit hoangsvit merged commit ea83de9 into main Jun 27, 2026
2 of 5 checks passed
@hoangsvit hoangsvit deleted the codex/them-tinh-nang-nhu-gitraken branch June 27, 2026 08:39
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