-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: improvements to the issue/share flows #222
Conversation
Signed-off-by: Jan <hey@janrietveld.com>
onGoToWallet: () => void | ||
} | ||
|
||
export const CredentialRetrievalSlide = ({ display, isCompleted, onGoToWallet }: CredentialRetrievalSlideProps) => { | ||
const { completeProgressBar } = useWizard() | ||
export const CredentialRetrievalSlide = ({ |
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.
I know this file is a bit of a mess with all the states so I'm thinking about better abstractions for the animations.
But will prob be after the deadline
case 'pin': | ||
return { | ||
title: 'Card offered', | ||
subtitle: `To receive this card from ${issuerName}, you need to enter your PIN.`, |
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.
I think it's good to keep it as a transaction PIN or something, to not confuse with other PINs used?
subtitle: `To receive this card from ${issuerName}, you need to enter your PIN.`, | |
subtitle: `To receive this card from ${issuerName}, you need to enter a transaction PIN.`, |
title: 'Share who you are', | ||
subtitle: `To receive this card from ${issuerName}, you need to share your identity.`, |
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's not neccesarily that you share who you are. Maybe you'll need to share something about your dog, who knows.
cc @anagoessens feel free to make suggestions here.
title: 'Share who you are', | |
subtitle: `To receive this card from ${issuerName}, you need to share your identity.`, | |
title: 'Sharing required', | |
subtitle: `To receive this card from ${issuerName}, you need to share existing cards in your wallet.`, |
default: | ||
return { | ||
title: 'Card offered', | ||
subtitle: `${issuerName} wants to give you the following card:`, |
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.
give is maybe not hte right word, is issue too technical?
subtitle: `${issuerName} wants to give you the following card:`, | |
subtitle: `${issuerName} wants to issue you the following card:`, |
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.
nice
Feedback still welcome. The text will probably also still change.
ScreenRecording_11-21-2024.17-00-44_1.MP4