Skip to content

Keystore / Seed Phrase field enhancements #36

Description

@jojobyte

style: After I’ve picked a file (or dropped one into the field) I want the “Seed Phrase” field to go away since it will never be needed in that case, and the user shouldn’t feel like he’s leaving something blank.

If I’ve picked a “backup” then the alias should go away also, since it is always required when making a new wallet (is it enforced when backing up?).

If so, it would be populated after hitting “Add wallet” and the user can always edit it, but I don’t think we should help them get in the habit of redefining the alias here in the “Existing Wallet” import.

An alternative to hiding the alias field would be to name it automatically by the file name, but that might require more coding than it’s worth, and it might clash with the name in the keystore file, so I’m not sure that’s a good option.

Activity

  1. changed the title [-]style: After I’ve picked a file (or dropped one into the field) I want the “Seed Phrase” field to go away since it will never be needed in that case, and the user shouldn’t feel like he’s leaving something blank. If I’ve picked a “backup” then the alias should go away also, since it is always required when making a new wallet (is it enforced when backing up?). If so, it would be populated after hitting “Add wallet” and the user can always edit it, but I don’t think we should help them get in the habit of redefining the alias here in the “Existing Wallet” import. An alternative to hiding the alias field would be to name it automatically by the file name, but that might require more coding than it’s worth, and it might clash with the name in the keystore file, so I’m not sure that’s a good option.[/-] [+]Keystore OR Seed Phrase field enhancements[/+] on Feb 10, 2024
  2. jojobyte commented on Feb 10, 2024

    @jojobyte
    ContributorAuthor

    @riongull per this commit 5afad8a, there should be enhancements to the original stage 1 functionality.

    Keystore drop zone or seed phrase field should get disabled based on interaction with the opposing field.

    Alias has updates for Generate & Import to have better descriptions & a title set that gets displayed when the forms pattern is invalid, and details how to make a valid alias.

    Please check https://fix-stage-1-qa.wallet.dashincubator.dev/ and see if that matches your expectations.

  3. changed the title [-]Keystore OR Seed Phrase field enhancements[/-] [+]Keystore / Seed Phrase field enhancements[/+] on Feb 10, 2024
  4. riongull commented on Feb 10, 2024

    @riongull

    Disabling the unnecessary fields is a nice improvement. I think I'm still inclined to disable the populated alias field as well, but maybe let's have @coolaj86 and/or others test it to see what they have to say.

    A couple issues:

    • There's no way to unselect an already selected file
    • The file upload field doesn't highlight when tabbing. it works, just no visual feedback.
  5. jojobyte commented on Feb 11, 2024

    @jojobyte
    ContributorAuthor
    • The file upload field doesn't highlight when tabbing. it works, just no visual feedback.

    Should be fixed by 4cc1303

  6. added a commit that references this issue on Feb 14, 2024
    46ce8cc
  7. jojobyte commented on Feb 14, 2024

    @jojobyte
    ContributorAuthor
    • There's no way to unselect an already selected file

    Should be fixed by 46ce8cc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions