-
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
Adding selection field for keypair type #1709
Adding selection field for keypair type #1709
Conversation
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 need to re-validate the mnemonic if the keypair is changed as most probably the account will be created with a certain keypair type
@@ -638,6 +659,7 @@ async function createNewAccount() { | |||
creatingAccount.value = true; | |||
try { | |||
const account = await createAccount(); | |||
console.log("account", account); |
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.
please remove the debug logs
@@ -710,6 +732,7 @@ profileManagerController.set({ loadBalance: __loadBalance }); | |||
|
|||
function login() { | |||
const credentials: Credentials = getCredentials(); | |||
console.log(credentials); |
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.
here too
Screencast.from.12-19-2023.03.00.31.PM.webm |
not sure if we should move the new warning message to the top or keep it. But if we keep it, I think it should have some spacing after @ehab-hassan |
@@ -252,6 +267,9 @@ | |||
<v-alert type="error" variant="tonal" class="mt-2 mb-4" v-if="loginError"> | |||
{{ loginError }} | |||
</v-alert> | |||
<v-alert variant="tonal" type="warning" v-if="activeTab === 1"> |
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 feels more like an info not a warning , what do u think ?
Also as long as the user can't create account with ed25519 (just import pre existing account), I think w should say that somewhere. |
yes please let's keep it down and make sure to have the same margin's first warning message had. |
} | ||
}, | ||
{ deep: false }, | ||
); |
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.
can we please update the message on line 567 to "Couldn't get the user twin for the provided mnemonic and keytype".
Description
Adding selection for key pair type in profile manager
Changes
Related Issues
#1113
Checklist