cli/pkg/cmd/discussion
Max Beizer a1fd235755
fix: label atomicity, validation order, blankAllowed, help text
- Resolve labels before creating discussion so a bad label name
  doesn't leave an orphaned discussion (atomicity fix)
- Validate --title/--category/--body non-interactively before calling
  ListCategories to avoid an unnecessary network round-trip
- Set blankAllowed=false so the markdown editor rejects empty bodies
- Clarify help text: --body is required when not running interactively
- Update tests to match new behavior; rename label-not-found test to
  make the atomicity guarantee explicit

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-06 17:29:12 -05:00
..
client fix: label atomicity, validation order, blankAllowed, help text 2026-05-06 17:29:12 -05:00
create fix: label atomicity, validation order, blankAllowed, help text 2026-05-06 17:29:12 -05:00
list fix(discussion list): include search keywords in web mode 2026-04-14 15:07:32 +01:00
shared feat(discussion view): add cursor-based pagination to comments 2026-04-24 23:50:04 +01:00
view test(discussion view): consolidate view run tests 2026-04-29 13:05:21 +01:00
discussion.go feat: add gh discussion create command 2026-05-06 14:52:07 -05:00