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
Fixes #32045 - Add start-end date pickers to job wizard #567
Fixes #32045 - Add start-end date pickers to job wizard #567
Conversation
@MariaAga, this pull request is currently not mergeable. Please rebase against the master branch and push again. If you have a remote called 'upstream' that points to this repository, you can do this by running:
This message was auto-generated by Foreman's prprocessor |
Vendor 8. is >=2.5 only, correct? |
Yes |
31ee864
to
b8208a0
Compare
6565674
to
97ed9a2
Compare
js tests are failing because the tests here are using a newer version of pf where they use |
aa86599
to
b04f2cf
Compare
<DatePicker | ||
value={formattedDate} | ||
placeholder="yyyy/mm/dd" | ||
onChange={debounce(onDateChange, 1000, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any opinions on the wait amount before formatting the users input?
5d9f813
to
9fc3597
Compare
@LaViro This is ready for a review 🥳 |
Needs a rebase |
That might be a pf4 version issue as the time picker was made to be larger on the newer version |
9fc3597
to
e069c3a
Compare
e069c3a
to
90cb33c
Compare
Added |
Looks good to me. @LaViro could you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @MariaAga ! can you also rebase the PR?
package.json
Outdated
"@theforeman/stories": "^4.14.0", | ||
"@theforeman/test": "^4.14.0", | ||
"@theforeman/vendor-dev": "^4.14.0", | ||
"@theforeman/builder": "^8.7.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's split this into another PR? current version is 8.10.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expect(endsDateField.disabled).toBeTruthy(); | ||
expect(endsTimeField.disabled).toBeTruthy(); | ||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great test!
90cb33c
to
5800f14
Compare
Rebased and will now need #646 |
Updates vendor js to 8.4.0 in order to use datepicker and timepicker.
Depends on #558