Commit Graph

3 Commits

Author SHA1 Message Date
ZacharyZcR f9891b8099 Fix issue #144: Set cursor focus to IP address field instead of username field
When adding or editing a host, the cursor now automatically focuses on the IP address field, which is the first field in the connection details section. This improves UX by allowing users to immediately start typing the most logical first piece of information.

Changes:
- Added useRef for IP address input field
- Added useEffect to focus IP field when component mounts or editingHost changes
- Uses setTimeout to ensure DOM is ready before focusing
- Works for both adding new hosts and editing existing hosts
2025-09-07 15:21:22 +08:00
ZacharyZcR 199a9f6e52 Integrate credentials manager with host authentication system
- Add credential selection tab to Host Manager editor
- Create CredentialSelector component for credential selection
- Update form validation to support credential-based authentication
- Extend SSH host interfaces with credentialId field
- Add internationalization support for credential authentication
- Fix OIDC config endpoint to return 200 with null data instead of 404
- Improve credentials UI spacing and color consistency
- Remove hardcoded colors and use Zinc theme throughout
2025-09-06 17:44:41 +08:00
LukeGus 4852b0f884 Update file naming and structure for mobile support 2025-09-03 19:14:57 -05:00