201 Commits

Author SHA1 Message Date
Pascal Precht
cbfe90947e refactor: move ModalPopup to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht
bdc7c799d2 refactor: move Input to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht
c74e00379d refactor: move ImageCropperModal to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht
1f8b4563e5 refactor: move ContactsListAndSearch into ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht
ae31f7e1cb refactor: move ConfirmationDialog to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht
7433bbc785
fix: fix broken import version that crashed desktop app 2021-10-08 14:26:46 +02:00
Pascal Precht
b8ecc3e0bf fix(Communities): preserve channel position after editing
Turns out we've been accidentally resetting the channel's `position`
property to `0` by not sending it over to status-lib's underlying
`editCommunityChat` API.

This fixes it by using a newer version of status-lib which supports
the `position` paramter in `editCommunityChat` and then sending that
value along from the edit channel popup.

Fixes #3672
2021-10-08 13:33:42 +02:00
Pascal Precht
2e68be238c fix(Communities): make channel popup validation work again
This was a reference error as there's no `errors` object on `StatusValidator`.
When accessing errors exposed by `StatusInput` we need to dot into the component
reference.
2021-09-29 13:11:53 -04:00
Alexandra Betouni
4ee21ada05 feat(desktop) Added image function in Style
Introduced Style.svg() Style.png() Style.emoji() and
Style.icon() in Style.qml. Those should be used to
set the source in Images instead of using relative
paths. Usage:
Image {
   source: Style.svg("check)
   ....

Also moved all Singletons inside a new "utils"
folder and made it a QML module, to use
import utils 1.0 instead of relative paths

Closes #3678
2021-09-28 15:28:00 -04:00
Khushboo Mehta
2381ad08cd fix(@desktop/chat): Online/offline labels are hard to read in darkmode
fixes #3550
2021-09-21 14:24:09 -04:00
Alexandra Betouni
63b2bf703c fix(desktop/membersList) hide scrollbar when inactive
The scrollbar should only be visible when scrolling
through the members list

Closes #3557
2021-09-21 14:17:25 -04:00
Eric Mastro
e42b1d249e feat(communities): re-enabled open membership communities
Closes #3410.

Re-enables open membership communities, with necessary changes in the Inivitation Bubble for one-on-one chats.

fix: add/edit communities components not appearing
On add/edit community popup load, some components below the thumbnail image picker were not appearing until the app window was resized. Removing the height of the ScrollView fixed the issue (on mac).

NOTE: this may require windows and linux users to test.
2021-09-20 08:51:58 -04:00
Eric Mastro
9854a49a44 feat(wallet2): introduce saved addresses
Closes #3307.

WalletV2 view can be toggled between normal wallet view and the SavedAddresses view.

Users can load, add, edit, and delete saved addresses.

Favouriting a saved address is out of scope, as is sending to a saved addresses, drilling down in to a saved address, and supporting multiple networks.

Updates components that utilised the StatusMinLengthValidator component to support the changes made to StatusQ.

### Notes
1. Depends on status-go PR https://github.com/status-im/status-go/pull/2356
2. Depends on StatusQ PR https://github.com/status-im/StatusQ/pull/394.

# Conflicts:
#	src/app/wallet/v2/view.nim
#	ui/app/AppLayouts/WalletV2/WalletV2Layout.qml
2021-09-20 08:32:56 -04:00
Pascal Precht
33d800fcda refactor(ConfirmationDialog): change dialog to StatusModal 2021-09-15 13:31:18 -04:00
Pascal Precht
31d63c8f7d fix(@desktop/chat): fix seach input paddings
It's unclear to me why these were off since the latest StatusQ upgrade.

Closes #3396
2021-09-10 14:28:49 -04:00
Pascal Precht
8015235eea fix(Communities): ensure community profile doesn't bleed into modal header
Closes #3397
2021-09-07 10:30:58 -04:00
Pascal Precht
75c50337b2 fix(Communities): make membership request popup work again 2021-09-07 10:24:26 -04:00
Pascal Precht
4ea80eb248 fix(Communities): fix invite friends modal 2021-09-07 10:24:10 -04:00
Pascal Precht
629ce86076 fix(Communities): ensure communities search works again 2021-09-07 10:23:50 -04:00
Pascal Precht
34707b7298 fix(Communities): make create community categories modal work again
Fixes: #3391
2021-09-07 10:21:39 -04:00
Pascal Precht
52b302aa55 fix(Communities): ensure community profile popup is rendered correctly
Fixes: #3398
2021-09-07 10:21:29 -04:00
Pascal Precht
51c4d8c64e fix(Communities): make creating communities work again
This was broken due to a breaking change in StatusQ dependency.

Fixes #3389
2021-09-07 10:21:14 -04:00
Pascal Precht
942965f13b fix(Communities): make creating channels work again
There was a breaking change introduced 8d32c1d933
which caused reference errors in various modals.

This commit fixes the modal to create and edit community channels
by ensuring we're accessing `contentItem` and also only setting
channel data when editing a channel.

Closes #3390
2021-09-07 10:21:06 -04:00
Alexandra Betouni
8d32c1d933 fix(desktop/statusQ) Updated StatusQ HEAD
Also updated all StatusModals to use contentItem
instead of content
2021-09-02 16:23:02 -04:00
Khushboo Mehta
9dd35904ea fix(@desktop/chat) Right click on community member list should show member information
fixes #3162
2021-09-02 14:55:20 -04:00
Pascal Precht
eeb1cc2f7a refactor(ProfileModal): replace implementation with StatusQ components
Closes #3319
2021-08-31 14:45:05 -04:00
Andrei Smirnov
68d34e5706 fix(@desktop/chat): edit channel modal to show up-to-date values 2021-08-31 14:33:56 -04:00
Alexandra Betouni
8f1ffd96a1 fix(@desktop/chat) members' status circle is not always right
fixed to display online status only if is the current user and
if they have been active in the last 7 minutes. Respective color
is shown depending on if they are in "do not disturb" mode or they
have been active more than 5 minutes ago

Closes #3282
2021-08-31 13:41:22 -04:00
Alexandra Betouni
f47ddbc955 fix(@desktop/chatMembersList) Increased minimum width in chat members list
*Also removed redundant Rectangles

Depends on: https://github.com/status-im/StatusQ/pull/348

Closes #3284
2021-08-27 09:24:23 -04:00
Pascal Precht
4d5716c8c2 fix(Communities): ensure memberlist modal doesn't throw type related warnings 2021-08-26 15:07:19 -04:00
Pascal Precht
06b31c69c1 chore: remove unused CommunityPopupButton component 2021-08-24 13:51:20 +02:00
Pascal Precht
cbe56dd412 refactor(Communities): use StatusQ's StatusInput component 2021-08-24 13:51:20 +02:00
Pascal Precht
a7458aba1b refactor(Communities): use StatusInput in CommunitiesPopup 2021-08-24 13:51:20 +02:00
Pascal Precht
a40fe71767 refactor(Communities): use StatusQ's StatusInput in create category popup 2021-08-24 13:51:20 +02:00
Pascal Precht
abb44cb1ec refactor(Communities): use StatusQ's StatusInput in create channel popup 2021-08-24 13:51:20 +02:00
Pascal Precht
a81678f742 refactor(Communities): use StatusQ's StatusInput in memberlist popup 2021-08-24 13:51:20 +02:00
Andrei Smirnov
99bdfc65ed Addressed PR comments 2021-08-20 14:56:00 -04:00
Andrei Smirnov
8e0db42cde Fixed bug 2021-08-20 14:56:00 -04:00
Andrei Smirnov
754e49bf0f fix(@desktop/communities): improve member list sorting 2021-08-20 14:56:00 -04:00
Pascal Precht
1ec6583494 fix(Communities): move backup community popup logic to onClosed handler
The transfer ownership popup triggered by the backup community baner button
was behaving weirdly because the banner from where it originates lives inside
a loader that is deactivated once the popup was opened.

Moving the logic that deactivates the loader into the onClosed handler of the
popup solves this issue.

Thanks to @pinebit for getting to the bottom of this!

Fixes #2997
2021-08-16 14:10:43 -04:00
Anthony Laibe
5fc85af04b fix(@desktop/communities): Remove search from invite
fixes #3053

Align invite popup with design
2021-08-04 14:41:13 -04:00
Andrei Smirnov
7c735aa7a8 fix(@desktop/communities): close community modal when leaving the community 2021-08-03 16:45:41 -04:00
Richard Ramos
9204e409f3 chore: update translation files 2021-08-02 13:31:53 -04:00
Jonathan Rainville
c6b13d783b fix(community): lock community type to on request 2021-07-29 09:38:38 -04:00
Anthony Laibe
5c36f2ca1a fix(@desktop/communities): fix translation for members count
fixes #3106
2021-07-29 09:35:58 -04:00
Pascal Precht
d47ddf69bb
refactor(@desktop/chat): make use of StatusQ's input in contact list search
Also, use `StatusPopupMenu` for starting new chats.
2021-07-29 10:30:25 +02:00
Alexandra Betouni
c7c3c5dc9d [#2813] Fixing chat layout bugs
* Added clipping and scrollbar in user lists
2021-07-27 10:46:50 -04:00
Alexandra Betouni
0a01e84b1c [#2813] Updating chat layout
Switched to StatusAppThreePanelLayout as per new
design for members list

Closes #2813
2021-07-26 14:05:08 -04:00
Pascal Precht
07142dc66b fix(CommunityDetailPopup): ensure description wraps properly
Fixes #3052
2021-07-26 13:34:12 -04:00
Pascal Precht
6ad2171390 fix(CommunitiesPopup): render community description not just member count
This also updates StatusQ as the underlying StatusListItem component wasn't able
to handle multi-line subtitles very well. Also it didn't support tertiaryTitle, which
is needed in this UI.
2021-07-23 17:10:12 -04:00