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

Use dcrlibwallet directly in overview and transactions page #475

Merged
merged 12 commits into from Jun 19, 2021

Conversation

beansgum
Copy link
Contributor

The change removes the use of global transactions data to populate the layout of overview, transactions and transaction details page. The transactions are now fetched from dcrlibwallet when the page is initially loaded and the list is refreshed whenever a transaction notification is received.

@oshorefueled
Copy link
Contributor

Clicking on one clickable text on the transaction details page triggers a click on another

transactions bug

There's also a slight navigation delay when navigating from any page to the overview page

@oshorefueled oshorefueled merged commit 9c9e0ea into planetdecred:master Jun 19, 2021
@beansgum beansgum deleted the overview_dcrlib branch June 19, 2021 08:38
@beansgum beansgum restored the overview_dcrlib branch June 19, 2021 08:38
@beansgum beansgum deleted the overview_dcrlib branch June 19, 2021 08:38
song50119 pushed a commit to song50119/godcr that referenced this pull request Apr 24, 2022
…cred#475)

* Start sync from main page and update overview from sync notifications

* overview: fetch transactions directly from dcrlibwallet
- add changeFragment function to main page for adding new page instances
- pass transaction object to transaction details page directly

* transactions: fetch, filter and sort transactions using dcrlibwallet

* Implement new transactions notification in overview page

* Implement sync notification in transactions page

* Add wallets parameter to wallet drop down selector

* Add OnResume lifecycle callback to pages

* overview: load transactions in OnResume

* Use latest dcrlibwallet version (f776ef6)

* Use wallet.AccountName to fetch tx input account
-  simplify tx output/input code
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.

None yet

2 participants