Feat/walt/purchase report sort frontend#1044
Conversation
…it into the purchase reports page
… the purchase reports page
…it into the purchase reports page
… the purchase reports page
Summary of ChangesHello @nakatashingo, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! このプルリクエストは、購入報告一覧ページのユーザビリティを大幅に向上させるための機能追加です。具体的には、立替者(局名および氏名)による絞り込み機能と、未清算金額および未封詰め金額の合計表示機能が導入されました。これにより、ユーザーはより効率的に必要な情報を探し、全体の財務状況を把握できるようになります。 Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
view/next-project/src/components/purchasereports/PurchaseReportPaidByFilterModal.tsx
Outdated
Show resolved
Hide resolved
…l and PurchaseReportSummaryAmounts components
…haseReports component
TkymHrt
left a comment
There was a problem hiding this comment.
レビューしました! コード全体はきれいにまとまっていて良さそうです。
1点、「立替者」の絞り込みについて追加で実装をお願いしたいです!
すでにシードデータで試したときに気づいているかもだけれど、現状だと一覧は paid_by (文字列)なのに、絞り込みは paid_by_user_id 基準だから、IDがないデータが検索に引っかからないんだよねー
API側では、paid_by での完全一致フィルタが使えるように対応済みだから、フロント側でも利用できるように調整してもらいたいです!
…support paidByUserId filtering
TkymHrt
left a comment
There was a problem hiding this comment.
封詰め・清算のステータス変更とかレコード削除の後も未清算金額・未封詰め金額のサマリが古い値のままかな。(一通り動作テストして、テスト項目書いといてくれると助かる!)
FinanSu/view/next-project/src/pages/purchase_report_list/index.tsx
Lines 207 to 209 in 566c3a9
たぶんこんな感じ
const {
data: buyReportsSummaryData,
isLoading: isBuyReportsSummaryLoading,
error: buyReportsSummaryError,
mutate: mutateBuyReportsSummary,
} = useGetBuyReportsSummary(...);
const onSuccess = useCallback(() => {
mutateBuyReportData();
mutateBuyReportsSummary();
}, [mutateBuyReportData, mutateBuyReportsSummary]);|
|
||
| {isPaidByFilterOpen && ( | ||
| <PurchaseReportPaidByFilterModal | ||
| isOpen={isPaidByFilterOpen} |
There was a problem hiding this comment.
外側のisPaidByFilterOpenで表示を管理しているなら、PurchaseReportPaidByFilterModalに渡さなくて良さそう
対応Issue
https://www.notion.so/nutfes-nutmeg/FinanSu-2b941f19206380518f1af6de573da465
https://nut-m-e-g.slack.com/archives/C020WQ3GY07/p1765010563203229
概要
画面スクリーンショット等
URLスクリーンショット
テスト項目
備考