NMF-earth / nmf-app

Understand and reduce your carbon footprint 🌱 iOS & Android.
https://nmf.earth
GNU General Public License v3.0
487 stars 156 forks source link

Future emissions #360

Open matthieugendrin opened 1 year ago

matthieugendrin commented 1 year ago

Describe the bug Many thanks for your valuable app! Just a small bug I ran into today while using it.

In new emission > transport > Plane, the selected date is not recorded, if in the future.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'New Emission > Transport > Plane'
  2. Click on The Date to enter date edition
  3. Select the date of the emission in the future (eg tomorrow)
  4. The date of the emission is reverted back to today's date

Expected behaviour I would expect to be able to enter a new emission in advance (in my case, the return flight of a travel), without having to wait the actual date of the travel.

Please complete the following information (if applicable):

PierreBresson commented 1 year ago

Thanks for report this issue. It's actually working as expected but it will be nice to implement "Future emissions" indeed. To do so, we need first to implement a section displaying all incoming emissions, in order for the user to not be confused with past emissions.

Here is a screenshot of this feature : With Emissions