Skip to content

Add InputDialog and ShortcutsHelp components; implement Git log graph#66

Merged
Yashh56 merged 2 commits into
Relwave:developfrom
Yashh56:code-improvement
May 25, 2026
Merged

Add InputDialog and ShortcutsHelp components; implement Git log graph#66
Yashh56 merged 2 commits into
Relwave:developfrom
Yashh56:code-improvement

Conversation

@Yashh56
Copy link
Copy Markdown
Member

@Yashh56 Yashh56 commented May 23, 2026

This pull request introduces several enhancements and new features related to Git log visualization and user interface improvements, as well as updates to dependencies to support these changes. The most significant update is the addition of a new Git log graph endpoint and data structure, which enables richer commit history visualization. Additionally, new UI components for keyboard shortcuts and input dialogs have been added, and several new dependencies (including drag-and-drop and date utilities) have been introduced.

Git log graph and data enhancements:

  • Added a new logGraph method to GitService and a corresponding handleLogGraph handler, which returns detailed commit log entries (including parent hashes and refs) for graph visualization. The log entry structure (GitLogEntry) now includes parents and refs fields, and all log-related methods have been updated to support these fields. (bridge/src/services/gitService.ts [1] [2] [3] [4] [5] [6] [7]
  • Registered the new git.logGraph handler in the JSON-RPC handler registry. (bridge/src/jsonRpcHandler.ts bridge/src/jsonRpcHandler.tsR297)

UI component additions:

  • Added a reusable InputDialog component for user text input in dialogs. (src/components/shared/InputDialog.tsx src/components/shared/InputDialog.tsxR1-R81)
  • Added a ShortcutsHelp dialog component and a ShortcutsTrigger button to display and trigger keyboard shortcut help. (src/components/shared/ShortcutsHelp.tsx [1] src/components/shared/ShortcutsTrigger.tsx [2]

Integration of Git log graph in UI:

  • Updated the Git status panel to use the new useGitLogGraph hook and increased the log graph entry count, preparing for richer commit history visualization. (src/features/git/components/GitStatusPanel.tsx [1] [2]

Dependency updates:

  • Added new dependencies for drag-and-drop support (@dnd-kit/core, @dnd-kit/sortable, @dnd-kit/utilities) and date utilities (date-fns) in both package.json and pnpm-lock.yaml. (F93dd6d4L16R17, [1] [2] [3] [4] [5] [6] [7]

Minor internal improvements:

Yashh56 added 2 commits May 23, 2026 19:27
…ion grouping and drag-and-drop functionality in ConnectionList
@Yashh56 Yashh56 merged commit 5aa5147 into Relwave:develop May 25, 2026
2 checks passed
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