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

feat: CP-9474 import private key activate account, design fixes #89

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vvava
Copy link
Contributor

@vvava vvava commented Nov 13, 2024

Description

We want to make the latest imported account to be the active account.

Changes

After the import phase we select the account. There are few design fixes in addition.

Testing

Go to accounts page -> import an account

Screenshots:

Screen.Recording.2024-11-13.at.14.51.37.mov

Checklist for the author

Tick each of them when done or if not applicable.

  • I've covered new/modified business logic with Jest test cases.
  • I've tested the changes myself before sending it to code review and QA.

bferenc
bferenc previously approved these changes Nov 14, 2024
Copy link
Contributor

@bferenc bferenc left a comment

Choose a reason for hiding this comment

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

Working as expected 👍

Copy link
Member

@meeh0w meeh0w left a comment

Choose a reason for hiding this comment

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

Just one small issue in the CSS. It looks good in the UI, but the values are incorrect so it's hard to say what they should be.

Comment on lines 66 to 67
color: fontColor,
backgroundColor: isActive ? 'grey.400' : 'default',
Copy link
Member

Choose a reason for hiding this comment

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

These 'default' values for color and backgroundColor don't work:
image

Did you mean to use currentColor for the text?
For the background, if you intended to use the theme.palette.background.default from K2, the value should be background.default instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants