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

Change !interview DATE/TIME input mechanism to be more natural. #57

Open
nehayward opened this issue Apr 5, 2018 · 1 comment
Open
Labels
Feature New feature or request Hard This item is expected to be a hard level of difficulty

Comments

@nehayward
Copy link
Contributor

After examining all the error cases with interview, it seems like it'd be somewhat tedious to use for a new user. I remember @zpatrick was exploring using the when package. I'm thinking that same philosophy/package could be applied to !interview. I could see a new user finding it somewhat cumbersome to use, if you exclude a digit month on mistake.

It might be more natural if these weren't errors IMO:
"parse error missing month digit": "!interview rm John 3/15/2006 09:00am",
"parse error missing year digits": "!interview rm John 03/15/06 09:00am",
"parse error missing minute digit": "!interview rm John 03/15/2006 9am",
"parse error missing hour digit": "!interview rm John 03/15/2006 9:00am",

Maybe this isn't feasible and could cause errors, but I wanted to at least discuss it.

Potential new flow
!interview add NAME "natural language"
!interview add NAME next Tuesday at 2pm @uid

similar to Fantastical

@nehayward nehayward added the Feature New feature or request label Apr 5, 2018
@zpatrick zpatrick added the Hard This item is expected to be a hard level of difficulty label Apr 6, 2018
@zpatrick
Copy link
Contributor

zpatrick commented Apr 6, 2018

I like the idea, let's definitely come back to this once we finish up https://github.com/quintilesims/slackbot/milestone/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Hard This item is expected to be a hard level of difficulty
Projects
None yet
Development

No branches or pull requests

2 participants