Commit Graph

1641 Commits

Author SHA1 Message Date
Sale Djenic d0e0df1e3b fix(@dekstop/chat): clicking on `enable in settings` redirects to network settings
Fixes #4890
2022-02-25 12:11:57 -05:00
Sale Djenic 40d10b0cbb fix(@dekstop/chat): timestamp for `Fetch messages` is wrong
Fixes #4850
2022-02-25 12:11:26 -05:00
Jonathan Rainville a51aee1683 fix(community): re-hook kick user from community
Fixes #2274
2022-02-24 17:04:56 -05:00
Jonathan Rainville 6c5594b576 fix(community): fix community edits not always working
Fixes #4842
2022-02-24 16:54:05 -05:00
Alexandra Betouni 5c30daab07 fix(chat/mentions) fixes in mentions behavior
Changed cursor behavior to jump over text when it
reaches a mention, either on left or right side.
Also made mention to behave as link when hovered
with mouse so that it cannot be clicked and place
cursor inside it.

Also fixed keyboard focus to navigate only in the
suggestions list when this is opened.

Closes #4423
2022-02-24 11:10:33 -05:00
Jonathan Rainville 3985272037 fix(invitation): fix community invite not showing in 1-1 chats
Fixes #4851
2022-02-24 10:58:26 -05:00
Sale Djenic 52fb195b39 fix(@dekstop/chat): trying to unblock a contact by hitting 'Unblock' via the chat view does not do anything
Fixes #4835
2022-02-24 16:19:51 +01:00
Jonathan Rainville 18374a16d4 fix(user-list): use the same userlist for community and chats 2022-02-23 16:15:41 -05:00
Jonathan Rainville c2378e24aa fix(user-list): fix user list section labels
Fixes #4805 and #4806
2022-02-23 16:15:41 -05:00
Richard Ramos d4f8b63292 feat: add status.test fleet 2022-02-23 15:48:06 -05:00
Sale Djenic c855de98b6 fix(@dekstop/chat): higher cpu usage after opening gif selector
Fixes #4829
2022-02-23 15:43:21 -05:00
Jonathan Rainville 58935b82d7 fix(search): fix profile popup opened on search title clicked
Fixes #4795

Makes sure to only open the profile popup if the click is a pubkey.
Also opens the popup on ctrl+f
2022-02-23 15:17:51 -05:00
Sale Djenic 6186bf9c8c fix(@desktop/general): app/os notifications
Fixes #4409
2022-02-21 22:01:19 +01:00
Boris Melnik 7bfec141eb fix(groups): Fix members count
Closes: #4822
2022-02-21 10:48:40 +03:00
Boris Melnik 4c0b09e9f5 fix(Groups): block add members button is you not group admin
Closes: #4840
2022-02-19 15:06:49 +03:00
Richard Ramos fc24f16525 fix: continue showing loading indicator when store fetching failed
Fixes #4733
2022-02-17 14:53:39 -04:00
Boris Melnik ea5b5716e5 refactoring(groups): Refactor groups popups
Closes: #4719 #4615
2022-02-17 21:04:29 +03:00
Jonathan Rainville 713e6685ca fix: make mentions work with ensname, alias and nickname
Fixes #3707
2022-02-17 11:59:23 -05:00
Sale Djenic 9ed6c6235c fix(@desktop/chat): can't join to group chat by clicking [Join chat] or decline invitation with [Decline invitation]
Fixes #4766
2022-02-17 11:28:59 -05:00
Khushboo Mehta 52e96e904b fix(@desktop/chat): enable transactions over chat
fixes #4610
2022-02-15 21:22:21 +01:00
Jonathan Rainville 16e7d16c8c feat(communities): re-implement community link unfurling
Fixes #4788
2022-02-14 17:03:41 -05:00
Patryk Osmaczko ba7a6d5d34 style: remove trailing whitespaces 2022-02-09 11:16:23 +01:00
Richard Ramos e252a7a17f fix: reorderCommunityChat parameters 2022-02-08 14:26:07 -04:00
Richard Ramos 3fd10e7915 fix: community chat positions 2022-02-08 14:26:07 -04:00
Sale Djenic aa6036b78b fix(@desktop/chat): mention suggestion list fixed 2022-02-08 12:33:45 -05:00
Richard Ramos f67ffde12c refactor(communities): edit categories 2022-02-07 18:29:13 -04:00
Richard Ramos c338bdf6ae refactor(communities): delete categories 2022-02-07 18:29:13 -04:00
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 268d7fcd36 fix(pins): fix max 3 pins and unpining pins the new message
Fixes #4576
2022-02-04 13:20:11 -05:00
Jonathan Rainville f21c6eda45 fix(pins): only enable jump to and unpin buttons from the pinned popup
Fixes #4540
2022-02-04 09:39:23 -05:00
Anthony Laibe b164b088f5 refactor(@activity_center): Add switch to section/chat
fixes #4474
2022-02-03 16:40:13 -05:00
Sale Djenic aeed9303cd fix(@desktop/communities): community import has some issues
Fixes #4206
2022-02-03 16:14:15 +01:00
Noelia ba0e0b84c0 fix(@desktop/chat): [restore after rebase] Group members list must show only 5
It restores job done in PR #4461 - Task #4386 after base_bc rebase.
2022-02-03 09:27:03 +01:00
Jonathan Rainville b6c78396f8 chore(community): remove pinned messages button in
Fixes #4617
2022-02-02 09:40:21 -05:00
Richard Ramos ad7f48d6ac refactor: removing mailserver controller and model 2022-02-01 15:16:45 -04:00
Khushboo Mehta 6f5fcd8623 fix(@desktop/chat): context menu is gone for pictures
fixes #4609
2022-02-01 11:19:56 -05:00
Jonathan Rainville 08c01d2775 fix(community): hook edit community channel
Fixes #4539
2022-02-01 10:55:01 -05:00
Jonathan Rainville 5ec9fe4ebd fix re-join on request community 2022-02-01 11:51:31 +01:00
Boris Melnik f3485446c3 fix(groups): Add popup to view group ccontext menu action
Closes: #4616
2022-02-01 11:51:31 +01:00
Richard Ramos 192a0c4d19 refactor(communities): create channel in specific category 2022-02-01 11:51:22 +01: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
Richard Ramos ba863acd4e fix: code review 2022-02-01 11:51:00 +01:00
Sale Djenic a05a821f51 issues adding category fixed
- chats list maintained in the chat service gets updated form the right places now
- redundant mapping `Chat` to `ChatDto` is removed, since we already get all
necessary data for the chat, no need for additional mapping which may just
introduce new inconsistencies
- `findIndexById` proc updated so in case if there is no the chat we're searching
for in the list, we're returning `-1` instead of last index in the list
- `DelegateChoice` on the qml side updated to match new type value `Constants.chatType.category`
2022-02-01 11:51:00 +01:00
Richard Ramos b67e97a05c feat(communities): create categories 2022-02-01 11:51:00 +01:00
Boris Melnik 0065f5cae5 refactor: create categories (WIP) 2022-02-01 11:50:51 +01:00
Sale Djenic 0a9aad7b03 fix(@desktop/app-search): loading messages improvements 2022-02-01 11:50:50 +01:00
Sale Djenic 25f7544b41 fix(@desktop/app-search): [base_bc] can't jump to a message from search results
- broken "jump to a section/chat/message" feature fixed
- added loading indicator while searching is in progress
- animation when we point to the searched message is in place again

