-
Notifications
You must be signed in to change notification settings - Fork 8
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
Apply security shield on single entity TX Review #1334
base: main
Are you sure you want to change the base?
Conversation
6d4007b
to
0f2580d
Compare
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.
💯
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.
minor: maybe to move this to signing
package? or create a new one securityshields
?
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 we need a specific package for profile related mutations.
_state.update { state -> state.copy(isLoading = false) } | ||
sendEvent(Event.ShieldApplied) | ||
|
||
incomingRequestRepository.add(request) |
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.
just to be sure, this request gets requestHandled
in the TransactionReviewViewModel
, right?
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.
requestHandled
is invoked either:
- when user dismisses the transaction
- by the tx status dialog.
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.
Looks great!
@@ -568,7 +568,7 @@ private fun UnsafeCombinationInfoDialog( | |||
} | |||
|
|||
@Composable | |||
private fun TimePeriod.title(): String { | |||
fun TimePeriod.title(): String { |
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.
nit: this composable should be moved to a common package
Keeping the PR open, to add a withdrawing box for securifying account. |
b796d26
to
481d76f
Compare
|
Description
This PR includes both the UI for showing the transaction summary for applying a security shield to an account or persona.
How to test
Make sure you have XRD in an account on your profile.
Video
slack