Pascal Precht
d5ba992c81
refactor(ui/ProfilePopup): make use of newly introduced header content
...
This commit extends the profile popup to align more with the application
designs. There's still work left to be done such as showing/hiding the
qrcode view or copying data to the clipboard.
The profilepopup also relies on context data at the moment and should rather
receive its data via the newly introduced `getContractByID()` API proposed in
https://github.com/status-im/status-go/pull/1987
2020-06-09 18:01:06 -04:00
Pascal Precht
113ddc7ce3
feat(ui/shared): allow ModalPopup to receive header components
...
Similar to its `footer` content, ModalPopup can now receive header components
allowing consumers to design the header part of the modal to their likings.
Usage:
```
ModalPopup {
id: popup
header: Item {
...
}
...
}
```
The header section will take the height of the root element of the substree
passed to `header`
2020-06-09 17:57:30 -04:00
Richard Ramos
40a523851d
fix: chat identifier position
2020-06-09 11:49:23 -04:00
Jonathan Rainville
61606a872e
fix: fix conditions for button disabled
2020-06-08 17:01:29 -04:00
Jonathan Rainville
43df7d2f77
feat: add TextArea to Input and set correct Modal height
2020-06-08 17:01:29 -04:00
Jonathan Rainville
50c10d38dd
feat: enable adding an account with a seed phrase
2020-06-08 17:01:29 -04:00
Richard Ramos
f3ff229bf8
feat: load messages on scroll to top, and fix last message scrolling
2020-06-08 16:07:11 -04:00
Richard Ramos
b5b02cfd57
show identifier as the first message of chat view
2020-06-08 15:27:30 -04:00
Richard Ramos
9d75f6f552
Use section identifiers as a way to identify if messages have been sent by the current user (no need to modify the model with `repeatMessageInfo`)
2020-06-08 13:24:46 -04:00
Iuri Matias
5371f22e70
add/remove & update configured tokens on the fly
...
add/remove & update configured tokens on the fly
add wallet methods
generate configured assets
correct show selected tokens
toggle assets
add/remove configured tokens on the fly
cleanup
fix shown wallet
2020-06-08 12:14:09 -04:00
Jonathan Rainville
c609a00784
feat: generate new accounts and get wallet account correctly
2020-06-08 09:39:01 -04:00
Richard Ramos
1cc5d9155f
Set initial state to empty chat view instead of selecting the first chat
2020-06-05 18:21:46 -04:00
Richard Ramos
1b086b006d
fix: show new messages at the bottom
2020-06-05 05:56:21 -04:00
Richard Ramos
722ab36bf1
Sort messages by clock
2020-06-05 05:56:21 -04:00
Jonathan Rainville
9c668c79d1
fix generate button position
2020-06-04 16:31:17 -04:00
Jonathan Rainville
3bab66fde9
add the account like a boss
2020-06-04 16:31:17 -04:00
Jonathan Rainville
adda897eb9
make color selector work
2020-06-04 16:31:17 -04:00
Jonathan Rainville
68689147d6
wip select input
2020-06-04 16:31:17 -04:00
Jonathan Rainville
bf5f0b6dda
feat: add basic generate account popup
2020-06-04 16:31:17 -04:00
Iuri Matias
df9a6d0f07
refactor & update currency modal to look and work like designs
...
update gitignore
display list of currencies
2020-06-04 14:29:04 -04:00
Iuri Matias
b412a56577
use Theme properties
2020-06-04 10:43:39 -04:00
Iuri Matias
9b58111cab
support filtering tokens
2020-06-04 10:43:39 -04:00
Iuri Matias
ca82c9d5b2
fix icons; add slot for checking if an asset is currently added
2020-06-04 10:43:39 -04:00
Iuri Matias
a9844099bb
fix styling of token list
2020-06-04 10:43:39 -04:00
Iuri Matias
94bc4f02d7
add list of tokens and icons
2020-06-04 10:43:39 -04:00
Pascal Precht
ffd356d182
feat(Chat): introduce Profile Popup
...
This is a simple profile popup that will get more functionality in future commits.
Closes #126
2020-06-04 08:47:44 -04:00
Richard Ramos
dd0e9de324
refactor: code cleanup
2020-06-04 08:35:29 -04:00
Jonathan Rainville
15dc98b44a
feat: show the real value of the current account in the wallet
2020-06-03 17:09:51 -04:00
Iuri Matias
24d0306869
use dropdown for wallet settings
2020-06-03 15:30:27 -04:00
Iuri Matias
f62d3aaca7
wallet settings modal; save default currency
...
wallet settings modal; save default currency
wallet settings modal; save default currency
save/load currency preference
fix default currency call
use chronicle instead of echo
fix issues
2020-06-03 10:38:50 -04:00
Pascal Precht
dc6793a0f0
refactor(chat): make activeChannel a ChatItem to expose relevant information to the view
2020-06-02 16:57:59 -04:00
Jonathan Rainville
cc85a42b5c
feat: show accounts in wallet and put assetList in Account
2020-06-02 16:41:08 -04:00
Pascal Precht
366d50bb74
feat(ui): introduce `ChannelIcon` component
...
This component renders channel identicons based on the chat type
and channel name and will render a user identicon in case of a one-on-one
chat.
2020-06-02 16:14:49 -04:00
Jonathan Rainville
9e25ba1d95
fix: fix wallet missing file message and color warning
2020-06-01 13:54:49 -04:00
Iuri Matias
470687c2a6
show dropdown for add account button
2020-06-01 12:31:14 -04:00
Iuri Matias
ebd29d9ffd
simply chat views by reacting to model events
...
simply chat views by reacting to model events
abstract join event from join event call; react to join channel event
remove unneded if else
move left channel to event
refactor getChannelColor
refactor getChannelColor
rename sendMessage method
cleanup
move random color to channels list
remove toChatType
remove toChatType
2020-05-29 15:03:13 -04:00
Richard Ramos
6f3b987346
fix: code review
2020-05-29 15:02:31 -04:00
Richard Ramos
1c00bb2dff
Create a reusable modal popup
2020-05-29 15:02:31 -04:00
Richard Ramos
9d86082cfe
Update channels position when receiving a new msg
2020-05-29 14:46:42 -04:00
Jonathan Rainville
b6cf47f467
feat: fix StyledButton and use it in Send modal
2020-05-29 14:44:45 -04:00
Jonathan Rainville
65332804b9
feat: use Input component for the send modal
2020-05-29 14:44:45 -04:00
Jonathan Rainville
77966c8f6c
feat: add very basic sendModal content
2020-05-29 14:44:45 -04:00
Iuri Matias
98d2c1df68
display a sticker when a content type sticker message is received
...
display a sticker when a content type sticker message is received
display a sticker when a content type sticker message is received
display a sticker when a content type sticker message is received
display sticker
fix height and default value
cleanup
cleanup
cleanup
use constants for the content type
2020-05-29 09:52:20 -04:00
Richard Ramos
f67fb34e69
Add scrollbar to chat messages
2020-05-28 19:25:03 -04:00
Richard Ramos
8d2b955bcd
load chats on login
2020-05-28 17:36:22 -04:00
Jonathan Rainville
f08372879f
fix: fix addChat plus sign
2020-05-28 17:36:01 -04:00
Jonathan Rainville
9bd54881ce
feat: hide arrow input when text is empty + use good arrow icon
2020-05-28 17:36:01 -04:00
Jonathan Rainville
4fa3c34199
feat: new design for the chat bubble
2020-05-28 17:35:38 -04:00
Jonathan Rainville
9760008625
feat: add design for the Asset Tab
2020-05-28 13:59:56 -04:00
Jonathan Rainville
3ce1883c0b
feat: add files for the wallet tabs
2020-05-28 13:59:56 -04:00