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

DateInput - onChange date value should not be optional #1601

Closed
bmingles opened this issue Oct 30, 2023 · 2 comments · Fixed by #1622 or deephaven/deephaven-core#4812
Closed

DateInput - onChange date value should not be optional #1601

bmingles opened this issue Oct 30, 2023 · 2 comments · Fixed by #1622 or deephaven/deephaven-core#4812
Labels
enhancement New feature or request good first issue Good for newcomers web-client-ui
Milestone

Comments

@bmingles
Copy link
Contributor

In packages/components/src/DateInput.tsx the onChange prop has it's date arg defined as optional. It doesn't appear that this is ever actually the case. We should update it so that consumers don't have to handle the undefined case just to appease TypeScript.

@bmingles bmingles added enhancement New feature or request triage Issue requires triage web-client-ui labels Oct 30, 2023
@vbabich vbabich added good first issue Good for newcomers and removed triage Issue requires triage labels Oct 31, 2023
@vbabich vbabich added this to the November 2023 milestone Oct 31, 2023
@sakibian
Copy link
Contributor

sakibian commented Nov 2, 2023

Can I work on this?

@bmingles
Copy link
Contributor Author

bmingles commented Nov 2, 2023

mofojed added a commit that referenced this issue Nov 10, 2023
Closes: #1601

---------

Signed-off-by: sakibian <sakib192@gmail.com>
Co-authored-by: mikebender <mikebender@deephaven.io>
mofojed pushed a commit to deephaven/deephaven-core that referenced this issue Nov 10, 2023
Release notes https://github.com/deephaven/web-client-ui/releases/tag/v0.54.0

# [0.54.0](deephaven/web-client-ui@v0.53.0...v0.54.0) (2023-11-10)


### Bug Fixes

* Date argument non-optional for the onChange prop ([#1622](deephaven/web-client-ui#1622)) ([9a960b3](deephaven/web-client-ui@9a960b3)), closes [#1601](deephaven/web-client-ui#1601)
* Fixing grid colors and grays ([#1621](deephaven/web-client-ui#1621)) ([9ab2b1e](deephaven/web-client-ui@9ab2b1e)), closes [#1572](deephaven/web-client-ui#1572)
* Infinite loop with grid rendering ([#1631](deephaven/web-client-ui#1631)) ([4875d2e](deephaven/web-client-ui@4875d2e)), closes [#1626](deephaven/web-client-ui#1626)
* Log figure errors, don't show infinite spinner ([#1614](deephaven/web-client-ui#1614)) ([75783d0](deephaven/web-client-ui@75783d0))
* non-contiguous table row selection background colour ([#1623](deephaven/web-client-ui#1623)) ([61d1a53](deephaven/web-client-ui@61d1a53)), closes [#1619](deephaven/web-client-ui#1619)
* Panels not reinitializing if makeModel changes ([#1633](deephaven/web-client-ui#1633)) ([5ee98cd](deephaven/web-client-ui@5ee98cd))
* remove unecessary dom re-calc in grid render ([#1632](deephaven/web-client-ui#1632)) ([ce7cc3e](deephaven/web-client-ui@ce7cc3e))


### Features

* Add `LayoutManagerContext` and `useLayoutManager` ([#1625](deephaven/web-client-ui#1625)) ([0a6965a](deephaven/web-client-ui@0a6965a))
* Add ResizeObserver to Grid and Chart ([#1626](deephaven/web-client-ui#1626)) ([35311c8](deephaven/web-client-ui@35311c8))
* Added test:debug script ([#1628](deephaven/web-client-ui#1628)) ([80f29f5](deephaven/web-client-ui@80f29f5)), closes [#1627](deephaven/web-client-ui#1627)
* Read settings from props/server config when available ([#1558](deephaven/web-client-ui#1558)) ([52ba2cd](deephaven/web-client-ui@52ba2cd))
* Theming - Charts ([#1608](deephaven/web-client-ui#1608)) ([d5b3b48](deephaven/web-client-ui@d5b3b48)), closes [#1572](deephaven/web-client-ui#1572)


### BREAKING CHANGES

- ChartThemeProvider is now required to provide ChartTheme
- ChartModelFactory and ChartUtils now require chartTheme args

Co-authored-by: deephaven-internal <deephaven-internal@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers web-client-ui
Projects
None yet
3 participants