Commit Graph

4373 Commits

Author SHA1 Message Date
Michał a6beeee3e7 Revert "fix(ChatMessageView): delayed binding for proper msg height calculation"
This reverts commit 53a3a769d9.
2022-10-05 13:33:49 +02:00
Lukáš Tinkl 99272c580c fix(ChatMessagesView): Loading spinner and scroll to bottom button overlap
- remove the extra spinner (ok'ed by John and Benj)
- use the more modern StatusIcon, w/o the unconditional ColorOverlay
- some minor cleanup

Closes: #7645
2022-10-05 02:59:37 +02:00
Michal Iskierko e28163a771 fix(@desktop/chat): Fix sending request to ens account.
Fix #7699
2022-10-04 13:27:34 -04:00
Lukáš Tinkl 12fc331cc6 fix(StatusGifPopup): fix GIF search reset
- react on text changes, not when a key is released; fixes #7728
- if the search is empty, reset back to Trending; fixes ##7727
2022-10-04 13:07:24 -04:00
Igor Sirotin 023289540d fix(ContactVerificationRequestPopup): Fixed user's public key 2022-10-04 18:14:38 +03:00
MishkaRogachev 9d103e5b07 feat(ActivityCenter): Fix unreadNotificationsCount availability on every section
Close #7674
2022-10-04 17:05:47 +04:00
MishkaRogachev 1784a98df3 feat(ActivityCenter): AC topbar panel fixes
Close #7656 and #7635
2022-10-04 17:05:47 +04:00
Igor Sirotin 7d08c06524 fix(chat): Connected font sizes to Theme properties 2022-10-04 15:14:04 +03:00
Lukáš Tinkl 1aff57abff fix: Reply to sticker adds message advising user to upgrade
Closes #7724
2022-10-04 14:07:23 +02:00
Igor Sirotin b65023bf45 fix(PinnedMessagesPopup): Fixed reply messages displaying 2022-10-04 14:09:19 +03:00
Alexandra Betouni 3e3ad7fef5 fix(Community): big space in invite friends popup
Closes #7707
2022-10-04 13:38:50 +03:00
Michał Cieślak 2b8ee35e91 fix(CommunitiesPortal): display banner in community portal cards
Closes #7417
2022-10-04 12:06:23 +02:00
Michał Cieślak a21bbc8ba8 fix(InsertDetailsView): use force flag for getColorHashAsJson to skip ENS check
Closes: #7671
2022-10-04 11:32:51 +02:00
Michał Cieślak 53a3a769d9 fix(ChatMessageView): delayed binding for proper msg height calculation
Direct binding was causing problems with height calculation in some
environments (qt 5.15) and lack of binding in other (5.14). This is
a solution which seems to work in both cases.

Closes: #7703
2022-10-04 11:32:34 +02:00
Noelia b2f927b716 test(suite_messaging): Created new suite_messaging
Created new `suite_messaging` where all related chat tests will be migrated to.
- `tst_ChatFlow` has been moved to new `suite_messaging`. It still contains some broken tests.
- `tst_groupChat` has been moved to new `suite_messaging`. It is now working (but it relies on the mailserver so could fail sometimes).
- `tst_statusLoginPassword` has been moved to new `suite_onboarding`.
- It has been needed to move some object definitions from `chat_names.py` to `global_names.py` since they are shared between different suites.
- Some other minor object and steps definitions have been moved to fit with the new structure.

Closes #7624
2022-10-04 11:17:47 +02:00
Noelia 03691ba4b1 test(GroupChat): Broken tests updated
The create a group chat related objects have been updated according to new qml changes.
Now these tests are working (if they don't work it is bc of mailserver reliability).
2022-10-04 11:17:47 +02:00
Noelia d0fc2db9bd test(chore): Added splash screen animation recognition and general banners management
"the user lands on the signed in app" step incorporates the following verifications (main screen is ready):
- Splash screen animation is loaded and ended.
- Banners that appear in the main screen are closed before starting other actions (secure seed phrase, connection information and update app information banners).
2022-10-04 11:17:47 +02:00
Michał Cieślak 4452574c24 feat(CommunitiesPortal): show placeholder when no search results
Closes: #7299
2022-10-04 11:09:40 +02:00
Michał Cieślak e70fecaf2d feat(CommunitiesPortal): implement text search using mocked model
Additionally:
- communities grid made scrollable
- filtering done using SortFilterProxyModel
- various adjustments to the design
- clear input button added to the search input

Closes: #6360
2022-10-04 11:09:40 +02:00
Lukáš Tinkl 37b9cf39c8 fix(StatusSearchPopup): images in search results are broken
Closes: #7658
2022-10-04 10:20:45 +02:00
Michał Cieślak abc570006c chore(StatusChatImageLoader): uses mipmap filtering for unfurled images
Closes: #7689
2022-09-30 16:00:09 +02:00
Khushboo Mehta 9638b200e1 fix(@desktop/wallet): Added squish test for change password and relogin
fixes #6900
2022-09-30 15:56:03 +02:00
Lukáš Tinkl e657b311aa fix: Import tool date picker is somewhat broken
Adjust the button padding and font weight after changes to
StatusBaseButton

Closes #7684
2022-09-30 12:26:37 +02:00
Sale Djenic a1027ff087 feat(@desktop/keycard): sign transaction using `Authenticate` flow
Actually this is not a signing transaction, but rather authenticating logged in
user when he wants to send a transaction. An authentication is done by entering
password(regular user) or pin(keycard user).

A real signing transaction feature will be (hopefully) added in a near future where
we're going to sign a transaction on a keycard which corresponds to a certain
account, a user wants to send a transaction from.

To sum up... this change just removes password from the send modal and introduces
`Authenticate` flow instead.

Fixes: #7510
2022-09-29 17:28:18 +02:00
Michał Cieślak b34b9fb347 fix(Popups): clipping area fixed in various popups
Closes: #7601
2022-09-29 10:39:07 -04:00
Stefan 39527a5739 fix(wallet): fix never fetching transactions
The RootStore was calling checkRecentHistory on the wallet section View
instead of the transaction View.

Still the workflow is broken due to the 20 minutes timer that calls
the checkRecentHistory and hangs the the main thread (UI) for a long time

Fixes: #7266
2022-09-29 10:45:27 +02:00
Michał Cieślak b984b04c70 fix(ContactsColumnView): Removed margin when the list positioned not at the end
Closes #7526
2022-09-29 00:23:55 +02:00
Michał Cieślak f48aee2e44 fix(UserListPanel): Removed margin when the list positioned not at the end
Closes #7526
2022-09-29 00:23:55 +02:00
PavelS c931f716e8 fix(@desktop/chat): adjust chat input logic to allow emojis
Fixes #7622
2022-09-28 15:02:50 -04:00
Michal Iskierko f40ef4613e fix(@desktop/communities): Show only not community members
Fix #7477
2022-09-28 18:09:40 +02:00
Michal Iskierko d14fc486b5 fix(@desktop/contacts): Do not show pending identity request when user is verified.
Fix #7376
2022-09-28 10:56:14 -04:00
Noelia dcd77e3bf7 fix(Chat/Verify Identity): Identity verification typo
Changed hardcoded name to the corresponding `userDisplayName` parameter.

Fixes #7538
2022-09-28 10:54:03 -04:00
Lukáš Tinkl 2fd9877ba5 fix(StatusChatInfoButton): space between # and channel name
lower the spacing to better match the designs

Closes #7592
2022-09-28 10:53:07 -04:00
Khushboo Mehta d65f0fa55e fix(@desktop/wallet): Added squish tests for transactions and transaction details
fixes #7215
2022-09-28 09:55:41 -04:00
Igor Sirotin 010bdc9956 feat(CreateChatView): Support pasting chat key 2022-09-28 09:55:25 -04:00
Michal Iskierko 3bcd26b6ae fix(@desktop/general): Fix sections switching shortcuts
Ctrl+n shortcut changes enabled section.

Fix #7478
2022-09-28 09:42:14 -04:00
Alexandra Betouni fc3daa1451 (StatusSectionLayout): removed big space between header and content
Closes 7312
2022-09-28 15:37:52 +03:00
Alexandra Betouni 654519f5dd fix(ProfilePopup): fixed display name on block popup
Closes #7521
2022-09-28 15:37:29 +03:00
Khushboo Mehta db429b4961 fix(@desktop/wallet): Fix the emoji and text placement in the SendModal
fixes #7427
2022-09-28 14:25:58 +02:00
Noelia 751d61df8b fix(Communities/Settings): Cropped bottom panel in Community Overview
Footer buttons anchored to `leftPanel` bottom.
Improved list view alignment.

Fixes #7322
2022-09-28 12:01:58 +02:00
Alexandra Betouni d45230a6f7 fix(CreateChatView): disable confirm button if no tags added
Closes #7493
2022-09-28 12:53:16 +03:00
Sale Djenic f17003e5f2 test(@desktop/wallet): tests for adding wallet accounts updated according to the latest changes (`Authentication` flow) 2022-09-27 20:15:34 +02:00
Sale Djenic c5a81455e8 fix(@desktop/keycard): change password disabled for a keycard user 2022-09-27 20:15:34 +02:00
Sale Djenic 4e257539b8 chore(@desktop/keycard): `usingBiometricLogin` prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic 3687df2a2f chore(@desktop/keycard): `isKeycardUser` prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic 08ef68706f feat(@desktop/keycard): login flow wrong keychain pin update 2022-09-27 20:15:34 +02:00
Sale Djenic 861c585d2b feat(@desktop/keycard): adding wallet account using `Authenticate` flow
Fixes: #7509
2022-09-27 20:15:34 +02:00
Sale Djenic 4c3aca273a fix(@StatusQ/StatusInput): `dirty` prop set to default value when reset func it called 2022-09-27 20:15:34 +02:00
Sale Djenic db1bbef0e1 fix(@desktop/wallet): validation of a seed phrase if it contains a word of length 3 fixed 2022-09-27 20:15:34 +02:00
Sale Djenic 64f167a32d fix(@desktop/wallet): pasting seed phrase fixed 2022-09-27 20:15:34 +02:00
Sale Djenic 4bff0b14ed fix(@desktop/wallet): crash adding an account via seed phrase fixed 2022-09-27 20:15:34 +02:00
Sale Djenic f11ff29cb4 feat(@desktop/keycard): check what’s on a Keycard
Fixes: #7032
2022-09-27 20:15:34 +02:00
Sale Djenic 10c3b66336 feat(@desktop/keycard): unlock keycard flow added to the flows which are using it
- factory reset flow updated with unlock keycard flow
- setup new keycard (keycard migrate) flow updated with unlock keycard flow
- authenticate flow updated with unlock keycard flow
2022-09-27 19:03:18 +02:00
Sale Djenic a3b71c7d91 feat(@desktop/keycard): unlock keycard flow added
Fixes: #7031
2022-09-27 19:03:18 +02:00
Igor Sirotin c8bb6ae30e fix(CommunitySettingsView): Fixed sending community invitations 2022-09-27 19:41:23 +03:00
Alexandra Betouni 54076c772c fix(ProfilePopup): popup title was wrong with ens names
Closes #7320
2022-09-27 17:30:51 +03:00
MishkaRogachev ced2454bdc feat(ActivityCenter): Force sorting notifications by timespamp
Close #7492
2022-09-27 18:14:07 +04:00
Lukáš Tinkl a209d39881 fix: ENS name issues
- don't display identicon rings for contacts with an ENS name
- prefer the at-form (@foo-user) whenever possible, and don't display their
  username or pubkey unless they are locally given a nickname
- show compressed keys everywhere instead of the regular ones

Fixes: #7319
Fixes: #7515
2022-09-26 22:38:02 +02:00
Lukáš Tinkl 54c73b0be7 chore: cleanup, fix warning, remove dead code 2022-09-26 22:38:02 +02:00
MishkaRogachev 2681542a98 feat(ActivityCenter): Store AC properties globaly
Close 7489
2022-09-26 15:49:46 +03:00
MishkaRogachev ac9d68b6f5 feat(ActivityCenter): Add ReplyBadge & review fixes
Close 7276
2022-09-26 15:49:46 +03:00
MishkaRogachev b9ca8654a8 feat(ActivityCenter): Fix messages and AC notifications height
Close #7497
2022-09-26 15:49:46 +03:00
MishkaRogachev d4d22f4094 feat(ActivityCenter): Notification badge with community info 2022-09-26 15:49:46 +03:00
MishkaRogachev b923c97773 feat(ActivityCenter): customize badgies for communities and group chats 2022-09-26 15:49:46 +03:00
MishkaRogachev 239563e93b feat(Activity Center): Making mentions AC notifications match design and specs
Close #7275
2022-09-26 15:49:46 +03:00
Alexandra Betouni 7ea19d14d0 fix(CommunityListTags): fixed gradiend on dark theme
Closes #7257
2022-09-26 15:30:14 +03:00
PavelS 36a56a8af3 fix(@desktop/chat): adjust chat name placement
Fixes #7353
2022-09-26 12:54:41 +03:00
Lukáš Tinkl 36bea83eee fix: "Remove contact" button in ProfilePopup doesn't work
Closes: #7519
2022-09-26 11:13:56 +02:00
PavelS f884c91e97 fix(@desktop/community): community tags close button adjust
Fixes #7294
2022-09-26 10:25:17 +03:00
PavelS 6a96bc93b3 fix(@desktop/chat): handle same name mentions
Fixes #7220
2022-09-22 15:01:55 +03:00
Lukáš Tinkl 19391d9052 fix(PinnedMessagesPopup): don't show empty replies and reactions
Fixes: #7498
2022-09-22 12:18:04 +02:00
Lukáš Tinkl 19aa32a07e fix(ContactPanel): unbreak showing identicon rings
- unbreak the user icon in the popup menu
- don't show idention ring for ENS names

Fixes: #7496
2022-09-22 11:21:37 +02:00
Lukáš Tinkl 52dbf9b7c8 fix(CommunitiesListPanel): set uniform icon size
we want same icon sizes here, no matter if there's an image or not

Fixes: #7285
2022-09-22 11:18:16 +02: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
Michał Cieślak 824616c32e chore(general): pull_request_template.md updated 2022-09-21 18:20:15 +02:00
Michał Cieślak 88c0e87446 chore(general): add SortFilterProxyModel submodule
It's necessary as a result of StatusQ merge
2022-09-21 18:20:15 +02:00
Khushboo-dev-cpp 71c5e1f4fd fix(StatusListItem): Adding padding in the inline tags (#915) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 367324e422 (StatusSectionLayout): Added back button in StatusChatToolbar (#903)
To be used in header in all sections where it's needed

Needed for https://github.com/status-im/status-desktop/issues/7312
2022-09-21 18:20:15 +02:00
Michał b1d6e73e2f feat(StatusMessage): add 'hideMessage' property to allow hiding main message text (#916) 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 060b98a74d fix(StatusChatInfoButton): fix vertical title alignment
do not display the subtitle when it's empty
2022-09-21 18:20:15 +02:00
Michał 8df06ef463 fix(StatusBaseButton): font family and weight fixed (#908) 2022-09-21 18:20:15 +02:00
MishkaRogachev b068deccd4 hotfix(StatusSectionLayout): fix notificationCount availability 2022-09-21 18:20:15 +02:00
Michal Iskierko 42fe647963 fix(StatusMessageSenderDetails): Simplify StatusMessageSenderDetails
StatusMessageSenderDetails contains only displayName and secondaryName.
Correct values are delivered by a model.

Issue #7241
2022-09-21 18:20:15 +02:00
Lukáš Tinkl 819c401579 fix(StatusPinMessageDetails): correct spacing
Fixes status-im/status-desktop#7305
2022-09-21 18:20:15 +02:00
Patryk Osmaczko d707bceb14 fix(StatusBaseButton): align text to horizontal center 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 07a8d91ce5 fix(StatusListItem): unbreak vertical alignment 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 0355f52cd9 hotfix: fix broken notification-muted icon 2022-09-21 18:20:15 +02:00
Alexandra Betouni 6112143a3c fix(StatusChartPanel): updated left spacing (#907) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 61fd7ab8d5 fix(StatusChartPanel): fix #893 PR comments 2022-09-21 18:20:15 +02:00
Igor Sirotin e9bc96e2a1 fix(StatusColorRadioButton): Fixed size as per design (#732) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 8be1af7059 feat(StatusChart): Adding chart component (#893)
Needed for https://github.com/status-im/status-desktop/issues/6490
2022-09-21 18:20:15 +02:00
Sale Djenic 44b6cda99a feat(StatusPinInput): additional spacing for every N-th digit
Two new props exposed so we can sed an extra spacing for every N-th item.
- `additionalSpacingOnEveryNItems` - determines for which item to add an extra space
- `additionalSpacing` - determines the value of extra space which will be added
2022-09-21 18:20:15 +02:00
Michał b85450a3de chore(StatusItemSelector): allow of using icons (#897) 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 6549c9f344 fix(StatusChatInfoButton): pinned messages counter
- fix the "pinned messages" counter, add plural handling (Fixes #899)
- modernize using layouts (Fixes #898)
- add some more examples
2022-09-21 18:20:15 +02:00
PavelS b2fda3dfe8 fix(StatusMessage): adjust text alignment (#901)
Fixes https://github.com/status-im/status-desktop/issues/7301
2022-09-21 18:20:15 +02:00
Lukáš Tinkl 8e4d3c3fa9 hotfix: unbreak "pointing hand" cursor
turns out we can indeed have only one MouseArea to handle both the cursor
and intercepting the event in the "loading" state
2022-09-21 18:20:15 +02:00
Alexandra Betouni 4fcbce3949 feat(StatusBaseButton)!: Converting to QQC2 Button
Closes #782
2022-09-21 18:20:15 +02:00
Patryk Osmaczko 2c0f8c8e94 feat(StatusChatListItem): add online badge 2022-09-21 18:20:15 +02:00
Igor Sirotin 4a0b65b1d4 fix(StatusMessageEmojiReactions): Fixed emoji reactions appearance (#889) 2022-09-21 18:20:15 +02:00
Khushboo-dev-cpp 840d4bc14a fix(StatusExpandableItem): Added new padding for Tertitary type expandable item, a flag to set separator to visible true or false (#896) 2022-09-21 18:20:15 +02:00