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

TTSN and TNI don't update when manually adding flights from previous days #35

Open
markmacpherson opened this issue Jul 4, 2019 · 3 comments
Labels
research required Need to look further into the issue

Comments

@markmacpherson
Copy link
Contributor

When adding flights from previous days, the Total Time Since New (TTSN) and the Time to Next Inspection (TNI) are not updated to indicate the new times.

@markmacpherson markmacpherson added the research required Need to look further into the issue label Jul 4, 2019
@kirvanp
Copy link
Collaborator

kirvanp commented Jul 4, 2019

Knowing how this should work is a dilemma. It seems obvious at first that if I add a flight last week, the TTSN for that day and every day since should be incremented by the duration of that flight. But what happens if the user has already manually adjusted the TTSN of the more recent days to be correct? Then incrementing would make them wrong. Let's take a real example:

I fly a cross country in the towplane to gliding site X. I don't have an iPad that day, so I just write the times in the paper Journey log. The next day, site X staff adjust the TTSN for that aircraft to match the journey logs and start flying. After a few weeks, someone says, "shouldn't that cross country be in the iPad?" so they enter it in. Now in this case all the timesheets they've made in the weeks from when they manually adjust the TTSN to when they enter the missing flight are correct and shouldn't be tampered with.

We could solve this problem by not letting you manually adjust the TTSN, but that would make things less flexible and potentially make other errors harder to fix.

@markmacpherson
Copy link
Contributor Author

Yes, something we need to explore further for sure. We should aim to keep as much flexibility as possible. Maybe even just popping up a reminder that they need to double check the TTSN and TNI after they add flights manually?

@kirvanp
Copy link
Collaborator

kirvanp commented Jul 4, 2019

Yeah. There is a feature that allows you to set the initial TTSN of one entry to the final TTSN of the prior one so you can manually go through and adjust them if that’s the right thing to do. In addition, mismatches of final and initial TTSN are highlighted in red in the journey log entries list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research required Need to look further into the issue
Projects
None yet
Development

No branches or pull requests

2 participants