Commit Graph

291 Commits

Author SHA1 Message Date
Lukáš Tinkl 61ea1d41cd fix(ContactsColumnView): fix layout issues to match design
Closes #6343 and #6344

- basically switch over to a column + row layout(s), bringing consistent
margins and paddings, scratches a lot of redundant code
- fix the icon colors
- fixed another bug when opening the create chat panel, and then clicking
on an existing channel in the list, doesn't close this create panel
- remove unused signals and connections
2022-07-12 09:39:22 +02:00
Jonathan Rainville 95407cc1e0 fix(contacts): remove isMutualContact, use isContact or isAdded indead
Fixes #6220

Fixes the issue with the mutual contact icon showing when just added.
It also does a huge cleanup of the codebase to remove isContact and replace it with either isAdded, when we care only about if we added, or isMutualContact if we want the contact to be mutual
Also fixes an issue with the MessageContextMenu not reflecting the added state correctly.
2022-07-11 09:34:29 -04:00
Boris Melnik edb014bf12 fix(Community): Add check for admin permissions for context menu
Closes: #6162
2022-07-08 13:02:41 +03:00
Lukáš Tinkl aa804ffaef fix(CreateChatView): hide the Contacts label when no contacts
- hide the TagSelector's `listLabel` and disable the `textEdit` when the
  contacts model is empty
