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
Refs #26346 - Move tasks table to react router #445
Refs #26346 - Move tasks table to react router #445
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 |
@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 |
|
||
const formatDate = date => | ||
date | ||
? new Date(date).toLocaleString('en-GB', { |
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.
Hardcoded locale? Shouldn't it be retrieved from the environment or something?
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.
I didnt want there to be a confusion with the search text as the date for 'en-US' would be MM/DD/YYYY in the table, but it can't be searched in this format
bb09eb1
to
f02df95
Compare
2c0230d
to
7e7acf1
Compare
Needs a rebase |
ea0b5f3
to
0d29dd6
Compare
0d29dd6
to
b7b9e24
Compare
@adamruzicka I think this is ready for a review now. |
b7b9e24
to
0711a5d
Compare
0711a5d
to
ac87a40
Compare
31978f4
to
e968c68
Compare
e968c68
to
7f30400
Compare
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.
Thank you @MariaAga
7f30400
to
6244663
Compare
Needs a rebase |
6244663
to
e39073f
Compare
Please notice the testing error |
e39073f
to
f52451d
Compare
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 work @MariaAga LGTM and works as expected 👍
f52451d
to
78a63cc
Compare
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 code wise it makes sense.
Waiting for @adamruzicka to run and test it because I could not atm.
@adamruzicka looks like this PR(theforeman/foreman#6936) will be in soon and will change the React Router behavior in Foreman plugins, so I think we should wait for it |
Agreed, I'll keep an eye out for it |
78a63cc
to
859d2a4
Compare
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.
Thank you @MariaAga, looks good and working well.
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.
Works nicely
Thank you @MariaAga for the PR and @waldenraines, @LaViro and @sharvit for reviews! |
Blocked by:
#442
theforeman/foreman#6997theforeman/foreman#6944