Commit Graph

1986 Commits

Author SHA1 Message Date
Anthony Laibe 5c4b75ce6a perf(@desktop/chat): Improve performance when big member list
Avoid computation when it is not needed for the suggestion filter

This is quite visible when the member list contains 1000s of members.
It is the case when you load historical message (1 month)
2021-08-31 13:18:20 -04:00
Khushboo Mehta d8817a468e fix(@desktop/chat) Reply to image doest show image in reply box
Added component to show both an image/sticker in the reply area.
Moved some components from app to shared folder so that they can be reused

fixes #3272
2021-08-31 12:14:48 -04:00
Andrei Smirnov 8ae050b642 fix(@desktop/communities): changing contact nickname must be reflected in users list 2021-08-31 12:07:48 -04:00
Richard Ramos efcbb023a6 fix: message when username is locked, and remove preferred username when released 2021-08-31 12:04:03 -04:00
Richard Ramos 80343446ec feat: release ENS names 2021-08-31 12:04:03 -04:00
Pascal Precht ef1140d0a7 chore(deps): update StatusQ to v0.7.0 2021-08-31 12:03:48 -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 118b21543c fix(ChatContextMenu): fix delete chanenl icon which happens to be upside down 2021-08-27 08:53:56 -04:00
Anthony Laibe 9af32a1796 fix(@desktop/chat): Add new dedicated event for sending message 2021-08-26 16:53:38 -04:00
Anthony Laibe d0d4debdb4 fix(@desktop/wallet): Add wallet confirmation modal
For all actions related to the wallet, add a confirmation if the wallet
is not enabled

fixes #3258
2021-08-26 16:46:48 -04:00
Richard Ramos f637067606 fix: code review 2021-08-26 16:38:47 -04:00
Richard Ramos 1969130fad feat: display bloom filter usage 2021-08-26 16:38:47 -04:00
Iuri Matias 033fb3637d bump statusQ 2021-08-26 15:39:39 -04:00
Pascal Precht 88092e4966 feat(Communities): add support for drag reodering community categories 2021-08-26 15:39:39 -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 ee69b4264c fix(Communities): only allow community admins to drag'n'drop chat items 2021-08-26 15:07:09 -04:00
Khushboo Mehta c5474d42fa fix(@desktop/chats) Gifs playing when window is not active
fixes #2391
2021-08-26 15:06:13 -04:00
Pascal Precht fb0cedf9a6 feat(@desktop/chat): allow for entering ENS names manually
This commit enables users to enter fully qualified ENS names manually
and marking them as mentions, which are then later being replaced with
pubkeys.

The changes do not prevent users from entering ENS names that don't exist.

There's also a fix that ensure prepended "@" signs are removed from the
items selected in the suggestions box.

Closes #3149
2021-08-26 15:05:29 -04:00
Khushboo Mehta b69ef24e0e feature(@desktop/onboarding): Right click doesnt paste into password field
Added a right click context menu to let the user paste from the clipboard to TextField of the password modal.

fixes #2702
2021-08-26 15:02:37 -04:00
Khushboo Mehta 0531d71e6c fix(@desktop/chat): Text formatting menu should not disappear when performing actions
Qt's Menu closes the menu when action is triggered and to overcome this default behaviour added a custom event to be called when action is clicked.
Fixed some formatting related bugs.

fixes #2349
2021-08-26 15:00:34 -04:00
B.Melnik a362efecf4 feat(Communities): implement drag and drop to reorder category channels
Closes: #2776
2021-08-26 10:53:57 +02:00
Richard Ramos db3b7ecfd9 feat: Version Updating
Fixes #1290
2021-08-24 16:56:55 -04:00
Andrei Smirnov 07364c16cf fix(@desktop/chat): display suggestions in ContactsColumn 2021-08-24 15:35:58 -04:00
Andrei Smirnov 20bf19983f fix(@desktop/chat): channel suggestions are not being displayed 2021-08-24 15:35:58 -04:00
Anthony Laibe 94f6041ec5 feat(@desktop/chat): Align chat member and suggestion
Removed all computation of suggestion from qml
Reuse user list in order to populate the suggestion box

As a side effect, the suggestion are not serialized from qml to
nim

