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

web/satellite: billing page behaviour #3711

Merged
merged 5 commits into from
Dec 12, 2019

Conversation

NikolaiYurchenko
Copy link
Contributor

@NikolaiYurchenko NikolaiYurchenko commented Dec 9, 2019

What:
Custom amount, balance and usage charges changes
Why:
Ability to select custom amount as default, black color positive balance and disability to expand usage charges if no any
Please describe the tests:

  • Test 1:
  • Test 2:

Please describe the performance impact:

Code Review Checklist (to be filled out by reviewer)

  • NEW: Are there any Satellite database migrations? Are they forwards and backwards compatible?
  • Does the PR describe what changes are being made?
  • Does the PR describe why the changes are being made?
  • Does the code follow our style guide?
  • Does the code follow our testing guide?
  • Is the PR appropriately sized? (If it could be broken into smaller PRs it should be)
  • Does the new code have enough tests? (every PR should have tests or justification otherwise. Bug-fix PRs especially)
  • Does the new code have enough documentation that answers "how do I use it?" and "what does it do?"? (both source documentation and higher level, diagrams?)
  • Does any documentation need updating?
  • Do the database access patterns make sense?

@NikolaiYurchenko NikolaiYurchenko requested a review from a team December 9, 2019 11:51
@NikolaiYurchenko NikolaiYurchenko self-assigned this Dec 9, 2019
@cla-bot cla-bot bot added the cla-signed label Dec 9, 2019
@ghost ghost requested review from ifraixedes and zeebo and removed request for a team December 9, 2019 11:51
@NikolaiYurchenko NikolaiYurchenko requested review from crawter, VitaliiShpital and a team and removed request for a team December 9, 2019 11:52
Qweder93
Qweder93 previously approved these changes Dec 9, 2019
@ifraixedes ifraixedes removed their request for review December 10, 2019 08:56
@@ -96,6 +96,10 @@ export default class MonthlyBillingSummary extends Vue {
* toggleUsageChargesPopup is used to open/close area with list of project charges.
*/
public toggleUsageChargesPopup(): void {
if (this.usageCharges.length === 0) {
Copy link
Member

Choose a reason for hiding this comment

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

if (!this.usageCharges.length)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IMO straight comparison is more readable in this case

@NikolaiYurchenko NikolaiYurchenko removed the request for review from zeebo December 10, 2019 17:36
@NikolaiYurchenko NikolaiYurchenko merged commit f5d26a1 into master Dec 12, 2019
@NikolaiYurchenko NikolaiYurchenko deleted the ny/custom_deposit_amount branch December 12, 2019 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants