-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
router-linkのto属性でオブジェクトを使用するように #197
base: master
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
@ogu-kazemiya パンくずリストのPropsについても部分的に編集してあるので、残りの部分をお願いします! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
いくつか修正が必要な箇所を挙げているので対応をお願いします:pray:
あと、コンテストの詳細ページ -> コンテスト一覧 (コンポーネントでいうと ProjectsPage
-> ProjectPage
) の遷移時に正常に進行できなくなる不具合を発見したんだけど、これに関しては一旦↓のように書いておくと応急処置ができるのでこれも同時にやっておいてほしいです
<contest-team-list
:contest-teams="contestDetail.teams"
:contest-id="contestId ?? 'undefined'"
/>
traPortfolio-UI/src/pages/ContestPage.vue
Lines 44 to 47 in 86a8a63
<contest-team-list | |
:contest-teams="contestDetail.teams" | |
:contest-id="contestId" | |
/> |
返信遅れた & 再度の修正依頼で超絶申し訳ないんですが、 traPortfolio-UI/src/lib/param.ts Lines 10 to 14 in 25d82c0
の部分を
みたいな感じで |
User description
close #172
PR Type
enhancement
Description
router-link
のto
属性を文字列からオブジェクト形式に変更し、各コンポーネントで適切なparams
を設定。params
のキーをId
に統一。Changes walkthrough 📝
14 files
ContestTeamListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Contest/ContestTeamListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にcontestId
とteamId
を設定MemberListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/ContestTeam/MemberListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にuserId
を設定ContestListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Contests/ContestListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にcontestId
を設定HostnameListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Event/HostnameListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にuserId
を設定EventListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Events/EventListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にeventId
を設定AdminListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Group/AdminListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にuserId
を設定MemberListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Group/MemberListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にuserId
を設定GroupListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Groups/GroupListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にgroupId
を設定GroupList.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Index/GroupList.vue
router-link
のto
属性をオブジェクト形式に変更params
にgroupId
を設定PageHeader.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Layout/PageHeader.vue
router-link
のto
属性をオブジェクト形式に変更name
にIndex
を設定MemberListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Project/MemberListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にuserId
を設定ProjectListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Projects/ProjectListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にprojectId
を設定UserListItem.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/Search/UserListItem.vue
router-link
のto
属性をオブジェクト形式に変更params
にuserId
を設定ContestsContainer.vue
`router-link`の`to`属性をオブジェクト形式に変更
src/components/User/ContestsContainer.vue
router-link
のto
属性をオブジェクト形式に変更params
にcontestId
を設定