Commit Graph

135 Commits

Author SHA1 Message Date
Sale Djenic 841f1704b7 fix(@desktop/chat): add a blocked bar for blocked user profile
- blocked bar is added for profile popup
- blocked bar is added for a chat

Fixes #4673
2022-02-06 16:41:30 +01:00
Jonathan Rainville b688a5a305 feat(wallet): hook sendTransferTokens to the wallet Send
Fixes #4650
2022-02-03 15:12:32 -05:00
Jonathan Rainville 0f5a6d8599 feat(wallet): hook transferEth for wallet transfers 2022-02-03 15:12:32 -05:00
Jonathan Rainville f36bee6337 fix(wallet-send): fix send modal estimate gas and other hooks 2022-02-01 14:09:56 -05:00
Jonathan Rainville 82fb325dac fix(browser-tx): fix estimate gas and send TX on the browser
Fixes #4557
2022-02-01 14:09:56 -05:00
Noelia 50fb0dc45f fix(@desktop/CopyToClipboard): [base_bc] can't copy from Invite friends as well as App Version and Node Version
Root store propagation in order to use the global copyToClipboard method.

Modify InviteFriendsPopup to use StatusQ components.

Fixes #4529
2022-02-01 11:51:00 +01:00
Sale Djenic 69fc5bec5e refactor(@desktop/settings-ens-usernames): ens usernames module added and corresponding ui updated 2022-02-01 11:50:14 +01:00
Noelia ddfa3d3e4e fix(@desktop/ProfilePopup) [base_bc] share profile url in profile modal is incorrect
Closes #4419

profileStore property has been added based in MyProfileView.qml.

Share profile information has been updated using the new store.

It also fixes another issue related to Contact/ViewProfile/ShareProfileURL. It was also showing incorrect info.
2022-02-01 11:49:47 +01:00
Sale Djenic 96e50a97ac refactor(@desktop/chat-community): `ChatContextMenuView` and `MessageContextMenuView` updated
Within this commit apart of `ChatContextMenuView` and `MessageContextMenuView`
some other things are fixed:
- pinned messages model (`asyncFetchChatMessagesTask`), which was corrupted most
likely by resolving conflicts
- `pinned by` part of the pinned messages
- set/remove local nickname for a contact
- contacts in a message list and pinned by name, contact in a pinned message list
and pinned by name, one to one chat details and chat tool bar are updated in a way
that they are responsive to the contact's updates
- pinned messages updated received from remote (from the `status-go`) is handled

Fixes #4366
2022-02-01 11:48:25 +01:00
Sale Djenic e220599612 refactor(@desktop/general): necessary changes applied due to refactored `Contacts` sub-section of the `Settings` section 2022-02-01 11:47:46 +01:00
Sale Djenic da6fe00528 refactor(@desktop/settings-contacts): contacts section updated 2022-02-01 11:47:46 +01:00
Jonathan Rainville 9016999ec2 refactor(chat): hook chat commands to qml and fix ens resolve 2022-02-01 11:46:40 +01:00
Alexandra Betouni 3d4f2e26d0 refactor: fixed profile popup not opening 2022-02-01 11:46:39 +01:00
Alexandra Betouni 0eb40287fa refactor: removed dynamic scoping from shared module
Properties and functions moved to Global:
- toastMessage
- openProfilePopup()
- getProfileImage()
- popupOpened

Closes #4248
2022-02-01 11:46:39 +01:00
Alexandra Betouni 001bc42942 refactor: fix setting user online/offline status 2022-02-01 11:46:11 +01:00
Sale Djenic b3f8af8e06 refactor(@desktop/general): qml code referring to the old code base commented out
Qml code referring to the old code base commented out, but not deleted,
due to easier refactoring the rest of the app.
2022-02-01 11:42:42 +01:00
Alexandra Betouni f0b39ce4f6 Refactor: Moved openPopup function to Global
The openPopup function was declared in AppMain
and used via dynamic scoping in many places in the
application. Moved function to Global component
and updated all places to call it via Global instead.

