Skip to content
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

[feat]予算支出ページの年度切り替え実装 #681

Merged
merged 4 commits into from
Feb 24, 2024

Conversation

Kubosaka
Copy link
Collaborator

resolve #676

概要

  • 予算の年度切り合えAPI作成
  • 予算ページの年度切り替え実装
  • 支出ページの年度切り替え実装

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

スクリーンショット 2024-02-21 15 01 22 スクリーンショット 2024-02-21 15 01 10

テスト項目

  • swaggerへアクセスし、/budgets/details/{year}で取得できるか確認
  • FinanSuをローカルで立ち上げ、予算ページを表示できるか確認する
  • 予算ページで予算と支出を確認する

備考

Copy link
Collaborator

@TkymHrt TkymHrt left a comment

Choose a reason for hiding this comment

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

レビューしました。確認お願いします!

<tr
key={budgetView.budget.id}
className={clsx(
index !== budgets.length - 1 && 'border-b',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
index !== budgets.length - 1 && 'border-b',
budgets && index !== budgets.length - 1 && 'border-b',

スクリーンショット 2024-02-22 153031

budgetsがnullなときにエラーが出ていました!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

修正しました
[fix]バグ修正

<tr
key={expenseView.expense.id}
className={clsx(
index !== expenses.length - 1 && 'border-b',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
index !== expenses.length - 1 && 'border-b',
expenses && index !== expenses.length - 1 && 'border-b',

同様に、expensesがnullなときにエラーが出ていたためです。

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

修正しました
[fix]バグ修正

@Kubosaka Kubosaka changed the title [feat]募金支出ページの年度切り替え実装 [feat]予算支出ページの年度切り替え実装 Feb 22, 2024
Copy link
Collaborator

@TkymHrt TkymHrt left a comment

Choose a reason for hiding this comment

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

LGTM!

@Kubosaka Kubosaka merged commit aab6b57 into develop Feb 24, 2024
2 checks passed
@Kubosaka Kubosaka deleted the feat/kubosaka/676-budgets-by-years branch February 24, 2024 01:11
@Kubosaka Kubosaka self-assigned this Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

予算・支出ページの年度切り替えタスク
2 participants