2702 Commits

Author SHA1 Message Date
Jonathan Rainville
07675f3da5
feat(onbaording): integrate all happy paths for the non-keycard flows
Fixes #17004
2025-01-21 15:29:05 -05:00
Jonathan Rainville
9dea479ae2
refactor(contacts): remove hack force refreshing images with a timestamp (#17054)
Fixes #16814
2025-01-21 09:44:24 -05:00
Sale Djenic
dcd7dec04d feat(wallet): added suggested min and max priority fee and current base fee to the path v2 dto
The following properties added to the path v2 dto:
- suggestedMinPriorityFee
- suggestedMaxPriorityFee
- currentBaseFee

Path model of the new send modal updated with those properties.

Closes #17037
2025-01-17 12:47:35 +01:00
Alex Jbanca
e5c4d0afa6 fix(perf): Optimize token prices propagation 2025-01-16 12:11:08 +02:00
Alex Jbanca
620b37f8a1 fix: Remove threadpool data from logs on production builds 2025-01-10 17:14:54 +02:00
Sale Djenic
630c75401f chore(wallet): aligning to the changes done on the statusgo side for setting custom fees
Setting custom fees feature is not part of these changes, will be developed later.
2025-01-08 20:00:38 +01:00
Jonathan Rainville
febe08882d
refactor(messages): create a helper MessageItem init function (#17008)
Fixes #14039

Creates a util function to create MessageItems.
2025-01-08 12:56:41 -05:00
Jonathan Rainville
8a0392f48b
feat(community): add mark as read to community button (#17007)
Fixes #16573

Adds the "Mark as read" to the community context menu that marks all channels in the community as read
2025-01-08 12:03:06 -05:00
richΛrd
d7420bbab2
chore: update to nim 2.0 (#16472) 2025-01-07 13:46:57 -04:00
Jonathan Rainville
13cdaa6ac7
feat(onbaording): implement basic function for the new onboarding (#17003)
Fixes #16832

Implements all the needed basic Nim functions for the new onboarding.

They do no do anything just yet. They shall be integrated in another commit.
2025-01-07 09:53:57 -05:00
Jonathan Rainville
723dc712e3
fix(pins): fix old messages not showing as pinned (#16897)
Fixes #16896

The problem was that we relied on the `SIGNAL_PINNED_MESSAGES_LOADED` event to apply the pinned status to messages, but that only happens at the start and a lot of messages are not loaded at start if they are not in the first 30 messages.

To fix this, I just added `pinnedBy` to the Message object in status-go. This way, we can easily tell straight from the MessageDto if a message is pinned and by whom.
2025-01-07 09:21:17 -05:00
Jonathan Rainville
0aea6fc82e fix(search): only show communities that are joined
Fixes #10184
2025-01-06 14:51:07 -05:00
Jonathan Rainville
309581548b fix(search): order personal messages by lastMessageTimestamp 2025-01-06 14:51:07 -05:00
Lukáš Tinkl
73370a9e52 fix(StatusSearchLocationMenu): fix emoji rendering
- we have a dedicated asset category for them; makes no sense to try to
parse the path to the emoji file and treat it as an (SVG) image
- also fix the signal calls; over time more params were added and not
all the calls were adjusted
- fix selecting the "Chats" category, `model.colorHash.toJson()` is not
something we can do directly in QML :)
- fix group chat images
2025-01-06 14:51:07 -05:00
Jonathan Rainville
e4895c0dad fix(search): only show channels in the locations if they can be viewed
Partly fixed #10184
2025-01-06 14:51:07 -05:00
Jonathan Rainville
9d06f82840 fix(search): fix channel ordering in the search's location menu
Partly fixes #10184
2025-01-06 14:51:07 -05:00
Jonathan Rainville
c98d18ee6f
Fix context menus not updating when blocking/unblocking or when getting a CR (#16978)
* fix(block): fix context menus not updating when blocking/unblocking

Fixes #16948

* fix(cr): fix context menus not containing the contact request info

Fixes #16952
2025-01-06 14:01:41 -05:00
Jonathan Rainville
43e7fdea2f
fix(pins): fix edits not showing in the pinned messages until restart (#16894)
Fixes #16639
2025-01-06 13:55:31 -05:00
Khushboo Mehta
37a06fc3be feat(@desktop/wallet): Create a new send module to clear out old logic and switch the old one to the new one later, once the old sendModal is not used anymore
fixes #16919
2025-01-06 20:38:19 +05:30
Jonathan Rainville
3dd5fa9443
chore(onboarding): add scaffolding for the new onboarding (#16980)
Part of #16832

Adds the basic files needed for the new onboarding, aka onboarding V2.
It does not do anything yet, but it's ready to be implemented.

It is locked behind a feature flag.
To enable it,  run the app with `export FLAG_ONBOARDING_V2_ENABLED=1`
2024-12-19 11:00:00 -05: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
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
Michał Cieślak
ad6e1376a7 Wallet: add missing notification on keypairImportModule change
Closes: #16773
2024-12-12 10:59:47 +01: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
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
Alex Jbanca
50c065f606 fix(CommunityTokens): Fixing crash on token update
closes: #16875 #16860 #16859
(cherry picked from commit 5fcb425b47a7a73aef41e5b06107afac78b72154)
2024-12-05 17:58:14 +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
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
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
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
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
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
Dario Gabriel Lipicar
0a358f66bf fix(@desktop/wallet): properly handle tx send error 2024-11-29 09:49:48 -03:00
Jonathan Rainville
50132c5a0e
Refactor contacts models to have a single model, remove useless properties and improve updating (#16667)
* refactor(contacts): refactor 5 contact models into one and filter in QML

Fixes #16549

Refactors the 5 types of contact models (all, mutuals, banned, received and sent) into only the `allContacts` and use an Adaptor on the QML side to filter into the needed models.
This cleans the Nim side a lot and makes applying updates to the contacts' model way simpler.

* chore(contacts): remove useless and duplicated contact properties

OptionalName and isSyncing were never used.
DefaultDisplayName was not really used and is actually a duplication of preferredDisplayName, so I replaced the limited usages of DefaultDisplayName by preferredDisplayName

* refactor(contacts): improve updates by not removing and re-adding

We used to update contact items by removing them from the models and re-adding them. This is highly inefficient.
Instead, the proper way is to update only the values that changed.

* user_model: onItemChanged signal removed

* user_model: sorting by online status no longer needed on nim side

* Chat/RootStore: contactsModel property removed

* ContactsStore encapsulation improved

* ContactsStore: contacts model adaptor moved outside store

---------

Co-authored-by: Michał Cieślak <michalcieslak@status.im>
2024-11-28 09:15:34 -05:00
Alex Jbanca
271fc15bd4 chore(BC): Enable BrowserConnect feature flag 2024-11-27 16:43:35 +02:00
Dario Gabriel Lipicar
4a35c7d5b1 chore: fixes 2024-11-25 18:48:45 -03:00
Dario Gabriel Lipicar
bde7507a46 feat(activity): adapt to activityV2 API 2024-11-25 18:48:45 -03:00
Sale Djenic
fd63893515 feat(wallet): in app tx related notifications improvements
Closes #16338
2024-11-25 14:47:03 +01:00
Sale Djenic
bb797d56bf chore(general): preparing signals to be able to handle tx status change 2024-11-25 14:47:03 +01:00
Alex Jbanca
1da7081405 fix(BC): Fixing the send transaction
The send transaction was successful, but the transaction hash is not recognized by the dApp because it was being hashed again.
2024-11-22 13:52:26 +02:00
Alex Jbanca
b555d19a1a feat(BC): Implement eth_signTypedData_v4 in BrowserConnect
This commit renames the personalSign to Sign in nim and status-go to enable `eth_signTypedData_v4` signing.
The sing request coming from the status-go API contains the signing method to be used by the client. Currently we're supporting personal sign and signTypedData_v4.

The only difference between these two signing methods is the order of challenge and address in the `params` array. This is handled in the SappsConnectorSDK::buildSignRequest
2024-11-22 12:47:01 +02:00
Alex Jbanca
a39728ba94 feat(WalletFirst): Rearrange left nav bar and open wallet section by default
1. Wallet section is the default section
2. Wallet section is the first section in the left nav bar
2024-11-22 12:24:03 +02:00