[PR #5842] [MERGED] Mobile payees - add loading indicator to rules count label #103854

Closed
opened 2026-05-30 04:29:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5842
Author: @MatissJanis
Created: 10/2/2025
Status: ✅ Merged
Merged: 10/5/2025
Merged by: @MatissJanis

Base: master ← Head: matiss/rule-counts-loading


📝 Commits (2)

  • 5f69ba9 Refactor MobilePayeesPage and related components to use usePayeeRuleCounts hook for rule counts management. Update PayeesList and PayeesListItem to handle loading state for rule counts, improving user experience during data fetching.
  • b023d6d Update PayeesList to include ruleCounts in dependencies for improved data handling during loading state.

📊 Changes

7 files changed (+68 additions, -31 deletions)

View changed files

📝 packages/desktop-client/src/components/mobile/payees/MobilePayeesPage.tsx (+4 -12)
📝 packages/desktop-client/src/components/mobile/payees/PayeesList.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/payees/PayeesListItem.tsx (+7 -1)
📝 packages/desktop-client/src/components/payees/ManagePayeesWithData.tsx (+5 -17)
📝 packages/desktop-client/src/components/payees/PayeeRuleCountLabel.tsx (+9 -1)
➕ packages/desktop-client/src/hooks/usePayeeRuleCounts.ts (+33 -0)
➕ upcoming-release-notes/5842.md (+6 -0)

📄 Description

Added a loading indicator to the rules count label.

Also extracted the rules-count fetching logic into a reusable hook and implemented it in all the necessary places.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5842 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 10/2/2025 **Status:** ✅ Merged **Merged:** 10/5/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/rule-counts-loading` --- ### 📝 Commits (2) - [`5f69ba9`](https://github.com/actualbudget/actual/commit/5f69ba9aa5eeb4679b1e5ab3debe2a44f2e2df27) Refactor MobilePayeesPage and related components to use usePayeeRuleCounts hook for rule counts management. Update PayeesList and PayeesListItem to handle loading state for rule counts, improving user experience during data fetching. - [`b023d6d`](https://github.com/actualbudget/actual/commit/b023d6dd53b093da82c79ee27fe13cae34544f22) Update PayeesList to include ruleCounts in dependencies for improved data handling during loading state. ### 📊 Changes **7 files changed** (+68 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/mobile/payees/MobilePayeesPage.tsx` (+4 -12) 📝 `packages/desktop-client/src/components/mobile/payees/PayeesList.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/payees/PayeesListItem.tsx` (+7 -1) 📝 `packages/desktop-client/src/components/payees/ManagePayeesWithData.tsx` (+5 -17) 📝 `packages/desktop-client/src/components/payees/PayeeRuleCountLabel.tsx` (+9 -1) ➕ `packages/desktop-client/src/hooks/usePayeeRuleCounts.ts` (+33 -0) ➕ `upcoming-release-notes/5842.md` (+6 -0) </details> ### 📄 Description Added a loading indicator to the rules count label. Also extracted the rules-count fetching logic into a reusable hook and implemented it in all the necessary places. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-30 04:29:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#103854