feat(issue-templates): add issue template CRUD with template picker#69
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
08c8a20 to
b6802bb
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0937685b73
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
b6802bb to
fc99124
Compare
fc99124 to
e68b0ac
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e68b0ac388
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
e68b0ac to
d08c2ae
Compare
d08c2ae to
7480970
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7480970ded
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
7480970 to
41feb87
Compare
41feb87 to
10147b0
Compare
Add issue template feature — workspace-scoped templates that pre-fill title and description when creating issues. Backend: - Go handler with CRUD endpoints under /api/issue-templates - sqlc queries: list (summaries without content), detail, create, update, delete - Migration 108: issue_template table with workspace_id FK, unique(workspace_id, name) - Config validation: reject non-object JSONB to prevent list poisoning - Permission: owner/admin or template creator can update/delete Frontend: - Template picker in create-issue modal with overwrite confirmation dialog - Issue templates list page with search, detail page with inline editing - Sidebar navigation and search command integration for both web and desktop - Desktop route wiring (list + detail pages) - Zod schemas with parseWithFallback for API response drift safety - Atomic template apply: form disabled during fetch, submit blocked, token-guarded async responses, upload generation tracking - Partial update payload (only changed fields sent) - ContentEditor.setMarkdown imperative method for template content injection Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
10147b0 to
d6d4a76
Compare
Summary
Key design decisions
issue_contentto keep the picker payload bounded; detail is fetched on applyTest plan
🤖 Generated with Claude Code