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

[Feature] Add custom notification or one from a list for expiring foods #66

Open
let92 opened this issue Oct 2, 2023 · 6 comments
Open
Labels
enhancement New feature or request

Comments

@let92
Copy link

let92 commented Oct 2, 2023

I would like to see the possibility to select from a list of time notifications (e.g. same day, one day before, two days before, 1 week before etc...) or from a custom one for the expiring foods.

I hope it will be implemented in the future.

Thanks in advance for the availability.

@Maan-Sharma
Copy link

can i work on this

@lorenzovngl lorenzovngl added the enhancement New feature or request label Oct 3, 2023
@lorenzovngl
Copy link
Owner

can i work on this

Yes of course! Assigned to you

@lorenzovngl
Copy link
Owner

I would like to see the possibility to select from a list of time notifications (e.g. same day, one day before, two days before, 1 week before etc...) or from a custom one for the expiring foods.

I hope it will be implemented in the future.

Thanks in advance for the availability.

Hello @let92,
I was thinking about your feature request and I want to have a clear understanding of this.
You want to have the possibility to choose how long is the forewarning time. The forewarning time now is fixed (see code below) and you want it to be variable (choosen by the user).

val filteredList = repository.getAll().first().filter {
it.expirationDate < tomorrow.time.time
}

Maybe something like:

Notify me when foods expire in

  • 1 day
  • 2 days
  • 1 week
  • N days (where N is an input value)

So... if what I described above is what you are asking for, I ask you the question: do you want this option to be global or do you want to choose a custom forewarning time for each food item?

@let92
Copy link
Author

let92 commented Oct 5, 2023

I would like to see the possibility to select from a list of time notifications (e.g. same day, one day before, two days before, 1 week before etc...) or from a custom one for the expiring foods.
I hope it will be implemented in the future.
Thanks in advance for the availability.

Hello @let92, I was thinking about your feature request and I want to have a clear understanding of this. You want to have the possibility to choose how long is the forewarning time. The forewarning time now is fixed (see code below) and you want it to be variable (choosen by the user).

val filteredList = repository.getAll().first().filter {
it.expirationDate < tomorrow.time.time
}

Maybe something like:

Notify me when foods expire in

  • 1 day
  • 2 days
  • 1 week
  • N days (where N is an input value)

So... if what I described above is what you are asking for, I ask you the question: do you want this option to be global or do you want to choose a custom forewarning time for each food item?

Hello @lorenzovngl, what you showed is exactly what I desire.

For my needs, it is fine that the feature is available globally in the app settings.

Thank you very much!

@himanshu-shakya
Copy link

Hey! I am new here and I want to contribute. can someone tell me how to start contributing?

@lorenzovngl
Copy link
Owner

Hey! I am new here and I want to contribute. can someone tell me how to start contributing?

Hello @himanshushakya18, the first step for you is to read the Contribution Guidelines to understand how to contribute.

If you never contributed to a project on GitHub, you can search for issues labeled as good-first-issue, because they are suitable for newcomers. Actually I don't have a good-first-issue on this project, but maybe a can open one and assign to you.

Anyway, if you have any doubt, you can contact me on Twitter/X or LinkedIn (you can find the links on my profile page) and I will guide you step by step.

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
Development

No branches or pull requests

4 participants