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

fix: Date argument non-optional for the onChange prop #1622

Merged
merged 4 commits into from
Nov 10, 2023

Conversation

sakibian
Copy link
Contributor

@sakibian sakibian commented Nov 3, 2023

Closes: #1601

Signed-off-by: sakibian <sakib192@gmail.com>
Copy link
Contributor

github-actions bot commented Nov 3, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@sakibian sakibian changed the title Date argument non-optional for the onChange prop Fix: Date argument non-optional for the onChange prop Nov 3, 2023
@sakibian
Copy link
Contributor Author

sakibian commented Nov 3, 2023

I have read the CLA Document and I hereby sign the CLA

@sakibian sakibian changed the title Fix: Date argument non-optional for the onChange prop fix: Date argument non-optional for the onChange prop Nov 3, 2023
Copy link
Member

@mofojed mofojed left a comment

Choose a reason for hiding this comment

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

Just remove the unnecessary comments. Thank you for the contribution!

packages/components/src/DateInput.tsx Outdated Show resolved Hide resolved
packages/components/src/DateInput.tsx Outdated Show resolved Hide resolved
packages/components/src/DateInput.tsx Show resolved Hide resolved
Signed-off-by: sakibian <sakib192@gmail.com>
mofojed
mofojed previously approved these changes Nov 3, 2023
Copy link
Member

@mofojed mofojed left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

@mofojed mofojed enabled auto-merge (squash) November 3, 2023 19:44
Signed-off-by: sakibian <sakib192@gmail.com>
auto-merge was automatically disabled November 4, 2023 12:20

Head branch was pushed to by a user without write access

- Only need the param on the callback to be required, the onChange prop itself is optional
@mofojed mofojed enabled auto-merge (squash) November 10, 2023 15:06
Copy link

codecov bot commented Nov 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (787c542) 46.68% compared to head (642550f) 46.64%.
Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1622      +/-   ##
==========================================
- Coverage   46.68%   46.64%   -0.04%     
==========================================
  Files         583      591       +8     
  Lines       36267    36402     +135     
  Branches     9074     9113      +39     
==========================================
+ Hits        16930    16979      +49     
- Misses      19285    19371      +86     
  Partials       52       52              
Flag Coverage Δ
unit 46.64% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
packages/code-studio/src/styleguide/Inputs.tsx 56.52% <ø> (ø)
packages/components/src/DateInput.tsx 0.00% <ø> (ø)

... and 47 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mofojed mofojed merged commit 9a960b3 into deephaven:main Nov 10, 2023
5 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DateInput - onChange date value should not be optional
2 participants