Commit Graph

10929 Commits

Author SHA1 Message Date
Lukáš Tinkl 77975e9039
fix: Optimize ContactsView & MembersTabPanel settings pages
- removed nested ListViews inside StackLayouts, in order to reduce the
memory footprint and improve performance, and also to be able to better
manage the scrolling
- no more unrolled multiple listviews, which again hurt the performance;
now the views instantiate the delegates dynamically on the fly
- the tab bar and the search fields now stick to the top of the page,
with the users list view scrolling independently
- both views now uniformly use the common `ContactListItemDelegate`
- the received/sent CRs are now combined into one `pendingContacts`
model
- factored out common search/filter criteria into a new, separate SFPM
`UserFilterContainer` component
- fix an issue where StatusContactVerificationIcons wasn't properly
displaying the "blocked" state/icon
- fix documentation comments, removed relative imports, and updated some

Fixes #16612
Fixes #16958
2024-12-20 13:27:10 +01:00
Lukáš Tinkl 564e91496a
chore(StatusCheckBox/Switch): UI updates & some fixes
- fix a bug where the Switch would start animating if it'd been checked
on creation
- add the same property `leftSide` to StatusSwitch (just like
StatusCheckBox), and use `LayoutMirroring` to perform the visual
inversion
- fixup margins and padding, removing hardcoded values, according to
latest Figma designs
- make a difference between a disabled and inactive button by using opacity
- provide smooth color transitions
- add dedicated StoryBook pages
2024-12-20 11:48:48 +01:00
Lukáš Tinkl 0592e2338b
chore(StatusTab[Bar,Button]): UI updates
- fixup margins and padding according to latest Figma designs
- make a difference between a disabled and inactive tab by using opacity
- provide smooth color transitions
- add a dedicated StoryBook page
2024-12-19 17:25:01 +01:00
Lukáš Tinkl 8aebb81137 fix: No toast on removal of untrusted mark
- listen to the NIM's signal `SIGNAL_REMOVED_TRUST_STATUS`
- emit a signal for QML signal accordingly
- emit a toast/notification as a result

Fixes #16949
2024-12-18 11:26:21 +01:00
Jonathan Rainville 1735d7e75a
fix(block): remove chat and messages when blocking a contact (#16889)
Fixes #16640

This makes it so that when you block a contact, it now also removes the chat and the messages as expected by the requirements and as Mobile does.

To do so, I use the same API as mobile instead of the forked desktop one. I removed the desktop one as it is no longer needed (see status-go PR)

I also fixed an issue when unblocking where it would send a double toast messages with one saying you "removed the contact", but it was already removed.
2024-12-17 15:13:09 -05:00
Jonathan Rainville ac3d609bd8
fix(curated): fix crash when loading curated communities(#16976)
Fixes #16967

I cannot confirm for sure if the crash is fixed.
However, using the trace from the crash, I removed the function that caused the crash, since it's not useful, and since then, I couldn't reproduce the issue.
The problem is that the issue was not that easily reproducible.
2024-12-17 11:12:42 -05:00
Jonathan Rainville 8460c22240
fix(chat): fix blocked contact being able to be sent a CR (#16954) (#16970)
Fixes #16951

The property `isContactBlocked` was not passed to the component.
2024-12-16 10:04:55 -05:00
Jonathan Rainville d4e2d4dc50
fix(admin): fix nicknames not showing in the admin tab immediately (#16969)
Fixes #16957

We didn't listen to the event in the main module.
2024-12-13 14:31:54 -05:00
Sale Djenic 37251afe60 fix(wallet): bring back chat settings panel that was missing 2024-12-13 16:49:05 +01:00
Sale Djenic 4acebbe799 fix(wallet): adding ens name to the model and improving ephemeral notification with saved address if exists 2024-12-13 16:49:05 +01:00
Lukáš Tinkl c9c31520d0 fix(StatusMessageHeader): unbreak context menu
- when clicking the underlined profile name; the prob was that
`TapHandler` (unlike a `MouseArea`) is not a visual `Item` and hence
can't be a parent for the context menu
- small (unrelated) typo fix to unbreak GIF link previews...

Fixes #16950
2024-12-13 16:47:36 +01:00
Sale Djenic f5e6138328 fix(keycard): crash when removing keycard reader
Fixes #16904
2024-12-13 16:27:22 +01:00
Jonathan Rainville b379060067
chore(tou): update Terms of Use document to version 9.1 (#16933)
Fixes #16930
2024-12-12 11:41:39 -05:00
Alex Jbanca 45835973e1 fix(dapps): Detach the pairInstructions popup from the pairing popup
closes #16887

The pairing popup can be destroyed while the pairInstructions popup is active. As a result the pair instructions popup will misbehave.
To fix this, the pair instructions component is moved outside of the pair popup scope

(cherry picked from commit 007f75ad4c)
2024-12-12 15:42:47 +02:00
Alex Jbanca c0aeae5ea5 fix(dapps): Fixing the dApps disabled state if the dapps service is not online
closes #16883 #16882

1. connect the dapps service online state to the enabled state for the dapps button
2. Fix the connect modal primary action button
3. Align DappsComboBox disabled color with the refresh button disabled color

(cherry picked from commit 2c4f6b5da3)
2024-12-12 15:42:47 +02:00
Michał Cieślak ad6e1376a7 Wallet: add missing notification on keypairImportModule change
Closes: #16773
2024-12-12 10:59:47 +01:00
Anastasiya Semiankevich d91303085b chore: renew status-go in master 2024-12-10 14:31:12 +03:00
Sale Djenic 1bd54401a2 fix(wallet): cannot recover Status profile if there is no metadata on a keycard
fixes: #16907
2024-12-08 18:52:54 +01:00
Siddarth Kumar 7152c2b409 Revert "fix_: release version for publishReleaseFiles (#16890)"
This reverts commit 5bfa97caae.
2024-12-06 21:48:06 +05:30
Siddarth Kumar fcaf51cca2 ci: fix version missing from e2e 2024-12-06 21:48:06 +05:30
Sale Djenic 93e247c260 chore(wallet): added param to fetchOrGetCachedWalletBalances call to align with statusgo change 2024-12-06 16:27:23 +01:00
Sale Djenic 017bae3a51 fix(wallet): cannot sing tx sent from imported key pair if the profile is migrated to keycard
fixes: #16901
2024-12-06 15:34:39 +01:00
Sale Djenic 9fcaaaa94c fix(swap): after approving spending cap with a keycard the swap transaction fails
fixes: #16867
2024-12-06 15:34:39 +01:00
Lukáš Tinkl 573254527a chore(SyncingDeviceView): add a dedicated SB page
- add a dedicated SB page with the view options
2024-12-06 15:02:33 +01:00
Lukáš Tinkl ca314f2b7b fix(SyncingDeviceView): fix user image misalignment
- re-add forgotten `Layout.alignment: Qt.AlignHCenter`

Fixes #16879
2024-12-06 15:02:33 +01:00
Igor Sirotin 5bfa97caae
fix_: release version for publishReleaseFiles (#16890) 2024-12-05 16:44:15 +00:00
Alex Jbanca 50c065f606 fix(CommunityTokens): Fixing crash on token update
closes: #16875 #16860 #16859
(cherry picked from commit 5fcb425b47)
2024-12-05 17:58:14 +03:00
Emil Sawicki a3e4faf3a9 fix(chat): Fix disappearing payment request after message edit 2024-12-05 17:41:56 +03:00
Lukáš Tinkl fe759f3599
chore: identify version numbers using a git tag (#16652)
* chore: identify version numbers using a git tag

- remove VERSION file
- expose the `GIT_COMMIT`so that we can properly construct the web links
when the user clicks the version number in Settings/About
- some smaller cleanups and warning fixes

Fixes #12349

* fix_: ci artifact version and use version scripts

---------

Co-authored-by: Igor Sirotin <sirotin@status.im>
2024-12-04 22:42:48 +00:00
Khushboo Mehta 481350385e feat(@desktop/wallet): Adding feature flag for Simple Send until it is ready for release
fixes #16710
2024-12-04 21:34:12 +01:00
Michał Cieślak 7f05a4093a chore(@desktop/wallet): Reduced number of global calls related to send modal 2024-12-04 21:34:12 +01:00
Khushboo Mehta 0c2674e7cb chore(@desktop/wallet): Chnage the send modal mechanism to follow new architecture guidelines.
After this change there is not need to pass sendModal instance from AppMain to other parts of app.
Then SendModal should be launched simply by calling Global.openSendModal(....)
2024-12-04 21:34:12 +01:00
Lukáš Tinkl 9596d618e0 feat: Improvements for community admins
- add ability to copy display name of a message author
- add possibility to search for a member by a un/compressed chat key
- adjust the search field placeholder text to "Search by member name or
chat key"

- update SB with some more variations
- cleanup some the signal handling

Fixes #16790
2024-12-04 17:33:09 +01:00
Cuteivist 5bf4ba22c2
feat: Payment Request modal (#16744) 2024-12-04 11:19:27 -05:00
Jonathan Rainville 387eab4fcf
fix(edit): fix message edits loses the album of images (#16827)
Fixes #16741

The problem was that we replaced the ContentType from Image to Text, so on restart, it doesn't understand it had images anymore.

Fixed in status-go by reusing the ContentType of the original message.

This makes it so that we don't need to pass the ContentType from Nim anymore, so I removed that param from the code.
2024-12-04 11:11:56 -05:00
Jonathan Rainville 59cde995d1
fix(community): fix community image not updating (#16807)
Fixes #16688

Fixes the issue by adding a version to the URL on the status-go side. No extra code needed on our side.
The only change is that we no longer need the `addTimestampToURL` hack for the community now.
2024-12-04 10:25:18 -05:00
Jonathan Rainville f400a9402d
chore(metrics): add metric when we finally get to the app (#16856)
Fixes #16803 and #16804

When we finally do the call to go to the main app, we check if we were doing a login or an onboarding and then send a metric (if enabled)
2024-12-04 10:00:47 -05:00
Jonathan Rainville dc9951cfb0
Fix unread badge on the chat section button + fix unread count not being counted when the chat is active and the app is not in focus (#16851)
* fix(badge): fix missing badge on the Chat section

* fix(unread): fix unread count not incrementing when the chat is active but app is unfocused

Fixes #16098

The problem was that we were marking the message as read because the chat kept scrolling, even if the app was in the background.
I fixed that by only marking as read if the app is active. I added a Connections to the active property of the Applicaiton too to mark as read when the app comes back active.
I also removed a condition that prevented the Unread bar appearing in that condition.
Now, when a message is sent to the active chat, but the app is not in focus, the red dot appears, as well as the badges. Then when the app comes active, it is marked as read, but the unread messages line is shown to show when is the last time the user saw messages. This is similar to what Discord has.
2024-12-04 10:00:34 -05:00
Dario Gabriel Lipicar 293ffd647e fix(@desktop/wallet): use unique activity entry key 2024-12-04 09:29:42 -03:00
Dario Gabriel Lipicar 7c0eb01294 chore: remove unused activity details code 2024-12-04 09:29:42 -03:00
Anastasiya Semenkevich a13349323b chore(@e2e): fix group chat test and leftover for registering ens name toast 2024-12-04 13:33:02 +03:00
Alex Jbanca 95333e4b4a fix(dapps): Update the connect modal close policy
closes: #16829

Adding NoAutoClose
Removing the close button in the popup header
2024-12-03 15:56:13 +02:00
Cuteivist ba86132ec0
feat: payment request nim input area model (#16822)
* feat: payment request nim input area model

* feat: Update model count
2024-12-03 12:40:25 +01:00
Cuteivist 7998b0640f
Feat/request payment cards 16737 (#16740)
* feat: Payment Request cards

* feat: Card fixes
2024-12-03 09:36:04 +01:00
Alex Jbanca 9490dbb57e refactoring(dapps): Move WC and BC popups in the global scope
closes #16831

Moving the dapp popups to the global scope in order for them to be triggered on any view.
There are a few changes required for this:
1. DAppsWorkflow has been split. Previously all popups were declared in the `DappsComboBox`. Now the DAppsWorkflow inherits the QObject instead and the `DappsComboBox` is used as is in the wallet header.
2. The DAppsWorkflow has been moved to AppMain. The DAppsWorkflow will be constructed in the scope of DAppsService and connected directly to the service signals
3. Updated tests and storybook with the new structure
4. Removed the `dAppsService` from `Global`. There's no reason to keep the `dAppsService` instance in the `Global` singleton.
2024-12-03 09:52:28 +02:00
Alex Jbanca 674b316287 fix(BC): Fixing chains transformation on connect 2024-12-02 16:02:01 +02:00
Alex Jbanca 845fd4a445 fix(BC): Fixing the chains parsing on accepted connections
+ Fixing crash due to exception raised in the Qt slot execution
2024-12-02 16:02:01 +02:00
Anastasiya Semenkevich 3673723a0c chore: bump status-go 2024-12-02 15:48:28 +03:00
Marko Burčul ea57f31ceb
ci: enable sentry in the release builds (#16845)
Referenced issue: https://github.com/status-im/status-desktop/issues/16842

Signed-off-by: markoburcul <marko@status.im>
2024-12-02 11:16:51 +01:00
Michał Cieślak 7323889a8c ContactDetails decomposed into smaller, more specialized components
Closes: #16793
2024-11-29 17:46:50 +01:00