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

Error handling while selecting the date and time in date_picker.jsx #5541

Conversation

ujjwalpathaak
Copy link
Contributor

@ujjwalpathaak ujjwalpathaak commented Nov 30, 2023

Fixes #5532

What this PR does

I have made the changes and now if a user selects the time before selecting the date it should automatically set the date to today

Screencast.from.30-11-23.11.55.17.PM.IST.webm

@ujjwalpathaak
Copy link
Contributor Author

@ragesoss spec/lib/importers/revision_score_importer_spec.rb is the test which is failing.
image

it failed as it's getting the value of wp10 as nil

but it's working for me locally
image

also there is this comment for the test which is failing
image

@ragesoss
Copy link
Member

That one is failing inconsistently. I'll put some mitigation in place at some point, but you can ignore it for this PR.

@ragesoss ragesoss merged commit 2ee349a into WikiEducationFoundation:master Nov 30, 2023
1 check failed
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.

Create an Independent Program - quits when trying to select hours/minutes before the date.
2 participants