Skip to content
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

[ABW-1584] offDeviceMnemonic factor source kind #532

Merged
merged 21 commits into from
May 29, 2023

Conversation

CyonAlexRDX
Copy link
Contributor

@CyonAlexRDX CyonAlexRDX commented May 29, 2023

Jira ticket: ABW-1584 , ticket 0 in MFA epic.

Signing

Signing with this factor will be implemented in a subsequent PR.

Screenshot

IMG_6CA6B17562D8-1

Video

Movie in Slack

@CyonAlexRDX CyonAlexRDX changed the title Mfa/abw 1584 mfa00 off device mnemonic [ABW-1584] offDeviceMnemonic factor source kind May 29, 2023
Comment on lines +116 to +118
Labeled("Device ID", value: device.id)
Labeled("Creation date", value: device.date.ISO8601Format())
Labeled("Device", value: device.description.rawValue)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add FIXME: Strings in every file where strings are added...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is Debug Inspect Profile will never ever reach end user :)

case let .offDeviceMnemonicInfoPrompt(.presented(.delegate(.done(label, description, mnemonicWithPassphrase)))):
state.offDeviceMnemonicInfoPrompt = nil
precondition(state.saveInProfileKind == .offDevice)
return .run { send in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a job for task

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kugel3 hit refresh :D
already changed into a task :)

WithViewStore(store, observe: \.viewState, send: { .view($0) }) { viewStore in
VStack {
AppTextField(
primaryHeading: "Tell a story",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIXME: Strings please

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, but not even sure we wanna have this screen.... I just invented it and asking for input from Matt about it... but putting FIXMEs there :)

@@ -35,15 +35,20 @@ extension ManageFactorSources {
}
}
}
Button("Import Mnemonic source") {
viewStore.send(.importMnemonicButtonTapped)
Button("Import Olympia mnemonic") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixme

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is debug screen only, should probably be renamed as such...

@CyonAlexRDX CyonAlexRDX merged commit 41b6e06 into main May 29, 2023
@CyonAlexRDX CyonAlexRDX deleted the MFA/ABW-1584_MFA00_offDeviceMnemonic branch May 29, 2023 15:29
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants