Support posting campaign#382
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces support for Qiita article posting campaigns. It adds a new posting-campaigns command to list active and upcoming campaigns, updates frontmatter parsing and validation to support posting_campaign_uuid and agreed_posting_campaign_term, and ensures campaigns are not linked to private articles. Feedback was provided regarding the error handling of QiitaUnprocessableEntityError (HTTP 422) in src/lib/error-handler.ts, pointing out that hardcoding the error message to only mention campaign-related issues is misleading since 422 errors can occur for other validation failures. It is recommended to output the actual API error message alongside a campaign-specific hint.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
1adb3f4 to
1e1f787
Compare
7b91393 to
5b10db0
Compare
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Resolve the linked campaign by UUID and display its title as a link to the campaign page, along with the term agreement status, in the article info panel of the web preview. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8ca51b7 to
850bf65
Compare
What
Screenshots
プレビュー画面のスクリーンショット
How
Why
Refs