Fixes #4577
2022-02-01 11:50:50 +01:00
Noelia d8a7a3d812 fix(desktop/chat): [base_bc] selecting a channel does not auto-focus on the text input field
When new channel/chat is displayed, text input field focus is forced properly.

Fixes #4524
2022-02-01 11:50:50 +01:00
Anthony Laibe 16225a3af9 fix(@chat): display link urls 2022-02-01 11:50:40 +01:00
Jonathan Rainville 25ac0fbb68 fix(image-modal): fix having to click multiple times to close the image
Fixes #4586
2022-02-01 11:50:33 +01:00
Khushboo Mehta 7c06f9c362 fix(@desktop/chat): send message is not working from context menu
fixes #4531
2022-02-01 11:50:32 +01:00
Boris Melnik 15793b2a35 fix(groups): Update group info user list
Closes: #4533
2022-02-01 11:50:29 +01:00
Boris Melnik 900c6528ac fix(groups): Hide unchecked users in group creation popup
Closes: #4532
2022-02-01 11:50:18 +01:00
Jonathan Rainville 47fa644703 fix(communities): fix icon, members and color + set observed and active
Fixes #4569
Fixes #4567
2022-02-01 11:50:18 +01:00
Anthony Laibe a8f2a3cb08 fix(@chat): react to on left chat
fixes #4528
2022-02-01 11:50:17 +01:00
Jonathan Rainville ba49b2ec20 fix(community): fix community edit setting undefined color
Fixes #4443
2022-02-01 11:50:17 +01:00
Jonathan Rainville c20554d987 refactor(community): use user model for the community member list
Fixes #4471
2022-02-01 11:50:17 +01:00
Richard Ramos fb35f89336 fix: loading indicator 2022-02-01 11:50:17 +01:00
Anthony Laibe f4ed7f09cd fix(@chat): fix anchors of empty chat 2022-02-01 11:50:17 +01:00
Anthony Laibe 5bf9b587da perf(@chat): Do not re-render messages when switching chat 2022-02-01 11:50:17 +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
Jonathan Rainville bd2bb8952a refactor(community): move community specific functions to chat_section
Fixes #4489
2022-02-01 11:50:02 +01:00
Jonathan Rainville e1deafa76b refactor(community): move membership functions to chat_section
Fixes #4473 and #4485
2022-02-01 11:50:01 +01:00
Jonathan Rainville 3e339ea094 refactor(community): add admin member request feature
Fixes #4442
2022-02-01 11:50:01 +01:00
Anthony Laibe a2fd27057c fix(@communities): Disable create button on invalid form
fixes #4507
2022-02-01 11:49:55 +01:00
Boris Melnik 1cd83b4d17 refactor(groups): Move groups to new architecture
Closes: #4223
2022-02-01 11:49:52 +01:00
Alexandra Betouni f861be5526 fix: create channel popup create button was enabled always
Fixed create button to be disabled when name and description
text fields are empty in create channel popup

Closes #4444
2022-02-01 11:49:47 +01:00
Khushboo Mehta 2ff5ce7fc2 fix(@desktop/community): added option to delete community channel
fixes #4415
2022-02-01 11:49:47 +01:00
Jonathan Rainville 3477e4c33e hotfix(act-center): fix wrong signal name 2022-02-01 11:49:47 +01:00
Jonathan Rainville 349cf4f0ef fix(chat): fix 1-1 chat delete and profile top bar click
Fixes #4483 and #4484
2022-02-01 11:49:47 +01:00
Alexandra Betouni a0b40590ab fix:activity center view is empty
Updated all available message properties
from the new backend

