oss-slu/MORPH

Add connect form validation in web UI

Open

#62 创建于 2026年3月16日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (1 fork)auto 404
good first issue

仓库指标

Star
 (2 star)
PR 合并指标
 (PR 指标待抓取)

描述

Description

Add frontend validation for host and port so invalid robot connection requests are blocked before API calls

Acceptance criteria

  • “Add to Server” is disabled when host or port is invalid
  • Port must be numeric and within a valid range
  • User sees clear inline validation messages
  • No request is sent when validation fails

Developer note

  • Focus on web/src/routes/connect.tsx
  • Keep validation simple and user-friendly.

贡献者指南