Commit Graph

6599 Commits

Author SHA1 Message Date
Brian Sztamfater 52aaee0bd1
fix: non supported network warning is shown on the bridge flow (#20098)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-05-27 08:55:34 -03:00
Icaro Motta 00a9555633
Optimize how peer stats are processed
- Debounce peer stats signals by 1s because they may happen 30 times during
login and the payload conversion using js->clj is not cheap.

- Change the order of case macro checks: put more frequent signals at the top.

- Better format code
2024-05-27 13:29:20 +02:00
Parvesh Monu 366fb7b174
Show parsed bridge messages (#20058) 2024-05-27 15:41:47 +05:30
Parvesh Monu bcd8f3ad16
Hide jump-to behind a feature flag (#20069) 2024-05-27 15:07:28 +05:30
Jamie Caprani 777b2bb8da
chore(wallet): smooth collectible list loading transition 2024-05-24 13:44:16 -07:00
Parvesh Monu f17484f61b
fix missing pinned messages label (#20174) 2024-05-25 00:00:46 +05:30
Ulises Manuel 49a41f4787
[#19232] - Fix derivation path generation and keypair creation (#19531)
* Add more default dependencies to slide button

* Fix wallet account creation: derivation paths and keypairs
2024-05-24 10:03:02 -06:00
flexsurfer e30ca97372
Remove not implemented Notification settings from community longtap m… (#20169) 2024-05-24 16:51:25 +02:00
Andrea Maria Piana 178d62bd27 Update eth-archival pokt url 2024-05-24 14:56:52 +01:00
Ajay Sivan 4262d0e8ab
Avatars/dApp Avatar Component (#20145) 2024-05-24 05:48:43 -07:00
Ajay Sivan 6f3aa19a04
Avatars/Community Avatar Component (#20147) 2024-05-24 05:33:52 -07:00
Ajay Sivan c398c85b0f
Avatars/Token Avatar Component (#20141) 2024-05-24 05:04:20 -07:00
Jamie Caprani 3a728fb112
chore(wallet): reset input on send flow when swapping accounts (#20099) 2024-05-24 13:31:34 +02:00
Omar Basem d2fb6c7ee0
fix: balances in network preferences after removing account (#20139)
fix: balances in network preferences after removing account (#20139)
2024-05-23 17:52:14 +04:00
BalogunofAfrica 2ffdeb1fa2
fix(wallets): no routes render on input amount (#20112)
* fix: no routes found error when disabling chains and current amount exceeds new max amount

* fix: disable button on routes loading

* add no-routes-found component

---------

Co-authored-by: Brian Sztamfater <brian@status.im>
2024-05-23 12:33:33 +01:00
flexsurfer a0d9134f7b
Incorrect Button Label Color in Disabled State #20056 (#20156) 2024-05-23 12:38:03 +02:00
flexsurfer 813e4ee730
Syncing/Sync failed screens are missing illustrations #20068 (#20142) 2024-05-23 10:54:38 +02:00
flexsurfer 5eba373c3c
Feature/hide browser behind feature flag #20022 (#20082) 2024-05-23 10:12:39 +02:00
yqrashawn c19f170239
fix(dev exp): auto disable fast refresh on iOS (#20120) 2024-05-23 15:17:01 +08:00
Sean Hagstrom 60ef4fab4b
Implement display of missing key pairs in wallet settings (#20094)
* fix: ensure the keypairs use blur for their theme

* fix: allow for container-style to be passed to standard-title component

* chore: add translations for for missing-keypair labels

* tweak: add support for missing-keypair type for drawer-top component

* tweak: add initial implementation of missing-keypair list-item component

* tweak: add initial implementation of missing-keypairs list component

* feature: add initial implementation of displaying missing key-pairs

* tweak: update missing-keypair list-item to support blur, light, and dark mode

* chore: add missing-keypair list-item preview

* chore: add missing-keypairs preview

* chore: decode :operable key in account to be keyword

* tweak: remove unneeded keyword decoding

* tweak: update drawer-top component to use keypair and stored field

* tidy: revert change for checking for not default-keypair in actions menu
2024-05-22 18:30:32 +01:00
flexsurfer 47b4ab923b
Pinning contact request message leads to a crash #20131 (#20132) 2024-05-22 16:43:18 +02:00
Ajay Sivan 05a09d1fa1
Buttons/Swap-Order-Button Component (#20119) 2024-05-22 05:03:13 -07:00
John Ngei 8bd1c8de95
refactored some styles and fixed text alignment fix ens name verication 2024-05-22 11:11:36 +02:00
Ajay Sivan e5ab94f1b2
Wallet/Approval Label Component (#20117) 2024-05-22 00:59:46 -07:00
Omar Basem ff82d9c39e
fix: update confirm button copy on input amount screen(#20122)
* fix: update confirm button copy on input amount screen(#20122)
2024-05-22 09:34:55 +04:00
Ulises Manuel e1210e90c0
[#19544] Show preselected networks in QR code (#20070)
* Add subscription to get preferred networks given an address
* Fix preselected networks in receive screen
* Improve subscription
* Fix preselected networks in share screen
* Update test to include oeth
2024-05-21 10:08:14 -06:00
Jamie Caprani ed88170c5d
chore(wallet): hide share button on scanner pages except universal scanner 2024-05-21 08:11:04 -07:00
Brian Sztamfater 32123d2f69
fix: max value is incorrect for some tokens (#20096)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-05-21 11:59:19 -03:00
Anton Iakimov b3361b7d89 chore: drop wakuv2 fleets, use waku fleets
See https://github.com/status-im/infra-nim-waku/issues/91 for details

Mostly done automatically. Some parts manually.
3103c298...92ef58d4

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-21 14:02:30 +02:00
Ajay Sivan f7163c748b
Use data from API to populate the buy assets sheet (#20078)
Remove unused code & resources
2024-05-21 04:45:07 -07:00
Omar Basem 34cf65bfc9
fix: overlapping send details (#20102)
* fix: overlapping send details (#20102)
2024-05-21 11:19:22 +04:00
Icaro Motta 88afa09baf
Only log event payload at trace level (#20097)
While investigating why login is slow
https://github.com/status-im/status-mobile/issues/20059 and when testing with
accounts with communities, I noticed we are logging huge payloads because they
include data URLs. This makes debugging the app harder.

Therefore, we will now log the full event payload only at the trace level, and
at the debug level we only log the event type.

This problem was first described by ulisesmac.
2024-05-20 23:06:38 -03:00
yqrashawn b358c06a31
fix: Community state cannot be changed to failed to fetch (#20101)
Signed-off-by: yqrashawn <namy.19@gmail.com>
2024-05-21 09:16:05 +08:00
Mohsen 389a730eff
[#19946] feat: add key pair QR code view (#20073) 2024-05-20 19:35:51 +03:00
Brian Sztamfater d4e7e4cd52
fix: no routes are found in case of valid amount in fiat is entered (#20000)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-05-20 10:08:31 -03:00
Ajay Sivan 3de86b09bd
Page nav component alignment fix (#20108) 2024-05-20 05:35:31 -07:00
Brian Sztamfater dc551031fe
fix: routes ui for bridging (#19959)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-05-20 08:07:35 -03:00
Omar Basem 29b02a544c
fix: multiple address input fixes (#20005)
fix: multiple address input fixes (#20005)
2024-05-20 14:53:15 +04:00
BalogunofAfrica 3e4cbfeb69
feat: recalculate network max value (#19953) 2024-05-20 10:42:22 +01:00
Parvesh Monu 8038fc5ceb
fix wrong avatar for community channels in topbar (#20093) 2024-05-20 14:25:37 +05:30
Omar Basem eb1db20161
chore: rename backup screen (#20077)
chore: rename backup screen (#20077)
2024-05-20 09:29:15 +04:00
BalogunofAfrica d558c565b0
feat: support sending multi collectibles (#20045) 2024-05-17 22:10:24 +01:00
Icaro Motta ea58e52dc1
Support hooks & atom state management in previews (#20053)
Change the implementation of component previews to support receiving either
state/set-state from use-state or a Reagent atom, thus allowing us to gradually
change preview namespaces to use hooks instead of having to refactor all at once
in a gigantic PR.

All types of preview fields were tested, including multi-select.

Only the components counter.step and selectors.react previews were adapted
to use-state.
2024-05-17 16:48:57 -03:00
Omar Basem 624593ec35
chore: rename opt to oeth (#19974)
chore: rename opt to oeth (#19974)
2024-05-17 22:23:51 +04:00
Omar Basem 9d302d8192
fix: select asset screen render function (#20086)
fix: select asset screen render function (#20086)
2024-05-17 21:59:13 +04:00
Parvesh Monu 47428368fd
Allow user to manually input password when biometric fails (#19989) 2024-05-17 19:46:07 +05:30
Parvesh Monu 4c84dd4a1b
Don't load chat view until chat is fetched (#19988) 2024-05-17 19:31:29 +05:30
yqrashawn cfe9d6e539
fix: action/reaction drawer UI issue (#19630) 2024-05-17 20:12:03 +08:00
andrey afd92d2df1
Revert " Hide browser behind feature flag (#20036)"
This reverts commit ba3d4dd4ce.
2024-05-17 12:08:53 +02:00
flexsurfer ba3d4dd4ce
Hide browser behind feature flag (#20036) 2024-05-17 12:06:32 +02:00
Omar Basem d7f3946c06
feat(wallet): Activity Items - Sections (#19906)
feat(wallet): Activity Items - Sections (#19906)
2024-05-17 10:44:34 +04:00
Ulises Manuel e1408f2a5f
Implement collectible header with animations (#20024)
Co-authored-by: Ajay Sivan <ajayesivan@gmail.com>
2024-05-16 21:16:17 -07:00
BalogunofAfrica c70a2c9e9e
fix: blur type for community header (#19665) 2024-05-16 18:29:45 +01:00
Omar Basem 649a316361
fix: address input multiline (#19962)
fix: address input multiline (#19962)
2024-05-16 19:39:30 +04:00
Lungu Cristian c05be0f2c2
Fix Wallet Connect structure (#20042)
* fix: wallet-connect structure & small bugs

* fix: formatting issue with sorting wc dependency
2024-05-16 18:02:44 +03:00
Sean Hagstrom db26a878c3
fix: add network-settings feature flag and remove wallet-activities feature flag (#20043) 2024-05-16 15:35:35 +01:00
Omar Basem 219ae0ccbe
fix: wallet send navigation flow (#20008)
fix: wallet send navigation flow (#20008)
2024-05-16 18:15:53 +04:00
Ajay Sivan 3e33ccb9ca
feat_: Add swap option in wallet action drawer (#20029) 2024-05-16 06:51:21 -07:00
Ajay Sivan d73c38a00c
Community Token Gating Component (#19642) 2024-05-16 06:36:54 -07:00
Ajay Sivan bd5fb0d407
fix: Page Nav title animation (#19651) 2024-05-16 06:08:32 -07:00
Ajay Sivan 22d63002b2
Fix preview screen label theme (#20055) 2024-05-16 05:55:22 -07:00
Parvesh Monu 052813e30e
Hide empty categories and categories that include only hidden channels 2024-05-16 15:47:50 +05:30
flexsurfer 30715a69e1
Avatars are missing in messages bridged from Discord to Status app (#19994) 2024-05-16 12:10:20 +02:00
Brian Sztamfater 0145429852
feat: support edge case flow in the wallet send flow when token is not available on receiver preferred networks (#19674)
feat: implement wallet send flow edge case when selected token is not supported on receiver's preferred networks

Signed-off-by: Brian Sztamfater <brian@status.im>
2024-05-15 14:11:26 -03:00
Jamie Caprani 8f0840e913
chore(onboarding): remove parallax (#20026)
---------

Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
2024-05-15 14:31:25 +02:00
Parvesh Monu 5ab97db795
fix scroll to bottom button is shown on chat reopen (#20004) 2024-05-15 16:23:38 +05:30
Sean Hagstrom f7505db6fd
Implement network settings for wallet settings (#19995)
* fix: resolve warning about using subscription inside a lazy seq

* fix: avoid schema error when we do not have a port for the media server

* chore: add feature-flag for network-settings inside wallet-settings

* chore: add testnet mode label

* chore: add testnet labels for bottom-sheets

* chore: add label for changing testnet mode

* feature: add initial network-settings screen to wallet-settings

* test: add test for sub

* tidy: rename function to hide-bottom-sheet

* tweak: add info-box for testnet mode

* tidy: testnet-mode bottom-sheet

* tidy: use reduce-kv instead of map & into

* tidy: use noun naming convention for function creating options for settings

* tweak: add support for displaying testnet-mode status on each wallet network

* chore: add translation for labels referencing testnet-mode and sepolia
2024-05-15 10:28:25 +01:00
Omar Basem c87e981902
fix: jump-to button positioning (#19990)
fix: jump-to button positioning (#19990)
2024-05-15 08:49:33 +04:00
Ulises Manuel 04eaf41889
Revert "Implement collectible header with animations (#19783)" (#20023)
This reverts commit 5a6a0f7e3d.
2024-05-14 12:36:49 -06:00
mmilad75 8d4f1f9b38
'No matching clause' error is shown if ENS is entered into 'sent to' page #19741 (#19957) 2024-05-14 21:24:25 +03:30
Ajay Sivan 5a6a0f7e3d
Implement collectible header with animations (#19783)
Co-authored-by: Ulises M <ulises.ssb@hotmail.com>
Co-authored-by: Ajay Sivan <ajayesivan@gmail.com>
2024-05-14 10:18:29 -06:00
Jamie Caprani e72e25c342
feat(wallet): add recent recipients tab (#19942) 2024-05-14 06:36:38 -07:00
Lungu Cristian d658fcf3db
Add Wallet Connect base implementation of the connection flow (#19909)
* feat: added base implementation of WC connect flow

* test: mocking the wc dependency

* fix: addressed review comments
2024-05-14 11:53:11 +03:00
Ulises Manuel 88df60958c
[#19410] extend wizard mechanism for collectibles and tokens (#19515)
* Fix typo `:collecible` -> `:collectible`

* Extend the wallet-send-flow for collectibles and tokens in all entry points
2024-05-13 18:01:31 -06:00
Parvesh Monu a6cd97482c
Fix loading screen for fetching community (#19968) 2024-05-13 20:52:05 +05:30
yqrashawn 112768d13a
fix(ios): autofocus input in drawer overlay won't trigger keyboard open (#19964) 2024-05-13 23:11:15 +08:00
Mohsen 6be1adb40e
[#19917] feat: rename keypair from wallet settings (#19939) 2024-05-13 17:07:33 +03:00
Alexander 006824e0ed
Connected dApps: make right side of page-nav accomodate whatever we need (#19934)
* Connected dApps screen

* Style fixes

* Style fixes

* Updated quo-preview

* Reverting back Podfile.lock changes

* Fixes

* Style fixes

* Small `boolean icon-name` fix

* Style fixes
2024-05-13 15:50:50 +02:00
mmilad75 33da4bfabc
Selected networks are not shown as preferred if a multichain wallet with preferred networks is scanned on the 'send to' page #19775 (#19899) 2024-05-13 14:54:39 +03:30
Nikolay 2618a55dbc
[#18817] Import private key: UI for key pair name (#19747) 2024-05-13 11:39:42 +02:00
Parvesh Monu 439edc39a6
fix wrong letter and background color of the channel/group avatar (#19972) 2024-05-13 15:05:30 +05:30
Omar Basem 12515a4904
fix: Collectible screen design issues (#19721)
fix: Collectible screen design issues (#19721)
2024-05-13 12:40:31 +04:00
Omar Basem f50ca4606f
fix: remove wallet graph (#19973)
fix: remove wallet graph (#19973)
2024-05-11 12:20:21 +04:00
Icaro Motta 225e3b1c2f
DX: Preload user and dev.user namespace (#19927)
Preload the user namespace (src/user.cljs and src/dev/user.cljs) for the mobile
target and for dev-only purposes. The files are git-ignored.

Just a reminder that you'll be responsible for making sure your user namespace
is correct. If it's broken in any way (e.g. calling non-existent code) the app
will crash at initialization (dev-only environment obviously).

Why? When the app initializes, it loads namespaces that were required at least
once. If you create a user namespace, it won't be automatically required for
you. And if you, like some Clojure devs, like to use the user namespace as
your safe heaven for experimentation and dev-only utilities, you'll need to
remember to evaluate the namespace at least once.

This is tedious and many times I forgot to do so and the app crashed because the
compiler didn't know where the symbols were coming from.
2024-05-10 13:17:26 -03:00
Icaro Motta 037e71bc03
Optimize opening of Settings screens (#19940)
This commit rewrites utils.re-frame/delay-render to use hooks. The new
implementation renders significantly better than what we have today, at least on
Android.

Why not hiccup instead of a function call to delay-render? The Settings screen
is rendered slightly faster if I use delay-render as a function call instead of
hiccup. My only guess is that this is just less work to be done by Reagent,
since the wrapper function is not creating a wrapper component with its own
lifecycle.

The full analysis can be found here, but it's copied for future reference:

--------------------------------------------------------------------------------
Based on my analysis of individual frames being rendered and having investigated
3 different scenarios:

1. Scenario 1: No delay whatsoever, i.e. not using `delay-render`.
2. Scenario 2: Using `delay-render` like in `develop`, that is, a form-2
   component with a local Reagent atom.
3. Scenario 3: Using `delay-render` as in this PR, using hooks.

All 3 scenarios open the Settings screen with all rendered views in the same
amount of time. In terms of raw performance, they are completely identical. The
absolute value doesn't matter, but in my recordings, on average, 10 frames of
video after the first press on the user's profile image.

So how can it be that on Android the new solution is visibly smoother? It's all
about latency and our brains are very picky about it.

Scenario 1 - Not using delay-render: the user notices a longer delay after
pressing on the profile image because all components in the Settings screen are
mounted in one go. This gives the impression to the user of being slower. In
slower Android devices, we've seen a user even press twice because the Settings
screen was taking longer to open. On newer Android devices this is not much of a
problem. There's another problem in `Scenario 1`, on Android, with too many
elements and/or too many heavy elements being mounted, the opening animation is
sometimes completely cut off or very clunky (a similar problem can happen while
opening the Activity Center).

Scenario 2 - Use delay-render with a form-2 component: The Settings items are
always rendered after the opening animation completes. Our brains perceive this
as a slight delay because we can see the empty gray background for 1-3 frames.
This is quite noticeable on my physical Android device, even with a prod build.

Scenario 3 - Use delay-render as a hook: the optimal solution from the user's
perspective, Settings items sometimes can be rendered before the animation
completes. I say sometimes because other times the items are rendered only 1
frame before or right when the animation completes, which would be almost the
same as Scenario 2.

What the hooks solution gave us is a little bit of the Scenario 1 and
Scenario 2 in one package, and because the Settings items can be sometimes
rendered before the opening animation completes, our brains see that as being
faster.

In future performance investigations, we might want to focus on manipulating
latency more aggressively to see where that leads us.
2024-05-10 12:43:08 -03:00
Icaro Motta a481a44c72
Fail fast during app initialization if an invalid schema is found (#19958)
Some devs reported invalid schemas in the develop branch during app
initialization. We knew this could happen when Malli was first
introduced, but we wanted to play safe in the beginning due to the
overall inexperience of the team with Malli.

This commit removes all guardrails on instrumented vars, i.e. during app
initialization the app will crash on any invalid schema. A reminder that
instrumentation only take effect when js/goog.DEBUG is true.
2024-05-10 09:12:31 -03:00
Sean Hagstrom 4f0a49f7bf
Add screen for key-pairs and accounts inside wallet settings (#19912)
* chore: add "key pairs and accounts" label

* chore: feature flag wallet-settings

* tidy: extact navigate-back function into static defn

* wip: add initial keypairs and accounts list view to wallet settings

* tweak: wire-up initial action menu for key-pairs

* tidy: extract key-pair container styles into style namespace

* tweak: fix dark background for key-pair and account settings

* tidy: refactor on-press handler for key-pair options

* fix: move feature-flag usage to settings screen instead of settings items definition

* tidy: remove unneeded key props

* tidy: clean up de-structuring and passing of props

* tidy: use keep with when expressions instead of filter and map expressions

* tidy: rename the wallet-settings feature flag

* tweak: rename and add feature-flags for mobile wallet settings

* tweak: use scrollview for feature-flags and add spacing between feature-flag groups

* tweak: adjust the way feature-flags are displayed in groups

* tidy: remove unneeded prop

* tidy: use bottom-inset for padding key-pair and accounts list

* tidy: change `filterv` to `filter`

* tidy: use subscription for building account-props

* tidy: use subscription to build the entire keypair-account

* tweak: use key-pair type to determine default key-pair

* tidy: rename component to settings-category-view

* tidy: use assoc instead of merge

* tidy: extract function from subscription

* test: add tests for formatting key-pairs and accounts for wallet settings

* tweak: use `match?` instead of `=`

* tidy: use `swap!` without anonymous functions
2024-05-10 10:53:35 +01:00
Omar Basem c40853456b
Fix: manage members gesture (#19949)
Fix: manage members gesture (#19949)
2024-05-10 09:16:57 +04:00
mmilad75 14aa9e1c20
Refresh control test (#19831) 2024-05-09 17:42:52 +03:30
mmilad75 2c5cc6cd08
'Send' button is shown for watch-only collectibles and can navigate to the 'send' flow #19743 (#19918) 2024-05-09 17:10:41 +03:30
Icaro Motta 8ad58bb364
Persist in-app feature flags (dev-only feature) (#19619)
This commit improves in-app feature flags to persist what is currently only
stored in a Reagent atom by using RN Async Storage
https://reactnative.dev/docs/asyncstorage. This should make them more convenient
to use, which is a good thing overall for developers.

Additionally, there's now a top-right button in screen Settings > Feature Flags
that will reset the flags to the initial values obtained from environment
variables.

These in-app feature flags are exclusively available in debug builds in
Settings > Feature Flags, and only visible when flag ENABLE_QUO_PREVIEW is
enabled. There's no impact whatsoever in prod builds. A reminder that they are
not meant to be used by users (yet).

It's worth noting that RN has deprecated Async Storage and now recommends other
community solutions, but for a dev-only feature, I think it's fine.
2024-05-09 09:42:38 -03:00
Icaro Motta ab191407ed
Fix schema error after logout (#19933)
Detailed explanation:

The schema failure is due to utils.image-server/get-initials-avatar-uri being
called with a nil profile customization color right after the user confirms
logout.

Right after logging out, the subscription :profile/profile-with-image is
recomputed. One of its signal inputs is :profile/profile. Right after logout,
the output of sub :profile/profile is always nil (this is correct, nobody is
logged in). This means that the sub :profile/profile-with-image will try to
calculate the multiaccount URI by passing a nil profile. This is wasteful
computation and is also the cause of the schema for
utils.image-server/get-initials-avatar-uri to fail, because it expects the
profile's customization-color to be present.
2024-05-09 08:52:27 -03:00
Sean Hagstrom 3e5d758e92
Refactor image server uri helpers (#19271)
* tweak: refactor image-uri helpers

* fix: add `:primary` as customization color for profile images

primary is being used as the default color for accounts that were migrated without customization color to a default color
2024-05-09 11:01:49 +01:00
Omar Basem 7f40f410e7
fix: entering two zeros in a row in the 'Amount' field in wallet (#19911)
fix: entering two zeros in a row in the 'Amount' field in wallet
2024-05-09 12:23:17 +04:00
flexsurfer 497c95fd26
Fix "Offline" section in group chat members #19883 (#19913) 2024-05-08 18:19:56 +02:00
Omar Basem 604eaccbbf
feat: Start bridge from asset drawer (#19860)
feat: Start bridge from asset drawer (#19860)
2024-05-08 16:31:38 +04:00
Brian Sztamfater 842dbbbd8d
feat: add feature flag for swaps (#19920)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-05-08 08:59:01 -03:00
Parvesh Monu 10f5f9ec7d
Implement navigation to profiles and chats from contact requests inside Activity Center (#19902) 2024-05-08 15:48:50 +05:30
Brian Sztamfater 07fb3610d1
chore: add wallet connect library (#19758)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-05-08 05:51:45 -03:00
Omar Basem 834bf612ac
fix: settings item pressability (#19922)
fix: settings item pressability (#19922)
2024-05-08 10:42:15 +04:00
Lungu Cristian 161ba2713f
Change password inside new settings (#19474)
* feat: added change-password screen

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: pw verification error not shown

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* feat: added changing password with confirmation and loading

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: adjusted flow

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: added minimum waiting time when loading

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* ref: moved events to change-password

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: added styles where missing

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* ref: moved header out

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* ref: moved forms into separate namespaces

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: linter promesa alias issue

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* feat: added password-tips quo-component

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: validation message

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: removed bottom-sheet event

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* removed temp file

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: addressed review comments

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: addressed @seanstrom's review comments

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: address @ilmotta's review comments

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: addressed @vkjr's review comments

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: buttom button alignment with keyboard

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: addressed review comments

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: keyboard behavior

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: navigation to loader

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>

* fix: use-theme usage

* fix: button alignment due to alert banner

---------

Signed-off-by: Lungu Cristian <lungucristian95@gmail.com>
2024-05-07 17:38:16 +03:00
Mohsen 245b3fcf57
[#19172] fix: new to status design issue (#19923) 2024-05-07 17:12:27 +03:00
codemaster be59785a1f
fix: notification center blur (#19861) 2024-05-07 06:35:32 -07:00
flexsurfer 45129b8244
Bring the seedphrase backup flow to the new settings #19554 (#19887) 2024-05-07 13:44:31 +02:00
frank 0c6bb61ebe
refactor_:remove part of node config for local pair sync (#19826)
cba3ac57...f3f48654
2024-05-07 19:33:46 +08:00
Mohsen 7ec77db666
[#19195] fix: communities design issues (#19819) 2024-05-07 13:20:00 +03:00
mmilad75 b907881d59
Validation error not displayed for Incorrect eth address in "Sent To" page #19599 (#19862) 2024-05-06 18:08:56 +03:30
John Ngei 0d7c2684ee
fix: border radius on syncing auth bottom sheet 2024-05-06 16:01:21 +02:00
Jamie Caprani 5802097f5f
chore(wallet): feature flag graph and hide about action button (#19832) 2024-05-06 06:14:26 -07:00
Parvesh Monu 5fc9722992
hide not implemented comopser features (#19901) 2024-05-06 17:34:56 +05:30
Parvesh Monu 4eaf832b43
fix contact request message is not shown in the 1-1 chat (#19904) 2024-05-06 16:19:21 +05:30
flexsurfer a9b4d86b00
Patch "Show QR Code" functionality (#19893) 2024-05-06 11:58:13 +02:00
Brian Sztamfater 355e144ef7
refactor: suggested routes rendering (#19768)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-05-03 13:18:14 -03:00
flexsurfer d8d1e030e4
Patch "Add nickname" functionality in home->Contacts #19875 (#19891) 2024-05-03 15:55:54 +02:00
Omar Basem 9187ec25c1
Wallet: activity items (#19847)
Wallet: activity items (#19847)

---------

Co-authored-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-05-03 17:26:24 +04:00
flexsurfer de29c6f7d9
Alignment of system messages in group chat #19886 (#19890) 2024-05-03 13:44:19 +02:00
flexsurfer e6ee2714d7
feature/hide-all-alert-under-not-implemented-flag (#19889) 2024-05-03 13:07:39 +02:00
Shivek Khurana 7b9f4983cb
🎏 Add wallet connect feature flag (#19866) 2024-05-02 20:34:01 +05:30
codemaster 94ab27bcbb
fix: wrong color stroke in profile setting (#19815) 2024-05-02 05:45:43 -07:00
flexsurfer 86c1dbd25d
Add a setting to enable telemetry #19811 (#19858) 2024-05-02 06:31:27 +02:00
Omar Basem a094d218d5
Wallet: account screen jump to (#19732)
Wallet: account screen jump to (#19732)
2024-05-01 21:25:52 +04:00
Sean Hagstrom 3951b8a39c
tweak: hide any not-implemented actions inside home (#19844) 2024-05-01 18:02:16 +01:00
Omar Basem 1757dc5d53
fix: keypiar name continue (#19859)
fix: keypiar name continue (#19859)
2024-05-01 20:08:00 +04:00
Omar Basem f942092a5e
fix: wallet account back button (#19857)
fix: wallet account back button (#19857)
2024-05-01 19:56:03 +04:00
Omar Basem d4be3a6976
Fixes for composer (#19854)
Fixes for composer (#19854)
2024-05-01 16:59:13 +04:00
flexsurfer 6037fe80c4
More reagent atom regression #19812 (#19828) 2024-05-01 12:19:50 +02:00
Sean Hagstrom 6a1fdc5b08
Fix QR share screen for community channel (#19792)
* tweak: add support for displaying channel qr codes with quo/share-qr-code component

* chore: add channel qr-code example to quo preview components

* tweak: integrate common/qr-code component for sharing community channel qr-code

* tweak: add support for showing community channel avatar in share-qr-code header

* tweak: hide wallet tabs for channel qr-code

* tweak: integrate share handler for community channel qr-code

* fix: prevent accidentally rendering the community channel qr-code with nil while closing the share-qr modal

* tidy: extract navigate-back dispatch function

* tidy: use styles namespace

* tidy: use case statement to determine which qr-code components have a header

* tweak: check for share-qr-types that support headers

* tidy: extract navigate-back into static function

* fix: prevent community qr-code from glitching when closing modal
2024-04-30 16:10:53 +01:00
Parvesh Monu 17f6a72590
fix community category divider label margin (#19827) 2024-04-30 19:43:30 +05:30
Sean Hagstrom aaf5b72675
tidy: remove extra event handler for `:communities/set-airdrop-address` (#19829) 2024-04-30 14:18:50 +01:00
Sean Hagstrom a1490d414c
Ensure users can share a community url (#19710)
* fix: ensure :communities/share-community-url-with-data is defined

* fix: ensure we show the share-sheet when pressing the community share-action

* fix: ensure we use the correct share-sheet title when sharing a community

* e2e: updated inviting contacts to community flow

* tweak: remove extra url message when sharing community url on android

* tweak: remove extra url message when sharing community channel url on android

* tidy: remove redundant event handler for sharing community url

---------

Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
2024-04-30 13:44:14 +01:00
Lungu Cristian d8e3934a05
fix: community permission context not passing community-id (#19669)
Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>
2024-04-30 10:00:36 +03:00
flexsurfer 65b0d1cd17
Feature/remove old screens and code (#19795) 2024-04-30 08:41:47 +02:00
Parvesh Monu b65ac2ab14
fix alert banner issues (#19773) 2024-04-29 21:56:41 +05:30
Jamie Caprani c00eb0d539
chore(wallet): add opensea link to collectible overview cta (#19579) 2024-04-29 09:09:36 -07:00
mmilad75 42e407fbcf
Watch-only address balance should not be included in the overall balance by default #19657 (#19716) 2024-04-29 18:04:39 +03:30
mmilad75 e9c2d24cc3
disable button when no network is selected + fix schema errors (#19814) 2024-04-29 17:12:29 +03:30
codemaster d9aa885eb2
fix: reaction drawer issue (#19754) 2024-04-29 06:00:19 -07:00
mmilad75 bd192b0f7d
fix issue (#19808) 2024-04-29 16:05:45 +03:30
Mohsen e8008d0aa9
[#19176] fix: onboarding illustration design issue (#19800) 2024-04-29 12:43:51 +03:00
Parvesh Monu 2ec6a3ed06
fix composer misses shadow and swipe rectangle element (#19805) 2024-04-26 20:02:08 +05:30
Lungu Cristian cd54aa9b92
Add pairing/unpairing of devices (#19692)
* feat: added pairing/unpairing of synced devices

* feat: remove flatlists & add confirmation/toast
2024-04-26 13:24:52 +02:00
Omar Basem 8aa586fe6e
Wallet: create account using recovery phrase (#19702)
Wallet: create account using recovery phrase (#19702)
2024-04-26 11:34:55 +04:00
Volodymyr Kozieiev 1e55827c4b
Fix for "no routes found" on transaction confirmation page (#19789) 2024-04-25 17:21:37 +02:00
Ibrahem Khalil 03f813c957
Implement context action share community QR code (#19700) 2024-04-25 13:49:17 +02:00
frank ce3d32dc0a
refactor(local pair sync)_: move partial config to backend (#19753)
cba3ac57...90b18d4f
2024-04-25 12:13:52 +08:00
Mohsen cdb39452d7
[#19303] fix: edit profile design feedbacks (#19562) 2024-04-24 20:56:32 +03:00
flexsurfer 3794742c8f
Reagent atom from theme regression #19729 (#19735) 2024-04-24 15:05:53 +02:00
Siddarth Kumar 9db49b8ca0
move rn-mail code to our native modules (#19760)
In this commit we nuke the unmaintained library `react-native-mail` and move over the logic to our native modules.
This also helps to fix `make nix-update-gradle` which would fail because of that library.

- Android
- iOS

status: ready
2024-04-24 11:55:40 +02:00
Shivek Khurana ce5ae1d191
Add menu to reach saved addresses and show empty state (#19771)
* 💚 Enable wallet on header navigation

- Add settings screen
- Add save address settings screen
- Need to add empty state next

* 🥡 Added empty state for saved-addresses

- Fixed the standard title quo component
- It's flex behaviour was buggy, and it's not being used anywhere

* 🧂PR fixes and lint

- Use callback everywhere

* 🗞️ Move wallet settings to wallet namespace
2024-04-24 11:35:03 +02:00
Volodymyr Kozieiev 3a5122a50c
Refactoring of token input screen in send flow (#19750)
* Refactoring for send input screen

* lint fixes

* small comments fixed

* Controlled input logic reimplemented without atom

* remove leftover
2024-04-24 10:25:17 +02:00
Brian Sztamfater 782d038fb0
fix: suggested routes are not calculated with preferred networks (#19668)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-04-24 04:50:25 -03:00
Nikolay e6f9932dc5
chore(wallet) import private key main screen (#19625)
Co-authored-by: Jamie Caprani <jamiecaprani@gmail.com>
2024-04-23 14:28:49 -07:00
flexsurfer 380603ddce
Implement blocked contacts setting inside profile messages settings #… (#19616) 2024-04-23 19:12:00 +02:00
flexsurfer 6b5c807176
App crashes after sync #19655 (#19763) 2024-04-23 15:28:35 +02:00
Icaro Motta 54b2e0e678
Remove support for editing shared addresses while request to join is pending approval (#19623)
This PR completely removes support for editing shared addresses while a user's
request to join is pending approval.

The reason for the removal is that, in status-go, the control node that will
process the message
protobuf.ApplicationMetadataMessage_COMMUNITY_EDIT_SHARED_ADDRESSES verifies
the user is already a member of the community, but a user waiting for approval
to join is not yet a member. Removing this check doesn't sound like a good idea
and we want to avoid bugs/complications for the next release. The feature isn't
working anyway, so the purpose of this PR is also to cleanup code that doesn't
work and won't be re-done anytime soon.
2024-04-23 10:08:31 -03:00
Icaro Motta 01a503f3bf
Log signals from the Clojure layer instead of native code (#19683)
We log the entire signal data when it arrives from status-go in the native
layer, where our Clojure logging mechanism is unavailable. Sometimes, the
developer may not want that much noise during development, e.g. when managing
integration or contract tests.

This commit removes the native calls to log signals and adds a timbre
(log/debug ...) call in the event handler :signals/signal-received. We know
timbre will elide log calls at compile time given the minimum log level set,
therefore, we don't need to worry about performance because we will log signals
at the debug level only.
2024-04-23 09:53:07 -03:00
Mohsen 696fedcca2
[#19183] fix: scan qr design issues (#19698) 2024-04-23 13:01:08 +03:00
Siddarth Kumar 7a1c29899b
skip share wallet component test (#19761) 2024-04-23 11:21:33 +02:00
Parvesh Monu 96b09eb862
UI in the upper section of the chat differs from the lower section (#19679) 2024-04-22 20:29:29 +05:30
Mohamed Javid e104a9a935
[Fix] Keypair name in account about tab (#19505)
This commit fixes the display of the correct keypair name (where the account is generated from) in the About tab.

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-04-22 19:48:01 +05:30
Parvesh Monu e6f8df9a52
fix channel header is broken when opening channel with chat history after joining the community (#19677) 2024-04-22 16:13:48 +05:30
flexsurfer 702899a9cf
remove old bottom sheet (#19689) 2024-04-19 16:17:06 +02:00
Ibrahem Khalil 8353c65602
[19576] Fix group avatar not showing group picture (#19723) 2024-04-19 12:24:03 +02:00
Omar Basem 1f967c6aa1
Fix: category settings item separator line color
Fix: category settings item separator line color
2024-04-19 12:48:25 +04:00
Sean Hagstrom ca53bf7388
Remove Identity Verification tab in Activity Center (#19667)
* tweak: hide the identity verification tab inside the activity center

* tweak: hide not-implemented features by default in dev

* fix: remove nil tabs from when rendering quo tabs
2024-04-19 10:01:02 +02:00
Omar Basem 2e2104d4d1
fix: `backup-recovery-phrase` check item pressability (#19705)
fix: `backup-recovery-phrase` check item pressability (#19705)
2024-04-18 21:33:56 +04:00
Mohsen 8f67f38de9
[#19182] fix: shell share design feedback (#19617)
Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
2024-04-18 18:12:29 +03:00
flexsurfer 2b40a4d0c4
Feature/remove reagent atom from theme (#19706) 2024-04-18 16:14:17 +02:00
Brian Sztamfater 17afff272e
fix: fix fees calculation and add support for L1 fees for Optimism transactions (#19603)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-04-18 10:35:18 -03:00
Brian Sztamfater 3526355e23
fix: page top is rendering empty avatar icon if no avatar props are sent (#19638) 2024-04-18 09:48:42 -03:00
Flavio Fraschetti f708cdcf50
Feature flag descoped features from MVP to streamline initial release (#19690)
Feature flag descoped features from MVP:
- edit derivation path
- wallet/send/contacts
2024-04-18 07:44:32 -03:00
mmilad75 3af4384e00
Wallet (collectibles) - integrate new Collectible list item component into designs #19140 (#19528) 2024-04-18 13:54:28 +03:30
codemaster db501b5efd
fix: missing author info in reply messages (#19563) 2024-04-17 15:53:23 -07:00
Brian Sztamfater d12c05aab6
fix: add external icon to OpenSea button in collectible page (#19647)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-04-17 11:58:27 -03:00
Sean Hagstrom 8600c1d3a5
Allow for env variables for configuring delete-message undo time limit for toasts (#19653)
* tweak: allow for env variable to configure undo-time-limit when deleting a message in chat

* tweak: add env variable undo timeout for deleting messages for everyone

* tweak: extend timeout duration for undo toast when deleting a message for a user

* tweak: extend timeout duration for undo toast when deleting a message for everyone
2024-04-17 15:12:27 +02:00
flexsurfer 570c62e30e
replace ratom in quo wallet component (#19687) 2024-04-17 14:30:33 +02:00
flexsurfer 549efdb77c
Show the users that the keycard feature will be coming soon (#19686) 2024-04-17 13:58:03 +02:00
Parvesh Monu 8807a63989
fix role is not updated correctly when unselecting accounts (#19636) 2024-04-17 16:21:32 +05:30
Alexander c0be0b7670
Update QR code scanner to handle channel and community links (#19507)
* Experiment

* Fix

* Fix

* Fix
2024-04-17 12:27:01 +02:00
John Ngei 6e854428f2
fix: pinned messages empty state drawer margin issues 2024-04-17 10:28:49 +02:00
Icaro Motta c81dd8e3e3
Don't treat dynamic data as a function (#19672)
Sometimes an integration test was throwing "TypeError: Cannot read properties of
null (reading 'call')" because a value was nil in the app-db, but the code was
treating it as if it was always a map and could be called as a function.

The original code wasn't respecting Clojure's nil punning good practices. In
Clojure, it's often recommended to not use dynamic data as functions, because if
they're nil, in CLJS we'll get an exception and as usual in CLJS, the stacktrace
won't be very readable.

We should prefer contains? or get, which will work just fine with nil values,
and only use data as a function if it's static, e.g. a map defined in a def.
2024-04-16 14:48:28 -03:00
Omar Basem 24f4c4a07e
Remove watch-only accounts from bridging (#19569)
Remove watch-only accounts from bridging (#19569)
2024-04-16 20:33:03 +04:00
Ajay Sivan 98762c74f1
Community detail token gating component (#19532) 2024-04-16 09:11:18 -07:00
mmilad75 f5fcc9f45e
Wallet: Token Options should be specific to watch only account #18543 (#19583) 2024-04-16 19:02:50 +03:30
Parvesh Monu 9aa9dc1b4c
Redirect to community channel when following universal link (#19566) 2024-04-16 20:30:24 +05:30
Sean Hagstrom 61974dae4d
Implement share button inside profile settings (#19559)
* tweak: implement the share button inside the profile settings page

* chore: define event and effect handler for opening share sheet

* tidy: refactor share buttons to use open-share event

* tidy: refactor open-share effect to use react-native-share bindings

* tidy: remove unused code for old bindings to react share sheet

* tidy: move effects.share/open definition to navigation effects

* tweak: ensure navigation effects are loaded

* tidy: use open-share dispatch in ui

* tidy: use open-share dispatch instead of calling open function directly

* tidy: refactor react-native.share/open to only receive options and return promise

* tidy: refactor open-share effect to receive map of content and handlers

* tidy: replace strings with keywords

* tweak: always handle failure case when opening share-sheet

* tweak: rename :content to :options

* fix: conditionally call on-error

* tweak: add extra information when logging error from attempting to share-sheet
2024-04-16 13:26:52 +02:00
Parvesh Monu 8b3e639abd
fix error on long tap on token-gated channel from the join community screen (#19652) 2024-04-16 16:33:09 +05:30
Brian Sztamfater c8044cd2f2
fix: wallet header spacing to match other tabs (#19632) 2024-04-16 06:31:09 -03:00
Sean Hagstrom 6872d1a857
fix: do not throw exception when passing nil to utils.address/get-abbreviated-profile-url (#19593) 2024-04-16 09:51:35 +02:00
Brian Sztamfater 98d4969ca5
feat: add ability to tap to disable from networks (#19392) 2024-04-15 12:04:44 -03:00
Parvesh Monu 5412092ca1
fix zero addresses are selected by default when joining a community (#19626) 2024-04-15 17:30:31 +05:30
Parvesh Monu a8695116e2
fix error is shown after scan button is tapped on the browser page (#19601) 2024-04-15 15:24:09 +05:30
yqrashawn 32fc7b14e8
fix: add/rename missing sub :current-chat/one-to-one-chat? (#19628)
Signed-off-by: yqrashawn <namy.19@gmail.com>
2024-04-15 17:10:12 +08:00
Sean Hagstrom 82a8f9f44d
fix: rewire legacy community share button to send invites (#19622) 2024-04-15 10:52:18 +02:00
John Ngei 8df72d0c29
updated standard auth drawer title size and weight 2024-04-13 23:04:49 +02:00
Mohsen 794cd57961
[#19299] fix: design feedback for settings screen (#19609) 2024-04-12 19:37:07 +03:00
John Ngei 6bc29088ab
fix: community spacing issues in token gating community page
* fix: community spacing issues in token gating community page

* fix: spacing issues between token rows
2024-04-12 17:35:03 +02:00
codemaster 658f62e8ce
Composer-photo selection drawer issues (#19613) 2024-04-12 07:44:35 -07:00
flexsurfer e6b346ca32
migrate reagent part 7 (#19316) 2024-04-12 15:46:17 +02:00
yqrashawn 00b0755a73
feat: system messge icon based on contact customization color (#19558)
Signed-off-by: yqrashawn <namy.19@gmail.com>
2024-04-12 20:46:09 +08:00
yqrashawn f8cc85f5e2
fix: vertical align texts in multiline input on iOS (#19565)
* fix: vertical align texts in multiline input on iOS

Signed-off-by: yqrashawn <namy.19@gmail.com>

* fix(copy): Chat Key -> Chatkey

---------

Signed-off-by: yqrashawn <namy.19@gmail.com>
2024-04-12 20:25:04 +08:00
Ibrahem Khalil 6ba89d0c6e
Community channel avatar is missing on Channel screen (#19459) 2024-04-12 01:18:21 +02:00
Ibrahem Khalil 2614131426
[18979] Implement context action Invite contacts to community (#18989) 2024-04-12 00:12:02 +02:00
flexsurfer cfc43be3cc
migrate reagent part6 (#19270) 2024-04-11 16:43:33 +02:00
flexsurfer 3164cc6a6c
Chore: setup feature-flag for not-implemented settings (#19591) 2024-04-11 16:43:09 +02:00
Mohsen 5badb5bdb5
[#19178] fix: jump card responsive (#19600) 2024-04-11 17:36:28 +03:00
flexsurfer 292fd78ff8
warning fixes (#19605) 2024-04-11 15:42:29 +02:00
Lungu Cristian c875fb33fa
Show token requirements only for token gated channels (#19529)
* fix: use role-permissions? instead of token-permission

token-permissions contains channel-permissions as well, which don't
make the community token-gated

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fix: hide token requirements from open channels

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fixed tests

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

---------

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>
2024-04-11 16:27:18 +03:00
Jamie Caprani 1d1eae13a9
chore(wallet): move add-account funcitonality into its own folder (#19476) 2024-04-11 12:01:35 +02:00
Jamie Caprani 63a168b6f4
chore: remove old wallet code, signing code and keycard code (#19467) 2024-04-10 10:41:24 -07:00
Ulises Manuel ce7912632c
[#18739] Fix ENS resolution (#19238)
* Resolve ENS on address-to-watch screen based on test-net settings

* Resolve ENS on `:wallet/search-ens` event based on test-net settings
2024-04-10 11:09:40 -06:00
Jamie Caprani ec53f17897
chore(wallet): add options menu for collectibles 2024-04-10 17:50:07 +01:00
Shivek Khurana 7987e537c8
🧰 Update `GetSuggestedRoutes` call (#19560)
- This is to reflect changes made in https://github.com/status-im/status-go/pull/5002/files
2024-04-10 17:09:40 +01:00
Parvesh Monu 074a2b292d
fix alert banner flicker in ios (#19495) 2024-04-10 21:16:33 +05:30
Volodymyr Kozieiev 8b417524fa
Remove unused subs (#19530)
* Remove unused subs

* lint fix
2024-04-10 16:25:41 +01:00
Ibrahem Khalil 06aa4671b6
Sometimes toast about old join community notification starts appearing on every login (#19557) 2024-04-09 21:46:58 +02:00
flexsurfer d48f933502
Feature/allow user to select a picture for a group chat #18983 (#19128) 2024-04-09 17:20:17 +02:00
flexsurfer 14d76eb4d4
Remove the bottom context from "Sign in by syncing" #19549 (#19571) 2024-04-09 15:45:07 +02:00
flexsurfer ae1f82f33c
Fix the "Choose profile" button in the profile #19551 (#19570) 2024-04-09 15:44:22 +02:00
Ibrahem Khalil c5a3eea048
Drawer in the chat is not fully expanded when reply message is closed and reopened (#19460) 2024-04-09 13:11:31 +02:00
Ibrahem Khalil c847cb5d03
[16315] Implement Community Channel option: view channel members and details (#18489) 2024-04-09 10:38:48 +02:00
Lungu Cristian 4e1851d53c
Fix the channel-action when the text is too long (#19462)
* fix: don't increase action with text

* addressed review comments
2024-04-09 10:43:33 +03:00
Alexander edd1d0661d
[iOS] Wrong bottom sheet opacity on onboarding and in the activity center (#19319)
* [iOS] Wrong bottom sheet opacity on onboarding and in the activity center

* Blur amount update
2024-04-09 08:36:44 +02:00
Ibrahem Khalil 18fc168537
[Android] The text within buttons is slightly visible when buttons ar… (#19461) 2024-04-09 02:06:57 +02:00
Ibrahem Khalil ca8b404e5b
Account selection sheet price (#19295) 2024-04-09 01:53:29 +02:00
Volodymyr Kozieiev 5aca098aa2
Support for multiple collectibles transaction on confirmation page (#19502) 2024-04-08 20:43:23 +01:00
Ulises Manuel 8e31dae33b
[#16953] Implement change asset action in wallet send flow (#19393)
* Refactor :wallet/tokens-filtered sub to filter only when `query` is provided

* Make token input logo pressable and make components more flexible

* Change asset-list's rn/scroll-view -> gesture/scroll-view to make it scrollable on bottom-sheets

* Add bottom-sheet to edit the token to send
2024-04-08 10:52:09 -06:00
Ajay Sivan 681bcbf726
Token gated documentation drawer ui fix (#19394) 2024-04-08 08:14:47 -07:00
Lungu Cristian aeef913f63
Fix chat permission-context (#19284)
* feat: moved permission-context logic to quo component

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* feat: multiple-token-gating and previews

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fix: refactored quo component

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* feat: request join community on press

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* feat: added shadow (rn-shadow-2)

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fix: formatting

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* test: added tests for permission-context

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* feat: added blur

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fix: adjusted shadows

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fix: added shadow mocks

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fix: shadow rendered below the context

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fix: addressed review comments

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>

* fix: replaced seq with string/blank?

---------

Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>
2024-04-08 17:14:07 +03:00
Omar Basem 74e84644aa
Wallet: Derivation Path - Scanning for Activity (#19482)
Wallet: Derivation Path - Scanning for Activity (#19482)
2024-04-08 17:53:41 +04:00
Sean Hagstrom 0e29149363
Truncate text inside contact request notifications (#19499)
* tweak: truncate text inside contact request notifications to be a max of two lines

* tweak: truncate text inside the activity-center contact-requests to be a max of two lines
2024-04-08 13:32:17 +01:00
Parvesh Monu 5fe28a2c9b
fix android composer background shadow not visible when image is attached (#19492) 2024-04-08 16:58:17 +05:30
Lungu Cristian 5fba1dbfa3
Fix invalid schemas (#19548)
* fix: account selection invalid schema definition

* fix: token-input invalid schema definition
2024-04-08 13:33:30 +03:00
Ajay Sivan 32098d2548
Community collapsed header title animation fix (#19395) 2024-04-07 14:14:21 -07:00
Mohsen f8699c582a
[#19265] fix: cursor overlapping placeholder in android (#19526) 2024-04-05 15:25:33 +03:00
Mohamed Javid 9ba6c6262e
[Feature] Wallet - Network based assets and fiat balance calculation (#19150)
This commit:

(UI changes)

- adds the feature to filter assets (tokens and collectibles) and balances based on networks
- fixes network color for eth not shown on the multichain address (e.g. Account Options bottom sheet)
- fixes blur type in the confirm button in the network preferences sheet
- fixes the User ability to unselect all networks in the network preferences sheet
- fixes account address and color not shown in network-preferences sheet on Shell > Share Multichain address
- added STT token image

(Non-UI changes)

- Refactors the functions used for balance calculations and network details


Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-04-05 17:18:35 +05:30
Sean Hagstrom 59513eae65
Tweak layout of quo/author component to use flex-baseline (#19489)
* tweak: re-structure layout of quo/author component to use flex-baseline for alignment

* tweak: use top on container to balance layout while using top to offset primary-name

* tidy: remove margin-bottom: 0

* tweak: add comments and fix layout glitch
2024-04-05 11:33:35 +01:00
Mohsen aead730d28
[#19406] fix: add min char validation for nickname (#19517) 2024-04-05 08:28:08 +03:00
Parvesh Monu e1177d20b5
Improve navigate-to-jump-to (#19434) 2024-04-04 22:07:11 +05:30
Lungu Cristian 0a6eaf1c12
fix: reverted the faulty navigation keyword rename (#19487)
Signed-off-by: Cristian Lungu <lungucristian95@gmail.com>
2024-04-04 18:35:28 +03:00
Sean Hagstrom d24eb96c9d
Use scrollable multiline text-input in contact request form (#19383)
* tweak: augment bottom-sheet component to be aware of keyboard height

* tweak: augment quo input component to allow for styling of the input, the input container, and container

* tweak: augment contact request input to grow until max screen size is reached for the bottom-sheet

* tweak: handle blurring the contact request input when keyboard is dismissed on android

* tidy: refactor with the use-keyboard hook

* tweak: use on-layout for measuring sheet max-height

* tweak: remove use of input-style and flex-direction column

* tidy: remove unused requires

* tidy: use container-style prop

* tidy: fix formatting

* fix: default layout-height to window-height
2024-04-04 15:54:22 +01:00
Sean Hagstrom 3dfd9df935
fix: dismiss keyboard when opening a modal (#19403) 2024-04-04 15:01:54 +01:00
Shivek Khurana d0374d9fd2
🖇️ Connect getSavedAddresses RPC to show or hide save address button (#19508)
* 🖇️ Connect getSavedAddresses

- The save button will not show if the address is already saved

* ⚒️ Fix PR reviews

* 🗑️ Remove code from wallet events ns
2024-04-04 13:51:29 +01:00
Ibrahem Khalil f0026b4d10
Fix background color on communities/chat home (#19520) 2024-04-04 12:35:44 +02:00
Mohsen b9a02f707d
[#19351] fix: animate username in profile (#19370) 2024-04-04 13:21:23 +03:00
Parvesh Monu d4e1b63ef7
fix top bar disappearing when removing or blocking contact (#19430) 2024-04-04 15:28:44 +05:30
Ibrahem Khalil 74149c1ff0
Use correct schema keyword (#19522) 2024-04-04 11:19:35 +02:00
John Ngei a52bc11592
updated community rules to display the actual rules
* updated community rules to display the actual rules

* updated scroll behaviours on community rules inside the bottom sheet

* added standard rules for communities without rules

* fix android scroll issues
2024-04-03 22:40:22 +02:00
John Ngei f114908c4d
updated leave button background color to community color 2024-04-03 17:38:41 +02:00
yqrashawn b0964eff64
feat: contact CustomizationColor (#19087) 2024-04-03 23:15:26 +08:00
mmilad75 b0d2e6e5d7
Bottom sheet with save and send options not displayed after scanning wallet QR using universal scanner #18928 (#19250) 2024-04-03 18:27:46 +03:30
Lungu Cristian 76bf8d365c
Allow to undo muting the chat/channel from toast (#19074)
* feat: added undo action to mute chat toast

* fix: removed trailing spaces from toast text

* test: integration test for mute-chat undo

* fix: added space before newline to toast messages text

* feat: add undo to community mute toast

* fix: integration tests

* fix: integration tests

---------

Co-authored-by: Volodymyr <52490791+VolodLytvynenko@users.noreply.github.com>
2024-04-03 15:12:43 +03:00
Mohamed Javid 41763689e0
[Feature] Show "Testnet mode enabled" banner if testnet enabled (#19348)
This commit 
- adds the "Testnet mode enabled" banner if the User has enabled the testnet
- fixes a E2E bug

---------

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
2024-04-03 16:15:07 +05:30
Mohsen a6a7ec8bc0
[#19264] fix: add contact bottom margin (#19398) 2024-04-03 12:56:40 +03:00
Ibrahem Khalil 7e896979f6
Add biometric auth if available to communities password input (#19336) 2024-04-03 11:18:15 +02:00
Omar Basem 68402ae669
fix: Wrong UI for network preferences bottom sheet (#19475)
fix: Wrong UI for network preferences bottom sheet (#19475)
2024-04-02 22:24:55 +04:00
Flavio Fraschetti 8c67ce0b75
[Wallet]Fraschetti/Temporarily hide Activity Tab on Collectible Detail Page (#19447)
Temporarily hide the collectibles activity tab.
2024-04-02 11:10:57 -03:00
Omar Basem e2b9e12038
feat: Keypair name handling (#19423)
feat: Keypair name handling (#19423)
2024-04-02 15:44:48 +04:00
Shivek Khurana a03cc3c3ab
Add methods for fetching and saving addresses (#19356)
*  Add methods for fetching and saving addresses

* 🔨 Fix RPC calls but get addresses not working

* 🔨 Fix rpc call

* 🧰 Fix lint, and change var names
2024-04-02 12:25:28 +01:00
Siddarth Kumar da25280555
clean up unused libraries (#19456)
## Summary

This PR removes all of the unused `npm` libraries and their corresponding `gradle`/`cocoapods` dependencies.
The list of npm dependencies removed are :
- `@babel/preset-typescript`
- `create-react-class`
- `react-native-haptic-feedback`
- `react-native-image-viewing`
- `react-native-languages`
- `react-native-randombytes`
- `react-syntax-highlighter`
- `rn-emoji-keyboard`
- `tdigest`

This saves us some bytes in the bundle size.

## Platforms
- Android
- iOS
2024-04-02 16:32:54 +05:30
Siddarth Kumar 68e4cf3632
add logs inside wait-for and before,after logout (#19362)
## Summary

PR made to add logs to help determine why integration test hangs on logout.

## Testing notes

No need for testing since we only ever add logs in test code here.

related to: #19256
2024-04-02 13:54:44 +05:30
Sean Hagstrom dd7795a8b8
Truncate secondary names in username and author components (#19468)
* fix: allow name-container inside message content to shrink so secondary-name can be truncated

* fix: responsively truncate contact profile secondary-name

* fix: ensure home chat-list-items use full available width in layout

* fix: adjust layout of home chat-list-item shrinking with notification counter

* fix: adjust layout of home chat-list-item when displaying notification counter

* tidy: simplify alignment

* tweak: adjust alignment of quo/author component for different text sizes

* tidy: extract styles and reformat notification-layout
2024-04-02 08:14:08 +01:00
Ulises Manuel feb875310e
[#19401] Wallet share QR code - multiple fixes (#19425)
* Fix key extractions in re-frame/reg-sub

* Add `:width` to share-qr-code
  By adding this prop, `on-layout` can be skipped and the component can be properly rendered faster.

* Use `share-qr-code`'s `:width` prop in share profile shell

* Fix share qr code for wallet addresses

* Fix the height of the component being cropped.

* Fix the bottom dots not being accurately highlighted.

* Fix the blink when the component is mounted
2024-04-01 09:53:26 -06:00
Parvesh Monu 8b0681c44a
fix status and nav bar color (#19089) 2024-04-01 18:52:03 +05:30
Parvesh Monu 9bbde035dc
fix 1-1 Chat not removed after user is blocked (#19432) 2024-04-01 18:34:59 +05:30
Flavio Fraschetti 260a741b17
Fraschetti - Add wallet-search-ens-test (#19338)
Introduces comprehensive tests for the ens_addressOf endpoint
2024-04-01 09:11:07 -03:00
Siddarth Kumar 2dfb3ab838
upgrade nixpkgs to 23-11 (#19369)
fixes #18311

This PR upgrades `nixpkgs` to latest release version of 23-11
ref -> https://github.com/NixOS/nixpkgs/releases/tag/23.11

- `Gradle` from `8.0.1` -> `8.4`
- `Git` from `2.40.1` -> `2.42.0`
- `Curl` from `8.0.1` -> `8.4.0`
- `OpenSSL` from `3.0.8` -> `3.0.13`
- `NodeJS` from `18.16.0` -> `18.19.1`
-  `Python` from `3.10.11` -> `3.10.13`
- `Clojure` from `1.11.1.1273` -> `1.11.1.1413`
- and some more stuff

- `xcbeautify` , this was added in 23-11 ->https://github.com/NixOS/nixpkgs/pull/289446
- `idb-companion`, this was also added in 23-11 -> https://github.com/NixOS/nixpkgs/pull/296440
2024-04-01 16:26:44 +05:30
Parvesh Monu e05d5000b1
fix jump-to community card animation (#19437) 2024-04-01 16:05:14 +05:30
John Ngei 3067b814b1
fix: token requirements margin issues 2024-03-31 00:03:34 +01:00
Jamie Caprani e9bbb34797
chore(wallet): clean up root folder (#19417) 2024-03-29 13:21:01 +00:00
Ibrahem Khalil fef3165f24
Link preview follow up bug fixes (#19359) 2024-03-28 23:54:20 +02:00
Jamie Caprani 88d1a17a94
chore(wallet): move bridge to its own folder (#19414) 2024-03-28 19:42:43 +00:00
Andrea Maria Piana ed824bdb06
Check permissions even if there's an inflight request 2024-03-28 17:08:16 +00:00
Sean Hagstrom 932fee2857
Update usage of Login/Create/Restore account (#19420)
* update status-go version to v0.178.0

* chore: add fetchBackup as true when restoring account
2024-03-28 16:51:48 +00:00
Jamie Caprani 53874c8343
chore: rename alias of promesa to be more verbose (#19332) 2024-03-28 09:33:16 -07:00
Ibrahem Khalil e6d9ef0298
Add toggle instead of checkbox for addresses for permissions sheet (#19424) 2024-03-28 17:40:50 +02:00
Volodymyr Kozieiev 4aee5af791
Flow for sending multiple collectibles (#19386) 2024-03-28 15:14:17 +00:00
Nikolay 3ee004afab
chore(quo): implement drawer action component (#19289)
Co-authored-by: Jamie Caprani <jamiecaprani@gmail.com>
2024-03-28 14:39:48 +00:00
John Ngei 6c07fac28b
fix: avatar alignment (#19073)
Co-authored-by: balogunofafrica <balogunakanbi.k@gmail.com>
2024-03-28 12:13:23 +01:00
Andrea Maria Piana 98deaa4459
Disable button when request is in flight 2024-03-27 22:42:21 +00:00
Ulises Manuel 7de1f95054
[#18934] universal scanner in wallet receive (#19409)
* Fix linear-gradient breaking when `customization-color` is unknown

* Fix exception when scanning an address due to non-existing navigation route

* Dispatches universal QR code scanner on share address modal
2024-03-27 10:01:28 -06:00
Ibrahem Khalil e5ed5e624b
Communities - Address for airdrops/permissions screen issues (#19296) 2024-03-27 11:46:42 +02:00
Mohsen f075cd0bdc
[#19117] fix: setting over scroll shows gap (#19352) 2024-03-26 19:34:16 +03:00
Mohamed Javid 1d44472aa6
[Feature] Enable Test Networks by default on Dev, E2E and PR builds (#19365)
This commit enables Test Networks in Dev, E2E and PR Builds by default and disables in Release/Nightly Builds.

This enables in create account or restore account flow. If you upgrade the app from the old build with an existing profile, it will use the last saved (test networks enabled) state of that profile.

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-03-26 20:55:22 +05:30
Sean Hagstrom 495bc91989
fix: re-route a user's own profile link to their settings page (#19389) 2024-03-26 15:04:49 +00:00
Jamie Caprani bcf8e39e84
chore(onboarding): qualify screen keywords (#19285) 2024-03-26 14:06:43 +00:00
Ibrahem Khalil c86cdf9ac8
Hide community channels when hide channels option is enabled 2024-03-26 12:08:19 +00:00
Ajay Sivan 02d4618997
Remove 'Community admins will review your request' text from community overview screen (#19361)
* Remove 'Community admins will review your request' text from community overview screen

* Use the button label 'Request to join' for all communities

* e2e: updated test

---------

Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
2024-03-26 04:56:39 -07:00
Lungu Cristian fd4d64c53e
Fix chat spacings (#19015)
* fix: chat system messages spacing

* fix: spacing between chat actions and time header

* fix: distance from last message to shell button

* fix: addressed review comment

* fix: conflict bug

* fix: chat spacings
2024-03-26 12:07:48 +02:00
Lungu Cristian 17b64ab3ba
Remove not-implemented box from sticker/emoji messages (#19255)
* feat: replaced old emoji component with new one

* feat: replaced old sticker component with the new one

* ref: pass only url to sticker

* fix: renamed ns and passing only needed props

* fix: destructuring instead of select-keys & assoc

* fix: formatting
2024-03-26 11:53:33 +02:00
Parvesh Monu 6a88a34d34
add empty check for keychain credentials server (#19242) 2024-03-26 12:15:35 +05:30
Ibrahem Khalil 3be1532b32
All addresses text is not updated when changing accounts (#19379) 2024-03-25 22:14:40 +02:00
Ibrahem Khalil 44846c80c8
Error when marking a community notification as read in the activity center #19388 (#19390) 2024-03-25 21:36:24 +02:00
Ulises Manuel a405de62e6
[#18833] Confirm button disappearing while editing address (#19186)
* Fix button disappearing when keyboard is hidden

* Improve keyboard scrolling
2024-03-25 09:00:10 -06:00
flexsurfer 06dc9ea1d3
Unable to enter/clear smoothly the data into contacts field #19384 (#19385) 2024-03-25 15:17:08 +01:00
Ajay Sivan 32a4bb1153
fix: very small token values are being displayed in scientific format (#19349) 2024-03-25 06:05:53 -07:00
Sean Hagstrom 418053b21e
Tweak UI for contact request notifications (#19337)
* fix: ensure contact-request notifications are displayed as notifications

* fix: provide context-theme for notification sub-components

* fix: adjust font weight for notification text

* fix: adjust alignment of user-avatar inside a notification with a header and body

* tidy: rename override-theme to theme inside notifications

* fix: update notifications component to use `user` prop instead of `avatar`

* tweak: adapt notification to avatar to vertically center when only displaying header or title

* fix: use title font-size for contact-request-accepted notification

* fix: allow for custom avatar component prop in quo notification component

* fix: ensure we use the correct font-weight for contact-request-accepted notification

* tidy: fix formatting
2024-03-25 10:17:47 +00:00
flexsurfer 2528efb538
fix input issues (#19341) 2024-03-25 10:42:20 +01:00
mmilad75 c003db42ae
Create Navigation mechanism for wizard type flows #19059 (#19123) 2024-03-22 21:00:35 +03:30
Siddarth Kumar a716f4e435
upgrade `react-native` to 0.73.5 (#18563)
fixes #18291

## Summary
Changes worth mentioning are :
- More hacks/patches
- Force app to use `Java 17` everywhere to compile `kotlin,java`
- `gems` were upgraded after a long time
- `aapt2` was bumped to `8.1.1`
- `metro` is now at `0.80.4`
- `xcbeautify` was bumped to `1.4.0`
- `@react-native-community/clipboard` lib was replaced with `@react-native-clipboard/clipboard`
- `react-native-dialogs` lib was upgraded to `1.1.2`
- `react-native-gesture-handler` lib was upgraded to `2.14.1`
- `react-native-navigation` was upgraded to `7.37.2`

## Platforms
- Android
- iOS
2024-03-22 19:51:44 +05:30