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

feat: Store transaction page/cursor in url of accounts page #834

Merged

Conversation

janmichek
Copy link
Collaborator

Description

resolves #462

I choose store solution rather than project the current state to url.

It resolved the annoying UX, but it's nothing advanced. As you see in the demo, the tx data is a snapshot from the initial access to the page. EG: You go 3 pages Next, you go 3 pages back (even tho there has been new transactions created).

Some advanced solution would require page index information from MDW. Currently, we count the page index on FE. So for the case going back from detail to listing, the app will lose information about the current page index.
I don't think such a solution is good.

I also recommend checking reference explorers, how they solve it. They have more simplistic solution

Demo

firefox_kEXrjsnl2M.mp4

Checklist:

Copy link

github-actions bot commented Jun 6, 2024

@janmichek janmichek force-pushed the Store-transaction-page-cursor-in-url-of-accounts-page branch from 7333de8 to 40186a4 Compare June 6, 2024 10:22
@janmichek janmichek requested a review from Liubov-crypto July 16, 2024 11:12
@janmichek janmichek force-pushed the Store-transaction-page-cursor-in-url-of-accounts-page branch from b4cb70b to a04b7de Compare July 16, 2024 13:45
Copy link

@Liubov-crypto Liubov-crypto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@janmichek janmichek merged commit 7fa5997 into develop Jul 16, 2024
4 checks passed
@janmichek janmichek deleted the Store-transaction-page-cursor-in-url-of-accounts-page branch July 16, 2024 15:04
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.

Store transaction page/cursor in url of accounts page
2 participants