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

Improvement: Implement a "Session" for the the /transactions page so user always comes back to where they left off #1667

Open
zachgoll opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels
1️⃣ High Priority High priority issues will be worked on next

Comments

@zachgoll
Copy link
Collaborator

Currently, the /transactions view is where users go to review transactions across all of their accounts.

A current pain-point is the state of this page resetting each time the user navigates away from it. For example, in the screencast below, you can see how we lose the pagination + filters after going to view the transaction from its account page.

CleanShot.2025-01-23.at.14.18.45.mp4

Solution

One potential solution is to store the most recent params that the user used on the /transactions page in the sessions table (to keep things server-side and simple) and restore these params each time the user visits /transactions:

  • Store params in a session
  • Store the scroll distance in a session (so they can return to the transaction they were last looking at)
  • Restore the next time the user visits /transactions
  • No matter where the user clicks in the app, they'll always return to their most recent set of filters/pagination/scroll on the main transactions view
@zachgoll zachgoll added 🎨 Frontend 1️⃣ High Priority High priority issues will be worked on next labels Jan 23, 2025
@zachgoll zachgoll self-assigned this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1️⃣ High Priority High priority issues will be worked on next
Projects
None yet
Development

No branches or pull requests

1 participant