Skip to content

feat: implement input validation and sanitization in terminal popup #25

Description

@Suke2004

Description:
The terminal popup accepts any input — including empty strings, numbers, and special characters — which leads to unnecessary API calls and potential injection risks. Add validation and feedback to enhance UX and safety.

✅ Acceptance Criteria:

  • Disallow empty input and very short/long strings.
  • Sanitize user input to remove special characters.
  • Accept only valid words (letters only).
  • Show visual feedback (e.g., red border or message) for invalid input.
  • Prevent API call if validation fails.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions