fix: my_profile API が 404 の場合に登録ページへリダイレクト#603
Open
takaishi wants to merge 3 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
gitops-for-cloudnativedays Bot
added a commit
to cloudnativedaysjp/dreamkast-infra
that referenced
this pull request
May 14, 2026
commit: cloudnativedaysjp/dreamkast-ui@4fc4463 action URL: https://github.com/cloudnativedaysjp/dreamkast-ui/actions/runs/25837020449 Co-authored-by: gitops-for-cloudnativedays[bot] <113280573+gitops-for-cloudnativedays[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
gitops-for-cloudnativedays Bot
added a commit
to cloudnativedaysjp/dreamkast-infra
that referenced
this pull request
May 14, 2026
commit: cloudnativedaysjp/dreamkast-ui@e9bd86c action URL: https://github.com/cloudnativedaysjp/dreamkast-ui/actions/runs/25837253331 Co-authored-by: gitops-for-cloudnativedays[bot] <113280573+gitops-for-cloudnativedays[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
gitops-for-cloudnativedays Bot
added a commit
to cloudnativedaysjp/dreamkast-infra
that referenced
this pull request
May 14, 2026
commit: cloudnativedaysjp/dreamkast-ui@2f8d713 action URL: https://github.com/cloudnativedaysjp/dreamkast-ui/actions/runs/25837403864 Co-authored-by: gitops-for-cloudnativedays[bot] <113280573+gitops-for-cloudnativedays[bot]@users.noreply.github.com>
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.
Summary
my_profileAPI が 404 を返した際に、dreamkast の${dkUrl}/${eventAbbr}/registrationへwindow.location.hrefで遷移するように変更useInitSetupフックとpages/[eventAbbr]/ui/infoページ(どちらもuseGetApiV1ByEventAbbrMyProfileQueryを呼び出している)useInitSetup.spec.tsxに 404 応答時にリダイレクト URL が組み立てられることを確認するテストを追加Test plan
yarn test src/components/hooks/__tests__/useInitSetup.spec.tsxが通ること/${eventAbbr}/uiおよび/${eventAbbr}/ui/infoにアクセスし、${dkUrl}/${eventAbbr}/registrationに遷移すること🤖 Generated with Claude Code