fix: tech-debt batch 2 — dropdown validation, editor cleanup, rename #350

Merged
jmiller merged 1 commits from fix/tech-debt-batch-2 into dev 2026-05-31 15:52:31 +00:00
Owner

Summary

  • Issue dropdown validation: Add required attribute to hidden input in issue template dropdown fields, matching other field types
  • EditorMarkdown cleanup: Remove redundant handled boolean from MarkdownHandleIndentionResult — checking valueSelection alone is sufficient
  • Rename HasOrgOrUserVisibleIsOwnerVisibleToDoer: Clearer name expressing intent (checks if the repo owner is visible to the requesting user)

Refs #311, #334

Test plan

  • Run pnpm exec vitest web_src/js/features/comp/EditorMarkdown — tests updated
  • Verify issue templates with required dropdowns still validate on submit
  • Verify org/user visibility checks work (private org repos, anonymous access)

🤖 Generated with Claude Code

## Summary - **Issue dropdown validation**: Add `required` attribute to hidden input in issue template dropdown fields, matching other field types - **EditorMarkdown cleanup**: Remove redundant `handled` boolean from `MarkdownHandleIndentionResult` — checking `valueSelection` alone is sufficient - **Rename `HasOrgOrUserVisible` → `IsOwnerVisibleToDoer`**: Clearer name expressing intent (checks if the repo owner is visible to the requesting user) Refs #311, #334 ## Test plan - [ ] Run `pnpm exec vitest web_src/js/features/comp/EditorMarkdown` — tests updated - [ ] Verify issue templates with required dropdowns still validate on submit - [ ] Verify org/user visibility checks work (private org repos, anonymous access) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jmiller added 1 commit 2026-05-31 15:51:30 +00:00
fix: resolve tech-debt batch 2 — dropdown validation, editor cleanup, rename
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
PR RC Release / Build RC Release (pull_request) Successful in 3s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
d74ae92e5b
- fix(templates): add required validation to issue dropdown fields
- refactor(ts): remove redundant `handled` field from MarkdownHandleIndentionResult
- refactor(go): rename HasOrgOrUserVisible to IsOwnerVisibleToDoer for clarity

Refs #311, #334

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit d4bb976544 into dev 2026-05-31 15:52:31 +00:00
jmiller deleted branch fix/tech-debt-batch-2 2026-05-31 15:52:31 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#350