Remove InputArea which seems not used anymore
2021-08-24 14:56:20 -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
Iuri Matias 067ed7b255 display peer number in node tab 2021-08-23 15:06:12 -04:00
Anthony Laibe 98943f6d72 feat(@desktop/wallet2): New collectibles API 2021-08-20 16:17:19 -04:00
Anthony Laibe 899cb7b2f5 fix(@desktop/timeline): Fix timeline reaction
fixes #3251

- Being able to react in timeline chat
- Once there is a reaction, being able to remove them or add new
- Height of the message taking in consideration if there is reaction or
  not
2021-08-20 15:11:57 -04:00
Andrei Smirnov afa9c555ce Addressed PR comment 2021-08-20 15:02:26 -04:00
Andrei Smirnov 62ef00ee60 chore(@desktop): odd warnings 2021-08-20 15:02:26 -04:00
Khushboo-dev-cpp 7d5fac46f1 fix(@desktop/browser) Websites with transparent background not handled properly
Removed background color assignment as by default it is set to white if unassigned. This fixes the issue of strange grey background in dark mode with white components from websites with transparent background

fixes #3209
2021-08-20 14:59:12 -04: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
Iuri Matias a3ab31edba bump vendor 2021-08-19 16:26:59 -04:00
Sale Djenic 1b6ae41c63 feature(@desktop/chat): popup search added on the left side
As requested by design popup search added for the left side, click on a search
field (above channels list).

Refers to the changes requested by the issue-2934

Fixes: #2934
2021-08-19 16:26:59 -04:00
Sale Djenic e2628338de feature(@desktop/chat): implement search results for communities, channels
Added a part for fetching messages from multiple chats/channels/communities.

Fixes: #2934
2021-08-19 16:26:59 -04:00
Alexandra Betouni 4f8b072f10 fix(desktop/messages) Removed separator from options menu
when only "Delete" is available
2021-08-19 11:16:16 -04:00
Iuri Matias cab4e0c359 bump statusQ 2021-08-19 11:15:55 -04:00
Khushboo Mehta 27ff37e166 fix(@desktop/browser): Favorite list get truncated when its too long
Adapted the bookmark list to a grid view to accomodate items when the list gets long.
Max column size is 7 and in case screen cannot show 7 columns it will flow to the next row.
Also added ideinticon for a website with no icon
Fixed the issue of DApps launching on all new tabs.

fixes #2009
2021-08-19 11:15:55 -04:00
Anthony Laibe 1ab9b82541 fix(@desktop/chat): fix offline indicator in dark mode
fixes #3239
2021-08-19 10:54:50 -04:00
Anthony Laibe 03cfead241 fix(@desktop/timeline): Fix leaving the timeline chat
fixes #3249
2021-08-19 10:50:11 -04:00
khushboo-dev-cpp 82718a0e93 fix(@desktop/chat): Right click message actions dont work
Fix the bug introduced by removing MessageContextMenu from Chat column. Added missing logic for edit message via MessageContextMenu

fixes #3223
2021-08-19 10:45:47 -04:00
Khushboo Mehta d4de0c25a4 fix(@desktop/profile): Enter key doesnt activate button
Added code so that in the backup seed phrase modal all actions can be performed with the enter key.
Also added logic for default focus on the confirm button in the ConfirmationDialog.

fixes#2359
2021-08-19 10:40:12 -04:00
Khushboo Mehta 8caf95aace feat(MessageContextMenu): Allow Copy and Download Image
Added copy and download Image functionality on right click of an image or its preview

closes #2672
2021-08-19 10:23:18 -04:00
Alexandra Betouni f218fbf739 fix(desktop/chatinput) fixed automatic emoji replacement missbehavior
Closes #3203
2021-08-17 12:23:56 -04:00
Alexandra Betouni 581557cf7e fix(desktop/chat)Adding custom syntax highligther to StatusChatInput
And disabling all previous text formatting

Closes #2920
Closes #3063
2021-08-17 12:20:08 -04:00
Alexandra Betouni f82a23e361 fix(desktop/chatmessages) fixed stickers can't be used as reply
Closes #2404
2021-08-17 11:41:06 -04:00
Sale Djenic 04ca90a7d0 fix(@desktop/general): Changing System Appearance on the fly is not working
App is responsive to the OS theme change event.
Now we're following system set theme when the app is started.

Corresponding part on the side on nimqml is added.

Corresponding part on the side on dotherside is added.

