Commit Graph

965 Commits

Author SHA1 Message Date
Iuri Matias a5f5f6f016 use constant for default networks 2020-05-21 19:33:14 -04:00
Iuri Matias 61b5d6e311 refactor/extract generateMultiAccounts method 2020-05-21 19:33:14 -04:00
Iuri Matias 6c03369ca2 refactor/extract saveAccountAndLogin method 2020-05-21 19:33:14 -04:00
Iuri Matias f5a1c8a065 cleanup 2020-05-21 19:33:14 -04:00
Iuri Matias 8b5ec19fec remove old test.nim; move relevant methods to accounts 2020-05-21 19:33:14 -04:00
Iuri Matias 8a0a5a2e60 separate model events from app events 2020-05-21 19:33:14 -04:00
Iuri Matias d434af40e1 move generate addresses action to qml state machine enter state event 2020-05-21 19:33:14 -04:00
Iuri Matias 15b32ddd5a remove lib file 2020-05-21 19:33:14 -04:00
Iuri Matias ce236fbc82 cleanup 2020-05-21 19:33:14 -04:00
Iuri Matias ff25fc818a move logic to model 2020-05-21 19:33:14 -04:00
Iuri Matias 81a478d797 remove unsused method 2020-05-21 19:33:14 -04:00
Iuri Matias 7cd9ceac28 refactor: move onboarding logic out of the view 2020-05-21 19:33:14 -04:00
Iuri Matias 6e2f61b08e add todos 2020-05-21 19:33:14 -04:00
Iuri Matias 23f72c77bc move generateRandomAccountAndLogin out of view 2020-05-21 19:33:14 -04:00
Iuri Matias 2cf1541115 move storeAccount logic out of the view 2020-05-21 19:33:14 -04:00
Iuri Matias 033cd3bd06 rename onboarding view; cleanup 2020-05-21 19:33:14 -04:00
Iuri Matias e08c4b75a4 rename onboarding view 2020-05-21 19:33:14 -04:00
Iuri Matias 6ef7c9008e add controller for onboarding 2020-05-21 19:33:14 -04:00
Iuri Matias 40fcc1538a move onboarding to onboarding module 2020-05-21 19:33:14 -04:00
Iuri Matias 48b600f3fd move init node to status_accounts 2020-05-21 19:33:14 -04:00
Iuri Matias 0a2c8bc86c fix rebase conflict 2020-05-21 19:33:14 -04:00
emizzle dafd11fbc0 feat: onboarding generate new account
Generates 5 random accounts with identicons, allows user to enter password, then stores the account and logs in to the statusgo node.

Add EventEmitter that notifies nim_status_client.nim once node has started and is logged in (likely needs some refactoring to include the eventemitter in the base controller class).

Add QML StateMachine for the onboarding view.

Add nimcrytpo, uuids, eventemitter, isaac dependencies via submodules.

Add button to Intro view to randomly gen account.
2020-05-21 19:33:14 -04:00
Richard Ramos ed683fd2f0
fix: support multiple subscribers per signal 2020-05-21 16:13:26 -04:00
Richard Ramos 1a92cda0d9 feat: add nim-chronicles 2020-05-21 15:16:24 -04:00
Jonathan Rainville 6d34c8fa79 feat: set chat item height depending on the height of the text 2020-05-20 17:43:56 -04:00
Jonathan Rainville e157b1bc6d fix: always scroll to last item and only scroll when at bottom
Fixes #77
2020-05-20 17:43:56 -04:00
Iuri Matias 98ce32204d add icon for node tab 2020-05-20 07:56:39 -04:00
Iuri Matias 51ced8bc2d display users identicon in the profile instead of an hardcoded one 2020-05-19 22:04:03 -04:00
Iuri Matias 24bb268934 add profile module; display username from one of the accounts instead of hardcoded one 2020-05-19 22:04:03 -04:00
Iuri Matias 6ed3299c28 added webview 2020-05-19 20:07:58 -04:00
Michael Bradley, Jr d673915975 feat: layouts for the Profile screens
Work on this PR started before the build system was updated and at one point I
upgraded `nim_status_client.nimble` to use NimScript so the nimble command
would stop warning that the old format was being used. In team chat it was
discussed that since we're no longer using nimble for package management we
could simply delete `nim_status_client.nimble` to avoid confusion, which can be
done in another PR.

