Skip to content

Conversation

@deirn
Copy link

@deirn deirn commented Jul 26, 2025

Move journal rendering to client side, making use of virtual list component.

It's able to render huge journal with 100k transactions (generated by this script) with ease, now the bottleneck is the request to the server. One solution is to use orjson instead of simplejson, which cuts it from 8 seconds to 4 seconds. Reverted the change since it breaks tests.

Close #1410
Close #1814

@deirn deirn force-pushed the client-side-journal branch from 09a9f01 to b65127e Compare July 26, 2025 10:11
@deirn deirn force-pushed the client-side-journal branch from f116376 to f8d30a2 Compare July 26, 2025 17:13
@deirn deirn force-pushed the client-side-journal branch from e0b11c1 to c89f9b6 Compare July 29, 2025 19:23
@deirn deirn force-pushed the client-side-journal branch from 9354a2c to c3da200 Compare August 5, 2025 16:32
@deirn deirn force-pushed the client-side-journal branch from bac0bb4 to 2df3825 Compare August 5, 2025 18:31
@deirn deirn force-pushed the client-side-journal branch from 0acaf0c to 151a21e Compare August 13, 2025 19:53
@yagebu
Copy link
Member

yagebu commented Nov 20, 2025

This seems stale and quite far from being ready - I'll close the PR. The journal is now fetched in pages and should thus render quicker already. Rendering it in the frontend might still be an improvement (if also using some sort of virtual list), so if you want to continue on this topic, feel free to open another PR

@yagebu yagebu closed this Nov 20, 2025
@deirn
Copy link
Author

deirn commented Nov 20, 2025

I got sidetracked doing other things 😅.
I'd say the feature itself is done, it's the test that left to do (not sure where to start).

I mainly make this since I wanted to see the journal when I'm on mobile.

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.

Pagination support Postings should be loaded on demand

2 participants