On the side of dother side we had kind of a memory leak, cause objects added to
the filter were not deleted ever. When the app is closing, it just removes
filters, but doesn't delete them.

I faced a logical issue, that we were sending qmlengine pointer to the
installEventFilter method, instead object which may or may not rely on the
qqmlengine instance, that is fixed also.

Fixes: #1725
2021-08-16 16:27:14 -04:00
Andrei Smirnov b7ca0aaf14 Addressed PR feedback 2021-08-16 15:32:21 -04:00
Andrei Smirnov 84472fbcb9 Removed odd Qt.callLater 2021-08-16 15:32:21 -04:00
Andrei Smirnov 8310a36bde feat(@desktop): change password 2021-08-16 15:32:21 -04:00
Andrei Smirnov 87b3f4f2c0 fix(@desktop/pinned): proper popup menu for pinned messages dialog 2021-08-16 14:54:36 -04:00
Anthony Laibe c5d841f68d fix(@desktop/wallet): view in 'collectible' close modal
fixes #2644
2021-08-16 14:33:09 -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 28a4362b64 feat(@desktop/profile): handle blocked contact
fixes #3047
2021-08-16 14:03:52 -04:00
Sale Djenic 662d20b7ac fix(@desktop/general): right click the icon on the dock and press quit doesn't quit the app (macos)
This issue is reproducible on the app only if you're not logged in yet.
The issue is fixed mostly on the side of dotherside.

Fixes: #3112
2021-08-16 13:35:58 -04:00
Richard Ramos eee22f1cc8 fix: display ENS on contact search results
Fixes #3045
2021-08-16 12:58:42 -04:00
Sale Djenic a530f65ada fix(@desktop/communities): `joinedCommunities` doesn't update underlying community
Counting mentions for community seems was not developed yet. That's added here in this commit, but
instead of using "mentionsCount" we introduced on the side of nim, I found that we're receiving
"unviewedMentionsCount", but only for new messages. I used it for this fix.

Counting mentions and requests per community added.

Fixes: #2972
2021-08-16 12:55:12 -04:00
Richard Ramos 50b6b59abf feat: add wallet v2 tab 2021-08-16 09:45:06 -04:00
Richard Ramos c47a16298b fix: viewProfileAction is not defined 2021-08-13 16:07:44 -04:00
Anthony Laibe 6ae4568807 fix(@desktop/chat): fix replying to message at early chat
When replying to a chat, we were reloading messages and rerendering
the messages which were causing issue with the reply id

fixes #3219
2021-08-13 13:07:23 -04:00
Anthony Laibe 2c6d835a42 fix(@desktop/chat): fix shortcut for chat from communities 2021-08-13 12:54:38 -04:00
Anthony Laibe 2b027088e5 fix(@desktop/browser): hide favorite bar when there is none
fixes #3210
2021-08-13 12:35:17 -04:00
Khushboo Mehta 09fb1a173c fix(@desktop/wallet) Truncate long wallet amount
Added logic to convert large amounts to Millions and Billions

fixes #2667
2021-08-13 15:03:24 +02:00
Khushboo Mehta 27fc32469e fix(@desktop/chat): Activity tooltip arrow position is incorrect
Updated offset of the notification tooltip arrow based on if the members list is visible. The arrow should be in center when member list is visible else it should be right aligned as there is no place on the window

fixes #3102
2021-08-12 18:06:23 +02:00
Andrei Smirnov 5a7aac0baf fix(@desktop): crash when transitioning from login|onboarding to the app state 2021-08-11 18:51:59 +03:00
Khushboo Mehta b80ac8070f fix(@desktop/chat): pin button is blurred
Updated from PopupMenu to StatusPopMenu. Removed buttons not in design.
Also added left and right button functionalXity on memeber list

fixes #2956, #3162
2021-08-11 14:33:21 +02:00
Anthony Laibe ee84818c06 feat(@desktop/chat): Save favorites and recents gif 2021-08-10 15:31:19 +02:00
Anthony Laibe 4958e4d941 fix(@desktop/settings): Enable stickers/ens on ropsten
fixes #911
2021-08-10 13:35:37 +02:00
Richard Ramos 1d4beeb041 fix: change values to consider user inactive or offline 2021-08-06 14:17:22 -04:00
Richard Ramos 0a27623628 fix: code review 2021-08-06 13:30:05 -04:00
Richard Ramos d1b46c0226 feat: selector for online or invisible state
Fixes #3126
2021-08-06 13:30:05 -04:00
Khushboo Mehta 531b2771a3 fix(@desktop/chat): mention color is too bright when replying
Updated the style of mention text when replying to one

