Jonathan Rainville
95f4bd8d09
fix: fix pixelated icon and add description and URL for kudos
2020-08-25 09:15:01 -04:00
Pascal Precht
f4d16d7661
refactor(IconButton): turn IconButton into proper button control
...
So far our `IconButton` hasn't been a proper button control which comes
with many downsides, such as:
- Some default button behaviours need to be simulated (e.g. `onClicked`)
- Any support built-in features for all controls in QML like `ToolTip` aren't can't be used
- There are probably accessibility aspects to it as well
We use the `IconButton` in many different places. Sometimes it doesn't
even act as a button, but just as an icon. I suggest we introduce a separate
`StatusIcon` component for that in future changes.
This commit turns the `IconButton` into a proper `RoundButton`, restoring
the control behaviour and features we get from QML.
This also required to expose the `icon` property as a `iconImg`,
because a `RoundButton` already comes with an `icon`.
On the other hand, we could remove the `onClick` simulation and can now
take advantage of components like `ToolTip`.
2020-08-25 10:26:34 +02:00
Pascal Precht
885ea76345
fix(TransactionPreview): set correct height of component's root element
2020-08-25 10:26:06 +02:00
Pascal Precht
771b07c17c
fix(AssetSelector): always select first item when selector component is completed
...
This fixes a bug that, when the supplied assets change the AssetSelector resets its
selected asset as well
Previously, it would keep the selected asset around, even when the asset list has changed,
leaving it in an invalid state
2020-08-20 14:22:50 -04:00
Pascal Precht
84481ff308
fix(AssetAndAmountSelector): correct function name
2020-08-20 14:22:26 -04:00
Jonathan Rainville
db68a278ff
chore: remove duplicated value in the Theme
2020-08-20 14:21:20 -04:00
Jonathan Rainville
f083310193
feat: make all collectibles work and fix Cryptokitties
2020-08-20 14:21:20 -04:00
Jonathan Rainville
ed88cf2a7e
feat: add the different sections of the collectibles
2020-08-20 14:21:20 -04:00
Jonathan Rainville
07081d412c
feat: add CollectiblesModal for the collectibles content
2020-08-20 14:21:20 -04:00
Jonathan Rainville
13201e5085
feat: add CollectiblesContent
2020-08-20 14:21:20 -04:00
Jonathan Rainville
76efdd499b
refactor: split CollectiblesTab to CollectiblesContainer and Header
2020-08-20 14:21:20 -04:00
Jonathan Rainville
9ffd58e5b0
feat: add basic collectibles header
2020-08-20 14:21:20 -04:00
Iuri Matias
08ddc55db4
display QR code in profile
2020-08-20 13:42:27 -04:00
Iuri Matias
69b3ea57d6
fix volume of notification sounds
2020-08-20 13:39:57 -04:00
Pascal Precht
b528e784c9
feat: introduce TransactionSigner UI component
...
Closes #676
2020-08-19 15:33:05 -04:00
Jonathan Rainville
d35c971c8b
fix: fix layout of input buttons when some are hidden
2020-08-19 15:25:13 -04:00
Jonathan Rainville
474f68cf8a
feat: add chat command modal shell
...
It doesn't do anything for now
2020-08-19 15:25:13 -04:00
Jonathan Rainville
59cba0f125
refactor: make ChatButtons a Row to not have to position them manually
2020-08-19 15:25:13 -04:00
Jonathan Rainville
8ac2d66f63
refactor: make ChatInputButton to reduce duplication
2020-08-19 15:25:13 -04:00
Jonathan Rainville
d03e9807ef
refactor: chnage GasSelector Input to use anchors instead of width
2020-08-19 14:49:19 -04:00
Pascal Precht
c6d858d84a
chore: improve GasSelector Component
...
This commit fine-tunes the layout of the advanced modal input controls.
It also adds validation so that only numeric values are accepted as
gas price and gas limit values
2020-08-19 14:49:19 -04:00
Iuri Matias
9b6ae2e6ad
close join channel popup when clicking a suggestion
2020-08-19 14:39:45 -04:00
Pascal Precht
ef22fb348d
feat: allow users to mute and unmute channels
...
Closes #152
2020-08-19 14:39:31 -04:00
emizzle
3dac87df3d
feat/tx-comps: Add TransactionPreview component
...
Adds a TransactionPreview component as per the spec https://www.notion.so/emizzle/Wallet-transaction-components-2003b78a8d0d41c4ab3d21eb2496fb20
- update ReceiveModal dropdown to match design
- long alias and account name support
- long name support in account selector
- strip all trailing zeros from displayed balances
2020-08-19 14:38:45 -04:00
Pascal Precht
832518a0e1
feat(GasSelector): introduce GasSelector component
...
Closes #674
2020-08-17 14:08:28 -04:00
Michael Bradley, Jr
c08767c74b
build: remove dapp browser
2020-08-17 14:01:26 -04:00
Jonathan Rainville
79cf818202
feat: add receive modal
...
Add receive modal in the wallet to show a QR code and address selector
Improve Input component to be able to show a Copy button that copies to clipboard
Improve AccountSelector modal to be able to not show details and fix eliding
2020-08-17 12:07:11 +02:00
Richard Ramos
f6cf197983
fix: pixelated icons on the menu
2020-08-17 11:57:32 +02:00
emizzle
60b0a4f115
fix/tx-comps: Recipient selector -- ability to have readonly value shown
...
This work must have gotten lost in a rebase along the way.
2020-08-13 15:08:12 -04:00
Pascal Precht
7359f25c31
feat(StatusSlider): introduce StatusSlider component
2020-08-13 14:43:28 -04:00
Pascal Precht
4f7486afbe
refactor: Introduce more generic confirmation dialog for simpel cases
2020-08-13 14:40:03 -04:00
Pascal Precht
6d0d0fb2aa
feat: introduce dialog to confirm removal of contacts
...
Closes #632
2020-08-13 14:40:03 -04:00
Pascal Precht
04ff3393fa
feat: introduce confirmation dialog for blocking contacts actions
...
Closes #632
2020-08-13 14:40:03 -04:00
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
Pascal Precht
246b90b5ae
refactor(AccountSelector): use built-in onSelectedAccountChanged event
...
As per comment: https://github.com/status-im/nim-status-client/pull/703#discussion_r467879840
2020-08-11 14:33:02 -04:00
Richard Ramos
477f5aa460
feat: display empty state when user has no contacts
2020-08-11 08:39:10 -04:00
Richard Ramos
d3b6ff32b8
fix: additional text on channel identifier
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
0e6653968f
fix: code review
2020-08-10 10:27:56 -04:00
Richard Ramos
71fee14add
feat: show ENS username details
2020-08-10 10:27:56 -04:00
Richard Ramos
c53b2cc78a
feat: select preferred ENS username
2020-08-10 09:47:25 -04:00
Pascal Precht
17396c85cb
feat(GroupInfo): allow user to visit group member profile page
...
Closes #638
2020-08-10 09:42:47 -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
56568f68c8
feat: introduce AssetAndAmountInput component
...
Closes #673
2020-08-10 09:32:01 -04:00
Pascal Precht
316a62192e
refactor(AssetSelector): always initialize selected item with first asset
2020-08-10 09:32:01 -04:00
Pascal Precht
c48606538f
feat(AccountSelector): introduce accountSelected signal
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
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
emizzle
6df29da7b0
fix: Remove walletModel reference from AccountSelector
...
Remove all `walletModel` references from the `AccountSelector` component, as the component should not be aware of the API's existence.
Pass currency to `AccountSelector` component.
2020-08-06 17:44:52 +02: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
613c70c4a6
fix: link color
2020-08-06 16:35:54 +02:00
Richard Ramos
5e7eefe553
feat: search ens names for registration
2020-08-06 16:03:11 +02:00
Jonathan Rainville
d5e9f086f2
feat: add submenu to popup menu
2020-08-06 15:49:57 +02:00
Jonathan Rainville
32b0e185db
feat: add channel list context menu
2020-08-06 15:49:54 +02:00
emizzle
82022f655c
feat: Send transaction componets -- Asset selector
...
Selects an asset to be used in the send transaction dialog.
2020-08-06 12:19:08 +10:00
Jonathan Rainville
3cb88d0cfa
feat: add profile section to the context menu
2020-08-05 12:14:46 +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
397be0b0c0
fix: sendBtn and trim
2020-08-04 10:14:57 -04:00
Richard Ramos
459de8cd1c
fix: display emojis on input textarea
2020-08-04 10:14:57 -04:00
Richard Ramos
86794dda0b
fix: chat scrollbars and input text wrapping
2020-07-31 12:00:18 -04:00
Richard Ramos
d066b59f81
feat: load transaction history async
2020-07-31 11:48:41 -04:00
Richard Ramos
7c856be981
fix: use Loader for animation to reduce cpu usage
2020-07-30 16:46:25 -04:00
Richard Ramos
5ab1088f7c
feat: play audio messages
2020-07-30 13:49:50 -04:00
Jonathan Rainville
983d258a9a
feat: add support for recent emojis
...
(cherry picked from commit 07ccf8f74ee7b37652ccedbddd6dfdaa5908a846)
2020-07-30 10:45:56 -04:00
Jonathan Rainville
13d2cf73fb
feat: add emoji search
...
(cherry picked from commit 3cc9a98ce584a48f6c430a57126bd548e9dedc7e)
2020-07-30 10:44:07 -04:00
Jonathan Rainville
549f1ff7f2
feat: categorize emojis in the menu and add category buttons
...
Signed-off-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2020-07-30 10:04:08 -04:00
Jonathan Rainville
3d04076910
feat: update emoji list to use the new categorized list
...
Still shows everything in the same page, but now they are ordered and can be categorized
2020-07-30 10:03:55 -04:00
Richard Ramos
6e62df9109
feat: Load collectibles async
2020-07-29 17:43:10 -04:00
Richard Ramos
7fd1f9c468
fix: send emoji contentType
2020-07-28 15:35:06 -05:00
Richard Ramos
13f8875263
fix: hide replybox after sending a message
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
Iuri Matias
ea000310de
update version number
2020-07-24 11:47:29 -04: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
Richard Ramos
cc735aec6b
fix: hide usernames on 1:1 chats
2020-07-23 16:19:54 -04:00
Richard Ramos
adde2e2017
fix: dateLabel height
2020-07-23 16:00:14 -04:00
Richard Ramos
99b9c21221
fix: date
2020-07-23 16:00:14 -04:00
Jonathan Rainville
9654f937f2
fix: fix all remaining QML warnings
2020-07-23 15:59:18 -04:00
Jonathan Rainville
3b9ada93d0
fix: fix dark theme for the wallet
2020-07-23 15:59:18 -04:00
Jonathan Rainville
c71f5f1a07
fix: fix dark theme colors for chat and profile
2020-07-23 15:59:18 -04:00
Jonathan Rainville
145519719b
fix: fix MyProfile not having the right data
2020-07-23 15:59:18 -04:00
Iuri Matias
862dbcba04
display unread messages counter always
2020-07-23 15:55:26 -04:00
Richard Ramos
c4eb92b5e8
fix: change size depending of content
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
a1585c8499
feat: add ImageLoader to reuse Image loading mechanism
2020-07-23 15:44:59 -04:00
Jonathan Rainville
327552c33b
add loading and error image boxes
2020-07-23 15:44:59 -04:00
Jonathan Rainville
42c09c9f3a
fix: hide sent message on compact mode once sent
2020-07-23 15:44:59 -04:00
Jonathan Rainville
c7cfa5d32b
fix: fix scrolling to bottom for images
2020-07-23 15:44:59 -04:00
Jonathan Rainville
e176443ceb
fix: fix chat not scrolling to bottom on load
2020-07-23 15:44:59 -04:00
Pascal Precht
f2d345fe6e
feat(chat): support mention auto complete anywhere inside the message
2020-07-23 15:36:45 -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
Richard Ramos
192fbbea69
fix: add scrollview to channellist
2020-07-22 15:43:08 -04:00
Iuri Matias
21cdcfcb87
close window once to avoid app showing blank screen
2020-07-22 15:39:45 -04:00
Iuri Matias
338566a7bb
limit rate notifications
2020-07-22 15:39:45 -04:00
Richard Ramos
3140d76a5c
fix: group status messages were not being displayed
...
Fixes #610
2020-07-22 10:22:10 -04:00
Jonathan Rainville
7f7a6cbc97
feat: make profile look like the design
...
Improve left tab menu
Move settings to right panel instead of advanced
Create MyProfile container
Improve Contacts and Security
2020-07-22 10:17:54 -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
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
Richard Ramos
a31610742c
fix: code review
2020-07-21 13:15:22 -04:00
Richard Ramos
5351fb62dc
feat: display messages with an image contenttype
2020-07-21 13:15:22 -04:00
Jonathan Rainville
a9cddde37e
fix: fix text selection by putting mouseArea under text
...
And put link click handling by the TextField itself
2020-07-21 12:00:24 -04:00
Jonathan Rainville
601d237fde
fix: fix replies being all squished if the replied message was smaller
2020-07-21 12:00:24 -04:00
Jonathan Rainville
4c7c8a06a3
fix: fix message overflowing because break spaces were stopped by pre
2020-07-21 12:00:24 -04:00
Jonathan Rainville
911aac92de
feat: add onClicked to Emojis and use a Model to show them
2020-07-21 11:41:19 -04:00
Jonathan Rainville
15cc48c6f8
feat: add mock emoji menu in popup menu for chat
2020-07-21 11:41:19 -04:00
Jonathan Rainville
f51399ff1f
fix: fix QML warnings and errors
2020-07-21 11:09:00 -04:00
Jonathan Rainville
5268484114
feat: save locale in qt settings and switch to it on load
2020-07-21 11:09:00 -04:00
Jonathan Rainville
489ad7052f
feat: add changeTranslation function
2020-07-21 11:09:00 -04:00
Jonathan Rainville
4bd70b2ce7
chore: re-run scripts
2020-07-21 11:09:00 -04:00
Richard Ramos
0278379495
fix: allow resending older expired messages
2020-07-21 10:19:12 -04:00
Richard Ramos
f9335c0969
feat: retry sending messages
2020-07-21 10:19:12 -04:00
Dean Eigenmann
ca92fa03d8
Update EmptyView.qml
2020-07-20 15:59:42 +02:00
decanus
fe3706defc
fixes the seperator color to match
2020-07-20 15:59:42 +02:00
decanus
90f7570b4e
updates
2020-07-20 14:50:21 +02:00
decanus
ec0b0dc327
fixes empty view background
2020-07-20 14:50:21 +02:00
Pascal Precht
1e39cf4821
feat(chat): implement mention auto complete
...
Closes #515
2020-07-17 12:31:20 -04:00
Jonathan Rainville
00f10f600a
chore: update ts and qm translation files
2020-07-17 11:55:01 -04:00
Jonathan Rainville
b829acb3c4
chore: re-run qstr converter
2020-07-17 11:55:01 -04:00
Jonathan Rainville
ad8c1e455c
chore: add translations for all languages
2020-07-17 11:55:01 -04:00
Jonathan Rainville
19f82020ec
chore: run xml script on the en translations
2020-07-17 11:55:01 -04:00
decanus
b3a4903655
fix channel identifier color
2020-07-17 17:27:01 +02:00
Jonathan Rainville
0ab257d005
feat: make RectangleCorner a component and show images in compact
2020-07-16 11:49:13 -04:00
Jonathan Rainville
0e8bb2b136
fix: change text strings to qsTr
...
Co-authored-by: RichΛrd <info@richardramos.me>
2020-07-16 11:43:42 -04:00
Jonathan Rainville
66467ff070
fix: wallet ui errors
...
Fixes # 472
2020-07-16 11:43:42 -04:00
Iuri Matias
1e0e3fadd0
remove duplicated property
2020-07-16 11:38:00 -04:00
Richard Ramos
fd88fd19d0
feat: display connected/disconnected status in the chat module
2020-07-16 11:38:00 -04:00
emizzle
15a860b2bb
feat: Enable switching to testnet
...
Allow switching to Ropsten by flipping a toggle switch in Profile > Advanced settings.
When switching networks, note that installed stickers will be uninstalled, and recent stickers will be removed. Sticker packs can be reinstalled after login. Purchased sticker packs will not need to be re-purchased, but will need to be re-installed.
Mailserver fleet information will **not** be updated. This can be controlled by a separate (undeveloped yet) setting.
2020-07-16 10:59:31 -04:00
Iuri Matias
18fdd3f60b
destroy notification windows after closing
2020-07-16 10:55:42 -04:00
Jonathan Rainville
262941e839
feat: add space between the last chat and the chat input
2020-07-16 10:32:27 -04:00
Jonathan Rainville
851eb82026
feat: make channel list compact in compact mode
2020-07-16 10:32:27 -04:00
Jonathan Rainville
36f230e03d
feat: add saved setting for Compact mode
2020-07-16 10:29:29 -04:00
Jonathan Rainville
5951fcf131
feat: refactor Message and add Compact message type
2020-07-16 10:29:29 -04:00
decanus
a0c5f8624c
does some fixes in the history tab
2020-07-16 14:19:54 +02:00
Iuri Matias
c5410b6536
remove leftover condition
2020-07-15 16:05:35 -04:00
Jonathan Rainville
7d178b355e
feat(chat): add image support
...
This commit adds support for rendering images by detecting
image URLs inside of a message and attaching them to their
corresponding message bubble.
2020-07-15 16:05:35 -04:00
emizzle
69ba3c4468
feat: add support for purchased sticker packs
2020-07-15 15:53:48 -04:00
emizzle
ac7deb3af0
feat: Un/install free sticker packs in sticker market
...
Sticker pack details retreived from contract:
- pack data decoded from contract response
- data contains contentHash which, once decoded, contains an IPFS identifier
- futher pack data in EDN format is downloaded from IPFS
- the EDN info is decoded in to a StickerPack
List of available packs from contract are obtained separately from list of installed contracts (stored as a setting in Status-go).
Sticker market contains dynamic list of sticker packs. The sticker button shown for each pack has all states defined (in the design) for all UI states (ie bought, free, installed, pending, etc)
Add modal popup showing sticker pack details and list of stickers to be un/installed. Contains a "larger" version of the sticker pack button with many differnt UI states defined.
Uninstallation of a sticker pack removes those sticker pack's stickers from the recent sticker list and persists the list
Simplify the view model by including stickers, instead of setting an "activeStickerPackId" property. This allowed for display of sticker pack stickers to be displayed in the modal popup separately from the sticker packs shown in the market.
2020-07-15 15:53:48 -04:00
Dean Eigenmann
6521573b51
Update Message.qml
2020-07-15 16:02:30 +02:00
decanus
c840c7374c
fixes some color errors
2020-07-15 11:46:12 +02:00
Iuri Matias
7d7bac5fb6
add notifications support
...
first attempt
attempt 2
working notifications
add notification sound
cleanup
remove unneeded imports
remove unneded imports
2020-07-14 14:23:40 -04:00
Richard Ramos
19f358ef9c
fix: md format
2020-07-14 13:30:40 -04:00
Richard Ramos
ceb5873272
show date headers, and fix sending replies only when they are enabled
2020-07-14 13:10:14 -04:00
Iuri Matias
221d3b9628
center in first available monitor to avoid issues with dual monitors
2020-07-14 12:54:54 -04:00