Skip to content

fix: 協賛ページ権限の調整と請求書編集の手入力対応#1101

Open
TkymHrt wants to merge 9 commits into
developfrom
feat/codex/sponsor-invoice-edit
Open

fix: 協賛ページ権限の調整と請求書編集の手入力対応#1101
TkymHrt wants to merge 9 commits into
developfrom
feat/codex/sponsor-invoice-edit

Conversation

@TkymHrt
Copy link
Copy Markdown
Member

@TkymHrt TkymHrt commented May 21, 2026

対応Issue

image

概要

本ブランチでの変更内容は以下の通りです。

  • 協賛活動一覧ページ(/sponsor-activities)および協賛活動ページ(/sponsors)における権限設定の調整
  • 請求書PDFモーダル等で、内容を手入力できるように修正

画面スクリーンショット等

image

テスト項目

  • 権限に応じて協賛・スポンサーページが正しく表示されること
  • 請求書作成(PDF)時に手入力での内容編集が可能で、正しく反映されること

備考

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 21, 2026

Deploying finansu with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4b99ba3
Status: ✅  Deploy successful!
Preview URL: https://a3c5cb2c.finansu.pages.dev
Branch Preview URL: https://feat-codex-sponsor-invoice-e.finansu.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enables editing of sponsor, manager, and staff names within the progress report invoice modal and updates state management to use functional updates for better reliability. It also expands access permissions to include role ID 4. Review feedback suggests improving the PDF layout by conditionally hiding labels when names are empty and recommends using Array.includes for more maintainable role-based access checks.

Comment thread view/next-project/src/utils/createSponsorActivitiesInvoicesPDF.tsx
Comment thread view/next-project/src/pages/sponsor-activities/index.tsx Outdated
Comment thread view/next-project/src/pages/sponsor-activities/index.tsx Outdated
Comment thread view/next-project/src/pages/sponsors/index.tsx Outdated
Comment thread view/next-project/src/pages/sponsors/index.tsx Outdated
TkymHrt and others added 5 commits May 21, 2026 22:41
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@TkymHrt TkymHrt marked this pull request as ready for review May 21, 2026 16:12
@TkymHrt TkymHrt requested a review from Wakai111 May 21, 2026 16:13
Copy link
Copy Markdown
Collaborator

@Wakai111 Wakai111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

おk

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.

2 participants