2040 Commits

Author SHA1 Message Date
emizzle
3ff93c26e6 fix/tx-comps: Update assets when tokens changed
When tokens are added/removed, the asset list in the AssetAndAmountInput is updated.

The selected asset can be specified by the parent component which is needed for things like sticker market where we need to set SNT as the fixed token.

Improved the validation for the component:
 - validate() can be called externally
 - validation display is handled internally and messages can be customised
 - validation error messages are handled by the Input component and validation UX is consistent with other tx components
2020-08-13 14:39:43 -04:00
emizzle
d07daac377
feat/tx-comps: Add RecipientSelector component
Based on the spec in https://www.notion.so/emizzle/Wallet-transaction-components-2003b78a8d0d41c4ab3d21eb2496fb20, this component handles user input for a recipient address, which can be sourced from manual address input, ENS name, contact selection, or another of the user's wallet accounts.
2020-08-13 09:28:35 +02:00
Jonathan Rainville
9466714d90 change path to resources 2020-08-11 17:51:35 -04:00
Jonathan Rainville
acc067d536 fix: make packaged translations work 2020-08-11 17:51:35 -04:00
Richard Ramos
9b35a01103 fix: group chat colors and adding nbsp; only when the message is from the current user 2020-08-11 14:35:03 -04:00
Richard Ramos
477f5aa460
feat: display empty state when user has no contacts 2020-08-11 08:39:10 -04:00
Richard Ramos
edbb183242
fix: show ens and alias on profile popup header 2020-08-11 08:39:10 -04:00
Richard Ramos
e96f3ed47f
fix: display ens names with correct format in all screens 2020-08-11 08:39:07 -04:00
Richard Ramos
71fee14add feat: show ENS username details 2020-08-10 10:27:56 -04:00
Richard Ramos
9d5c71fb4e feat: load stickerpacks async 2020-08-10 10:27:38 -04:00
Richard Ramos
c53b2cc78a feat: select preferred ENS username 2020-08-10 09:47:25 -04:00
Jonathan Rainville
156aaba0aa feat: improve style of the notification box
Use the Channel box for that
2020-08-10 09:34:02 -04:00
Pascal Precht
441d58a4cb refactor: rename getFiatValue to convertValue 2020-08-10 09:32:01 -04:00
Pascal Precht
56568f68c8 feat: introduce AssetAndAmountInput component
Closes #673
2020-08-10 09:32:01 -04:00
Pascal Precht
d62d8b3a92 refactor: rename Asset.fiatValue -> Asset.fiatBalanceDisplay
This is done because `fiatValue` included the currency symbol
2020-08-10 09:32:01 -04:00
emizzle
b6884a5170 feat: encode contract calls 2020-08-10 09:25:44 -04:00
Richard Ramos
e484c41291
fix: alignment of emojis
- Added an nsbp in front of paragraphs, otherwise the alignment property was ignored
- Enabled richformat for channel list to avoid emoji overlap in last message
2020-08-06 15:48:06 -04:00
Richard Ramos
40e8802218
feat: list preferred username, available ens names and send preferred username on new messages 2020-08-06 17:07:48 +02:00
Richard Ramos
43f4f8775b
feat: connect existing status ens username
- Show welcome page only when there are no ens names registered
- If you already have an ens username for the current account, connect and mark it as preferred name
- State machine navigation
2020-08-06 16:56:46 +02:00
Richard Ramos
5e7eefe553
feat: search ens names for registration 2020-08-06 16:03:11 +02:00
Jonathan Rainville
32b0e185db
feat: add channel list context menu 2020-08-06 15:49:54 +02:00
emizzle
9374be5857
feat: Send transaction component -- Account selector
Fixes #670.

Component spec based on https://www.notion.so/emizzle/Wallet-transaction-components-2003b78a8d0d41c4ab3d21eb2496fb20.

Changes the current Select shared component to a model databound component. This means we can bind directly to `QAbstractListModel`'s coming from Nim instead of needing manipulating the data in to javascript objects. The changes to the Select component will be used for the upcoming Asset selector shared component.
2020-08-05 16:38:49 +10:00
Richard Ramos
cb92c1dc14
fix: incorrect mentions behavior when text contains emojies 2020-08-04 10:19:42 -04:00
Richard Ramos
459de8cd1c
fix: display emojis on input textarea 2020-08-04 10:14:57 -04:00
Richard Ramos
d066b59f81
feat: load transaction history async 2020-07-31 11:48:41 -04:00
Richard Ramos
5ab1088f7c
feat: play audio messages 2020-07-30 13:49:50 -04:00
Richard Ramos
484c647f39
fix: get collectibles failure when using testnet 2020-07-30 12:24:01 -04:00
Richard Ramos
6e62df9109
feat: Load collectibles async 2020-07-29 17:43:10 -04:00
Richard Ramos
087bd1d20d
fix: generate wallet addresses 2020-07-29 17:29:24 -04:00
Jonathan Rainville
edda9dba6e
fix: fix Windows not showing username because of missing cstring
(cherry picked from commit 52ab82f667ae5f003ab8da964f364e6aae3cebdc)
2020-07-29 16:41:52 -04:00
Richard Ramos
b4a70d6aa4
fix: create copy of signal data 2020-07-29 16:13:33 -04:00
Richard Ramos
7fd1f9c468 fix: send emoji contentType 2020-07-28 15:35:06 -05:00
Richard Ramos
e91cd9e610 fix: validate mnemonic format when importing a existing key 2020-07-28 22:22:50 +02:00
Richard Ramos
b3fcd394de fix: show disconnected/connected banner on load 2020-07-24 11:42:58 -04:00
Richard Ramos
83d2e274ff fix: show disconnected/connected banner on load 2020-07-24 11:04:47 -04:00
Pascal Precht
e18188514a feat(profile): implement contact management
This introduces the ability to:

- list search existing contacts
- block contacts
- unblock contacts
- list blocked contacts
- remove contacts
- search and add contacts

Closes #608
2020-07-24 09:37:32 -04:00
Jonathan Rainville
9604faff08 feat: add New messages box in chat when scrolling up 2020-07-23 17:01:04 -04:00
Jonathan Rainville
c73da6accf fix: fix chat list scrolling down when user was looking up the chats 2020-07-23 17:00:41 -04:00
Richard Ramos
90236e89e9 fix: set initial disconnected status 2020-07-23 15:59:55 -04:00
Jonathan Rainville
145519719b fix: fix MyProfile not having the right data 2020-07-23 15:59:18 -04:00
Richard Ramos
e8d08e08cc fix: mark messages as read only if there are unviewed messages 2020-07-23 15:55:26 -04:00
Richard Ramos
9151cbe849 fix: avoid moving the channel to top when switching a channel or marking it as read 2020-07-23 15:55:26 -04:00
Richard Ramos
4b558c8c72 feat: show unread messages badge 2020-07-23 15:55:26 -04:00
Jonathan Rainville
e176443ceb fix: fix chat not scrolling to bottom on load 2020-07-23 15:44:59 -04:00
Richard Ramos
7ca512661b fix: load messages on scroll up, scroll down when sending messages and hide sending status for expired messages 2020-07-22 15:58:31 -04:00
emizzle
d4d532691e feat: get current network details
Adds settings API for getting current network details.

Uses the current network details to display the correct etherscan link in QML (etherscan URL is a setting in the current network settings).
2020-07-21 15:12:48 -04:00
Michael Bradley, Jr
e334e80774 fix: add missing comma in src/app/chat/views/message_list.nim 2020-07-21 14:38:33 -04:00
Richard Ramos
6829a24986 fix: create images in a tmp dir 2020-07-21 14:26:20 -04:00
Richard Ramos
7115a1bed6 feat: resize images and remove EXIF data - UNSAFE 2020-07-21 14:26:20 -04:00
Richard Ramos
a32a156651 feat: send images - UNSAFE -
Sends images but does not clean metadata nor limits file size
2020-07-21 14:26:20 -04:00