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

[UD] fixes for "Get More RAM" widget and Billing info tab #1848

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

akurinnoy
Copy link
Contributor

What does this PR do?

This PR adds fixes for Billing info tab and "Get More RAM" widget:

  • restrict some inputs to enter only valid symbols;
  • set focus to input when widget is shown;
  • apply filter to round fractional part of calculated values in widget;

What issues does this PR fix or reference?

N/A

Changelog

[UD] make inputs on "Get More RAM" widget and Billing info tab to allow to enter only valid symbols

Release Notes

N/A - bugfix

Docs PR

N/A - bugfix

Signed-off-by: Oleksii Kurinnyi [email protected]

- restrict some inputs to enter only valid symbols;
- set focus to input when widget is shown;
- apply filter to round fractional part of calculated values in widget;

Signed-off-by: Oleksii Kurinnyi <[email protected]>
@akurinnoy akurinnoy self-assigned this Mar 1, 2017
@@ -51,6 +52,7 @@
che-label-name="State"
che-name="state"
che-place-holder=""
che-type-city
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we have validator of cities for the state ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not validator of cities, it is just directive which prevent to enter not valid symbols to input.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok but my issue is that the name of validator contains "city" while it is more generic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could you suggest more suitable name?

Copy link
Contributor

Choose a reason for hiding this comment

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

@akurinnoy well this change is not urgent I approved the PR. I don't have more suitable name. Maybe che-type-city and che-type-state directives that can be based on the same class.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I will update it soon.

@ashumilova ashumilova added this to the 5.4.0 milestone Mar 1, 2017
@akurinnoy akurinnoy merged commit aa9736c into master Mar 1, 2017
@akurinnoy akurinnoy deleted the fix-billing-section branch March 1, 2017 09:41
@JamesDrummond JamesDrummond mentioned this pull request Mar 8, 2017
8 tasks
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.

5 participants