Skip to content

Conversation

@yuito-it
Copy link
Member

This pull request includes various changes to workflows, API routes, and frontend components to improve versioning, enhance security, and optimize data fetching.

Workflow Improvements:

  • Added a new GitHub Actions workflow for npm versioning with options for version and pre-version prefix (.github/workflows/Tagger.yaml).
  • Updated existing workflows to include additional branches (sandbox and dev) for pull requests and pushes (.github/workflows/VercelPreview.yaml, .github/workflows/lint.yaml). [1] [2]

API Route Enhancements:

  • Removed console log statements from the recent API route to clean up the code (src/app/api/clubs/recent/route.ts).
  • Enhanced the search API route to handle authentication more securely and efficiently (src/app/api/clubs/search/route.ts).

Frontend Component Optimizations:

  • Refactored the Home component in clubs/page.tsx to use Suspense for data fetching and added secure headers (src/app/clubs/page.tsx). [1] [2]
  • Updated the Home component in search/page.tsx to handle search parameters and use Suspense for data fetching (src/app/search/page.tsx). [1] [2]
  • Refactored ClubList and SearchResultsPage components to use the use hook for data fetching and removed unnecessary state management (src/components/ClubList.tsx, src/components/search/SearchView.tsx). [1] [2] [3] [4] [5] [6]
  • Updated SearchBox component to accept a query prop and set it as the default value in the form (src/components/search/SearchBox.tsx). [1] [2]

Code Cleanup:

  • Removed an unused client-side function for fetching club data by ID (src/lib/client/club.ts).

Yuito Akatsuki (Tani Yutaka) added 2 commits February 18, 2025 19:05
* ♻️ クラブ一覧のデータ取得を改善し、非同期処理を統合

* API認証処理を改善し、セッションがない場合にAPIキーからメールアドレスを復号化してセッションを設定

* ♻️ クラブ検索の非同期処理を改善

* デフォルト値の設定

* クリーンアップ

* ワークフローのブランチ設定を追加し、sandboxおよびdevブランチでのプルリクエストとプッシュをサポート
@yuito-it yuito-it enabled auto-merge (squash) February 18, 2025 10:19
@yuito-it yuito-it self-assigned this Feb 18, 2025
@yuito-it yuito-it merged commit 81fed75 into dev Feb 18, 2025
9 checks passed
@yuito-it yuito-it deleted the sandbox branch February 18, 2025 10:21
@yuito-it yuito-it restored the sandbox branch February 18, 2025 10:21
yuito-it pushed a commit that referenced this pull request Feb 18, 2025
* Improve club data retrieval and API authentication handling (#74)

* ♻️ クラブ一覧のデータ取得を改善し、非同期処理を統合

* API認証処理を改善し、セッションがない場合にAPIキーからメールアドレスを復号化してセッションを設定

* ♻️ クラブ検索の非同期処理を改善

* デフォルト値の設定

* クリーンアップ

* ワークフローのブランチ設定を追加し、sandboxおよびdevブランチでのプルリクエストとプッシュをサポート

* GitHub Actionsを活用したタグワークフローを追加 (#75)
@github-actions
Copy link

🚀 Preview Deployment

Preview Deployment

yuito-it pushed a commit that referenced this pull request Feb 21, 2025
* Improve club data retrieval and API authentication handling (#74)

* ♻️ クラブ一覧のデータ取得を改善し、非同期処理を統合

* API認証処理を改善し、セッションがない場合にAPIキーからメールアドレスを復号化してセッションを設定

* ♻️ クラブ検索の非同期処理を改善

* デフォルト値の設定

* クリーンアップ

* ワークフローのブランチ設定を追加し、sandboxおよびdevブランチでのプルリクエストとプッシュをサポート

* GitHub Actionsを活用したタグワークフローを追加 (#75)
yuito-it pushed a commit that referenced this pull request Feb 21, 2025
* Improve club data retrieval and API authentication handling (#74)

* ♻️ クラブ一覧のデータ取得を改善し、非同期処理を統合

* API認証処理を改善し、セッションがない場合にAPIキーからメールアドレスを復号化してセッションを設定

* ♻️ クラブ検索の非同期処理を改善

* デフォルト値の設定

* クリーンアップ

* ワークフローのブランチ設定を追加し、sandboxおよびdevブランチでのプルリクエストとプッシュをサポート

* GitHub Actionsを活用したタグワークフローを追加 (#75)
yuito-it added a commit that referenced this pull request Mar 14, 2025
* Improve club data retrieval and API authentication handling (#74)

* ♻️ クラブ一覧のデータ取得を改善し、非同期処理を統合

* API認証処理を改善し、セッションがない場合にAPIキーからメールアドレスを復号化してセッションを設定

* ♻️ クラブ検索の非同期処理を改善

* デフォルト値の設定

* クリーンアップ

* ワークフローのブランチ設定を追加し、sandboxおよびdevブランチでのプルリクエストとプッシュをサポート

* GitHub Actionsを活用したタグワークフローを追加 (#75)
yuito-it added a commit that referenced this pull request Mar 14, 2025
* Improve club data retrieval and API authentication handling (#74)

* ♻️ クラブ一覧のデータ取得を改善し、非同期処理を統合

* API認証処理を改善し、セッションがない場合にAPIキーからメールアドレスを復号化してセッションを設定

* ♻️ クラブ検索の非同期処理を改善

* デフォルト値の設定

* クリーンアップ

* ワークフローのブランチ設定を追加し、sandboxおよびdevブランチでのプルリクエストとプッシュをサポート

* GitHub Actionsを活用したタグワークフローを追加 (#75)
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