発注フォーム(/orders/new)の受注者・リポジトリ選択式UI改善 - #2
Merged
Merged
Conversation
発注フォームを自由入力依存から構造化入力へ。受注者・リポジトリをドロップダウン で選び、金額・期日・業務内容・受け入れ基準を埋めると自然言語の発注文を自動生成 する。発注文はそのまま編集も可能(自然言語入力の経路は維持)。 これにより「受注者が登録されていません / リポジトリが登録されていません」という タイプミス起因のエラーを構造的に排除する。 - composeOrderText を compose.ts に分離(Next.js の page は default export のみ 許可されるため)し、ユニットテスト4件を追加。 - typecheck / vitest / next build いずれも通過。
Mameta29
force-pushed
the
dogfood/orders-new-selectable
branch
from
June 14, 2026 05:28
14673c9 to
845e620
Compare
Owner
Author
💴 JPYC 送金完了 — Settled by Agentic Gig-Flow
|
Owner
Author
💴 JPYC 送金完了 — Settled by Agentic Gig-Flow
|
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1
概要
発注フォーム
/orders/newを、自由入力依存から構造化入力へ改善しました。受注者・リポジトリをドロップダウンで選択し、金額・期日・業務内容・受け入れ基準を
埋めると、自然言語の発注文を自動生成します。発注文はそのまま編集も可能で、
Contract Agent が自然言語をパースする経路は維持しています。
検収基準への対応
<select>ドロップダウン)<select>ドロップダウン)composeOrderTextのユニットテスト4件を追加)tsc --noEmit通過)変更点
app/orders/new/page.tsx: 受注者・リポジトリの選択式UI + 金額/期日/業務内容/受け入れ基準フォーム。選択内容から発注文を自動生成(自然言語編集も維持)。
app/orders/new/compose.ts: 発注文生成ロジックを分離(Next.js の page はdefault export のみ許可されるため)。
app/orders/new/compose.test.ts: 発注文生成のユニットテスト4件。これにより「受注者が登録されていません / リポジトリが登録されていません」という
タイプミス起因のエラーを構造的に排除します。