fixes #3012
2021-08-06 13:03:23 -04:00
Anthony Laibe 02f2789a23 fix(@desktop/communities): fix sharing community link
fixes #3165
2021-08-06 12:46:47 -04:00
Anthony Laibe 7df028df77 fix(@desktop/profile): Add scroll bar for advance settings 2021-08-06 12:33:44 -04:00
Richard Ramos 7c407305d2 fix: userlist 2021-08-05 17:09:03 -04:00
Anthony Laibe dc51cebaee fix(@desktop/communities): hide communities if not enabled
fixes #3152
2021-08-05 17:05:36 -04:00
Anthony Laibe ca66d286f7 fix(@desktop/profile): fix click on contact
fixes #3158

First change area then activate the channel
2021-08-05 16:58:51 -04:00
Anthony Laibe 9874f82a58 fix(@desktop/browser): close popup when opening link
fixes #3155

Also when remembering the choice, update the settings
2021-08-05 16:50:43 -04:00
Khushboo Mehta 7d8c0d676d fix(@desktop/chats): add background to member button when opened
This fix adds a background to the member button when the members section is open.

fixes #3101
2021-08-05 16:48:34 -04:00
Richard Ramos fda70c66b3 fix: code review 2021-08-05 15:12:34 -04:00
Richard Ramos 481184df25 fix: disable dynamic translations on linux 2021-08-05 15:12:34 -04:00
Sale Djenic 4ba08f02a5 Rebasing issues fixed (#3005) 2021-08-05 14:35:46 -04:00
Sale Djenic 83d6817f70 feature(@desktop/chat): support jumping to search result message that is not currently loaded in memory
Crash adding public chat which is caused by changes applied to this feature is fixed.

Fixes: #3005
2021-08-05 14:35:46 -04:00
Sale Djenic 5d8b02e057 feature(@desktop/chat): support jumping to search result message that is not currently loaded in memory
Feature added. Firstly we check if the searched message is already displayed and if yes simply jump
to it, if not then we are loading new 20 messages in the past using cursor and check if the
searched message's id is among those received messages. We do that in a loop till we find the
message we are searching for.

Fixes: #3005
2021-08-05 14:35:46 -04:00
Sale Djenic 74d868ab92 feature(@desktop/chat): implement search on sqlcipher (status-go side)
Searching messages by some term for a specific channel is added on the side of status-go and an
appropriate part on the side of nim is developed accordingly.

Fixes: #2912
2021-08-05 14:35:46 -04:00
Sale Djenic de661459cb feature(@desktop/chat): implement search on sqlcipher (status-go side)
Current code adapted to handle future changes on message search (like searching message in multiple
channels).

Memory leak which was happening in qml assigning (copying) MessageItem to qml variable messageItem
(where that qml variable messageItem was never deleted) is fixed.

Fixes: #2912
2021-08-05 14:35:46 -04:00
Sale Djenic fbb9409b5e Submodules updated, after rebase. 2021-08-04 15:49:50 -04:00
Sale Djenic f0c605936d feature(@desktop/chat): implement search on sqlcipher (status-go side)
Searching messages by some term for a specific channel is added on the side of status-go and an
appropriate part on the side of nim is developed accordingly.

Fixes: #2912
2021-08-04 15:49:50 -04:00
Sale Djenic 1573d7b928 feature(@desktop/chat): implement search on sqlcipher (status-go side)
Current code adapted to handle future changes on message search (like searching message in multiple
channels).

Memory leak which was happening in qml assigning (copying) MessageItem to qml variable messageItem
(where that qml variable messageItem was never deleted) is fixed.

Fixes: #2912
2021-08-04 15:49:50 -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
Anthony Laibe cec7525fe8 fix(@desktop/chat): re-enable ability to click on profile 2021-08-04 07:50:30 -04:00
Alexandra Betouni fe08c0bdc8 [#2584] Fixing 'more' chat menu position
Re-parented to 'more' button so that it's
following that when scaling the window

Closes #2584
2021-08-03 16:51:35 -04:00