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

Allow setting a start time for an entry #71

Open
LorenDB opened this issue Sep 10, 2021 · 3 comments
Open

Allow setting a start time for an entry #71

LorenDB opened this issue Sep 10, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@LorenDB
Copy link

LorenDB commented Sep 10, 2021

It might be nice to add a command that would take the form "Add N hours of starting at 10 AM".

P.S. Just ran across this bot and I'm impressed with it. Keep up the good work!

@khaelys khaelys added the enhancement New feature or request label Sep 13, 2021
@simone3991
Copy link
Member

it would definitely be a nice addition. As of now the bot doesn't care too much about the exact hours in which you do work, because we wanted to keep the dialog as short as possible so it doesn't bore people. It'd be good if we could add this feature as an opt-in, so these all work:

  • add 2 hours on x
  • add 2 hours on x from 10 am
  • add 2 hours on x yesterday

Thanks for the feedback!

@LorenDB
Copy link
Author

LorenDB commented Sep 14, 2021

Yeah, that looks about like what I envisioned.

@simone3991
Copy link
Member

simone3991 commented Oct 9, 2021

I've worked with the LUIS model and now it can support an optional {datetimev2} resolution after the regular add sentence, just like I was proposing last month.

We just need to work on the usage of that, and then we can close this issue.

@zoncrd @khaelys if we detail this enough it can be opened to the hacktoberfest, I have prepared a branch to set up the integration of this new logic in feat/account-for-worked-period

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants