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

Colw/graphql validators #2926

Merged
merged 25 commits into from
Sep 2, 2019
Merged

Colw/graphql validators #2926

merged 25 commits into from
Sep 2, 2019

Conversation

colw
Copy link
Contributor

@colw colw commented Aug 29, 2019

Closes #ISSUE

Description:

Thank you! 🚀


For contributor:

  • Added changes entries. Run yarn changelog for a guided process.
  • Reviewed Files changed in the github PR explorer
  • Attach screenshots of the UI components on the PR description (if applicable)
  • Scope of work approved for big PRs

For reviewer:

  • Manually tested the changes on the UI

@colw colw mentioned this pull request Aug 29, 2019
5 tasks
@codecov
Copy link

codecov bot commented Aug 29, 2019

Codecov Report

Merging #2926 into develop will decrease coverage by 0.23%.
The diff coverage is 88.88%.

@@             Coverage Diff             @@
##           develop    #2926      +/-   ##
===========================================
- Coverage    97.32%   97.09%   -0.24%     
===========================================
  Files          126      126              
  Lines         2247     2240       -7     
  Branches       396      391       -5     
===========================================
- Hits          2187     2175      -12     
- Misses          54       59       +5     
  Partials         6        6
Impacted Files Coverage Δ
src/components/common/TmPage.vue 100% <ø> (ø) ⬆️
src/components/staking/TableValidators.vue 96.29% <ø> (-0.38%) ⬇️
src/components/staking/LiValidator.vue 83.33% <ø> (-16.67%) ⬇️
...sactions/message-view/UndelegateMessageDetails.vue 100% <ø> (ø) ⬆️
src/components/staking/PageValidators.vue 100% <100%> (ø) ⬆️
src/filters/index.js 100% <100%> (ø) ⬆️
src/scripts/returns.js 100% <100%> (ø) ⬆️
src/components/staking/DelegationsOverview.vue 83.33% <75%> (-16.67%) ⬇️
src/components/wallet/PageTransactions.vue 94.44% <80%> (-5.56%) ⬇️
src/components/staking/PageValidator.vue 98.59% <93.33%> (-1.41%) ⬇️
... and 1 more

@codecov
Copy link

codecov bot commented Aug 29, 2019

Codecov Report

Merging #2926 into develop will decrease coverage by 0.1%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #2926      +/-   ##
===========================================
- Coverage    97.32%   97.22%   -0.11%     
===========================================
  Files          126      126              
  Lines         2247     2236      -11     
  Branches       384      391       +7     
===========================================
- Hits          2187     2174      -13     
- Misses          54       56       +2     
  Partials         6        6
Impacted Files Coverage Δ
src/components/common/TmPage.vue 100% <ø> (ø) ⬆️
src/components/staking/TableValidators.vue 96.29% <ø> (-0.38%) ⬇️
...sactions/message-view/UndelegateMessageDetails.vue 100% <ø> (ø) ⬆️
src/components/staking/LiValidator.vue 66.66% <ø> (-33.34%) ⬇️
src/components/staking/PageValidators.vue 100% <100%> (ø) ⬆️
src/filters/index.js 100% <100%> (ø) ⬆️
src/scripts/returns.js 100% <100%> (ø) ⬆️
src/components/staking/DelegationsOverview.vue 100% <100%> (ø) ⬆️
src/components/staking/PageValidator.vue 100% <100%> (ø) ⬆️
src/components/wallet/PageTransactions.vue 100% <100%> (ø) ⬆️
... and 1 more

@colw colw marked this pull request as ready for review August 30, 2019 13:27
@@ -77,7 +77,7 @@ export default {
default: false
},
error: {
type: Error,
type: [Error, Boolean],
Copy link
Collaborator

Choose a reason for hiding this comment

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

We have a rule about not allowing multiple types per property

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call. TMPage already treated it like a Boolean, so I've removed the Error type. Other values will be coerced to Boolean.

@@ -503,17 +472,17 @@ span {
border-radius: 0.25rem;
}

.validator-status.red {
.validator-status.jailed {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice semantic classes

@faboweb faboweb merged commit f141753 into develop Sep 2, 2019
@faboweb faboweb deleted the colw/graphql-validators branch September 2, 2019 09:22
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.

2 participants