Skip to content

Fead/wakape/add sponsorship activities filter#1110

Merged
Wakai111 merged 6 commits into
developfrom
fead/wakape/add-sponsorshipActivities-filter
Jun 14, 2026
Merged

Fead/wakape/add sponsorship activities filter#1110
Wakai111 merged 6 commits into
developfrom
fead/wakape/add-sponsorshipActivities-filter

Conversation

@Wakai111

Copy link
Copy Markdown
Collaborator

対応Issue

resolve #0

概要

協賛活動一覧ページにおける絞り込み(フィルター)機能の改修を行いました。
バックエンドからフロントエンドまで修正しています。

【Backend (API / OpenAPI)】

  • OpenAPIの定義(openapi.yaml)に、絞り込み用のクエリパラメータ design_progress を追加
  • make gen による自動生成コードの更新
  • sponsorship_activity_repository.go にて、design_progress の条件を追加

【Frontend】

  • 協賛フィルター内の「企業名(sponsorId)」による絞り込み機能を削除
  • 新たに「活動ステータス(activityStatus)」と「デザイン進捗(designProgress)」の絞り込みを追加

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

  • /sponsorship_activities
image

テスト項目

  • Swagger(GET /sponsorship_activities)で activity_statusdesign_progress のパラメータを指定した際、正しく絞り込まれたデータが返ってくる
  • 協賛活動一覧ページのフィルターモーダルから「企業名」が消え、「活動ステータス」「デザイン進捗」の項目が追加されている
  • 「活動ステータス」「デザイン進捗」のプルダウンから任意のステータスを選択して絞り込みを実行した際、一覧の表示が正しく切り替わるか
  • ページ送りの変更や年度の切り替えなど、他の操作を行った際にエラーが発生しないか

備考

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

Copy link
Copy Markdown
Contributor

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 replaces the client-side sponsor name filter with server-side and client-side filtering for activity status ('activity_status') and design progress ('design_progress') in the sponsorship activities view. This includes updating the OpenAPI specification, regenerating the Go server-side handlers and types, updating the database repository query, and modifying the React frontend components, hooks, and utility functions to support the new filters. No review comments were provided, so there is no feedback to address.

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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 11, 2026

Copy link
Copy Markdown

Deploying finansu with  Cloudflare Pages  Cloudflare Pages

Latest commit: b0db53c
Status: ✅  Deploy successful!
Preview URL: https://591bb80c.finansu.pages.dev
Branch Preview URL: https://fead-wakape-add-sponsorshipa.finansu.pages.dev

View logs

@nakatashingo nakatashingo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

「並び替え」で更新日時で並び替えたとき協賛スタイルを変更しても並び順が変わらないです.
他のステータス・デザイン・協賛可否・備考を変更した場合は並び替えが適用される.

@nakatashingo nakatashingo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

いいと思います

@Wakai111 Wakai111 merged commit d7b69d5 into develop Jun 14, 2026
4 checks passed
@Wakai111 Wakai111 deleted the fead/wakape/add-sponsorshipActivities-filter branch June 14, 2026 06:28
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