Improve speed of transactions page (#1752)

* Make demo data more realistic

* Fix N+1 transactions query

* Lint fixes

* Totals query

* Consolidate stats calcs

* Fix preload

* Fix filter clearing

* Fix N+1 queries for family sync detection

* Reduce queries for rendering transfers

* Fix tests

* Remove flaky test
This commit is contained in:
Zach Gollwitzer
2025-01-31 19:08:21 -05:00
committed by GitHub
parent 53f4b32c33
commit 2c2b600163
22 changed files with 209 additions and 195 deletions

View File

@@ -69,11 +69,6 @@ class AccountsTest < ApplicationSystemTestCase
assert_account_created("OtherLiability")
end
test "can sync all accounts on accounts page" do
visit accounts_url
assert_button "Sync all"
end
private
def open_new_account_modal