Closes #4408
2022-02-01 11:49:47 +01:00
Jonathan Rainville 6f8f9b6f76 fix(community): fix qml errors when creating a community
Fixes #4440
2022-02-01 11:49:47 +01:00
Jonathan Rainville d073dd215a fix(chat): fix copy and download image
Fixes #4494
2022-02-01 11:49:47 +01:00
Patryk Osmaczko 75abaabb5d fix(@desktop/chat): show popup when image is clicked 2022-02-01 11:49:47 +01:00
Jonathan Rainville 47b139ee1c fix(chat): fix starting 1-1 chat because of ContactList signal bug
Fixes #4421
2022-02-01 11:49:47 +01:00
Khushboo Mehta f68d967544 fix(@desktop/chat): making edit work on base_bc
fixes #4410
2022-02-01 11:49:44 +01:00
Jonathan Rainville a027ec98f8 refactor(community): add member list model and hook it + updates to comm 2022-02-01 11:49:34 +01:00
Anthony Laibe 56ffd6dbac fix(@communities): fix import communities modal 2022-02-01 11:49:20 +01:00
Patryk Osmaczko c016d264b9 fix: restore community private key field content in dialog
Fixes: #4414
2022-02-01 11:49:14 +01:00
Sale Djenic 9938ea672d refactor(@desktop/chat): username is misplaced when sending messages in the channel
A reason why this issue was happening is that prev and next message
were set in a wrong way. An important thing is that list of messages is set
in descending order in terms of `timestamp` of a message, that means a
message with the most recent time is added at index 0.

That further means that getting an index of the previous message from the
current one is defined as `currentIndex + 1` and getting an index of the next
one is defined as `currentIndex - 1`.

Fixes #4417
2022-02-01 11:49:14 +01:00
Jonathan Rainville 565211f38f fix(chat): fix sticker button not showing + stickers not showing in chat
Fixes #4407
2022-02-01 11:49:14 +01:00
Khushboo Mehta e757c07c96 fix(@desktop/chat): delete message not working
fixes #4411
2022-02-01 11:49:11 +01:00
Boris Melnik 35568d1d6b fix(Replies): Fix reply button
Closes: #4396
2022-02-01 11:49:04 +01:00
Anthony Laibe b43b073f5f fix(@communities): copy to clipboard community
fixes #4441
2022-02-01 11:49:04 +01:00
Sale Djenic f0ca1a4cc3 refactor(@desktop/general): many errors from the log are fixed
- various issues on app start in console
- various issues when logging out in console
- `node_section` module delete method error
- SyntaxError: JSON.parse: Parse error from the MessageStore
2022-02-01 11:49:04 +01:00
Jonathan Rainville 9fc9f698d9 refactor(community): hook invite user and fix community context menu 2022-02-01 11:48:43 +01:00
Sale Djenic 11fbab0c65 refactor(@desktop/contacts): accept contact request from the contact requests popup fixed 2022-02-01 11:48:35 +01:00
Jonathan Rainville b7459b331b refactor(community): hook leave community 2022-02-01 11:48:25 +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
Jonathan Rainville 6fe9652b44 fix(chat): fix loading chats when joining them
Fixes #4367
2022-02-01 11:48:25 +01:00
Jonathan Rainville 3678b3af9b refactor(community): hook edit community feature 2022-02-01 11:48:22 +01:00
Jonathan Rainville 42bb0c842d refactor(Communities): refactor communities front-end 2022-02-01 11:48:13 +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
Alexandra Betouni 69517588cf refactor: move editChannelPopup to ChatContextMenuView 2022-02-01 11:47:46 +01:00
Sale Djenic 9a82370df0 refactor(@desktop/settings-profile): profile section updated 2022-02-01 11:47:24 +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
Sale Djenic 16a33f8fa7 refactor(@desktop/chat-messages): load more messages
- load more messages on scroll up for chat/channel added
- sending messages improved in terms of adding new messages to
appropriate position
- scroll to message added on the qml side
- qml connected to the sending message success/failed signals
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
Jonathan Rainville 710236f51a refactor(chat): refactor send messages to work 2022-02-01 11:46:36 +01:00
Sale Djenic 807039ad61 refactor(@desktop/chat-community): `ChatContextMenuView` component updated
- admin flag exposed to qml for chat/channel
- `CreateChannelPopup` updated
- `createPopup` function added to the `Global` singleton
- `PinnedMessagesPopup` component moved to `AppMain` and shared
among components beneath
2022-02-01 11:46:24 +01:00
Sale Djenic 179b0f5a36 refactor(@desktop/chat-messages): add/remove reactions 2022-02-01 11:46:11 +01:00
Jonathan Rainville b2546fa709 refactor(ProfilePopup): hook ProfilePopup to backend properties 2022-02-01 11:45:50 +01:00
Sale Djenic df5a5a627d refactor(@desktop/chat-messages): pin/unpin messages and pinned messages list updated 2022-02-01 11:45:50 +01:00
Sale Djenic b6b6d6b6c7 refactor(@desktop/chat-messages): `MessageContextMenuView` component updated 2022-02-01 11:45:50 +01:00
Jonathan Rainville 42504ad4eb fix(chat): fix contact banner showing wrongly 2022-02-01 11:45:50 +01:00
Sale Djenic 6e1438d241 refactor(@desktop/general): `globalUtils` instance added (changed old `utilsModel`) 2022-02-01 11:44:56 +01:00
Jonathan Rainville 0388688e9e refactor(community): add join community functionnality 2022-02-01 11:44:38 +01:00
Jonathan Rainville 129266497d refactor(communities): add communities module to show comm list 2022-02-01 11:43:40 +01:00
Jonathan Rainville 45fddc55ba refactor(act-center): refactor activity center to the new arch 2022-02-01 11:42:55 +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
Sale Djenic bfaf1b5250 refactor(@desktop/chat-communities): `ChannelIdentifierView` component updated 2022-02-01 11:41:56 +01:00
Sale Djenic 7f40ae0f57 refactor(@desktop/chat-communities): unused component removed
- `NormalMessageView` component is removed since we work with `CompactMessageView`
and it's the only and default message component in the app.
- `useCompactMode` property removed from local settings since it's not in use as
well and corresponding code is updated accordingly
2022-02-01 11:41:38 +01:00
Anthony Laibe 6c76974985 refactor(@chat): clear chat history 2022-02-01 11:41:26 +01:00
Anthony Laibe 8ddda242d8 refactor(@chat): mark messages as read 2022-02-01 11:41:26 +01:00
Sale Djenic e5a414a927 refactor(@desktop/chat-communities): qml part handles messages from refactored backend
- `chatType` added to `Constants` to group chat type related values
- `messageContentType` added to `Constants` to group message content type related
values
- `MessageStore` maintained per message list now
- added new `ChatContentView` component used to display chat/channel content
- components updated to display messages from the new backend
- `StatusChatToolBar` appropriately updated
- mute/unmute feature added to chat/channel list as well as to `StatusChatToolBar`
2022-02-01 11:41:22 +01:00
Jonathan Rainville a9c968b984 refactor(chat): refactor 1-1 chat to new architecture
Fixes #4225
2022-02-01 11:39:08 +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 f138fecdd2 refactor(online-users): adding online users for chat/channel 2022-02-01 11:38:07 +01:00
Sale Djenic afe6d34735 refactor: issues after rebase onto `master` fixed 2022-02-01 11:38:04 +01:00
Sale Djenic 80fcb95245 refactor(chat-section): new chat/community model applied on the qml side
Changes done on the backend side related to the new chat/channel/categories model
are applied here. Necessary changes done on the `statusq` may be seen in PR-486.

