-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#172526356] Adds Screen to explain why CIE login is not available #1769
Conversation
Affected stories
Generated by 🚫 dangerJS |
locales/it/cie/cieNotSupported.md
Outdated
@@ -0,0 +1 @@ | |||
Per effettuare il login è necessario avere un dispositivo con tecnologia NFC o un dispositivo compatibile con l’attuale implementazione (i dispositivi iOS non sono ancora compatibili ma a breve lo diventeranno con il nuovo aggiornamento). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per effettuare il login è necessario avere un dispositivo con tecnologia NFC o un dispositivo compatibile con l’attuale implementazione (i dispositivi iOS non sono ancora compatibili ma a breve lo diventeranno con il nuovo aggiornamento). | |
Per effettuare il login è necessario avere un dispositivo con tecnologia NFC o un dispositivo compatibile con l’attuale implementazione (i dispositivi iOS non sono ancora compatibili ma a breve lo diventeranno con i prossimi aggiornamenti). |
I guess it's more appropriate. In that way the user could expect CIE in iOS on the next release
@@ -120,15 +136,86 @@ class LandingScreen extends React.PureComponent<Props> { | |||
} | |||
} | |||
|
|||
private renderAndroidConditions = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could it be a component included in its own file?
We should pass to it hasCieApiLevelSupport
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may create a component for the complete child of the Modal including this block maybe?
<React.Fragment>
<Markdown>
{I18n.t("authentication.landing.cie_unsupported.body")}
</Markdown>
{Platform.OS === "android" && this.renderAndroidConditions()}
</React.Fragment>
we should pass hasCieApiLevelSupport
and hasCieNFCFeature
too i guess
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Undermaken
The component is available in #05798b8
…o-app into 172526356-no-cie-support-screen
locales/it/cie/cieNotSupported.md
Outdated
@@ -0,0 +1 @@ | |||
Per effettuare il login è necessario avere un dispositivo con tecnologia NFC o un dispositivo compatibile con l’attuale implementazione (i dispositivi iOS non sono ancora compatibili ma a breve lo diventeranno con i prossimi aggiornamenti). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per effettuare il login è necessario avere un dispositivo con tecnologia NFC o un dispositivo compatibile con l’attuale implementazione (i dispositivi iOS non sono ancora compatibili ma a breve lo diventeranno con i prossimi aggiornamenti). | |
Per effettuare il login è necessario avere un dispositivo con tecnologia NFC e il sistema operativo con i requisiti minimi necessari (i dispositivi **iOS** non sono ancora compatibili ma a breve lo diventeranno con i prossimi aggiornamenti). |
This description, in the way we proposed, doesn't make sense
<ListItem> | ||
<IconFont | ||
name="io-tick-big" | ||
size={16} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid magic number
Place it as const on top of file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6533ccb
noCie: { | ||
opacity: 0.35 | ||
}, | ||
checkboxBackground: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be not used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6533ccb
ts/store/reducers/cie.ts
Outdated
case getType(hasApiLevelSupport.failure): | ||
return { | ||
...state, | ||
hasApiLevelSupport: pot.toError(state.isCieSupported, action.payload) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hasApiLevelSupport: pot.toError(state.isCieSupported, action.payload) | |
hasApiLevelSupport: pot.toError(state.hasApiLevelSupport, action.payload) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6533ccb
ts/store/reducers/cie.ts
Outdated
case getType(hasNFCFeature.failure): | ||
return { | ||
...state, | ||
hasNFCFeature: pot.toError(state.isCieSupported, action.payload) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hasNFCFeature: pot.toError(state.isCieSupported, action.payload) | |
hasNFCFeature: pot.toError(state.hasNFCFeature, action.payload) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6533ccb
Short description:
This PR adds the screen that explains why CIE is not supported
List of changes proposed in this pull request:
Android
iOS