Introduce a BrowserLayout stub so the index will be calcualted correctly re:
the active tab.

Reorganize ChatLayout and NodeLayout into subdirs `Chat` and `Node`,
respectively.

Introduce ProfileLayout which uses a "LeftTab" approach similar to that of
WalletLayout. There remains quite a bit of styling work to be done in
ProfileLayout and its LeftTab. Also, it may be better to start over using a
SplitView like the ChatLayout, I'm not really sure.

It wasn't clear what should be the default view for the right-pane when Profile
is selected in the left-most TabBar. In this PR, it defaults to showing the
view corresponding to the ENS usernames button.

In the archived Figma for the desktop design, it seemed a picture could be set,
e.g. there is a headshot of a woman used in the Profile screen. To that end I
explored how to take a square image and clip/mask it so it appears round and I
included a larger placeholder image for that purpose. In the new design, and
with respect to mobile, it may not be possible to set a profile picture so the
code that rounds the image can maybe be dropped.
2020-05-19 20:02:21 -04:00
Iuri Matias 5cc31ae28d display identicons; display correct details for the user own messages 2020-05-19 19:40:40 -04:00
Iuri Matias 6a4c50fe9c subscribe node module to notifications 2020-05-19 17:00:29 -04:00
Iuri Matias 755fd6056b move block notification to node management tab 2020-05-19 17:00:29 -04:00
Jonathan Rainville 959f8277ce feat: enable filtering the channels with the search
Fixes #59
2020-05-19 16:29:39 -04:00
Jonathan Rainville 26d7cacaea feat: add easy to use get function for chat channels 2020-05-19 16:29:39 -04:00
Ștefan Talpalaru e2bf81a281 bump vendor/nimbus-build-system
In this version, `make update` recreates "vendor/.nimble" after deleting
it, because some devs are adventurous and might not run a Make target
that depends on "deps" afterwards.
2020-05-19 16:29:21 -04:00
Iuri Matias 8341dd36c0 address code review changes 2020-05-19 15:29:57 -04:00
Iuri Matias cd1e6780be remove unused file 2020-05-19 15:29:57 -04:00
Iuri Matias 175c3a57f4 remove logic message model from view and replace it with view representation 2020-05-19 15:29:57 -04:00
Iuri Matias 1883a4bc1f display users own message 2020-05-19 15:29:57 -04:00
Jonathan Rainville 3916fb739b fix: fix name and chat text in middle bar to have an ellipsis 2020-05-19 15:16:31 -04:00
Jonathan Rainville 33011385af feat: enable to send private messages after doing add chat
Fixes #50
2020-05-19 15:16:31 -04:00
Michael Bradley, Jr 97cd5043eb chore: git should ignore nimcache 2020-05-19 15:01:48 -04:00
Ștefan Talpalaru 3cea8d661b Makefile: don't run the "setup-dev" target in vendor/status-go
That one is too aggressive by trying to install system packages and
seems only relevant for developing status-go itself, not just building
the library like we do here.
2020-05-19 15:01:28 -04:00
Pascal Precht 76a0b55d47 feat(ui/wallet): add basic form to send transaction
Closes #49
2020-05-19 11:48:41 -04:00
Pascal Precht 407577c247 feat(status/wallet): add APIs to retreive accounts 2020-05-19 11:48:41 -04:00
Pascal Precht a09f694d23 feat(core/libstatus): expose status-go `sendTransaction` binding 2020-05-19 11:48:41 -04:00
Richard Ramos 7149f50778 feat: make run 2020-05-19 11:40:55 -04:00
Richard Ramos 87e31105e3 Code cleanup 2020-05-19 06:30:30 -04:00