Parts of the code which are not refactored yet are commented out.

Displayed chats/categories/channels since now are using refactored backend.
2022-02-01 11:37:32 +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 45d93649b6 refactor(chat-section): new chat/community model applied on the qml side
Changes done on the backend side related to the new chat/channel/categories model
are applied here. Necessary changes done on the `statusq` may be seen in PR-486.

Parts of the code which are not refactored yet are commented out.

Displayed chats/categories/channels since now are using refactored backend.
2022-02-01 11:37:15 +01:00
Alexandra Betouni c4bb7c7cf2 fix(contacts) fixed bug in add contacts function 2022-02-01 11:36:59 +01:00
Jonathan Rainville 22595f5032 refactor(chat): move stickers to the new architecture
Fixes #4060
2022-02-01 11:36:59 +01:00
Jonathan Rainville 3f12796b45 Revert "refactor(chat): move stickers to the new architecture"
This reverts commit 47aa079e0d.
2022-02-01 11:36:59 +01:00
Jonathan Rainville 792397987c refactor(chat): move stickers to the new architecture
Fixes #4060
2022-02-01 11:36:44 +01:00
Jonathan Rainville eee096dda7 chore: remove old contacts code 2022-02-01 11:35:24 +01:00
Jonathan Rainville e8eefd8f87 refactor: move all old usages of contacts to the new code 2022-02-01 11:35:24 +01:00
Jonathan Rainville cb7865bd9e refactor: move contact requests to new architecture
Fixes #4061

Most of the contact request code was already moved, but it wasn't hooked to the QML yet and also there were missing events and some code to improve.
2022-02-01 11:35:24 +01:00
Sale Djenic 3f50ab26b8 refactor(general): qml cleaning
- Selecting `currentIndex` based on the children placed in the `StackLayout`
component with id `appView` is sorted out since we were referring to the wrong
indexes there in case of walletv2, node and community sections.
- Places which call `Utils.getAppSectionIndex` are updated since we don't have
that method any more.
- Some parts which are not refactored yet are commented.
2022-02-01 11:33:06 +01:00
Sale Djenic ed09f82305 refactor(app-search): app search moved to a new component on the qml side 2022-02-01 11:32:46 +01:00
Sale Djenic d67278b23e refactor(app-search): app search module added 2022-02-01 11:32:42 +01:00
Sale Djenic 0fa88be513 refactor(@desktop/general): qml `ChatLayout` component added for the `Chat` section and for each community 2022-02-01 11:32:32 +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
Richard Ramos d713c6fe9f fix: display loading indicator depending on mailserver request status 2022-01-25 13:59:41 -04:00
B.Melnik 8d27d784c1 feat(ProfilePopup): Add avatar change fucntionality
Closes: #3734
2022-01-25 10:25:03 +03:00
Noelia Santos b5f4e3783c feat(Chat/BlockedContacts) Add a Blocked bar for blocked user profile
Use new UI StatusBanner with Danger variant.
Modify StatusQ external to new master commit.
2022-01-17 12:37:48 +01:00
Noelia 6d2d36650c fix(@desktop/chat): Group members list must show only 5
Enable ListView clip and modified ColumnLayout heigh to bound its painting to the needed content.
Adjust ListView spacing to allow the visualization of 5 members.

Closes #4386
2022-01-14 20:16:33 +01:00
Pascal Precht 18518607c7 fix: fix access to root store property for user online status
There seems to have been a confusion in how the store is named.
2021-12-15 11:01:29 +01:00
Pascal Precht b92ac455c9 fix: ensure last active community is reset when leaving community
There's a bug where the last active community will be set in local settings
and not removed when a user leaves a community.

This causes the app to start on an invalid screen/state as it still tries to
render the community view for a community that the user has just left.

This commit ensure we're resetting the last active community in the local settings
when a users leaves the community.

Fixes: #4094
2021-12-07 09:55:16 +01:00
Richard Ramos cae7184d3f fix: RPC method invocation as soon as Import Community popup was opened 2021-12-06 13:18:08 -05:00
Alexandra Betouni 5e88a9a91b refactor(desktop): Removed all timeline related code
Removed all timeline associated code from base_bc.
This feature is deprecated and shall be removed

Closes #4064
2021-12-03 19:55:45 +02:00
Anthony Laibe 0b1538c805 fix(@desktop/communities): Close popup when edit is successful
fixes #4126

