feat(tui): expose HTTP method and accepted status codes #7

Merged
lerko merged 1 commits from feat/expose-http-method-codes into develop 2026-05-15 19:43:28 +00:00
Owner

Summary

  • Adds HTTP Settings form group to monitor form (visible only for HTTP type)
  • HTTP Method select: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
  • Accepted Status Codes input with range support (e.g. 200-299,301)
  • Fields already existed in DB, just weren't surfaced in TUI

Test plan

  • Create new HTTP monitor — verify Method and Accepted Codes fields appear
  • Edit existing HTTP monitor — verify fields load saved values
  • Switch monitor type to non-HTTP — verify HTTP Settings group hides
  • go build ./... and go test ./...
## Summary - Adds HTTP Settings form group to monitor form (visible only for HTTP type) - HTTP Method select: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS - Accepted Status Codes input with range support (e.g. `200-299,301`) - Fields already existed in DB, just weren't surfaced in TUI ## Test plan - [ ] Create new HTTP monitor — verify Method and Accepted Codes fields appear - [ ] Edit existing HTTP monitor — verify fields load saved values - [ ] Switch monitor type to non-HTTP — verify HTTP Settings group hides - [ ] `go build ./...` and `go test ./...`
lerko added 1 commit 2026-05-15 19:43:01 +00:00
DB fields existed but were never surfaced in the TUI. Adds an HTTP
Settings form group with method select (7 methods) and accepted
codes input, visible only for HTTP monitors.
lerko merged commit 5a52f738db into develop 2026-05-15 19:43:28 +00:00
lerko deleted branch feat/expose-http-method-codes 2026-05-15 19:43:28 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#7