Skip to content

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

Merged
mofojed merged 4 commits intodeephaven:mainfrom
sakibian:sakibian
Nov 10, 2023
Merged

fix: Date argument non-optional for the onChange prop#1622
mofojed merged 4 commits intodeephaven:mainfrom
sakibian:sakibian

Conversation

@sakibian
Copy link
Copy Markdown
Contributor

@sakibian sakibian commented Nov 3, 2023

Closes: #1601

Signed-off-by: sakibian <sakib192@gmail.com>
@github-actions
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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!

Comment thread packages/components/src/DateInput.tsx Outdated
Comment thread packages/components/src/DateInput.tsx Outdated
Comment thread packages/components/src/DateInput.tsx
Signed-off-by: sakibian <sakib192@gmail.com>
mofojed
mofojed previously approved these changes Nov 3, 2023
Copy link
Copy Markdown
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

Comment thread packages/code-studio/src/styleguide/Inputs.tsx Outdated
- 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
@codecov
Copy link
Copy Markdown

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
@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