Commit Graph

368 Commits

Author SHA1 Message Date
Lukáš Tinkl 54c73b0be7 chore: cleanup, fix warning, remove dead code 2022-09-26 22:38:02 +02:00
PavelS 6a96bc93b3 fix(@desktop/chat): handle same name mentions
Fixes #7220
2022-09-22 15:01:55 +03:00
Lukáš Tinkl d7710ce135 fix(ChatMessagesView): unbreak closing reply bubble
there was a binding loop warning; but this one also fixes overlapping
messages

Fixes: #7481
2022-09-22 08:37:29 +02:00
Alexandra Betouni 311cf5332c fix(Createchat/EditGroupChat view): fixed spacing all over
Closes #7369
2022-09-21 17:39:51 +03:00
Michal Iskierko 680dd39c76 fix(@desktop/community): Only admin can open community settings
Fix #7379
2022-09-21 14:25:09 +02:00
Lukáš Tinkl c7c77b52eb fix(ChatHeaderContentView): don't display "Contact" subtitle
for 1-to1 chats

Fixes: #7419
2022-09-20 18:02:34 +02:00
Michał Cieślak 648c943c53 feat(@desktop/communities) Permissions - 'is allowed to' dropdown 2022-09-19 22:00:03 +02:00
Michał Cieślak 34625ad1c4 feat(@desktop/communities) Permissions, 'who holds' section - handling localiezed amounts
Closes #7162
2022-09-19 21:46:44 +02:00
Lukáš Tinkl 9addf1221b fix(PinnedMessagesPopup): “Jump to” button doesn’t work pinned messages popup
This was never implemented, eventhough a similar approach is used with
the global AppSearch. Expose the method `scrollToMessage(messageId)` so
that it can be called from QML directly.

Fixes #7375
2022-09-19 16:34:07 +02:00
Michal Iskierko 62c2b56fc8 fix(@desktop/chat): Improving displaying user names in chat
1. Rename contactDetails.displayName -> defaultDisplayName
2. Add contactDetails.optionalName (filled in contact service)
3. Set in message_model defaultDisplayName and optionalName values
4. Adjust UI

Issue #7241
2022-09-19 11:24:35 +02:00
Lukáš Tinkl a862c0672b fix: community banners UI fixes
- fix spacing/padding/margins
- remove MouseAreas, they block hovering the buttons (not needed any
longer thanks to our new QQC2 buttons)
- some minor cleanups

Fixes #7366
2022-09-16 11:49:42 +02:00
Lukáš Tinkl bd8a384d26 fix(CommunityColumnView): Mute button in the chat list is not working
Fixes #7370
2022-09-15 17:02:26 +02:00
MishkaRogachev 25c5be2f78 feat(ActivityCenter): Refactor AC from chat and place in mainui
Close #7338
2022-09-15 12:21:06 +03:00
Lukáš Tinkl 2dca7904b8 fix(PinnedMessagesPopup): pinned messages modal design issues
- align the dialog to design
- fix radio button logic (it was possible to uncheck a mutually exclusive
checked button eventhough it's inside the button group, leaving the Unpin
button in an undefined state)
- port to StatusDialog and layouts, dropping a lot of needless code
- remove dead code for passing around the `property Component
pinnedMessagesListPopupComponent`; the popup is being invoked via
`Global.openPopup()`

Fixes #7316
Fixes #7315
2022-09-15 10:55:56 +02:00
Lukáš Tinkl 0794736c36 fix(ChatHeaderContentView): port to StatusChatInfoButton changes
- `sensor` no longer exists
- no need to constrain the button width, it's used in a toolbar Loader
that fills the width

Closes: #7313
2022-09-14 13:29:23 +02:00
Lukáš Tinkl 010877e9b3 fix(CommunityColumnView): fix tooltip orientation and plural 2022-09-14 13:29:23 +02:00
Lukáš Tinkl c800cbec44 fix(ChatView): unbreak setting community emoji
need to pass around the `emojiPopup`
2022-09-14 13:29:23 +02:00
Michal Iskierko 55cb3cbf33 test(group chat): Testing changing group chat's name, color and image.
Fixes #7065
2022-09-14 12:49:43 +02:00
MishkaRogachev ae4519a6be feat:(@desktop/activity-center): AC notification categories according new designs
Close #7161
2022-09-13 17:58:31 +04:00
Patryk Osmaczko 52a34b21d0 fix(@desktop/chat): ensure proper limit when creating chat 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 7fad1ed5db fix(@chat/members): display alias if displayName is empty 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 655af35958 chore(@desktop/chat): remove legacy GroupInfoPopup 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 6760870dc9 fix(@desktop/chat): rework members selector
fixes: #5941
fixes: #7234
fixes: #7235
fixes: #7236
fixes: #7237
fixes: #7238
fixes: #7239
fixes: #7240
2022-09-13 12:33:34 +02:00
Patryk Osmaczko 2d5c69bc6c feat(@desktop/group-chat): adjust members permissions
closes: #7154
closes: #7155
2022-09-13 12:33:34 +02:00
Lukáš Tinkl 5e0d5a9f8c fix(pinning): fix warnings 2022-09-13 09:05:15 +02:00
Michal Iskierko 235e5e86ac fix(@desktop/chat): Fix showing groupchat image in a few places
Fix #7242
2022-09-12 10:45:27 +02:00
Igor Sirotin b2485603de fix(AppMain): Made all banners global and stacked 2022-09-08 20:47:54 +08:00
Michał Cieślak 0be30b5e54 feat(@desktop/communities) Permissions - holdings edit and remove
Closes #6339
2022-09-08 11:11:28 +02:00
Alexandra Betouni e1c548696f feat(Desktop)!: Updating desktop app due to IconSettings refactor
As part of https://github.com/status-im/StatusQ/issues/781
2022-09-02 18:41:21 +03:00
Alexandra Betouni b6ff7b9ded feat(desktop): Made activity button be visible everywhere
Closes #6635
2022-09-02 10:29:23 +03:00
Michal Iskierko d6a061a517 feat(@desktop/chat): Add setting image in group chat
Image and cropping information are sent to status-go.

Issue #6466
2022-09-01 12:25:53 +02:00
Jonathan Rainville 7544bd6fb5
fix: change gateway and remove old code to decode the hash
Fixes:
- https://github.com/status-im/status-desktop/issues/6964
Depends on:
- https://github.com/status-im/status-go/pull/2795
- https://github.com/status-im/status-jenkins-lib/pull/44

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 19:47:02 +02:00
Noelia 3d6e40fd79 feat(CommunityPermission): Added `How holds` collectibles dropdown
- Added collectibles tab component.
- Added extended dropdown base content component
- Added filter popup option.
- Added collectibles model
- Added subitems in model
- Added thumbnails mode view
- Created `CommunitiesStore` and moved mock data to there.
- Added forward subitems navigation and selection.
- Updated `statusq`.

Closes #6337
2022-08-26 18:06:58 +02:00
Patryk Osmaczko 037937a04f fix(@chat/groups): resolve undefined chatContentModule
fixes: #7146
2022-08-26 08:40:47 +02:00
Boris Melnik 7b77973b86 test(chat): Can clean chat history
Closes: #6876
2022-08-25 15:17:52 +03:00
Boris Melnik 4f2db08a75 fix(StatusListItem): fix `sensor.onClicked` to `onClicked`
Closes: #7135
2022-08-25 11:55:55 +03:00
Patryk Osmaczko 6339bd5782 feat(@desktop/chat): sort chat by lastMessageTimestamp
closes: #6634
2022-08-24 17:12:47 +02:00
Boris Melnik 41694a6e09 fix(ContactRequests): Fix `sensor.onClicked` to `onClicked` 2022-08-23 09:58:52 +02:00
PavelS 35d4a7c44d fix(@desktop/chat): adjust start chat page
Fixes #6942
2022-08-22 16:00:23 +03:00
Michal Iskierko 346af7c245 feat(@desktop/chat): Add requests sections to members tab of the community management
Add tabs: "Pending requests", "Rejected"
Add getting declined requests from status-go

Issue #6279
2022-08-22 13:54:36 +02:00
Igor Sirotin 42a1cf995c fix(ChatMessagesView): Usage of `StatusMessage` WIP 2022-08-20 03:02:41 +03:00
MishkaRogachev 48b7f1c277 test(community): add a test that deletes a community category
Close #6750
2022-08-18 15:33:37 +04:00
Noelia 7b54bf31b4 feat(CommunitySettings / Permissions): Added `welcome` page and `How holds` tokens dropdown
- Added functionality as experimental advanced view button

feat(CommunitySettings / Permissions): Added welcome page
- Enabled new permissions tab.
- Created welcome page layout.
- Added permissions welcome image.
- Fixed top margin content in `SettingsPanelLayout` to fit designs.

Closes #6036

feat(CommunitySettings/Permissions): Created `new permission` page

- Added `new permission` page.
- Created first card layout.
- Added navigation between `welcome` and `newPermission` views.
- Improvements in base community settings layout pages.

Closes #6037

feat(CommunitySettings/Permissions): `Who holds` tokens dropdown component creation and integration

- Tokens dropdown component creation: main view, operators view and extended view.
- Logic to add new token and change operator.

Part of #6038
2022-08-16 13:42:11 +02:00
Stefan 5fb4c7f110 test(community): delete community channel
Also adds  verify_equal helper function

Fixes #6751
2022-08-16 11:51:20 +02:00
Boris Melnik fbc10e7665 fix(CreateChatView): Move `ActivityCenterPopup` to appmain
Closes: #6345
2022-08-15 14:10:27 +03:00
MishkaRogachev e67d649c46 feat(desktop): New invite to community popup with message 2022-08-12 11:54:51 +04:00
Jonathan Rainville 44cf440a05 test(community): add a test that edits a community
Fixes #6756
2022-08-10 16:24:26 -04:00
PavelS 1ab101c8b9 fix(@desktop/comminities) adjust Community members tab
Fixes #6786
2022-08-09 18:39:04 +03:00
Michal Iskierko 8b09eec506 feat(@desktop/chat): Handle group chat colors changes
Use new status-go function to update group chat details.
Changes in RenameGroupPopup to handle choosing colors and images.
Changes in EditCroppedImagePanel to handle background component.

Issue #5982
2022-08-08 11:10:54 +02:00
Jonathan Rainville 430c5eb0b7 Revert "fix(CreateChatView): Move `ActivityCenterPopup` to appmain"
This reverts commit f1651ce4aa.
2022-08-05 13:46:32 -04:00
Boris Melnik f1651ce4aa fix(CreateChatView): Move `ActivityCenterPopup` to appmain
Closes: #6345
2022-08-05 18:38:28 +03:00
MishkaRogachev 3afa49a873 fix(@dektop/chat): Fix messages timestump update
Close #6543
2022-08-05 17:15:38 +03:00
PavelS 0e7e541a62 fix(@desktop/community) add delete button to edit channel popup
- update labels in edit channel popup

Fixes #6732
2022-08-05 15:10:59 +03:00
Alexandra Betouni d1577e4b75 fix(CreateChatView): activity center button issues
Also fixed create chat view width to follow its parent

Closes #6700
2022-08-04 11:49:52 +03:00
Michal Iskierko 92c1e9ce18 feat(@desktop/chat): Add sections to members tab of the community management
Add tabs: "All members" and "Banned"
Add unban functionality

