Commit Graph

15 Commits

Author SHA1 Message Date
c53854722d refactor: reorganize logger module and update proxy display
Move logger.js from root to utils directory for better project structure
Update InstanceDetail view to show full remote address instead of just port
2026-04-01 22:01:35 +08:00
14b959fcc2 feat(proxy): add edit and delete functionality for proxies
- Add new API endpoints for modifying and deleting proxies
- Implement UI components for edit and delete actions
- Update proxy form to handle both create and edit modes
- Add confirmation modal for delete operation
2026-03-31 23:04:05 +08:00
ba78f77243 style(ui): add custom scrollbar styling to multiple components
Implement consistent scrollbar styling across Home, SideBar, and InstanceDetail components using CSS variables for theming. The styling includes track and thumb colors with hover effects for better visual feedback.
2026-03-26 17:32:57 +08:00
198129b4c2 feat(instanceDetails): replace API logs with WebSocket for real-time updates
Implement WebSocket connection for instance logs to enable real-time updates instead of periodic API polling. Remove deprecated API endpoints and update log display styling with level-specific backgrounds. Add cleanup on component unmount to prevent memory leaks.
2026-03-26 17:29:30 +08:00
c6a02548c0 feat(instance): add getInstanceInfo endpoint and refactor instance loading
- Add new getInstanceInfo API endpoint to fetch complete instance details
- Refactor instance loading logic to use single API call instead of multiple
- Update Instances.vue and InstanceDetail.vue to use new endpoint
- Remove redundant status/config loading functions
2026-03-25 22:23:05 +08:00
d2b45d268c fix(InstanceDetail): update status mapping and config field names
- Map instance status from boolean to string values for consistency
- Rename config file fields to match camelCase convention
2026-03-25 21:09:23 +08:00
d70193c15d feat(InstanceDetail): add delete instance button and functionality
Implement instance deletion feature with confirmation notification and navigation back to instances list. Also adjust header layout to accommodate the new button.
2026-03-25 10:49:08 +08:00
ea49736779 refactor: replace instanceID - Details with instanceName - Details
- Change API endpoint from POST to GET for instance status
- Update proxy target URL in vite config
- Add instance name display and remove initSystem from detail view
- Improve instance data handling in InstanceDetail component
2026-03-25 10:44:18 +08:00
7fdf62da7a refactor(instance): migrate from name-based to ID-based instance management
feat(instanceDetail): add instance status display and restart && stop/start control

- Change instance identification from name to ID in API endpoints and routes
- Add instance status management functionality with start/stop/restart
- Implement user type checks for instance operations
- Update UI to reflect instance status changes
- Remove completed TODO notes for implemented APIs
2026-03-24 12:36:21 +08:00
5b7c866eb3 fix(listProxies): modify proxy key name to correct 2026-03-23 22:13:30 +08:00
3e4bd77641 feat(proxy): add instance proxy display
- Change API endpoint and parameter from instanceName to instanceID for getInstanceProxies
- Update proxy list UI with type badge and structured details display
- Add async/await for mounted lifecycle hooks
- Improve proxy item styling with better spacing and visual hierarchy
2026-03-21 09:14:25 +08:00
2e445de6e3 feat(instance): add proxy creation functionality
- Add createProxy API method to instanceApi
- Implement proxy creation form in InstanceDetail view
- Add modal for proxy creation with required fields
- Include validation for port numbers
2026-03-19 17:33:45 +08:00
8c62e25c12 feat(InstanceDetail): add configuration edit form with modal dialog
- Move form styles from Instances.vue to common.css for reusability
- Add edit configuration modal with form handling
- Rename back-btn to common-btn for consistent styling
- Implement configuration update logic with API calls
2026-03-18 23:36:07 +08:00
8380720d5e refactor(styles): move common styles to shared CSS file
Extract duplicated styles across multiple components into a common CSS file and import it where needed. This improves maintainability by reducing code duplication and centralizing style definitions.
2026-03-09 22:25:58 +08:00
2f6cfe7704 Initial commit: finish basic WebUI interface 2026-03-09 21:17:22 +08:00