feat(ssh): duplicate saved hosts from context menu - #282
Merged
Kuddev merged 30 commits intoSep 25, 2026
Merged
Conversation
github-actions Bot
added a commit
to WilliamWang1721/pebrel
that referenced
this pull request
Sep 25, 2026
github-actions Bot
added a commit
to WilliamWang1721/pebrel
that referenced
this pull request
Sep 25, 2026
Kuddev
approved these changes
Sep 25, 2026
Kuddev
left a comment
Owner
There was a problem hiding this comment.
?????????
- ???????????????????????????????????????????????????????????????????
- ??????????????????????????????????????????????????????????????????
- ??????????????????????????????????????????????? GPUI ????
- ?????????????????????????????????????
- ??? PR ???????? workflow?????????????????? Windows ?????????????macOS ?????????????????????????
- ?????? diff ?????????
8c56181a761d6f909e9dc754f11b61e49c8ea09f? 10 ??????????
CI?https://github.com/Kuddev/pebrel/actions/runs/36161534274
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.
Result / 用户结果
SSH Settings saved-host rows now expose the existing SSH actions through a right-click menu: Connect, Edit, Copy, and Delete.
Copy opens a new-host draft prefilled from the selected host, reusing the existing SSH editor/profile loading path. The copied display name uses the existing label allocator (for example,
Alpha→Alpha 1, thenAlpha 2). The destination field is intentionally cleared because Pebrel currently uses the destination itself as the persisted host identity; the user only needs to enter the new target and adjust any other differing fields.Design / 设计边界
open_ssh_editorfor copying auth mode, keys, icon, port, proxy/jump settings and organization metadata; no second SSH editor or persistence path.SshProfiles::next_default_labelfor collision-free copy names.Evidence / 验证依据
main(9dc058d12765893553d5fc7a2c37c870c96168b0).Alpha 1label.Required Review / 必须确认
UI Review Screenshots
Current-head evidence for
d5181c983e37ad0642fb2dea52560bee1d9af047. UI review workflow runWindows — success
Raw evidence: Windows originals
macOS — success
Raw evidence: macOS originals