Skip to content

mypageの実装#83

Merged
Retasusan merged 16 commits intomainfrom
feature/goto/implement-mypage-details
Feb 23, 2025
Merged

mypageの実装#83
Retasusan merged 16 commits intomainfrom
feature/goto/implement-mypage-details

Conversation

@Retasusan
Copy link
Collaborator

Pull request

  • Issues:

❓ 背景 (Why)

⛏️ 修正内容 (What)

  • 実装方針や作業内容を細かく

📸 キャプチャ

Before After
画像 画像

👀 懸案事項

🔍 チェック項目

このPRで変更が想定通りうまくいっているかを確認するには...

  • [ ]
  • [ ]
  • [ ]

@Retasusan Retasusan self-assigned this Feb 23, 2025
@Retasusan Retasusan marked this pull request as ready for review February 23, 2025 17:02
Copy link
Collaborator

@nenrinyear nenrinyear left a comment

Choose a reason for hiding this comment

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

よさそうです!
いくつかコメントしました👀

Comment on lines +22 to +134
const storyProgressions: StoryProgression[] = [
{
id: BigInt("101255954679102464"),
user_account_id: BigInt("101255084679102464"),
story_id: BigInt("101255084679102464"),
status: StoryStatus.cleared,
current_question_id: BigInt("101255084679102464"),
created_at: new Date(),
updated_at: new Date(),
},
{
id: BigInt("101255954679102464"),
user_account_id: BigInt("101255084679102464"),
story_id: BigInt("101255084679102465"),
status: StoryStatus.cleared,
current_question_id: BigInt("101255084679102464"),
created_at: new Date(),
updated_at: new Date(),
},
{
id: BigInt("101255954679102464"),
user_account_id: BigInt("101255084679102464"),
story_id: BigInt("101255084679102466"),
status: StoryStatus.in_progress,
current_question_id: BigInt("101255084679102464"),
created_at: new Date(),
updated_at: new Date(),
},
{
id: BigInt("101255954679102464"),
user_account_id: BigInt("101255084679102464"),
story_id: BigInt("101255084679102467"),
status: StoryStatus.in_progress,
current_question_id: BigInt("101255084679102464"),
created_at: new Date(),
updated_at: new Date(),
},
];
// fetch(findStories(progressionStoryIDs))
const progressingStories: Story[] = [
{
id: BigInt("101255084679102464"),
user_account_id: BigInt("101255084679102464"),
title: "fdwas",
content: "fads",
image_url: null,
type: "long",
status: "public",
difficulty: 1,
estimated_time: "1",
area: "fa",
radius: 3,
latitude: 39,
longitude: 423,
pin_class: null,
created_at: new Date(),
updated_at: new Date(),
},
{
id: BigInt("101255084679102465"),
user_account_id: BigInt("101255084679102464"),
title: "fdwas",
content: "fads",
image_url: null,
type: "long",
status: "public",
difficulty: 1,
estimated_time: "1",
area: "fa",
radius: 3,
latitude: 39,
longitude: 423,
pin_class: null,
created_at: new Date(),
updated_at: new Date(),
},
{
id: BigInt("101255084679102466"),
user_account_id: BigInt("101255084679102464"),
title: "fdwas",
content: "fads",
image_url: null,
type: "long",
status: "public",
difficulty: 1,
estimated_time: "1",
area: "fa",
radius: 3,
latitude: 39,
longitude: 423,
pin_class: null,
created_at: new Date(),
updated_at: new Date(),
},
{
id: BigInt("101255084679102467"),
user_account_id: BigInt("101255084679102464"),
title: "fdwas",
content: "fads",
image_url: null,
type: "long",
status: "in_progress",
difficulty: 1,
estimated_time: "1",
area: "fa",
radius: 3,
latitude: 39,
longitude: 423,
pin_class: null,
created_at: new Date(),
updated_at: new Date(),
},
];
Copy link
Collaborator

Choose a reason for hiding this comment

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

mockは外のファイルでexportしておくと後で再利用できて良いという説もある

@Retasusan Retasusan merged commit 6128824 into main Feb 23, 2025
4 checks passed
@Retasusan Retasusan deleted the feature/goto/implement-mypage-details branch February 23, 2025 23:18
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