Commit Graph

9670 Commits

Author SHA1 Message Date
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
Yevheniia Berdnyk f98e5cf11f
e2e: fixes 8.04 2024-04-08 23:00:46 +03:00
Volodymyr Kozieiev 5aca098aa2
Support for multiple collectibles transaction on confirmation page (#19502) 2024-04-08 20:43:23 +01:00
Siddarth Kumar 55a182f430
kotlinify parts of status module, package & Utils (#19408)
parent issue: https://github.com/status-im/status-mobile/issues/18310

This commit converts the following `Java` files to `Kotlin` :

- modules/react-native-status/android/src/main/java/im/status/ethereum/module/StatusModule.java
- modules/react-native-status/android/src/main/java/im/status/ethereum/module/StatusPackage.java
- modules/react-native-status/android/src/main/java/im/status/ethereum/module/Utils.java

This commit converts Java code to `Kotlin` which involves a helper function that is used to execute `statusgo` methods.
It may impact everything or nothing.

- Android
2024-04-08 22:46:01 +05:30
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
Siddarth Kumar ce69df19ac
apply patches with patch files (#19451)
fixes #19449

In this commit we change the way patches are applied.
We no longer have to write patches in a patch phase like we used to, we can now place individual changes in a patch file inside the `patches` directory and they will be automatically applied.

Because of this change we can get rid of forks and instead have those changes in patch files.

To generate a patch file this make command can be used `make patch-file`
This will open an interactive shell which will allow you to specify which file you want to patch and then wait till you make those changes and generate a patch for it.

```
make patch-file
Configuring Nix shell for target 'default'...
Enter the path of the file to patch: ./node_modules/is-glob/index.js
File to patch: ./node_modules/is-glob/index.js
Temporary directory created: /tmp/tmp-status-mobile-40bc588fa/tmp.xrXarXoTPZ
Original file copied to temporary directory.
Please make the necessary changes to the file: ./node_modules/is-glob/index.js
Press any key when you are done with the changes...
Generating patch file...
Patch file created at /Users/siddarthkumar/code/status-im/PR/status-mobile/patches/index.js.patch
Info: Please execute 'make run-clojure' to test if the patch file works as expected.
```

- Android
- iOS
2024-04-08 21:06:41 +05:30
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
Yevheniia Berdnyk 60a4aa2f8e
e2e: fix for passwrod input 2024-04-05 18:46:23 +03: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
Yevheniia Berdnyk 5fc23816a6
e2e: false failures fixes for wallet and image 2024-04-05 13:38:09 +03:00
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
Yevheniia Berdnyk 5bff89a58f
e2e: wallet tests added 2024-04-04 19:50:54 +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
Jakub Sokołowski e9b973196b
ci: fix Pulish stage by using getBuildType()
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-04 11:35:39 +02:00
Ibrahem Khalil 74149c1ff0
Use correct schema keyword (#19522) 2024-04-04 11:19:35 +02:00
Yevheniia Berdnyk 288f57192a
e2e: fixes after testet mode enabled changes 2024-04-03 23:58:11 +03: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
Tetiana Churikova 354cda3be5
e2e: updating PR pipeline (#19478) 2024-04-03 18:00:04 +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
Siddarth Kumar df0e9313da
fix for failing iOS nightly build (#19486)
iOS nightly builds were failing with :

```
07:54:15  The following build commands failed:
07:54:15  	PhaseScriptExecution Run\ Script /Users/jenkins/Library/Developer/Xcode/DerivedData/
StatusIm-hasrsefeolwghadhqaakilqvfzrk/Build/Intermediates.noindex/ArchiveIntermediates/StatusIm/
IntermediateBuildFilesPath/StatusIm.build/Release-iphoneos/StatusIm.build/
Script-E3914A731DF919ED00EBB515.sh (in target 'StatusIm' from project 'StatusIm')
07:54:15  (1 failure)
07:54:15  [05:24:14]: Exit status: 65
.
.
.
07:54:15  [05:24:14]: ▸     /bin/sh -c /Users/jenkins/Library/Developer/Xcode/DerivedData/
StatusIm-hasrsefeolwghadhqaakilqvfzrk/Build/Intermediates.noindex/ArchiveIntermediates/StatusIm/
IntermediateBuildFilesPath/StatusIm.build/Release-iphoneos/StatusIm.build/
Script-E3914A731DF919ED00EBB515.sh

07:54:15  [05:24:14]: ▸ /Users/jenkins/Library/Developer/Xcode/DerivedData/
StatusIm-hasrsefeolwghadhqaakilqvfzrk/Build/Intermediates.noindex/ArchiveIntermediates/StatusIm/
IntermediateBuildFilesPath/StatusIm.build/Release-iphoneos/StatusIm.build/
Script-E3914A731DF919ED00EBB515.sh: line 2: ./logs/set_xcode_version.log: No such file or directory

07:54:15  [05:24:14]: ▸ Command PhaseScriptExecution failed with a nonzero exit code
```

In this commit the path to the logfile `set_xcode_version.log` has been fixed.
2024-04-03 18:05:48 +05: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