Closes #4267
2022-02-01 11:38:46 +01:00
Alexandra Betouni 336f90a60f feat(desktop/wallet) Removed dynamic scoping from wallet
Removed all dynamic scoping parts in wallet section plus

- Renamed Config to Global and added more functions there
- Moved changeAppSectionBySectionType function to Global
  and updated all places where is used to call it from
  Global instead
- Moved openLink function to Global and updated all places
  where is used to call it from Global instead
- Moved errorSound to Global, introduced playErrorSound
  function  and updated all places where is used to call
  this function from Global instead

Closes #4245
2022-02-01 11:38:27 +01:00
Sale Djenic c8b429388f refactor(user-profile): `name`, `icon` and `isIdenticon` properties added to global instance `userProfile`
Apart of all properties we have, now we have 3 new added props which will be used
almost always when we need the following details about logged in user:
- `name` - this will return an ens name in a pretty form or an alias if ens name
was not set (verified). Apart of this there are still `username` and `ensName`
properties for fetching them when it's needed.
- `icon` - this will return a thumbnail image if it's set, otherwise it will
return identicon. Apart of this there are still `identicon` and `thumbnailImage`
properties for fetching them when it's needed.
- `isIdenticon` - this will return `false` if a thumbnail image is set, otherwise
it will return `true`
2022-02-01 11:37:29 +01:00
Sale Djenic 6e3b065d34 refactor(@desktop/general): app sections handled within main module 2022-02-01 11:32:28 +01:00
Sale Djenic 9e567b8fdc refactor(@desktop/general): qml updated according to the new `userProfile` instance 2022-02-01 11:27:25 +01:00
Khushboo Mehta 35388b0f6d fix(@desktop/wallet): Fix for - Recipient of the transaction message is not notified that transaction is completed
Also fixes broken UI when sending/receveing transactions from chat

fixes #2915
2022-01-11 20:59:17 +01:00
Khushboo Mehta 619d0e56ac fix(@desktop/wallet): browser tab, can't click send button
fixes #4351
2022-01-05 16:30:17 +01:00
Alexandra Betouni b4b28d2f98 feat(desktop/contacts) Improvements in contacts
Contacts updates currently in base_bc

Closes #4100
2021-12-01 20:51:06 +02:00
Sale Djenic 484748314f fix(general): online/offline selector updated
Fixes: #4049
2021-11-24 13:15:15 +01:00
Alexandra Betouni c0450f0580 refactoring (desktop/chat) Message component
Moved Message component & dependencies  to shared
for usage import shared.views.chat 1.0 and accordingly
import shared.controls/panels.chat 1.0

Closes #3927
2021-11-24 13:15:15 +01:00
Sale Djenic cc5ccbc951 refactor(@desktop/general): qml updated according to the new `userProfile` instance 2021-11-24 13:15:15 +01:00
B.Melnik defefa1bfe fix: Fix missing setup url for new opeed tab
Closes: #4107
2021-11-17 15:40:50 +01:00
Alexandra Betouni d78211972e fix(desktop/chat) online/offline selector not changing color/state
Closes #4049
2021-11-05 17:14:06 -04:00
Pascal Precht b6a79fd61b refactor: move StatusChatCommandsPopup to ui/shared/popups
This was already done in 9ba07575bd
I assume this got accidentally reintroduced in 426c116bac
2021-11-05 15:09:34 -04:00
Alexandra Betouni 36f1ea8832 fix: make user profile images work again 2021-11-05 15:00:50 -04:00
Jonathan Rainville 68a1bee51c fix(Wallet): fix sending ETH 2021-11-05 14:10:29 -04:00
Jonathan Rainville 9448cd7fd4 fix(wallet): fix account selector in the SendModal 2021-11-05 14:10:29 -04:00
Pascal Precht d6366edb9e fix: make user profile images in context menu and popup work again 2021-11-05 11:02:45 -04:00
Alexandra Betouni 426c116bac refactor(desktop) Made shared a QML module
Use it as import shared 1.0, import shared.controls 1.0
etc instead of import "../../../shared"

Closes #3934
2021-10-27 18:05:45 -04:00