feat: add server grouping with nested groups and tmux support#99
Open
Q0 wants to merge 11 commits intoAdembc:mainfrom
Open
feat: add server grouping with nested groups and tmux support#99Q0 wants to merge 11 commits intoAdembc:mainfrom
Q0 wants to merge 11 commits intoAdembc:mainfrom
Conversation
- Add Group field to Server struct and related metadata - Implement group sorting in server list UI - Display servers grouped by their group name in the list - Handle ungrouped servers by placing them last
Implement group autocomplete functionality in server form to suggest existing groups when typing in the group field. This improves user experience by reducing manual input and preventing typos in group names.
Only show group headers and pinned section when servers have groups defined
… navigation Modify the group autocomplete function to return nil when the input is empty, enabling proper tab navigation. Also simplify the suggestion logic by removing redundant empty search term check.
Implement up/down arrow key navigation in server list UI
Add support for Group field in server configuration by providing placeholder text and help documentation to explain its usage for organizing servers
Implement expand/collapse functionality for server groups in the UI Add group display in server details when group is empty Improve navigation to work with group headers
add hierarchical group support using '/' separator in group names implement proper indentation for nested groups in server list update group help text to reflect nested group support
Add context menu for server groups with option to connect to all servers in a group via tmux. The feature includes: - Group context menu triggered by 'm' key - Tmux session creation with synchronized panes - Server alias display in pane titles - Automatic layout management
Use a quote helper function to properly escape tmux session names and commands Remove redundant commands and streamline pane title setting
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.
Overview
This PR adds comprehensive server grouping functionality to lazyssh, enabling users to organize servers into hierarchical groups and connect to multiple servers simultaneously via tmux.
Features Added
1. Group Autocomplete
2. Collapsible Server Groups
3. Nested Server Groups
4. Keyboard Navigation
5. Group Actions with Tmux Support
6. UI Improvements
Testing Checklist
Related Issues
#79
#61