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

[New Component]: NaturalLanguageDateField #8

Open
junwen-k opened this issue Nov 17, 2024 · 0 comments
Open

[New Component]: NaturalLanguageDateField #8

junwen-k opened this issue Nov 17, 2024 · 0 comments
Labels
api-design API needs more thorough consideration enhancement New feature or request

Comments

@junwen-k
Copy link
Owner

NaturalLanguageDateField

Parses natural language to date.

Visual References

TBD

Description

Since we already have a DateField component that is built on top of timescape, I am not too sure how we could integrate this component into our DatePicker Input. Perhaps when clicked, a popup will open where you can enter date in natural language, and triggering onValueChange with the parsed Date() instance or something. Even the name of this component NaturalLanguageDateField seems a little awkward, definitely need more thoughts on this!

Anatomy

<NaturalLanguageDateField.Root />

Libraries / Hooks

Credits

Component idea inspired by Shadcn Extension, thank you!

@junwen-k junwen-k added enhancement New feature or request api-design API needs more thorough consideration labels Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-design API needs more thorough consideration enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant