Skip to content

New feature - Delete notes / appointments / reminders #7

@LeikeBaus

Description

@LeikeBaus

Hey mate :)

Right now the assistant is create-only. You can tell it to save a note or set a reminder, but there's no way to delete anything by voice. The only way to remove an item is to open the Notes & Agenda window and click the delete button manually. That breaks the hands-free flow. If you're in the middle of something and realize you set a reminder for the wrong time, you have to stop and mouse around.

Since WritHer is pitched as a voice-first productivity tool, being able to say "delete the dentist appointment" or "remove the shopping list" feels like an obvious gap. What I want to add: three new Ollama tool functions — [delete_note], [delete_appointment], and [delete_reminder], that let the user delete items by keyword.

How it would work technically:

  • Add keyword-lookup helpers to [database.py] that search title/content and return the best match.
  • Register [delete_note(keyword)], [delete_appointment(keyword)], [delete_reminder(keyword)] in the [TOOLS] list in [assistant.py] so Ollama knows about them.
  • In the dispatcher, look up the item by keyword, delete it if found, return a confirmation string (or a "not found" message).
  • Add the confirmation/error strings to [locales.py] for both EN and IT.

Impact and risk:
Low risk overall — it only touches [assistant.py], [database.py], and [locales.py]. The existing delete functions in [database.py] are already there, so nothing new at the SQL layer.

Could you kindly give me a brief reply, if that's okay with you.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions