Commit Graph

10176 Commits

Author SHA1 Message Date
Ulises Manuel 6dde1d7b74
fix(onboarding): Increase hit area for all selectors (#21355)
* Increase hit-slop for all selectors

* Remove unnecessary `:f>` wrapper
2024-10-03 13:35:47 -06:00
Sean Hagstrom 1691e2fe34
chore: remove run-tests from wallet-send event tests (#21373) 2024-10-03 12:56:45 +01:00
Parvesh Monu b536d20713
Add syncing notification to System Tab (#21314) 2024-10-03 07:11:10 +05:30
Ulises Manuel ca3720be0a
fix(communities): token-gated community info text (#21338) 2024-10-02 14:57:45 -06:00
Ulises Manuel 63d0aaca2a
feat(chats): Implement a simpler chat screen (#21313)
* Change `defonce ^:const` -> `def ^:const` in `status-im.contexts.chat.messenger.messages.list.view` to be more REPL friendly

* Remove animations from `status-im.contexts.chat.messenger.messages.pin.banner.style`

* Simplify placeholder for messages

* Replace shared-value with a ratom usage since no animations were performed.

* Fix the style for the new designs and remove now unnecessary animations

* Improve chat component implementation

    The previous implementation has two main problems:
        1. It is creating atoms and ratoms in non-form-2-components.
        2. Conditionally uses a hook: `rn/use-mount` in `lazy-chat-screen`.

    The new implementation fixes the previous problems, improves the readability and passes only the props needed to its children.

* Remove action buttons from the chat screen

* Remove now unused code

* Replace reanimated/view -> rn/view where no animations are made
2024-10-02 14:35:23 -06:00
Brian Sztamfater 3a4b58f32f
feat(swap): remove feature flag (#21363)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-10-02 12:55:32 -03:00
Lungu Cristian d748ccdef9
Fix WalletConnect sessions disappearing (#21350)
* feat: moved disconnect logic to function

* ref: moved rpc calls to rpc ns

* ref: moved session approval logic to function

* fix: small fixes for sessions

* test: wallet-connect/on-session-delete event test

* test: added event tests for wc sessions

* fix: require sessions events ns

* fix: the wallet was loaded after wc sometimes
2024-10-02 18:16:20 +03:00
Lungu Cristian 97aff27980
Dapps Typed Data request improvements (#21333)
* feat: added type data flattening + tests

* feat: added typed data flattened ui

* ref: moved typed data utils into their own ns

* ref: small changes & formatting

* feat: show typed data view only for typed data requests

* ref: moved typed-data? into sub

* fix: tests and styling
2024-10-02 13:50:38 +03:00
Brian Sztamfater 0c3e836272
feat: disable swap and bridge options on testnet mode (#21343)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-09-30 13:13:15 -03:00
Mohsen 60fc4f1b9a
[#21132] refactor: improve send transaction content in wc flow (#21266) 2024-09-30 15:11:56 +03:00
Siddarth Kumar b97e2df2fb
chore: nuke personal INFURA token 2024-09-30 17:09:35 +05:30
Alexander f539bb5ca2
Swap flows (launch from home / launch from account) (#21269)
* Swap flows (launch from home / launch from account)

* Fixes

* Lint fix
2024-09-30 10:44:25 +02:00
Parvesh Monu c166c7c314
fix profile name not displayed on the login page for synced device in the fallback flow (#21321) 2024-09-27 20:33:59 +05:30
Brian Sztamfater 24f482014b
feat(swap): show and link to provider terms and conditions (#21311)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-09-27 11:21:51 -03:00
Brian Sztamfater 9c73d9d03c
fix: approval of amounts with big decimals (#21326)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-09-27 09:18:54 -03:00
frank 0cbb6819b4
fix_: ignore log partial API request (#21312)
50338d01...ddec17a6
2024-09-27 19:29:29 +08:00
Alexander 7bbd476cf6
Swaps: Asset to Pay / Asset to Receive (#21140)
* Select assets to pay/receive

* Fixes

* Fixes

* Updates

* Fixes

* Fixes

* Fixes

* Fixes

* Small test fix
2024-09-27 12:31:03 +02:00
Ulises Manuel 93f00c442e
[#21205] Update metadata for F-Droid (#21320)
* Remove non-supported languages

* Update assets for all languages
2024-09-26 17:08:44 -06:00
Mohamed Javid e0c9800751
fix(wallet)_: Stop route calculation (#21306)
This commit

- Stops route calculation when the user
   - changes FROM account
   - changes the send (input) amount
   - goes back from the routes calculation page
   - after the transaction is successfully submitted
   - goes back from tx confirmation page for collectibles
- Prevents the keyboard being dismissed while entering the password on the transaction confirmation page
- Fixes multiple edit tiles/boxes added to receiver routes

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-09-26 18:56:20 +05:30
Brian Sztamfater fdc814cdb0
feat: integrate max slippage drawer (#21295)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-09-25 16:03:07 -03:00
Parvesh Monu 59c2b79df2
fix Lost the syncing state in fallback recovery, when first enter the seed phrase for the wrong account (#21298) 2024-09-25 19:40:26 +05:30
Sean Hagstrom 27d1a5f3f4
fix: avoid exceptions related to comparing invalid strings to BigNumber instances (#21282)
This change adapts the code to avoid persisting the string `"<0.01"` in the wallet-send UI state. This change also modifies some of the BigNumber utility functions to validate that only BigNumbers are used with the utility functions. And the this change also tries to stop requesting route suggestions after exiting the wallet-send flow.
2024-09-25 14:50:17 +01:00
Ulises Manuel 5df1e6caf6
fix(wallet): Collectibles stuck in loading for watch-only accounts (#21286)
* Fix `loading?` state for collectible cards
2024-09-24 16:30:21 -06:00
flexsurfer b11d3bed78
Crash when trying to add Waku settings in Advanced Settings #21155 (#21302) 2024-09-24 17:00:51 +02:00
Brian Sztamfater 9258f2a513
feat: implement proper error handling for swaps (#21261)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-09-24 11:44:35 -03:00
Sean Hagstrom 604ee33c52
chore: update status-go to v2.1.0 (#21272) 2024-09-24 10:31:42 +01:00
Yevheniia Berdnyk f94be17b11
e2e: updated SauceLabs capabilities 2024-09-23 18:09:07 +03:00
Parvesh Monu 4bf8aaf2e0
Compress Images for Status Screen and Add Image Compression Script (#21300) 2024-09-23 16:44:24 +05:30
Sean Hagstrom 0f20f07363
chore: dispatch open-url event instead of calling function directly (#21246)
This change adds a re-frame event for `:open-url` which will allow UI components to open a url using the re-frame effect `:effects/open-url`. Additionally, some code was refactored to use the `:open-url` event instead of directly opening the urls with the `open-url` function.
2024-09-20 16:48:58 +01:00
Mohamed Javid a1404385d1
fix(wallet)_: token max value not updated on switching token/network (#21201)
This commit fixes the max value that is not updated when the user switches the token/network in the input amount screen

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-09-20 19:28:36 +05:30
Siddarth Kumar 1ee16da0c7
nix: point to nixpkgs unstable channel for gradle 8.8 (#21267)
nix: use nixpkgs unstable for gradle 8.8

nix: ldflags are expected to be a list

chore: fix deprecated vendorSha256

nix: bump jdk to 17 & pass java version to gradle

make: set universalApk false in run-android target

nix: fix --replace deprecation warning

  - https://github.com/NixOS/nixpkgs/pull/260776

ios: update pod and gem lockfiles

nix: bump nodejs to 20.12.2

nix: add Xcode 16.0 to allowed versions

chore: upgrade rn-image-crop-picker lib

nix: full path for missing dep in node_modules sh

e2e: removed redundant element

---------

Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
2024-09-20 15:01:42 +05:30
Yevheniia Berdnyk 17950e0ac0
e2e: removed unused element 2024-09-20 11:54:39 +03:00
Volodymyr Kozieiev 1190fc8069
Fixed amounts for multiple collectibles (#21237) 2024-09-19 12:35:14 +01:00
Siddarth Kumar 92456612b1
chore: fix status-go versioning script (#21276) 2024-09-19 16:49:35 +05:30
Mohamed Javid 9912136ac9
fix(wallet)_: crash on viewing dynamic file type collectibles (#21245)
This commit removes the support for GIF file types for the collectibles.

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-09-19 15:45:52 +05:30
Parvesh Monu 0eb065bbb7
Implement seed phrase fallback flow (#21090)
Co-authored-by: Parvesh Monu <parvesh.dhullmonu@gmail.com>
Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2024-09-19 15:23:23 +05:30
frank 2e61f94d84
fix(mention)_: async call for mention suggestion (#21171)
* fix(mention)_: ensure async call work as expected

81cfce70...b2c2e407

* chore_: remove call-time and rename

* chore_: update status go version
2024-09-19 13:24:48 +08:00
Ulises Manuel f606dc065b
[#21212] - Fix not joined options for token gated communities (#21247)
* Fix not joined drawer options for token gated communities

* Remove `show-not-implemented-features?` flag for token gated options

* Fix component tests
2024-09-18 17:52:01 -06:00
Icaro Motta 6464ef96b6
chore(waku): Enable message missing verification flag (#21005)
As recommended in
https://github.com/status-im/status-go/pull/5570#discussion_r1692345230 [1] and
https://github.com/status-im/status-go/pull/5570#discussion_r1690794119 [2], we set
the Waku config flag WakuV2EnableMissingMessageVerification to true. The flag
can't be toggled in the UI because there's no supporting endpoint for that in
status-go at the moment.

[1] I doubt the hash based store-query going to be as expensive as legacy-store.
Because we only query hashes and if we miss any messages we fetch them which
would improve message reliability.
https://github.com/status-im/status-go/pull/5511 is expensive as it doesn't
query hashes rather full messages. I think we can keep this new flag enabled by
default and provide a switch in the app in case it becomes expensive to disable
it.

[2] we can keep this enabled for mobile by default. The reason
WakuV2EnableStoreConfirmationForMessagesSent was disabled is as it was giving
bad UX to users where messages were sent but still showing as not sent due to
storeNode performance issues. But this flag doesn't give any bad UX, so we can
keep it enabled by default.

Fixes https://github.com/status-im/status-mobile/issues/20879
2024-09-18 17:52:48 -03:00
Brian Sztamfater 9068801e4f
feat(swap): switch pay/receive assets (#21179)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-09-18 13:07:13 -03:00
Parvesh Monu 2f3d3fc7f9
fix hidden community appears on "Opened" Tab (#21238) 2024-09-18 20:17:44 +05:30
Yevheniia Berdnyk 69664322b8
e2e: requests.log for failed tests 2024-09-18 12:07:50 +03:00
John Ngei a1662752bc
chore(onboarding): Remove welcome screen from onboarding (#20912)
* Fix customization color in disclaimer on onboarding

* Remove welcome page from onboarding

* Fix notification permission request on onboarding

* e2e: updated create user flow

---------

Co-authored-by: Ulises M <ulises.ssb@hotmail.com>
Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
2024-09-17 16:20:34 -06:00
Alexander 3363152160
WC: Last account that established connection is not selected when connecting through global scanner #20801 (#20913)
* WC: Last account that established connection is not selected when connecting through global scanner

* WC: Last account that established connection is not selected when connecting through global scanner

* Fixes
2024-09-17 15:29:05 +02:00
Volodymyr Kozieiev 7cad13c3c7
Strip out eip-3770 prefixes when scan qr (#21256) 2024-09-17 12:57:06 +01:00
frank 699986c0b2
log go request and response (#21218)
this commit implemented logging request/response between status-mobile and status-go. 

to access `requests.log`, shake your phone and share the logs. 

TBD: 
- adding `device id` into request to proxy server, we can implement it in a separate PR if needed.
- not sure if we need logging the request made in the backend that not asked by frontend directly
2024-09-17 08:58:38 +05:30
flexsurfer 85b5445296
[#21035] Allow users to independently enable Waku telemetry and in-ap… (#21168) 2024-09-16 16:22:18 +02:00
Parvesh Monu cdb2370cf3
fix contrast between Chats and Communities with new messages (#21242) 2024-09-16 19:13:29 +05:30
Mohamed Javid 5d6b46a914
fix(wallet)_: Error on sending ERC1155 collectible (#21209)
This commit:
- fixes crash while sending an ERC115 collectible
- fixes routes are fetched if we enter 0 in the input

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-09-13 17:56:53 +05:30
flexsurfer 77ff5b473b
Data randomly remains in composer after sending a message #18172 (#21262) 2024-09-13 14:14:16 +02:00