-
Notifications
You must be signed in to change notification settings - Fork 12
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
fix: fixed attributes count and ui improvements #186
Changes from all commits
f086db2
0323cc8
ddda280
3eedd1d
d6c55ba
3248449
54d7760
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,8 @@ export function FunkeActivityScreen() { | |
subtitle={activity.entityName ?? activity.entityHost} | ||
date={new Date(activity.date)} | ||
type={activity.type} | ||
credentialId={activity.credentialId} | ||
// FIXME: Handle multiple credentials received in one request | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we could also store them as separate activities if that's simpler? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It works fine, there is just no support for receiving multiple credentials in 1 request atm so will do this later. |
||
credentialId={activity.type === 'received' ? activity.credentialIds?.[0] : undefined} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what happens if you delete the cred? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It routes to the credential detail screen atm, so it will just toast you that the credential can not be found. |
||
/> | ||
))} | ||
</React.Fragment> | ||
|
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.
this will break if you remove the credential is that what we want? We could still show the disclosedPayload i think? 🤔
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've added that when the credential is not found it will still show the card but just with the name 'Unknown credential' and default branding. So now it will still show the requested attrs and disclosed payload when you've deleted the credential.