8000 Add Hyperion Instance Management Feature for Easy Switching Between Multiple Hyperion Instances by Copilot · Pull Request #103 · TBSniller/piccap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add Hyperion Instance Management Feature for Easy Switching Between Multiple Hyperion Instances #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link
@Copilot Copilot AI commented Jul 4, 2025

This PR implements a Hyperion instance management feature that allows users to easily switch between multiple Hyperion instances (like HyperHDR and Hyperion.ng) without manually changing IP addresses each time.

🎯 Problem Solved

Users with multiple Hyperion instances (e.g., HyperHDR and Hyperion.ng) had to manually change IP addresses every time they wanted to switch between instances. This was tedious and error-prone.

🚀 Features Added

  • Instance Dropdown: Select from saved Hyperion instances with custom names
  • Add Instance: Create new instances with custom name, IP address, and port
  • Edit Instance: Modify existing instance details through dialogs
  • Delete Instance: Remove instances no longer needed
  • Auto-populate: Address and port fields automatically fill when instance is selected
  • Persistent Storage: Instances are saved in localStorage and persist across sessions

🔧 Technical Implementation

  • Added instance selector dropdown above existing address field
  • Used localStorage to persist instance configurations
  • Auto-populates address/port when instance is selected
  • Minimal changes to existing functionality (only 159 lines added)
  • Full backward compatibility maintained
  • All ESLint rules followed

📸 Screenshots

Main Feature UI:
Hyperion Instance Management Demo

Instance Switching in Action:
Instance Switching Demo

🎯 Usage Example

  1. Click "Add" to create a new instance (e.g., "HyperHDR" with IP 192.168.1.100:19400)
  2. Add another instance (e.g., "Hyperion.ng" with IP 192.168.1.101:19400)
  3. Select "HyperHDR" from dropdown → Address automatically fills with 192.168.1.100:19400
  4. Select "Hyperion.ng" from dropdown → Address automatically fills with 192.168.1.101:19400
  5. Use "Edit" to modify instance details or "Delete" to remove instances

✅ Testing

  • ✅ localStorage persistence test: PASSED
  • ✅ Instance dropdown population test: PASSED
  • ✅ Address auto-population test: PASSED
  • ✅ Add instance functionality: PASSED
  • ✅ Delete instance functionality: PASSED
  • ✅ ESLint validation: PASSED
  • ✅ Webpack build: PASSED

🔄 Backward Compatibility

The "Manual Entry" option remains as the default, ensuring existing workflows continue to work unchanged. Users can still manually enter IP addresses as before.

Fixes #100.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits July 4, 2025 21:01
Co-authored-by: TBSniller <51515147+TBSniller@users.noreply.github.com>
Co-authored-by: TBSniller <51515147+TBSniller@users
909C
.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Switching between Hyperion Application Add Hyperion Instance Management Feature for Easy Switching Between Multiple Hyperion Instances Jul 4, 2025
@Copilot Copilot AI requested a review from TBSniller July 4, 2025 21:09
Copilot finished work on behalf of TBSniller July 4, 2025 21:09
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.

Switching between Hyperion Application
2 participants
0