When saving the communities all the popup are closed
2021-12-03 09:36:23 +01:00
Pascal Precht 868c675f6e refactor(@desktop/chat): use StatusQ components for chat user list
This replaces the self-built components for the user list with StatusQ's
list item component and also addresses some of the quirks that existed in the UI
related to that original component.

The user list is now responsive and properly aligned.

**This depends on StatusQ v0.18.0**
2021-12-02 11:27:43 +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
Khushboo Mehta 0fbdbdbd15 fix(@desktop/Chat): Group chat popup member list doesn't have proper visuals
fixes #4176
2021-12-01 16:11:34 +01:00
Jonathan Rainville 33c3f2278b fix(notifs): fix linux notifications not appearing 2021-12-01 09:34:46 -05: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
Richard Ramos a9a5469f72 fix
- missing account color and balance
- revoking permission on account change
- UI errors on message signing modal
2021-11-19 10:19:11 -04:00
Richard Ramos c06c9dbc6d fix: missing expired/timeout attributes in Resend button 2021-11-19 09:37:59 -04:00
Pascal Precht 23b72a9e8d feat(ActivityCenter): allow users to mark notifications as unread
As raised in #3665, users aren't able to mark activity center notifications as unread.
The APIs for that didn't exist yet so they have been added in:

- status-go (https://github.com/status-im/status-go/pull/2383)
- status-lib (https://github.com/status-im/status-lib/pull/53)

respectively.

Closes #3665
2021-11-18 11:04:49 +01:00
B.Melnik defefa1bfe fix: Fix missing setup url for new opeed tab
Closes: #4107
2021-11-17 15:40:50 +01:00
Richard Ramos 44e91df428 feat: add toggle for switching status-go DEBUG log level 2021-11-16 09:42:28 -04:00
Pascal Precht ecbdc6fda0 fix(TransferOwnershipPopup): ensure community key is exported properly
There was a bug in our store where an API wouldn't return a value.
This commit fixes this and also replaces the legacy `Input` component
with StatusInput

Fixes: #4082
2021-11-15 12:32:56 +01:00
Khushboo Mehta 26b577824a fix(@desktop/communities): Fix for can't import community
fixes #4073
2021-11-10 14:37:27 -05:00
Khushboo Mehta edb103ee01 fix(@desktop/chat): Modal on the Pinned Messages Popup isnt seen
fixes #4002
2021-11-10 13:39:59 -05:00
Jonathan Rainville 499d99a185 fix(settings): fix whitelist setting that starts null 2021-11-05 15:38:36 -04:00
Alexandra Betouni 36f1ea8832 fix: make user profile images work again 2021-11-05 15:00:50 -04:00
Alexandra Betouni 1e8f51fff6 refactor(desktop/chat) fixed sticker disappears when replying
Closes #4023
2021-11-05 14:49:14 -04:00
Jonathan Rainville 894e57fbdb fix: context menu losing data and group info being empty sometimes 2021-11-05 14:42:44 -04:00
Alexandra Betouni de867f9218 fix(desktop/chat) image was not displayed in message
Closes #3976
2021-11-05 11:55:58 -04:00
Jonathan Rainville ffac03aa26 fix: fix undefined error while deleting community channel 2021-11-05 11:02:45 -04:00
B.Melnik a4ea767ab6 fix(GroupInfoPopup): check if channel exists
This happens because sometimes channel property in GroupInfoPopup is null.
This commit avoid crashes.

Closes: #3993
2021-11-05 11:02:45 -04:00
Jonathan Rainville 816f737d55 fix: fix edit community channel missing store
Fixes #4000
2021-11-05 11:02:45 -04:00
Jonathan Rainville a5954d3bf3 fix: fix community edit, popup opens and banners
Fixes #3960
2021-11-05 11:02:45 -04:00
Khushboo Mehta b7bc528552 fix(@desktop/communities): Can't copy to clipboard the link to community
Also fixed some minor bugs in the community popups.

fixes #3959
2021-11-05 11:02:45 -04:00
Pascal Precht fdc8fea88e fix(ChooseBrowserPopup): ensure popup is always centered
Fixes #3979
2021-11-05 11:02:45 -04:00
Pascal Precht b6d41b67d8 fix(@desktop/appearance): ensure placeholder message doesn't render context menu
Fixes #3983
2021-11-05 11:02:45 -04:00
Alexandra Betouni aa5d6e0ce3 Fix setting user as offline doesn’t show user offline in the client 2021-11-05 11:02:45 -04:00
Pascal Precht 2536610938 fix(GroupInfoPopup): properly update groupchat popup title when name was changed 2021-11-05 11:02:45 -04:00
Sale Djenic cdecd82e3f rebase issue fixed 2021-11-05 11:02:45 -04:00
Sale Djenic 05cf431339 fixed issues after rebase 2021-11-05 11:02:45 -04:00
Jonathan Rainville 1d0b20b156 refactor: refactor contacts sub-section to the new architecture 2021-11-05 11:02:45 -04:00
Sale Djenic 3f6bb66536 refactor(@desktop/general): `globalSettings` moved to Nim 2021-11-05 11:02:45 -04:00
Sale Djenic f0b2ed6cca refactor(@desktop/general): `appSettings` moved to Nim 2021-11-05 11:02:45 -04:00
Sale Djenic 4f3ca4eb78 login process refactored 2021-11-05 11:02:45 -04:00
Sale Djenic 9f4eeffdea A base structure for new architecture added
Initial structure for MainModule containing ChatSectionModule and
CommunitySectionModule is added, as well as initial structure for
StartupModule containing OnboardingModule and LoginModule.

Order of execution is updated and adapted to the current app state.
Main module gets loaded once a user is successfully logged in.
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
Pascal Precht ac365ce139 fix(GroupChatPopup): supply popup with missing store 2021-10-27 11:50:35 -04:00
Pascal Precht 5fd317a6e1 fix(GroupChatPopup): fix ui elements
This corrects the call to action button in the modal footer
as well as the "no friends" rectangle, which was wrongly rendered.
2021-10-27 11:50:26 -04:00
Pascal Precht 8617c70742 refactor: remove AccountSelector and replace with StatusAccountSelector 2021-10-27 11:48:43 -04:00
Pascal Precht 72b46c3b94 refactor: remove/replace StatusContextMenuButton with StatusQ components 2021-10-27 09:52:40 -04:00
Alexandra Betouni 056f84c301 refactor(desktop/chat) Cleaning up popups 2021-10-26 16:22:49 -04:00
Alexandra Betouni 23811dc7e4 refactor(desktop/chat) Cleaning up views 2021-10-26 16:20:31 -04:00
Alexandra Betouni 22429689e3 refactor(desktop/chat) Cleaning up panels 2021-10-26 16:16:37 -04:00
Khushboo Mehta be7a56cc27 refactor: replace all the StatusImageIdenticon with StatusQ's StatusSmartIdenticon
closes  #3848
2021-10-26 19:23:33 +02:00
Khushboo Mehta 7114240e72 refactor: Replace and remove StatusRoundButton under ui/shared/status
closes #3898
2021-10-26 18:58:16 +02:00
Pascal Precht 2db77fa31c refactor: replace StatusIcon and StatusLoadingIndicator with StatusQ components 2021-10-26 10:47:47 -04:00
Pascal Precht cbbbedcc79 cleanup: remove legacy `StatusCheckbox` 2021-10-26 10:47:16 -04:00
Pascal Precht f3f5826c51 refactor(ui/shared): replace legacy StatusButton with StatusQ button 2021-10-26 16:07:56 +02:00
Khushboo Mehta 173943f1be refactor: replace StatusIdenticon with StatusSmartIdenticon
closes #3882
2021-10-26 09:30:18 -04:00
Khushboo Mehta ef4934cee4 refactor: Replace usage of StatusRadioButton under ui/shared to its corresponding StatusQ component
closes #3897
2021-10-26 14:37:15 +02:00
Pascal Precht 7037df9da0 fix(ChatContextMenu): ensure popup types exist
Fixes #3906
2021-10-26 14:35:38 +02:00
Khushboo Mehta 14b49b800a refactor: remove StatusIconButton from ui/shared/status
fixes #3832
2021-10-26 08:27:11 -04:00
Khushboo Mehta b59e4c0b93 refactor: remove StatusToolTip.qml from ui/shared/status
Updated path to use StatusQ StatusToolTip.

closes #3819
2021-10-26 13:37:09 +02:00
Pascal Precht 59109e1318 fix: make `getLinkStyle` work again
Probably slipped through in the refactor: `getLinkStyle` was defined
in to places, was probably meant to live only in `Utils`.

In addition, it expected a `wrapper` expression which wasn't defined.
This commit fixes it by removing the second declaration of that function
and passing a third parameter to the one defined in `Utils`.
2021-10-25 11:25:38 +02:00
Pascal Precht 193b42ed54 fix(ActivityChannelBadgePanel): ensure loading badge components works
QML is complaining that it can't assign the types to `sourceComponent`,
so this commit wraps them in `Component` types to mitigate that.
2021-10-25 11:25:27 +02:00
Pascal Precht a95348b289 fix(ActivityCenterMessageComponentView): ensure popups and model expressions are working
Those most likely broke as part of the refactor.
2021-10-25 11:25:11 +02:00
Pascal Precht 419c4e8cbd fix(ChatRequestMessage): add missing Theme import 2021-10-21 09:22:35 -04:00
Pascal Precht 7f1b62fe32 refactor(ActivityCenterTopBar): make use of StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 845640bd13 refactor(ActivityCenter): use StatusButton from StatusQ 2021-10-21 09:22:35 -04:00
Pascal Precht cf1fc38304 refactor(ChatRequestMessage): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 04523a0e85 refactor(SignTransactionModal): make use of StatusModal and other StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 85065b8d33 refactor(ChatCommandModal): use StatusModal instead of ModalPopup 2021-10-21 09:22:35 -04:00
Pascal Precht 0739f78388 refactor(InvitationBubble): make use of StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 2d89a815f4 refactor(SelectAccountModal): use StatusQ components to build modal 2021-10-21 09:22:35 -04:00
Pascal Precht 1de75c514e refactor(LinksMessage): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht 37861bf853 refactor(AccessExistingCommunityPopup): use StatusQ components to create components 2021-10-21 09:22:35 -04:00
Pascal Precht d2232cd5c2 refactor(BackupCommunityBanner): use StatusQ components in banner 2021-10-21 09:22:35 -04:00
Pascal Precht 572c039a7d cleanup: remove unused shared import in community components 2021-10-21 09:22:35 -04:00
Pascal Precht 414a933263 refactor(CommunityWelcomeBanner): use StatusQ StatusButton and others 2021-10-21 09:22:35 -04:00
Pascal Precht f86a55f0b1 refactor(EmptyView): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht b3883f9b47 refactor(NicknamePopup): use StatusModal and StatusButton from StatusQ 2021-10-21 09:22:35 -04:00
Pascal Precht 20ac29c6c4 refactor(PinnedMessagePopup): use StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht f244de248c refactor(ContactRequestPopup): use StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht ffe072a90d refactor(PublicChatPopup): make use of StatusQ StatusButton 2021-10-21 09:22:35 -04:00
Pascal Precht a87568e7c2 refactor(RenameGroupPopup): use StatusQ components 2021-10-21 09:22:35 -04:00
Pascal Precht ce792a1300 refactor(ChooseBrowserPopup): use StatusQ components 2021-10-21 09:22:35 -04:00
Alexandra Betouni 9cc361c40a refactor(desktop/chat) Moving chat to new architecture
Closes #3710
2021-10-20 15:29:38 -04:00
Khushboo Mehta d8c388c9b8 refactor: Remove StatusLetterIdenticon from ui/shared/status and use existing one from StatusQ
closes #3845
2021-10-18 17:05:38 -04:00
Pascal Precht 94cea6d741 refactor: move `TransactionPreview` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 87ea584b62 refactor: move `Timer` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht e6df5c8b12 refactor: move `StyledTextEdit` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht a13c9d6675 refactor: move `StyledTextArea` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 61ccf9c757 refactor: move `StyledText` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht ed73651db8 refactor: move `SplitViewHandle` and `StatusTabButton` to ui/shared/panels|controls respectively 2021-10-14 12:51:27 -04:00
Pascal Precht 638e91717e refactor: move `Separator` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 4bb4708528 refactor: move `SearchBox` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht 322a071aa3 refactor: move `SVGImage` to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 4003f30d68 refactor: move `RoundedImage to ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 37e71ca431 refactor: move `RecipientSelector` to ui/shared/controls 2021-10-14 12:51:27 -04:00
Pascal Precht fa3adb30e4 refactor: move `PopupMenu` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht e14616ee57 refactor: move `NoFriendsRectangle` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht cbfe90947e refactor: move `ModalPopup` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 25421facbf refactor: move `InviteFriendsPopup` 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 5d05b415ba refactor: move view and panels components into controls if they belong there 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 9fbf1587e1 refactor: move `BlockContactConfirmationDialog` to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht 37d9cc1da2 refactor: move `AssetAndAmountInput` to ui/shared/views 2021-10-14 12:51:27 -04:00
Pascal Precht 2d47223e1c refactor: move `AccountSelector` into ui/shared/panels 2021-10-14 12:51:27 -04:00
Pascal Precht 4e8f2303e6 refactor(@desktop/profile): introduce new QML and store structure in profile section
Closes #3712
2021-10-14 09:29:05 -04:00
Khushboo Mehta 80de3f75eb fix(@desktop/wallet): move QML Wallet section to new architecture
fixes #3714
2021-10-13 13:53:01 -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 71ab9cebcf fix(ChatLayout): ensure channel name is vertically centered
This was originally reported in https://github.com/status-im/StatusQ/issues/427, however it turns out
that the underlying component already handles this case correctly.

The reason the channel name is not vertically centered inside Status Desktop,
is because the returned value of `XSS.filterXss()` for the `subTitle` is never an empty string.

Trimming the return value fixes this.
2021-10-05 16:32:07 -04:00
Khushboo Mehta 8ff967578d feat(@desktop/chat): Added support for copy or click on link from channel descriptions
fixes #3517
2021-09-29 15:29:29 -04: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
B.Melnik 4b73d68490 fix(ui): Resolve conflict between click on text message and click on message
Closes: #3593
2021-09-28 15:37:06 -04:00
¨Anthony e0c5e9b9b0 fix(@desktop/wallet): gas error position 2021-09-28 15:36:11 -04:00
Eric Mastro 1ee3bba598 fix(ui): new chat menu popup hide on second click
Partially fixes #3558.
2021-09-28 15:35:47 -04:00
Michael Bradley, Jr b94b932572 refactor(@desktop/profile): don't display footer or chat settings in profile popup for own profile
Closes #3462.
2021-09-28 15:35:28 -04:00
Alexandra Betouni 7ac4eba9e2 fix(desktop/chat) fixed position view at index
Position view at chosen message when coming
from either search or notifications was not
working properly, especially when coming from
another channel (eg from desktop to test).
Added timer to delay positioning action until
the messages model is almost fully loaded so
that the view knows all indexes

Depends on #3562
Closes #3592, #3683
2021-09-28 15:32:25 -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
Andrei Smirnov b3d551eeb2 fix(@desktop/mentions): editing mentions 2021-09-28 14:20:19 -04:00
Alexandra Betouni 16d6196aea feat(desktop/searchMessage) Updating highlight animation
Added animation to highlight selected message
from search popup. Currenly when a message is clicked
from the search results, the user is navigated to
that message but it's not clear where is the
message in the screen

Closes #3562
2021-09-24 16:15:42 -04:00
Anthony Laibe 50ad0f768e fix(@desktop/chat): Open popup on click
fixes #3670
2021-09-23 13:37:01 -04:00
Khushboo Mehta 3e8313d176 fix(@desktop/chat): Fix small UI issues
1. Removed back button from pinned popup
2. Added border to user identifier in members list

fixes #3552
2021-09-23 13:21:43 -04:00
Sale Djenic f54f3a61bf fix(@desktop/chat): removing contact results in the same contact's contact request showing up again
Fixes: #3418
2021-09-22 15:27:52 -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
Khushboo Mehta bd9ae45ae0 fix(@desktop/chat): Create separate chatInput for each conversation
Moved the statusChatInput to the repeater in stackview so that each conversation has its own separate textInput area which maintains its own state

fixes #1351
2021-09-21 14:23:11 -04:00
Alexandra Betouni 2b408fe6cd fix(desktop/chatInput) mentions were misused
formattedPlainTextFilter was not reset when suggestion
box was closed causing the insertMention function to be
called again even thought there was no mention in the
chat input

Closes #3535
2021-09-21 14:22:24 -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
Khushboo Mehta 75f00e5de0 fix(@desktop/chat): Last message in chat is hidden under the chat box
Reduced the gap between list view and ChatBox as per design.
Added logic to scroll to the end of list on the component.onCompleted

fixes #3514
2021-09-21 14:01:06 -04:00
Eric Mastro 361c902f37 fix(chat): Re-position “retry” link
Fixes #3606.

The “retry” link for failed messages was not aligned correctly in the light theme. This was due to setting the `verticalCenter` as well as `anchors.top` in some situations. `verticalCenter` has been removed in favour of setting the top and bottom anchors.
2021-09-21 10:11:39 -04:00
Eric Mastro 233d1f4da4 fix: block/unblock contacts not persisting
Fixes: #3473.

Sometimes when blocking users and changes channels, blocked user messages would still appear.

This PR fixes the issue by toggling a `hide` property on  messages from a contact when that contact is blocked or unblocked. Previously, the messages were only removed from the view when the contact was blocked, but when the view was reloaded, that state was not tracked correctly.
2021-09-21 09:53:15 -04:00
Sale Djenic 0c73febf2c fix(@desktop/chat): channel links sends to main public channel instead of a channel in that community
In case clicked channel:
- exists in a community -> the app will switch you to it
- doesn't exist in a community, but exists in the public chat list -> the app
  will switch to `Chat` section and also to the appropriate channel there
- doesn't exist in a community and doesn't exist in the public chat list -> the app
  will switch to `Chat` section and join new channel

Fixes: #3489
2021-09-20 17:34:38 -04:00
Sale Djenic b5e8132859 fix(@desktop/chat): blocked user messages disappear after the user is blocked
Fixes: #3418
2021-09-20 17:17:43 -04:00
Anthony Laibe 0135a74993 fix(@desktop/chat): Fix color of my profile button
fixes #3515
2021-09-20 10:39:50 -04:00
Pascal Precht 8d283bf07f fix(ContactsColumn): call `itemAt` on statusChatListItems.model instead of delegate
When StatusQ switched to using `DelegateModel` in `StatusChatList` to enable drag and drop,
we lost the API `itemAt` which was previously exposed via the `Repeater` that was aliased as
`chatListItems`.

StatusQ now exposes `statusChatListItems` additionally so we can still access `model.itemAt`
which is used in this commit.

The only reason this is done here though, is because we need to update the profile picture of
contacts when we get a contact changed signal. Ideally, we handle contact changes including the
profile picture entirely in the backend and have it then just rerender the screen (instead of
using a `Connection`).

Fixes #3328
2021-09-20 10:36:26 -04:00
Michael Bradley, Jr 2e9c5047bb fix: in profile popup display Username instead of ENS Username if ENS is not verified
Closes #3496.
2021-09-20 08:57:50 -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
Khushboo Mehta 2448b710b4 fix(@desktop/chat): Fix for Leave chat is shown instead of Delete confirmation when deleting community channel
fixes #3365
2021-09-17 10:16:57 -04:00
Anthony Laibe 5ce06a94cc feat(@desktop/chat): download messages
fixes #3508
2021-09-16 16:37:58 -04:00
Alexandra Betouni 470144db6a feat(desktop/members) Improvements in members list
* The userlist toggle made persistent between restarts
* Members is enabled by default for communities
* Public channels changed title to "last seen"
  instead of "Members"

Closes #3502
2021-09-16 09:46:40 -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
B.Melnik 92ec298c3d fix(ActivityCenter): Fix reopen popup on bell button click
Closes: #3331
2021-09-10 14:28:04 -04:00
Richard Ramos 285f54dab6 EIP1559 2021-09-10 13:42:19 -04:00
Pascal Precht 84a9b873f7 fix(@desktop/chat): force focus on search input when popup is opened
Closes #3392
2021-09-08 16:24:51 -04:00
Andrei Smirnov aed0be9054 feat(@desktop/chat): editing message in markdown mode 2021-09-07 14:56:48 -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
RichΛrd 4295c92deb
fix: invalid variable name in ProfilePopup 2021-09-07 10:30:33 -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 6e9f14c6ac fix(ProfilePopup): ensure modal is working again
Due to a breaking change in StatusQ, this modal caused a reference error.
This commit fixes it.

Fixes #3400
2021-09-07 10:21:22 -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
Sale Djenic 5a448abfd5 fix(@desktop/chat): after reaching the top of chat history, unable to scroll down again
InvitationBubble binding loop on height fixed.
Scroll down if you reach the top of the chat is not blocked any more.

Fixes: #3320
2021-09-06 17:00:17 -04:00
Anthony Laibe 6f2dab2e29 feat(@desktop/chat): Hide chat text when the link is only an image
fixes #3366
2021-09-06 16:57:53 -04:00
Sale Djenic a591e91a2e fix(@desktop/general): clicking push notification does expand the app but does not open correct channel/chat
Logic for adding os notifications for Windows and  MacOs added.

Fixes: #2996
2021-09-06 16:39:37 -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
Sale Djenic 4916b8f552 fix(@desktop/chat): no identicon/profile picture shown and wrong timestamp format in search results
Icons added for messages senders in the search result, also community and chat
icons are colorized now.

Fixes: #3259
2021-08-31 14:23:59 -04:00
Khushboo Mehta f4baf7c738 fix(@desktop/chat): Emoji reaction Menu is incorrect
Added logic to set parent ,x and y positions from the place where the menu is opened

fixes #2385
2021-08-31 13:45:32 -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
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
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
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
B.Melnik a362efecf4 feat(Communities): implement drag and drop to reorder category channels
Closes: #2776
2021-08-26 10:53:57 +02: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
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
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
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
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 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 f82a23e361 fix(desktop/chatmessages) fixed stickers can't be used as reply
Closes #2404
2021-08-17 11:41:06 -04:00
Andrei Smirnov 87b3f4f2c0 fix(@desktop/pinned): proper popup menu for pinned messages dialog 2021-08-16 14:54:36 -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
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
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
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
Richard Ramos 1d4beeb041 fix: change values to consider user inactive or offline 2021-08-06 14:17:22 -04:00