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

Disable account dropdown on signing screens #6024

Merged
merged 1 commit into from
Jan 16, 2019
Merged

Conversation

alextsg
Copy link
Contributor

@alextsg alextsg commented Jan 15, 2019

Fixes #6014

image

@metamaskbot
Copy link
Collaborator

Builds ready [889540f]: mascara, chrome, firefox, edge, opera

Copy link
Contributor

@whymarrh whymarrh left a comment

Choose a reason for hiding this comment

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

Two small things, otherwise LGTM


export default class AccountDropdownMini extends PureComponent {
static propTypes = {
accounts: PropTypes.array,
Copy link
Contributor

Choose a reason for hiding this comment

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

We might be able to add .isRequired to this prop

dropdownOpen: PropTypes.bool,
onSelect: PropTypes.func,
openDropdown: PropTypes.func,
selectedAccount: PropTypes.object,
Copy link
Contributor

Choose a reason for hiding this comment

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

We might be able to add .isRequired to this prop

@alextsg alextsg force-pushed the i6014-disable-accounts branch from 889540f to 5bac208 Compare January 16, 2019 19:55
@alextsg alextsg force-pushed the i6014-disable-accounts branch from 5bac208 to 0a018c7 Compare January 16, 2019 22:23
@metamaskbot
Copy link
Collaborator

Builds ready [0a018c7]: mascara, chrome, firefox, edge, opera

@alextsg alextsg merged commit 3fe78a8 into develop Jan 16, 2019
@alextsg alextsg deleted the i6014-disable-accounts branch January 16, 2019 22:50
Gudahtt added a commit to Gudahtt/metamask-extension that referenced this pull request Jul 24, 2019
The `AccountDropdownMini` component featured the ability to switch
accounts using a dropdown, but this functionality was disabled in MetaMask#6024.
It has been acting as a restyled `AccountListItem` since then.

The component has been removed, and the style changes moved to the sole
parent component (`RequestSignature`).
Gudahtt added a commit that referenced this pull request Jul 25, 2019
The `AccountDropdownMini` component featured the ability to switch
accounts using a dropdown, but this functionality was disabled in #6024.
It has been acting as a restyled `AccountListItem` since then.

The component has been removed, and the style changes moved to the sole
parent component (`RequestSignature`).
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