Issue #5979
2022-08-03 09:48:09 +02:00
Khushboo Mehta 76d7ca089c feat(@desktop/wallet): Send modal should work as a wizard and use StatusDialog instead of StatusModal
fixes #6587
2022-08-03 09:42:06 +02:00
Jonathan Rainville b43d773a57 test(chat): add test to mark as read
Fixes #6671
2022-08-02 10:34:02 -04:00
Michał Cieślak a2fd11a339 fix(community): Send community invitation fixed 2022-08-01 16:11:28 +02:00
Noelia 7b4802db83 test(CreateGroupChat): Create Group Chat
- Created new test case with basic create group chat scenario.
- Added specific data folder for `tst_groupChat`.
- Removed deprecated data folder.
- Added dynamic login (depending on the account).
- Added global account information in `suite_status/data` folder.
- Added new group chat validations, title, history texts, members added and send chat message.
- Replaced some ids by objectNames.
- Some improvements in `names.py`.
- Onboarding objects refactor.

Fixes #6444
2022-07-28 14:21:32 +02:00
Jonathan Rainville 3f10da868a test(community): add test for the right click menu to create channel
Fixes #6609
2022-07-27 10:40:56 -04:00
Jonathan Rainville e20929be4c fix(CommunityColumnView): re-add right click menu on community column
Fixes #6609

The menu was lost because it used to be set as part of the ScrollView background, but it got changed to  a Flickable as part of the fix to the scrolls being not smooth.
Anyway, background doesn't exist on Flickables, so I removed it and moved the MouseArea to the CommunityColumnView instead.
2022-07-27 10:40:56 -04:00
Jonathan Rainville 16aa4a57f8 test(community): add test that edits the community channel name
Fixes #6534
2022-07-25 13:20:10 -04:00
Jonathan Rainville 8e96e6879c test(community): add test that creates a community channel
Fixes #6533
2022-07-25 13:07:46 -04:00
Lukáš Tinkl 120f6517c9 fix(CompactMessageView): disable hovering while scrolling
Fixes #6576
2022-07-25 18:21:14 +02:00
Alexandra Betouni 84522bd7fe fix(CommunitiesPortal): fixed status input as per design
Closes #https://github.com/status-im/status-desktop/issues/6358
2022-07-25 15:07:27 +03:00
Jonathan Rainville 1dfd1539f2 test(community): add e2e test that creates a community
Fixes #6445
2022-07-22 11:19:10 -04:00
Michał Cieślak 2847849de7 fix(@desktop/chat): chat content overlapping with Start Chat dialog 2022-07-22 16:30:52 +02:00
MishkaRogachev 58e0fce819 feat(@desktop): Fix twitchy scrolling issues
Close #6187
2022-07-21 18:44:30 +03:00
MishkaRogachev 0d3aed0611 fix(@desktop): Fix scrolling twitches using ScrollView amd Flickable items
Close #5781
2022-07-21 18:44:30 +03:00
Patryk Osmaczko 13cfe18665 fix(@desktop/chat): remove invalid argument from `showReplyArea`
- call arguments didn't match with prototype

fixes: #6407
2022-07-21 15:21:29 +02:00
Alexandra Betouni 44df79d671 fix(CreateChatView): updated layout spacing and sizes
Closes #6452
2022-07-19 19:55:32 +03:00
Michał Cieślak 3e6220dc90 fix(@desktop/chat): Remove notifications section from community management 2022-07-19 00:17:49 +02:00
Michał Cieślak 478b46f6b5 fix(@desktop/chat): Align message field placeholder with design 2022-07-18 12:45:36 +02:00
Michał Cieślak 4f114ec513 fix(@desktop/onboarding): Remove EmptyViewPanel component 2022-07-18 11:00:57 +02:00
Alexandra Betouni 2bd685943f feat(chat): Removing dynamic scoping from chat section
Closes #4244
2022-07-15 17:00:36 +03:00
Alexandra Betouni 48229e94c8 fix(CreateChatView): Updated top margin based on designs
Closes #6352
2022-07-15 14:30:30 +03:00
Alexandra Betouni 8433ed9545 fix(CreateChatView): fixed no contacts text alignment
Closes #6354
2022-07-14 16:00:30 +03:00
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