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

perf: Loading state and double renders (BAN-15) #112

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Conversation

marination
Copy link
Member

@marination marination commented Oct 10, 2024

This is a quick fix, but still needs query optimization

  • Add a loading state in the Match Voucher tab when the matching vouchers take time to arrive
  • Add a loading state for the transaction summary above the table, which should be 0 values—tested against 4.5k Sales Invoices (along with a handful more of other voucher types)
  • 2024-10-10 5 49 44 PM
  • fix: Avoid calling populate_matching_vouchers twice on changing the match tab filters
  • Here's the UX of loading 2.5k bank transactions in the tool
    2024-10-10 5 52 39 PM

- Add a loading state in the Match Voucher tab when the matching vouchers take time to arrive
- Add a loading state for the transaction summary above the table, which should just be 0 values
- fix: Avoid calling `populate_matching_vouchers` twice on changing the match tab filters
@marination marination changed the title fix: Loading state and double renders (BAN-15) perf: Loading state and double renders (BAN-15) Oct 10, 2024
refactor: show frozen datatable while loading
@marination marination merged commit b9aa17a into version-15 Oct 22, 2024
2 checks passed
@marination marination deleted the ban-15 branch October 22, 2024 12:05
@barredterra
Copy link
Member

@Mergifyio backport version-14

Copy link

mergify bot commented Oct 22, 2024

backport version-14

❌ No backport have been created

  • Backport to branch version-14 failed

Git reported the following error:

error: commit 43759690e26b1a5680453b1bb84a43d953f5bfc0 is a merge but no -m option was given.
fatal: cherry-pick failed

marination added a commit that referenced this pull request Oct 28, 2024
fix: Loading state and double renders (BAN-15) (bp #112)
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