Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

feat: ignoreIfEmpty flag setting #159

Merged
merged 5 commits into from
Nov 15, 2019
Merged

feat: ignoreIfEmpty flag setting #159

merged 5 commits into from
Nov 15, 2019

Conversation

ryanio
Copy link
Contributor

@ryanio ryanio commented Nov 11, 2019

What does it do? Does it close any issues?

Introduces property ignoreIfEmpty to flag settings.

See ethereum/grid#518

Closes one of the issues in ethereum/grid#512

Pairs with ethereum/grid#518

Copy link
Member

@evertonfraga evertonfraga left a comment

Choose a reason for hiding this comment

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

Looks good!
please add test cases to this new feature: https://github.com/ethereum/grid-ui/blob/dev/src/test/settings.test.js

this.setState({ setupState: `Downloading ${downloadProgress}%` })
} else {
this.setState({ setupState: null })
}
Copy link
Member

Choose a reason for hiding this comment

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

yay! :)

@ryanio
Copy link
Contributor Author

ryanio commented Nov 11, 2019

Looks good!
please add test cases to this new feature: https://github.com/ethereum/grid-ui/blob/dev/src/test/settings.test.js

Thanks for the reminder 👍

Here they are:
Screen Shot 2019-11-11 at 12 26 27 PM

@evertonfraga
Copy link
Member

That's great, thanks.

Because of this split() call here, I think you should add a test if spaces are added to the input.

@wolovim wolovim merged commit af9aacc into dev Nov 15, 2019
@wolovim wolovim deleted the ignoreFlagIfEmpty branch November 15, 2019 22:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants