Commit Graph

37 Commits

Author SHA1 Message Date
Iuri Matias 6bcdb9ca54 refactor wallet views
add getSettings methods to src/status

fix issue with calling getSettings; document issue

remove most direct references to libstatus; document some common issues

remove most references to libstatus wallet

add mailserver layer to status lib; remove references to libstatus mailservers

remove libstatus accounts references

move types out of libstatus; remove libstatus types references

remove libstatus browser references

refactor libstatus utils references

remove more references to libstatus stickers

remove references to libstatus constants from src/app

remove more libstatus references from src/app

refactor token_list usage of libstatus

refactor stickers usage of libstatus

refactor chat usage of libstatus

remove libstatus references from the wallet view

remove logic from ens manager view

fix issue with import & namespace conflict

remove unnecessary imports

refactor provider view to not depend on libstatus

refactor provider view

refactor: move accounts specific code to its own section

fix account selection

move collectibles to their own module

update references to wallet transactions

refactor: move gas methods to their own file

refactor: extract tokens into their own file

refactor: extract ens to its own file

refactor: extract dappbrowser code to its own file

refactor: extract history related code to its own file

refactor: extract balance to its own file

refactor: extract utils to its own file

clean up wallet imports

fix: identicon for transaction commands
Fixes #2533
2021-06-17 16:11:01 -04:00
Iuri Matias ca990796a0 refactor provider view to not depend on libstatus 2021-06-17 11:11:36 -04:00
Iuri Matias e8de7e0c99 remove most direct references to libstatus; document some common issues 2021-06-17 11:11:36 -04:00
Iuri Matias 36c25aaab9 fix issue with calling getSettings; document issue 2021-06-17 11:11:36 -04:00
Eric Mastro 0b0a542828 fix: loading of wallet history, display of tx datetime
Fixes: #2539.

Transaction history is now correctly being fetched from status-go as per mobile. Firstly, when accounts are added (ie as watch accounts), `wallet_checkRecentHistory` must be called first so that the status-go db is populated. After that, `wallet_getTransfersByAddress` can be called. On app load, when we run the `initBalance` logic, we are calling `wallet_getTransfersByAddress`, asking for the last 20 transactions with the `loadMore` parameter set to false. When the user navigates to the Wallet > History tab, they can then click “Load More” to fetch more transactions from status-go. Once the number of transactions returns false below the expected amount, the remaining transactions to fetch have been exhausted and the “Load More” button is disabled.

feat: add non-archival node warning to the UI to indicate to the user that they may not have complete results

feat: set active account to the added account
Once an account is added to the wallet, that newly added account is selected as the active account.

1. The “load more” button is active when new transactions that aren’t already displayed are returned from `wallet_getTransfersByAddress`. This is the only way to enable or disable the “Load more” button as status-go is not able to return information regarding whether or not there are more transactions to be fetched. The downside to this is that lets say the last page of transactions is returned, but there are no more pages left. These returned txs are not currently displayed, so the “load more” button will still be enabled. However, the next click of the button will return 0 results, thus disabling it. It’s effectively an extra click to get to the disabled state.
2. For more information on how the `toBlock` parameter operates for the `wallet_getTransfersForAddress` RPC call, see https://notes.status.im/XmENTrVRRaqhwE4gK0m8Mg?view.
2021-06-10 10:47:03 +10:00
Eric Mastro 21e6affa98 feat: edit community channels
Closes #2344.

Add ability to edit name, description, and private fields of a community channel.

feat: Display community channel description
Ensure the width of the description does not surpass the context menu and instead wraps to the next line.

feat: After channel is created, set it as the active channel
2021-06-09 10:19:26 +10:00
Iuri Matias 97464a2303 organize statusgo calls 2021-06-01 18:03:19 -04:00
Iuri Matias 5944e4ce8c list methods for status go 2021-06-01 18:03:19 -04:00
Iuri Matias 0b44117dda document chat & wallet functionality 2021-06-01 18:03:19 -04:00
Iuri Matias 212399f230 document some communities functionality 2021-06-01 18:03:19 -04:00
Jonathan Rainville 8340a28ad1 docs: add docs for contact requests 2021-05-28 13:31:33 -04:00
Jonathan Rainville e98cb3b9a4 docs(pins): add dev guide for pinned messages 2021-05-26 12:12:05 -04:00
Jonathan Rainville f7e95b4670 docs(pins): add user docs for Pins 2021-05-26 12:12:05 -04:00
Richard Ramos 1d811373ab fix: docs review 2021-05-25 15:23:07 -04:00
Richard Ramos f7a3be7c04 adding documentation 2021-05-25 15:23:07 -04:00
Iuri Matias 64b4db1940 add api & architecture section 2021-05-21 12:29:34 -04:00
Iuri Matias a40d2b1e74 add qml api docs 2021-05-21 12:29:34 -04:00
Iuri Matias 068e2cfcd7 document other chat functionality 2021-05-21 12:29:34 -04:00
Iuri Matias 9d32803b82 document one one chats 2021-05-18 15:30:39 -04:00
Iuri Matias 873d1ef02e document other onboarding 2021-05-18 15:30:39 -04:00
Iuri Matias 4cfe7411ac document communities 2021-05-13 16:37:46 -04:00
Iuri Matias f1fd0457ae document installation and build 2021-05-13 16:37:46 -04:00
Iuri Matias ae804edd3c document onboarding 2021-05-13 16:37:46 -04:00
Iuri Matias c910613131 update sections for dev guide 2021-05-12 17:02:23 -04:00
Iuri Matias 6009a6f01e update baseurl config 2021-05-12 17:02:23 -04:00
Iuri Matias 927d47b31b change config 2021-05-12 17:02:23 -04:00
Iuri Matias e06e5de3d1 document settings 2021-05-12 17:02:23 -04:00
Iuri Matias ca71d90d6e document onboarding/login & some settings 2021-05-12 07:47:34 -04:00
Iuri Matias 730e1def68 document rest of the chat secion and onboarding 2021-05-12 07:47:34 -04:00
Iuri Matias 432648e7e4 update wallet user guide docs 2021-05-12 07:47:34 -04:00
Iuri Matias 8bae313a2d document app behaviour for chat section, timelines, and wallet 2021-05-11 09:12:36 -04:00
Iuri Matias 51ff63a086 document chat list, other chat functionality 2021-05-11 09:12:36 -04:00
Iuri Matias 80148fa3ce add structure for dev_guide section, fix links 2021-05-11 09:12:36 -04:00
Iuri Matias f29576d76d update readme & cleanup 2021-05-07 16:12:12 -04:00
Iuri Matias 5bc8629a41 add other sections for main docs 2021-05-07 16:12:12 -04:00
Iuri Matias bcd1983c74 doc: add keyfile for adding a favourite with the star icon 2021-05-07 16:12:12 -04:00
Iuri Matias 88dfad39b4 initial user guide & dev docs 2021-05-07 16:12:12 -04:00