-
Notifications
You must be signed in to change notification settings - Fork 357
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
Extended service, vm, instance & orch. stack retirement functionality #2250
Extended service, vm, instance & orch. stack retirement functionality #2250
Conversation
ded7cbe
to
8668fa3
Compare
@himdel @martinpovolny @dclarizio Review please? |
8668fa3
to
0e9b167
Compare
@mzazrivec can we get around this for now by locking the datepicker to english or maybe blacklisting certain locales that don't work? @skateman could you investigate what it would take to get an upstream fix for this (i.e. can we get it by dev freeze at the end of Oct)? |
@dclarizio Yes, the way things are right now in this PR, the datetimepicker defaults to English, |
Awesome, so a non-issue for now. Will let @martinpovolny do a review, but can you also see if you can get address the 3 CC issues? Thx, Dan |
I think those CC errors do not need to be addressed. Or am I wrong @himdel ? |
CC issues 2,3 are easy to fix. The Rubocop issue is trivial to fix. I think you can add a commit fixing these ;-) |
Did you open an issue for that? We need to track that issues to properly support Japanese. |
0e9b167
to
f1b785a
Compare
@martinpovolny What I meant to write was that I don't even know how I'd go about fixing those As far as I can tell, the PF datetimepicker currently does not contain any translations, so maybe |
Fixes:
This is the first line of a function. That function does not have a return statement. Just add a 2nd issue is here:
This can be changed to:
The |
f1b785a
to
f314783
Compare
@martinpovolny I guess I could add the |
f314783
to
8184fa4
Compare
This change allows for setting retirement date & time for services, virtual machines and orchestration templates. This change also introduces date & time picker from Patternfly. For it to work nicely with our application and angular, we're using a new angular directive 'datetimepicker'.
8184fa4
to
7359e60
Compare
@martinpovolny Actually, the |
Checked commit mzazrivec@7359e60 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
This change allows for setting retirement date & time for services, virtual machines and orchestration templates. In the past, the form would only allow to select retirement date. From now on, we're able
to select the time to retire as well (all in UTC time zone).
This change also introduces date & time picker from Patternfly. For it to work nicely with our application
and angular, we're using a new angular directive
datetimepicker
.https://www.pivotaltracker.com/story/show/150934417
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1422422
What won't currently work:
javascript error. This would have to be addressed on the datepicker upstream side.
MM/DD/YYYY HH:mm
.Initial retirement screen:
Date / time picker, the date selection part:
Date / time picker, the time selection part:
The retirement date & time has been set: