7365 Commits

Author SHA1 Message Date
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
Anastasiya Semiankevich
751f27498c tests(@e2e): reimplement kick and ban member test 2024-12-28 11:47:49 +03:00
Khushboo Mehta
b5ba168463 feat(@desktop/wallet): fixing some issues in UI alignments 2024-12-24 12:09:06 +05:30
Khushboo Mehta
3670e352f1 feat(@desktop/wallet): Implements the Send Modal Footer required for simple send
fixes #16918
2024-12-24 12:09:06 +05:30
Khushboo Mehta
a9978ef601 feat(@desktop/wallet): New simple fees component
fixes #16706
2024-12-24 12:09:06 +05:30
Khushboo Mehta
8c615289cc feat(@desktop/wallet): Add a temporary recipient selector so that we can quickly unblock other peoples work 2024-12-24 12:09:06 +05:30
Khushboo Mehta
6175cf8557 feat(@desktop/wallet): Add icon for switching Base fee to fiat
fixes #16913
2024-12-24 12:09:06 +05:30
Khushboo Mehta
909f518d3d feat(@desktop/wallet): Entering asset value + using max button in its current state
fixes #16903
2024-12-24 12:09:06 +05:30
Khushboo Mehta
889f46b392 feat(@desktop/wallet): Adding features of Account, Network and Token Selection to the popup
fixes #16820, #16835, #16878
2024-12-24 12:09:06 +05:30
Khushboo Mehta
9182d6e335 feat(@desktop/wallet): Making changes so that simple send can be launched outside of storybook 2024-12-24 12:09:06 +05:30
Khushboo Mehta
a10ca6490b feat(@desktop/wallet): Adds enabled state for the token selector needed when Simple send is scrolling 2024-12-24 12:09:06 +05:30
Khushboo Mehta
44b5272c5f feat(@desktop/wallet): This commit is focussed on testing and adding dialog resizing for simple send
fixes #16836
2024-12-24 12:09:06 +05:30
Cuteivist
19988fbcee
feat(chat): Open Send modal from payment request (#16945)
* feat(chat): Open Send modal from payment request

Closes #16738

* fix(chat): Update preview label issue

Fixes #16926
2024-12-23 06:32:48 +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
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
Sale Djenic
37251afe60 fix(wallet): bring back chat settings panel that was missing 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
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 007f75ad4c4823692abf9c12ee7c1a0806a87659)
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 2c4f6b5da3d484b8e36f2ec572ba738e490cda40)
2024-12-12 15:42:47 +02: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
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
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
7c0eb01294 chore: remove unused activity details code 2024-12-04 09:29:42 -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
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
Michał Cieślak
7323889a8c ContactDetails decomposed into smaller, more specialized components
Closes: #16793
2024-11-29 17:46:50 +01:00
Michał Cieślak
4a36c71f3b Chat/RootStore: contactsModel property removed 2024-11-29 17:46:50 +01:00
Dario Gabriel Lipicar
228197e2c4 feat(@desktop/wallet): Round down max value in Send and Swap modals 2024-11-29 08:39:58 -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
Khushboo Mehta
f1395a3a0a feat(@desktop/wallet): Adapt AmountToSend for Simple Send
fixes #16703
2024-11-27 16:40:53 +01:00
Khushboo Mehta
dc716ad1b0 feat(@desktop/wallet): Adapt Token Selector
fixes #16702
2024-11-27 16:40:41 +01:00
Alex Jbanca
fa4755ce9e feat(WalletFirst): Integrate the BuyReceiveBanner in the app
+ store the card state in user settings
+ amend the BannerCard close button state. It needs to change color on hover and to become visible only when the card is hovered.
2024-11-27 16:50:58 +02:00
Alex Jbanca
b04a9a4dd2 feat(dapps): Add connector badge to WC and BC dapps
Adding connector badge to the dapps list and connect modal
Updating the RoundImageWithBadge to support custom badge size and margins
Updating the RoundImageWithBadge to support both SVG and PNG as source
Polish the dapps sign modal badge to match the design
2024-11-27 14:19:34 +02:00
Anastasiya Semenkevich
9b73badd22 feat: buy flow wording adjusted 2024-11-26 20:02:47 +03:00
Alex Jbanca
c99697134b fix(WC): Fixing the namespace negotiation for non eip155 chains in pairing process
Check if the approved namespaces contains `eip155` property. Show an unsupported chain error if it doesn't.

We should display the unsupported network error when the required namespaces is empty or meets the app supported namespace, but the optional namespace contains only non eip155 chains.
2024-11-26 09:30:02 +02:00
Dario Gabriel Lipicar
63e0ab35f0 fix: fix #16788 2024-11-25 18:48:45 -03:00
Dario Gabriel Lipicar
4a35c7d5b1 chore: fixes 2024-11-25 18:48:45 -03:00
Dario Gabriel Lipicar
338f1f6f47 chore: fixed pr comments 2024-11-25 18:48:45 -03:00