DamascenoRafael / reminders-menubar

Simple macOS menu bar application to view and interact with reminders. Developed with SwiftUI and using Apple Reminders as a source.
GNU General Public License v3.0
2.45k stars 112 forks source link

Language Parsing? #104

Closed TechRemarker closed 1 year ago

TechRemarker commented 1 year ago

Does this support language parsing? When typing "today buy milk" it doesn't appear to automatically add reminder for today. I use "today" or "in 3hrs" etc all the time so that it will automatically notify me, without having to manually select a specific day etc.

DomizianoScarcelli commented 1 year ago

Does this support language parsing? When typing "today buy milk" it doesn't appear to automatically add reminder for today. I use "today" or "in 3hrs" etc all the time so that it will automatically notify me, without having to manually select a specific day etc.

It currently doesn't but it would be a very nice feature, and it's the only thing this app is currently missing. There has also been a discussion here. A long time has passed since then, I really hope for this feature to come out soon!

DomizianoScarcelli commented 1 year ago

I wanted this feature so bad I decided to try to add it myself

DamascenoRafael commented 1 year ago

@TechRemarker version 1.14.0 is now available. It is now possible to specify the due date with natural language 🔤 📅 Please let me know if you have any feedback or suggestions for improvement.

Thanks @DomizianoScarcelli for putting effort into this feature 🚀

TechRemarker commented 1 year ago

Thank you so much! Just tested, and partially worked, typed, "Testing tomorrow". It properly added the date for tomorrow, great, but it didn't remove the word tomorrow" in the actual reminder as it's suppose to after using the word for the meta. Tried "Clean in 5 days" and again it set the right date, but the reminder it saved was, "Clean in 5 days" rather than the correct, simply "Clean". Great start on adding the feature though, as imagine just a bug.

DamascenoRafael commented 1 year ago

Hi @TechRemarker.

To work this way you need to check the option shown in the image below:

Screenshot 2023-03-06 at 20 18 57

Once this option is checked the date will be removed from the title for reminders created thereafter.

TechRemarker commented 1 year ago

Thank you! For some reason that wasn't enabled by default. Checking it resolves the issue. Would just presumably want to make sure that's the default since that's the default for all other to do apps that I can think of such as Apple Reminders, Apple Calendar, Fantastical, Todoist, Things, etc. I believe in all those apps to have it parse without removing you use, quotes around it, such as "Pickup kids tomorrow". Ideally quotes like that would work as well here, but in the meantime looks like one can simply enable that remove parsed option for those times one wants to add that exact text. Thank you!