- add forgotten `qsTr()`
- remove some no-op positioniers/anchors/width/height bindings (these are
  handled automatically for QQC2 Control's header and contentItem)
2022-07-08 09:40:02 +02:00
Jonathan Rainville f5d2d9d0ac fix(MessageView): slow chat switching because of height recalculation 2022-07-06 14:05:06 -04:00
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Boris Melnik bb2c9e02c2 feat(communities): Add muting category methods
Closes: #5975
2022-07-06 19:48:44 +03:00
Jonathan Rainville 1e7c648300 feat: contact verification request and trust status
feat: contact verification

fix: add remove identity verified btn

fix: add toast message

feat: received verification request model


feat: finish identity verification flow

Fixes #4784
2022-07-06 10:43:33 -04:00
Boris Melnik 42fca84c76 fix(chat): Fix chat screen for empty state visibility
Closes: #6199
2022-07-06 09:48:37 +03:00
MishkaRogachev 6fac00673f Hotfix: Community settings tags 2022-07-05 19:29:50 +03:00
Sale Djenic c9fe428940 fix(@desktop/chat): messages sometimes assigned to the wrong user
Fixes #6004
2022-07-05 17:10:15 +02:00
Patryk Osmaczko 1b49fd4c35 fix(@desktop/community): make backup community key field readonly
fixes: #6104
2022-07-05 17:08:36 +02:00
MishkaRogachev 5c6b5f1f47 feat(Communities): support tags in community edit page
Close #6089
2022-07-04 18:53:48 +03:00
Jonathan Rainville 9d2862a602 fix(chat): fix gifs staying active in the background when switching chat 2022-06-29 16:48:01 -04:00
Jonathan Rainville 8685ad92c9 fix(chat): fix switching back to chats is very slow
Fixes #5615
2022-06-28 16:24:49 -04:00
Noelia 70383a51bd feat(CommunitiesPortal): Enable Communities portal & update chat menu
- Removed 'Communities Portal' toggle from the advanced settings and enable it by default.
- Removed dropdown menu. The button opens directly the join public chat modal.
- In the portal, "Import community" button is now clickable and opens the import community modal.
- In the portal, "Create community" button is now clickable and opens the create community modal.
- Enabled navigation to the clicked community.

Closes #6099
2022-06-27 10:28:36 +02:00
Noelia 65e91fac44 fix(ActivityCenter): Activity center button is not active when activity center is opened
The button is now in highlighted state when it's active.

Fixes #6119
2022-06-27 07:54:13 +02:00
MishkaRogachev e30ba7e760 feat(@community): Add tags to communities
Close #5680
2022-06-24 19:44:35 +03:00
Alexandra Betouni 5ca9c9fadf fix(chat): fixed missing pendingRequestsToJoin 2022-06-24 15:23:11 +03:00
Pascal Precht 84abcff65e fix(CommunitySettingsView): add missing membership request modal
Fixes #6141
2022-06-23 15:20:45 -04:00
Anthony Laibe 2449c8840e chores(@chat): bring back download messages
fixes #6163
2022-06-22 16:12:24 -04:00
MishkaRogachev 2251f870a0 feat(@desktop/chat): New profile context menu states
Close #6113
2022-06-22 15:50:59 -04:00
Jonathan Rainville 6f14921c9b chore(community): replace plus button by adhoc btn
Fixes #5677
2022-06-22 09:01:45 -04:00
Alexandra Betouni 7acacee80e fix(CreateChatView): clicking new group chat duplicates contacts
Closes #6135
2022-06-21 11:02:26 -04:00
Sale Djenic 22d5f2d126 fix(@desktop/chat): intermittent with community invites
Fixes: #6170
2022-06-21 10:56:46 -04:00
Sale Djenic 3aba152206 fix(@desktop/general): multiple ui issues fixed
- Channel is blank on first time joining - fixes: #6131
- Contacts list is empty when trying to invite/share community - fixes: #6139
- The same name is shown for all invited contacts - fixes: #6105
- The names and avatars of contacts are empty in the Contact requests - fixes: #6084
- 'Invite friends' dialog doesn't look good in the minimized app mode - fixes: #6106
2022-06-21 16:16:55 +02:00
Alexandra Betouni af2f387961 fix(GroupChatPanel): drop down was showing empty entries
Closes #5955
2022-06-17 13:55:06 +03:00
Boris Melnik d58c6eb577 feat(notifications): Add notification icon to create chat view
Closes: #5628
2022-06-15 13:04:31 -04:00
Patryk Osmaczko 6743bee1aa fix(@desktop/chat): extract chat menu items
It removes duplication and unifies menu items across the app.

fixes: #5985
2022-06-15 12:56:32 -04:00
Boris Melnik 260f10a83e feat(CommunityOverview): Add Community Overview banners
Closes: #5978
2022-06-14 14:31:39 -04:00
Boris Melnik 7cacadd9be chore(experemantal_features): Remove activity center settings and enable by default
Closes: #5922
2022-06-14 13:03:51 -04:00
Boris Melnik d6cc1ed1ab chore(experemantal_features): Remove community settings and enable it by default
Part of: #5922
2022-06-14 13:03:51 -04:00
Patryk Osmaczko 524c91dbab fix(@desktop): post user model refactor issues 2022-06-13 10:53:58 +02:00
Anthony Laibe 00ed4f9c44 feat(@wallet): multi transaction simple view 2022-06-09 15:22:24 +02:00
Alexandra Betouni f68e53bb38 fix(CreateChatView): icon color was not correct
Closes #5875
2022-06-08 16:33:18 +03:00
Patryk Osmaczko c07a2feca7 chore(@community/settings): address PR suggestions 2022-06-04 12:00:11 +02:00
Patryk Osmaczko 51eefad5e5 feat(@community): add frontend for intro message
issue: #5746
2022-06-04 12:00:11 +02:00
Boris Melnik 49ca3e1c36 feat(Settings): Add communities settings
Closes: #4932
2022-06-02 18:58:50 +03:00
Noelia 7c92d39359 feat(GroupChat/Add-Remove-Contacts): Implement "Add / remove from group" button for group chats
Added new option add / remove contacts in dropdown and created navigation to modify the loaded component in the toolbar.

Enabled addition of new members into a group chat by the admin.

Enabled removal of members of a group chat by the admin.

Added into `ChatContentView` components related to chat toolbar:
- `StatusTagSelector` and its corresponding logic
-  Moved `StatusChatInfoButton` from toolbar to content view.

Added `esc` key event to leave the group chat add / remove panel.

Updated `StatusQ` link.

Closes #5522
2022-06-01 08:47:21 +02:00
Stefan 7c74a0942d feat(Community/Logo): use crop control for community Logo
Note that this doesn't refactor status-go to use CroppedImage
for the community logo.

fixes: 5404
2022-05-31 19:04:49 +03:00
Stefan 9f633f0fcc feat(Communities/Settings): Communities banner editing
Use the generic EditCroppedImagePanel for banner cropping

- Depends on status-go IdentityImage banner extension

fixes #5118
2022-05-31 12:26:33 +03:00
Stefan 1bb19ba1de fix(CommunityArchive): add community archive support to the new edit view 2022-05-31 12:26:33 +03:00
Sale Djenic 70e770103e feat(@desktop/profile): add ephemeral notifications
- ephemeral notifications implemented as toast messages
- old notifications added aligned with new toast messages

Fixes #5629
2022-05-26 21:27:55 +02:00
Boris Melnik 0b0fa51c89 feat(Communities): Add context menu to communities view
Closes: #5842
2022-05-26 07:01:45 -04:00
Boris Melnik 58a4d1eceb fix(ChatContentView): Fix link to reply
Closes:#5420
2022-05-25 18:21:51 -04:00
Michal Iskierko 80cead9d6d fix(@desktop/chat): Fix activity center icon badge displaying
Fix #5739
2022-05-25 17:49:52 -04:00
Boris Melnik aa1dae9e20 fix(@desktop/warnings): Fix bunc of qml/nim warnings
Closes: #5162
2022-05-25 14:27:25 -04:00
Alexandra Betouni e49144d174 fix(chatlistcolumn): fixed alignment in chats list
Closes #5211
2022-05-19 14:41:01 +03:00
Alexandra Betouni fdb1f375ab fix(CreateChatView): Members should show online status
Closes #5625
2022-05-19 13:45:08 +03:00
Michal Iskierko 2e5f1c9c4d fix(@desktop/chat): Show badge and message in activity center for reply elements
Fix #5523
2022-05-18 13:59:45 +02:00
Khushboo Mehta 83efbe6671 fix(@desktop/activityCenter): Activity Centre's Activity tool tip is slightly off
fixes #5508
2022-05-17 14:41:20 +02:00
Jonathan Rainville 5f5272a58e fix(ChatColumnView): add missing emojiPopup passing to ChatContentView
Fixes #5740
2022-05-13 15:10:55 -04:00
Jonathan Rainville c58a656a52 fix(group-chats): fix context menu and pinned messages popup 2022-05-12 14:13:13 -04:00
Patryk Osmaczko f59f0f69c5 fix(@desktop/chat): fix identicon in transaction preview
fixes: #5477
2022-05-12 14:07:41 -04:00
Alexandra Betouni f0f0b47d9c fix(Chat): Deactivate channel when create chat is opened
Closes #5627
2022-05-12 13:43:34 -04:00
Jonathan Rainville 0358b6bf80 feat(community): make on request comm a check box and remove ensOnly
Fixes #5660
2022-05-12 13:31:48 -04:00
Alexandra Betouni 8eddc40920 fix(CreateNewChat): Increased name tag limit to 20
Closes #5643
2022-05-12 13:16:40 -04:00
Jonathan Rainville 63c8e972c0 feat(CommunityColumn): add channels and categories admin banner
Fixes #5664
2022-05-12 13:11:45 -04:00
Michal Iskierko 2d72525645 fix(@desktop/chat): Use different check icon in chat activity center
Fix #5468
2022-05-10 15:15:08 -04:00
Pascal Precht c772a31114 fix(ChatContentView): make replying to messages work again
There was a bug that no handler was attached to the `onShowReply()`
signal, which is necessary to hydrate the chat input with reply data.

Fixes #5497
2022-05-10 10:54:46 +02:00
Iuri Matias ab66de2606 Update ui/app/AppLayouts/Chat/views/ChatView.qml
Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2022-05-09 17:01:21 -04:00
Alexandra Betouni 5954256616 fix(Chat): renamed members section to "Members" instead of "Last seen"
Closes #5645
2022-05-09 17:01:21 -04:00
Pascal Precht 7d099327ae feat(ChatView): add tooltips to chat action buttons
Closes #5136
2022-05-09 08:58:24 +02:00
Anthony Laibe e9e8ced591 fix(@community): fix edit community save 2022-05-06 09:41:46 +02:00
Anthony Laibe 1f2521586b fix(@chat): press esc leave create chat view
fixes #5605
2022-05-05 15:46:27 +02:00
Boris Melnik cf221eb06e fix(Chat): Add emoji popup to edit message input
Closes: #5527
2022-04-18 13:59:46 +03:00
Sale Djenic 9c9d633065 fix(@desktop/activity-center): mentions and replies in the activity centre does not display community icon
Fixes #5302
2022-04-12 20:08:33 +02:00
Jonathan Rainville 8763238369 fix(community): re-hook banning users
Fixes #5383
2022-04-11 11:55:33 -04:00
Patryk Osmaczko 58d1319946 fix(@desktop): unify user avatar fallback color
issue: #5358
2022-04-08 14:04:21 -04:00
Alexandra Betouni 45db0594d7 fix(CreateChatView): fixed bigg text goes outside text edit
Depends on: https://github.com/status-im/StatusQ/pull/633

Closes #5294
2022-04-07 16:13:28 -04:00
Sale Djenic a70d800e6d fix(@desktop/chat): the app is crashed after sending gif to a group chat
The issue was happening because adding gif to the recently used gifs model
was initiated after `gifSelected` action was fired and that action actually removed
the context within `addToRecentsGif` ought to be called and the app crashed.

That's fixed now updating the order of those two calls.

Fixes #5263
2022-04-04 13:29:14 -04:00
Patryk Osmaczko 08caca2a60 fix(@desktop): use identicon ring/letter instead of identicon
fixes: #5149
2022-04-04 17:50:48 +02:00
Patryk Osmaczko 25c6a5f5ca chore(@desktop): remove identicon related code 2022-04-04 17:50:48 +02:00
Alexandra Betouni e26befb6c2 fix(statustagselector): contacts list was not visible
Closes #5199
Closes #5258
2022-04-01 17:37:22 +03:00
Alexandra Betouni 7a89781c38 fix(create/join chat): icon buttons were highlighted always
Closes #5146
Closes #5137
2022-03-29 16:48:23 -04:00
Richard Ramos c0096453db fix: loading indicator
Fixes #5108
2022-03-29 16:46:57 -04:00
Patryk Osmaczko 2850ee75ee desktop(community-settings): add overview and members settings
this is first iteration for: #4938
2022-03-29 15:02:26 -04:00
Boris Melnik 9fc0cb1048 fix(PublicChatPopup): Add `close()` on join
Close: #5151
2022-03-28 13:52:23 -04:00
Khushboo Mehta 0903fa6ce2 feat(@desktop/wallet): Adapt to new SendModal Design
fixes #5040
2022-03-28 13:08:56 -04:00
Sale Djenic 31132e3a7e fix(@desktop/general): search input in chat view should change cursor to input cursor when hovered
Fixes #5135
2022-03-28 12:29:17 -04:00
Alexandra Betouni 14c15ebbfa fix(StatusTagSelector): move suggestions popup inside component
Closes https://github.com/status-im/StatusQ/issues/531
2022-03-24 18:06:45 -04:00
Jonathan Rainville a20686324e fix(emoji-icon): fix emoji icon position and saving on edit
Fixes #5045
2022-03-24 15:38:01 -04:00
Sale Djenic 94e1511644 fix(@desktop/chat): cannot create a group chat by hitting `Confirm`
Fixes #5094
2022-03-23 10:14:56 -04:00
Jonathan Rainville 43e58e357c feat(community): add emoji for channel header and identifier as well 2022-03-23 09:56:30 -04:00
Jonathan Rainville c2818536ad chore(GroupChatPopup): remove GroupChatPopup as it is no longer used 2022-03-22 13:19:55 -04:00
Stefan Dunca 5a4dde1d5c feat(chat): members availability and settings change
Don't show members in public chat
Show members in communities by default
Enable Gif Widget by default and remove settings entry
Enable Online users by default and remove settings entry

fixes #4906
2022-03-17 15:48:42 -04:00
Stefan Dunca ddeda6c106 fix(chat): fix wrong copy-pasta
ChatColumnView: ReferenceError: chatLoader is not defined
2022-03-17 15:48:42 -04:00
Jonathan Rainville aef8d0c4ab feat(community): enable choosing and changing community channel color
Fixes #4953
2022-03-11 16:01:22 -05:00
Richard Ramos 8183d4e317 chore: add status.prod fleet 2022-03-11 15:52:47 -05:00
Alexandra Betouni 8cab96fd24 feat(desktop/chat): Updated create new chat/group flow
As per new designs

Closes #4781
2022-03-11 14:31:51 -05:00
Sale Djenic 9821e160c1 fix(@dekstop/chat): editing a message does not update the reply
Fixes #4891
2022-03-11 14:44:44 +01:00
Sale Djenic b9cc6c7d8e fix(@dekstop/chat): clicking on a mention or reply in the activity centre notifications list, does not take the user to the correct Community chat window
Fixes #4966
2022-03-10 16:51:24 -05:00
Richard Ramos 3c7779305b feat: move stickers business logic to status-go 2022-03-09 12:16:42 -04:00
Jonathan Rainville 68a4498d11 feat(privacy): reimplement show only contact pfp using status-go setting
Fixes #4900
2022-03-08 15:50:15 -05:00
Jonathan Rainville be9d2f94e2 feat: enable emojis as channel icons
Fixes #4809
2022-03-08 15:15:25 -05:00
Jonathan Rainville e5e6914947 refactor(ChatColumnView): put ChatContentViews in Loaders
This makes the initial loading of the app faster as well as reducing the memory usage until the user clicks on a channel
2022-03-08 13:40:36 -05:00
Jonathan Rainville a99c66ca8b refactor(ChatColumnView): move duplicated code to function 2022-03-08 13:40:36 -05:00
Jonathan Rainville 35e50d186b fix(drag-zone): make drag zone only work in correct chats
Fixes #4904

Moves drag zone to the AppMain so that we can check if the current chat accepts the images
Also disables the Input Connection if the channel is not active
2022-03-03 13:01:53 -05:00
Jonathan Rainville 6fa74b7ba9 refactor: re-hook disconnected and re-connected signals and banner 2022-03-02 09:27:45 -05:00
Sale Djenic 40d10b0cbb fix(@dekstop/chat): timestamp for `Fetch messages` is wrong
Fixes #4850
2022-02-25 12:11:26 -05:00