Commit Graph

282 Commits

Author SHA1 Message Date
PavelS 36a56a8af3 fix(@desktop/chat): adjust chat name placement
Fixes #7353
2022-09-26 12:54:41 +03:00
Lukáš Tinkl 58b56d831b feat(PinnedMessagesPopup): enable Unpin context menu entry
and remove the context actions we do not actually use

Fixes: #7439
2022-09-21 10:48:20 +02:00
Michał Cieślak be5de27513 feat(MessageView): hide image url in the message when image is unfurled
The url is hidden when there is only one url in the message with no
additional text and the image is shown (unfurled).

Closes: #7321
2022-09-21 10:33:15 +02:00
Patryk Osmaczko 1d1bb2cfcf chore(@desktop/chat): fix plural `%1 members` translation 2022-09-21 08:57:18 +02:00
Patryk Osmaczko e3363e269a fix(@desktop/chat): make `join` invite transition to `pending`
User should see `pending` state after he `join`s the community, even if
that community does not require explicit admin approval. That's because
currently, each member has to be accepted by admin, either automatically
or manually. That means, if admin is gone, no one will be ever joined to
community, even if this community states it does not require request to
join.
2022-09-21 08:57:18 +02:00
Patryk Osmaczko d1b3e7af9e fix(@desktop/chat): rework invitation bubbles
InvitationBubbleView.qml:
- rework view to use layouts properly
- add missing community identicon

Backend:
- remove local community requests on community join
- propagate SIGNAL_COMMUNITY_MY_REQUEST_ADDED to UI

fixes: #7139
2022-09-21 08:57:18 +02:00
Alexandra Betouni dd08cb60c2 fix(AssetsDetailView): fixed warning 2022-09-20 14:31:17 +03: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
Khushboo Mehta 8c4ce7bc29 fix(@desktop/wallet): Send Modal doesn't fill available height and Drop Shadow missing in Send Modal Footer
Also fixed a crash found while fixing the above bugs

fixed #7133, #7134
2022-09-19 13:22:00 +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
Stefan 0f1ade6967 tests(chat): adapt gif test and add image unfurling test
The gif test was manually activating the unfurling, which is no longer
necessary. Now check that enabling gifs will enable tenor unfurling

Also add a test for image unfurling and validate the unfurling image
links components and preview settings.
2022-09-19 11:19:17 +02:00
Michal Iskierko a0c145fbfc fix(@desktop/community): Fix member icons in invite friends panel
Fix #7364
2022-09-19 10:02:36 +02:00
Stefan fea157e50e fix(chat): remove tenor.com domain from preview
Also use the preview width if available

Fixes #13955
2022-09-16 09:45:51 +02:00
Alexandra Betouni b47b3e8be6 feat(AssetDetailView): Adding price history chart
Closes #6490
2022-09-15 18:13:38 +03:00
Anthony Laibe 215f9e0fa6 fix(@wallet): asset formatting
Fix asset formating and display of network only enabled
2022-09-15 16:54:43 +02: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 f4a78a1f10 fix: port to StatusButton changes in master
and pull in changes from StatusQ master
2022-09-14 09:16:58 +02:00
Jonathan Rainville aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +02:00
Lukáš Tinkl d0b8af9e86 fix(MessageView): missing popup from when pin limit is reached
Can not use `root.messageStore.getNumberOfPinnedMessages()` directly in a
binding, as it's not a property and won't reevaluate on change

Closes #7314
2022-09-13 09:05:15 +02:00
Lukáš Tinkl 5e0d5a9f8c fix(pinning): fix warnings 2022-09-13 09:05:15 +02:00
Stefan 7af95eaada feat(wallet): add favorites for saved addresses
Depends on statug-go favourite flag extension and merging of `favourites`
with `saved_address` tables and API

Additional changes:

- Remove duplicate name instead of ESN

Closes: #6546
2022-09-12 15:58:52 +02:00
Anthony Laibe 81300b655f fix(@wallet): display currency price rather than 24h change
fixes #7268
2022-09-12 11:00:41 +02:00
Khushboo Mehta 928e1999d9 feat(@desktop/wallet): Implement Transaction details as per new design
fixes #7214
2022-09-09 21:36:58 +02:00
Patryk Osmaczko a1e7831dcb feat(@desktop/chat): add welcome message for community chats 2022-09-09 10:39:58 +02:00
Khushboo Mehta e9d3d7a0b0 bash: q: command not found
feat(@desktop/wallet): New design for Transaction History

fixes #7213
2022-09-09 00:04:25 +02:00
Michal Iskierko 2bb346a09e fix(@desktop): Use colorId to find correct color of users&members
colorId is set in the model instead of using qml function.

Fix #6366
2022-09-08 13:56:27 +02:00
Stefan d81b6ca518 fix(Chat): improve gif confirmation popup and fix preview whitelisting
Enable preview for gifs after enabling the gif functionality
Disable gif functionality if the preview was disabled

Addition fixes
- The gifs weren't checked if all images weren't enabled
- The subdomain wasn't checked for whitelisting if the main domain wasn't enabled
- Image clicking
- Dismiss asking for unfurling was not updating the state

Considerations
- Looked into having the "gif enabled" - "tenor unfurling" relation
embedded in the controller but it would require extensive refactoring
by implementing a data-model for unfurling whitelisted domains

Closes: #6829
2022-09-05 12:41:48 +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
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
Igor Sirotin 41910c9a8a fix(tests): Fixed message reply test 2022-08-30 17:03:36 +03:00
Khushboo Mehta ddb9caf4d7 feat(@desktop/wallet): Display price changes
fixes #6482
2022-08-30 10:27:35 +02:00
PavelS 3bd6fe0fdf fix(@desktop/community): add online status to invite modal
Replace Contact component with StatusMemberListItem.
Add missing Nim functions to fill models with onlineStatus.
Adjust components paddings to match design.

Fixes #6985
2022-08-30 10:16:37 +03:00
Jonathan Rainville 2bbd9f4363 fix(wallet-test): fix balance test
The test network was toggled twice. The banner was impeding with the wallet setting click. The asset list item was missing the objectName and also checking the balance was not resilient
2022-08-26 10:59:25 -04:00
Jonathan Rainville 109b9ac290 test(community): add a test that pins and unpins messages
Fixes #6894
2022-08-26 10:29:28 -04:00
Boris Melnik c7efbe6629 test(chat): Can edit a message and save
Closes: #6877
2022-08-26 11:57:59 +03:00
Khushboo Mehta 0515152bd7 feat(@desktop/wallet): Add Token Detail View
fixes #6491
2022-08-23 10:52:26 +02:00
Igor Sirotin 42a1cf995c fix(ChatMessagesView): Usage of `StatusMessage` WIP 2022-08-20 03:02:41 +03:00
Alexandra Betouni 07dbca905c fix(Chat/CompactMessageView): removed space above image in msg
Closes #6855
2022-08-18 17:44:17 +03:00
Patryk Osmaczko 88ad09f7c2 feat(settings/profile): add bio and social links to profile view
closes: #6797
2022-08-17 13:18:32 +02:00
Alexandra Betouni 504b4f5947 fix(Chat): big space between username and time
Closes #6832
2022-08-16 18:36:20 +03:00
Stefan 057c0ee1c9 test(Communities): can change the emoji of a community channel
Closes #6887
2022-08-16 14:18:16 +02:00
Noelia 1334fbb5f4 test(chat): Can do a mention in a chat
`tst_chatFlow`:
- Commented out bc of `mailserver` issues and then weak.
- Added basic test scenario for sending a mention in a public chat with needed validations.
- Added basic test scenario to check a mention cannot be done if it is a non existing user.

`StatusChatScreen` updates:
- Updated join room method to validate the chat is loaded.
- Added methods for doing and verifying a mention.

`SquishDriver` updates:
- Added support in `SquishDriver` to click into a link in a text or label component.
- Minor function renames.

Closes #6879
2022-08-16 13:42:56 +02:00
PavelS 78969cb8e0 fix(@desktop/chat)!: adjust image context menu size and position
Fixes #6830

Requires https://github.com/status-im/StatusQ/pull/852

BREAKING CHANGE: StatusImageModal clicked signal contains MouseEvent now
2022-08-15 15:05:16 +03:00
Khushboo Mehta de2d4f405d fix(@desktop/wallet): Crash when staying on Advanced screen for ~30 minutes
fixes #6474
2022-08-15 09:54:10 +02:00
MishkaRogachev e67d649c46 feat(desktop): New invite to community popup with message 2022-08-12 11:54:51 +04:00
MishkaRogachev 0418979e9c fix(desktop): Move Input anchors binding to client code 2022-08-12 11:54:51 +04:00
Anthony Laibe 2f7e6998bf test(@wallet): Add test for toggling network & balance 2022-08-11 14:09:07 +02:00
MishkaRogachev 3afa49a873 fix(@dektop/chat): Fix messages timestump update
Close #6543
2022-08-05 17:15:38 +03:00
PavelS 368b29bb38 fix(@desktop/chat) keep message hover effect while context menu open
- keep context menu when emoji reaction clicked
- move Connections out of Loader

Fixes #6633
2022-08-03 11:54:08 +03:00
Anthony Laibe 03b3b0c6f5 test(@wallet): send transaction 2022-08-03 09:45:55 +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 16b2ca5c2c feat(contacts): add respond to request and pending contact menu options
Fixes #6251

Adds the "Respond to Contact Request" and "Contact Request Pending" options to the MessageContextMenu

Also fixes some small issues with contact verification where the state of the incoming request was not correct
2022-07-29 09:43:35 -04:00
Jonathan Rainville 03780d4875 feat(MessageContextMenu): add option to verify identity in context menu
Fixes #6252
2022-07-29 09:43:35 -04: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
Khushboo Mehta 25c79230b6 fix(@desktop/wallet): Send Transation modal colors need to be adjusted to match designs
fixes #6497
2022-07-27 18:32:56 +02:00
Alexandra Betouni be64f60a86 fix(StatusInput): Updated status input custom height leftovers
Closes #6637
2022-07-26 14:45:41 -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
Alexandra Betouni 3b0dbd6052 fix(Wallet/AssetList): Updated as per designs
Closes #6481
2022-07-25 13:30:50 +03:00
Anthony Laibe 6b9b5f20a8 fix(@community): Fix community join bubble
fixes #6133

When restarting the app, the community is not in the list
and data needs to be requested
2022-07-24 12:31:53 -04:00
Khushboo Mehta f746b2c279 fix(@desktip/wallet): Wallet / Send Popup - Can't scroll outside the list of accounts after selecting one
fixes #6196
2022-07-22 13:18:07 +02:00
Khushboo Mehta ec8320f3bb fix(@desktop/wallet): In the Send Modal the saved addresses and my accounts sections need to be adjusted to match design
fixes #6498
2022-07-22 11:47:40 +02:00
Sale Djenic f9244e2c9f fix(@desktop/onboarding): Onboarding/Login flow improvements
- startup, login and onboarding modules merged into the single one
- `State` class introduced which is the base class for all states, every state
  determines what is the next state in each of 3 possible actions, and what
  is the previous state, if it has previous state
- `StateWrapper` class is introduced as a convenient way to expose
  `State`'s props and deal with them on the qml side
- startup module maintains states as a linked list and there are few convenient
  methods to move through the list `onBackActionClicked`, `onNextPrimaryActionClicked`
  `onNextSecondaryActionClicked`, `onNextTertiaryActionClicked`
- redundant code removed

Fixes: #6473
2022-07-22 08:13:27 +02:00
Lukáš Tinkl 89f42c9fc3 fix(MessageContextMenuView): popup menu's fixes
- add the (Un)Mark as Untrustworthy action to the menu
- fix the placement and visuals of the (Un)Block menu item
- add a missing separator above these
- store the blocked and trust details in `d.contactDetails` and properly
  refresh it upon opening the menu
- some other smaller UI fixes to align the menu to the design

Closes #6538: Stranger's (untrustworthy) menu doesn't match the Design

Closes #6535: The stranger's card doesn't match the Design
2022-07-21 15:55:55 -04:00
Lukáš Tinkl 9ddd75c8f5 fix(UserImage): fix context menu placement
previously, the context menu would be randomly placed; now the image gets
access to its context menu and allows for placing it precisely, just like
it's done in UsernameLabel
2022-07-21 15:55:55 -04:00
Lukáš Tinkl 9ad23c24d7 fix(MessageView): unbreak clicking on a reply's profile image
the role name exported by the model has (likely) changed :/

`qrc:/imports/shared/views/chat/MessageView.qml:212: Error: Cannot assign [undefined] to QString`
2022-07-21 15:55:55 -04:00
MishkaRogachev 9aa1a1073e fix(@desktop): Fix scrolling in chat components, wallet fixes 2022-07-21 18:44:30 +03: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
Khushboo Mehta 35a5ab57f0 feat(@desktop/wallet): Implement the advanced/custom view with simple same network transfers
fixes #6268
2022-07-14 16:28:38 +02:00
Noelia 47897f431f fix(Chat/ReactionDialog): The reaction dialog is shown in different places
Changed x and y assignment trigger to get the correct value once the position depends on the own popup height.

Fixes #6264
2022-07-13 10:55:12 +02:00
Lukáš Tinkl c14ff47af8 fix(ProfilePopup): fix chatkey and contact icons in the header
Fixes #6396
Fixes #6398

- fix displaying the chatkey and the copy button next to it using layouts
- hide the mutual contact and verified contact icons in case of My
profile
2022-07-12 09:40:20 +02:00
Lukáš Tinkl ebff2538fa fix: add forgotten qsTr() 2022-07-12 09:40:20 +02:00
MishkaRogachev 1cca25e08d feat(chat): Message display several images
Close #4905
2022-07-11 17:41:47 +03: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
MishkaRogachev 167cb9e63f Fix(Chat): Reset MessageContextMenuView state on close
Close #5289
2022-07-11 11:39:59 +03:00
Pascal Precht 51b661386a refactor: always request access to join community
We no longer send community invites to users, instead we just share the
community and let users request access.

That request will either be automatically or manually accepted by the owner/admin.

Depends on https://github.com/status-im/status-go/pull/2682

Closes #5115
2022-07-08 13:18:37 +02:00
Lukáš Tinkl f798d6d0e6 fix(profile): the profile image is blurred in different places
Closes #6295

- use the recently introduced `profileLargeImage` property for bigger user
images
- fix some QML(lint) warnings
2022-07-08 09:40:22 +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
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
Patryk Osmaczko 0e3c20fb22 chore: remove duplication 2022-07-05 17:10:15 +02:00
Sale Djenic c9fe428940 fix(@desktop/chat): messages sometimes assigned to the wrong user
Fixes #6004
2022-07-05 17:10:15 +02:00
Igor Sirotin c7d2157d20 fix(MyProfileView): New design 2022-07-04 21:56:04 +04:00
Khushboo Mehta e6f809b921 feat(@desktop/wallet): Using Floating Buttons in the Send Modal
fixes #6228
2022-07-04 15:28:35 +02:00
Igor Sirotin 36a079aea8 fix(icons): Updated arrow icons 2022-07-01 17:43:13 +04:00
Igor Sirotin eb7fa5be8b fix(ChatButtonsPanel): Added pin/unpin and delete buttons 2022-07-01 12:59:03 +04:00
Jonathan Rainville 9d2862a602 fix(chat): fix gifs staying active in the background when switching chat 2022-06-29 16:48:01 -04:00
Khushboo Mehta 6deb900ac5 hotfix(@desktop/chat): Removed the condition that was causing the chat highlight animation to run each time it was visible 2022-06-29 14:18:40 -04:00
Iuri Matias 7927c99985 bug(@status-desktop): only run animations when they are visible to avoid cpu issues
chore(status-q): update status-q

bug(@status-desktop): only run animations when they are visible to avoid cpu issues

bump status-q
2022-06-28 11:23:38 -04:00
Jonathan Rainville 8c1024354e fix(CompactMessage): fix message height and spacing
Fixes #6169
2022-06-22 16:45:57 -04:00
Sale Djenic 60ed62231e fix(@desktop/wallet): estimated time for transaction is always Unknown
Fixes #5938
2022-06-22 16:02:25 -04:00
MishkaRogachev 2251f870a0 feat(@desktop/chat): New profile context menu states
Close #6113
2022-06-22 15:50:59 -04:00
Jonathan Rainville 9ebe9ec2c5 fix: fix blurry chat identifier and expose large image in contact proc
Fixes #6190
2022-06-22 15:33:11 -04:00
Anthony Laibe 2112135c6f fix(@communities): remove totally the toggle for experimental feature
fixes #6175
2022-06-21 12:12:09 -04:00
Anthony Laibe c2555a7650 fix(@chat): handle image placeholder
fixes #5934

Mobile still send the placeholder so we need to handle this case
manually by removing text if this is exactly equal to the placeholder
2022-06-21 11:35:23 -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
Noelia b039e9d67d fix(Chat): The text and emoji are not vertically aligned in the chat message
Added top margin in message text.
Fixes #5953
2022-06-15 12:56:58 -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