Skip to content

[feature] unify customer fields to searchable PartyCombobox + CD pipeline#8

Open
Lanznx wants to merge 2 commits into
mainfrom
feat/party-combobox-unify
Open

[feature] unify customer fields to searchable PartyCombobox + CD pipeline#8
Lanznx wants to merge 2 commits into
mainfrom
feat/party-combobox-unify

Conversation

@Lanznx

@Lanznx Lanznx commented Jun 28, 2026

Copy link
Copy Markdown

Summary

  • Move PartyCombobox from transactions/ to src/components/ for shared use
  • Replace static Select dropdowns with searchable PartyCombobox in 8 forms (subscription, contract, receivable, project — new + edit)
  • Backend mutations now accept customerPartyName / clientPartyName (string) instead of IDs, resolving via getOrCreateParty() — new customers are auto-created on save
  • Add GitHub Actions CD workflow (.github/workflows/deploy.yml) for Cloudflare Workers deploy on push to main

Test plan

  • tsc --noEmit passes
  • bun run lint — no new errors
  • 在訂閱/合約/應收/專案的新增 dialog 輸入不存在的客戶名稱,確認出現 ➕ 提示並成功建立
  • 編輯表單中確認已有客戶名稱正確預填
  • 專案客戶欄位(選填)空白時不建立空客戶
  • 交易表單的 PartyCombobox 不受 import 路徑變更影響

🤖 Generated with Claude Code

Lanznx and others added 2 commits June 29, 2026 01:45
…pipeline

Replace static Select dropdowns with the existing PartyCombobox (search +
auto-create) across subscription, contract, receivable, and project forms.
Backend mutations now accept customerPartyName/clientPartyName and resolve
via getOrCreateParty, so users can type a new customer name and have it
created on save.

Also adds a GitHub Actions workflow for deploying to Cloudflare Workers
on push to main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Lanznx Lanznx force-pushed the feat/party-combobox-unify branch from faedc2c to fc9ec69 Compare June 28, 2026 17:45
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
13.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant