Closed CrisTofani closed 3 weeks ago
Generated by :no_entry_sign: dangerJS against cb2bc47bcdd40033e2bcd144b09291a0f8de084c
:tada: All dependencies have been resolved !
e2e tests running here https://github.com/pagopa/io-app/actions/runs/8718945245
@LazyAfternoons Apparently some library is still using the prop-type raising the error, btw react-native reduced this to a warning and not an error in the 0.71, so i guess we will anyway remove the patch in future
@LazyAfternoons @CrisTofani Also removed the react-native-iphone-x-helper
dependency in the following commit: https://github.com/pagopa/io-app/pull/5558/commits/9642b1f01c6d246c7ddba9818a4aa1ce77e575ee
Attention: Patch coverage is 31.42077%
with 251 lines
in your changes are missing coverage. Please review.
Project coverage is 49.59%. Comparing base (
4f204b4
) to head (cb2bc47
). Report is 71 commits behind head on master.
Tested on the main flows I have only encountered a little issue on IDPay IDPAY_ONBOARDING_INITIATIVE_DETAILS screen not necessarily related to the native-based.
@hevelius Good catch! It's probably caused by the edits made in this PR. Let me check 👀
@hevelius Changed IDPay related screens in the following commit → https://github.com/pagopa/io-app/pull/5558/commits/a6077741cf2eb5ff9f7ba9a301d2d7b5e201c352 Changes applied:
BaseScreenComponent
and SafeAreaView
(the combination caused bugs)useHeaderSecondLevel
hook to add missing header (previously managed by BaseScreenComponent
)I have tested the entire onboarding flow and it seems to work well (cc @mastro993)
I'm not able to login with Test accounts anymore both on Android and iOS? It seems that text inputs are disabled in some way. Can we do a double check?
Demo testlogin-ko.mov
@shadowsheep1 what do you think if we change the components input with the new TextInput component?
I'm not able to login with Test accounts anymore both on Android and iOS? It seems that text inputs are disabled in some way. Can we do a double check? Demo testlogin-ko.mov
@shadowsheep1 what do you think if we change the components input with the new TextInput component?
No problem! We could even use the one from DS ;)
I'm not able to login with Test accounts anymore both on Android and iOS? It seems that text inputs are disabled in some way. Can we do a double check? Demo testlogin-ko.mov
@shadowsheep1 what do you think if we change the components input with the new TextInput component?
No problem! We could even use the one from DS ;)
@shadowsheep1 addressed in 101996f
I'm not able to login with Test accounts anymore both on Android and iOS? It seems that text inputs are disabled in some way. Can we do a double check? Demo testlogin-ko.mov
@shadowsheep1 what do you think if we change the components input with the new TextInput component?
No problem! We could even use the one from DS ;)
@shadowsheep1 addressed in 101996f
Superb! ❤️
We should check the Payments
and Messages
related flows to be safe. If nothing is broken, we should merge. What do you think?
We should check the
Payments
andMessages
related flows to be safe. If nothing is broken, we should merge. What do you think?
It seems that the testID
on TextInputValidation
and TextInputPassword
is not well propagated... what do you think?
<TextInput
accessibilityLabel="Password"
accessibilityState={
Object {
"disabled": false,
}
}
accessible={true}
blurOnSubmit={true}
cursorColor="#0B3EE3"
disableFullscreenUI={true}
editable={true}
inputMode="password"
onBlur={[Function]}
onChangeText={[Function]}
onFocus={[Function]}
returnKeyType="done"
secureTextEntry={true}
selectionColor="#0B3EE3"
style={
Array [
Object {
"flex": 1,
"fontSize": 16,
"height": "100%",
"lineHeight": 24,
"marginTop": 8,
},
Object {
"fontFamily": "Titillium Web",
"fontStyle": "normal",
"fontWeight": "600",
},
]
}
value=""
/>
It seems that the testID on TextInputValidation and TextInputPassword is not well propagated... what do you think?
@shadowsheep1 A fix has been already released in the io-app-design-system
package:
The tests will be fixed soon, but on the authentication side we should be safe thanks to your review
We should check the
Payments
andMessages
related flows to be safe. If nothing is broken, we should merge. What do you think?It seems that the
testID
onTextInputValidation
andTextInputPassword
is not well propagated... what do you think?@shadowsheep1 Addressed in the last 2 commits now it should be fine
Short description
This PR removes
native-base
and its related packages from dependencies.List of changes proposed in this pull request
native-base
and relative themeHeader
andStyleProvider
componentsContent
andForm
componentsToast
(fromnative-base
) with the newIOToast
fromio-app-design-system
FooterWithButtons
(based onnative-base
buttons) with the newFooterWithButtons
fromio-app-design-system
ListItemComponent
withPressable
native component, waiting for the complete overhaul with the newio-app-design-system
componentsTextInput
with the native onereact-native-iphone-x-helper
andreact-native-keyboard-aware-scroll-view
unused dependenciesCredits
This PR is the result of:
How to test
Launch the app in the local environment and accurately test the most used flows by the citizens, especially: