-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add natural language parsing info #219
Comments
Maybe we could show a popover the first time the user tries to add an event with some hints on how to use that feature. |
It might be nice to increase the width of the Title field to accommodate entering the enhanced syntax. |
If this is something we want to do, have a look at Fantastical for Mac and iOS. They have a great method of teaching the syntax, which isn't as obtrusive as a popover and doesn't go away after one (or any number) times. They animate feedback as you type (easier would be highlight). It would be much harder to implement than any of these, but a lot better. This would basically be a sort of syntax highlighting, but for a different grammar. If we add a help popover, it would maybe nice nice to add a button in the text field that links to it. Like a little (i) button on the trailing edge. |
@marioguerriero added natural language parsing in the following commit: 8a20630
But there is only a very subtle hint this exists and no information on "syntax".
Daniel mentioned "Dancing at 7pm" as an example in:
https://elementaryos.stackexchange.com/questions/9486/how-can-i-create-an-event-with-natural-language-parsing-in-calendar
Parsing is handled by ParserEn or ParserDe. I'll only focus on English for now.
Part examples
Some research / resource to come up with more practical examples. Since these are parsed by regular expressions it's hard to express all possible expressions in a easy to understand manner.
Date
time
Persons
Location
Practical examples
Maybe we could show some practical examples in a information on hover over an info icon near the Title field? Or on hover over the arrow icon?
I'm afraid this won't be intuitive without interface improvements. Currently only on the first "enter" press the field is parsed and for this to work it probably needs some real time feedback. Maybe this would work better if we could move this into the Applications menu.
I also think we should look for an existing language processing library, so it can handle more cases and languages.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: