[Feature] Update airport view to show last visit / next visit #639
jonlarson13
started this conversation in
Feature Request
Replies: 1 comment
-
|
PR #640 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing feature requests to make sure this is not a duplicate request.
The feature
I just started using AirTrail (love it BTW) and noticed that when you have multiple flights in the future, when you view the airport it says your
Last Visitis the day you arrive from your futuremost flight.Problem
So if I have flights:
June 1 AAA > BBB
June 5 BBB > AAA
July 10 AAA > BBB
July 13 BBB > AAA
July 29 AAA > CCC
Aug 3 CCC > AAA
It says my last visit to AAA is Aug 3 - in the future and far past my actual last visit of June 5, and not appropriately representing that my next visit to AAA will actually be July 10, in fact there is currently no functionality of "next visit".
Proposal
I'm working on a PR that changes the functionality of viewing an airport to include
Last Visitthat actually shows the last time you've visited that airport andNext Visitto show when you will next be there.Current functionality:

Last visit = July 22. Hasn't actually happened yet, real last visit was June 3
Proposed functionality in my PR:

Add
Next Visitthat shows the next time you will be at that airport, changeLast Visitto correctly state the last time you visited that airport - even if you have upcoming flights.Airports that you've never been to will simply say

Next Visit:And airports you have no upcoming visits to will only say

Last Visit:Due to the length of adding both
Next VisitandLast Visit, I had to separate the last/next visit onto it's own line from# Airlinesand# routes. To me, it looked the cleanest by having the visits first since it's going to be the longer line when it has both a next and last visit.I'm open to feedback on changing/adjusting styling or functionality how you see fit. I'm also thinking about adjusting the styling in the departure/arrivals list to separate future from past flights but will open a seperate issue/PR for that as long as you have no objections.
Beta Was this translation helpful? Give feedback.
All reactions