refactor: adopt shared Input/Textarea components #101

Merged
chihlasm merged 9 commits from refactor/adopt-input-textarea into main 2026-03-09 20:12:22 +00:00
chihlasm commented 2026-03-08 06:04:13 +00:00 (Migrated from github.com)

Summary

  • Replaced 42 raw <input>/<textarea> elements with shared <Input>/<Textarea> components across 15 files
  • Consistent focus states, error handling, and styling across all form fields
  • Removed redundant cn() imports and inputCn variables where no longer needed
  • Skipped special inputs (search with icons, datetime-local with scheme-dark, checkboxes, radios, selects)

Test plan

  • Create/Edit category modals — form inputs work correctly
  • Fork/Save session modals — name and description fields
  • Admin pages (Users, Invite Codes, Plan Limits, Feature Flags, Global Categories) — all form fields
  • Step Library form — title, instructions, command fields with validation errors
  • Account Team Categories — inline edit inputs

🤖 Generated with Claude Code

## Summary - Replaced 42 raw `<input>`/`<textarea>` elements with shared `<Input>`/`<Textarea>` components across 15 files - Consistent focus states, error handling, and styling across all form fields - Removed redundant `cn()` imports and `inputCn` variables where no longer needed - Skipped special inputs (search with icons, datetime-local with scheme-dark, checkboxes, radios, selects) ## Test plan - [ ] Create/Edit category modals — form inputs work correctly - [ ] Fork/Save session modals — name and description fields - [ ] Admin pages (Users, Invite Codes, Plan Limits, Feature Flags, Global Categories) — all form fields - [ ] Step Library form — title, instructions, command fields with validation errors - [ ] Account Team Categories — inline edit inputs 🤖 Generated with [Claude Code](https://claude.com/claude-code)
railway-app[bot] commented 2026-03-08 06:06:46 +00:00 (Migrated from github.com)

🚅 Deployed to the patherly-pr-101 environment in selfless-grace

Service Status Web Updated (UTC)
hopeful-liberation Success (View Logs) Web Mar 9, 2026 at 8:07 pm
patherly Success (View Logs) Web Mar 9, 2026 at 8:04 pm
<!-- railway-bot-comment-version=2 --> <!-- railway-project-id="22b9b58c-271b-42e5-a10e-6fdec8d00134" railway-project-name="selfless-grace" --> 🚅 Deployed to the [patherly-pr-101](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134?environmentId=906c73a1-9be5-4b95-a611-9eef6fcb6d09) environment in **[selfless-grace](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134)** | **Service** | **Status** | **Web** | **Updated** (UTC) | | :--- | :--- | :--- | :--- | | hopeful-liberation | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/e1db2ee3-d241-4f45-abe4-c9c5fdf483d5?id=995ed682-b510-4e49-bd85-efc0ef6089a5&environmentId=906c73a1-9be5-4b95-a611-9eef6fcb6d09)) | [Web](https://hopeful-liberation-patherly-pr-101.up.railway.app) | Mar 9, 2026 at 8:07 pm | | patherly | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/95f556ff-5264-4116-a0c2-618a2fc53ba4?id=f9f4144e-9f5b-4e25-a93c-56d28a345a48&environmentId=906c73a1-9be5-4b95-a611-9eef6fcb6d09)) | [Web](https://patherly-patherly-pr-101.up.railway.app) | Mar 9, 2026 at 8:04 pm |
Sign in to join this conversation.