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

Improve Logbook #346

Closed
albar965 opened this issue Dec 26, 2018 · 13 comments
Assignees
Milestone

Comments

@albar965
Copy link
Owner

@albar965 albar965 commented Dec 26, 2018

Move logbook entries to own database, search tab and info display.
Merge entries for one flight

@Gulliver54

This comment has been minimized.

Copy link

@Gulliver54 Gulliver54 commented Jan 12, 2019

I'am very much in favor for this change.
Using logbook adds rapidly large amounts of data clouding other data.

@albar965 albar965 added this to the Release 2.4 milestone Jan 12, 2019
@albar965

This comment has been minimized.

Copy link
Owner Author

@albar965 albar965 commented Jan 12, 2019

Agree. This is going on my nerves too. I added this to 2.4.

The 2.4 list of changes needs cleanup. A lot of issues in 2.4 will be moved to later versions.
Alex

albar965 added a commit to albar965/atools that referenced this issue Jul 3, 2019
Created base class for userdata and logbook data manager.
More refactoring around fuel calculation.

albar965/littlenavmap#346
albar965 added a commit that referenced this issue Jul 3, 2019
Added logbook highlighting, search, tooltips, information display, CSV export and import as well as X-Plane logbook import.
Solved GUI confusion between aircraft type and model in GUI.

#346
albar965 added a commit to albar965/atools that referenced this issue Jul 3, 2019
New variant constructor for Pos.
Removed unneded include in userdata package.
Added line length parameter to atools elideTextLinesShort.
albar965/littlenavmap#346
albar965 added a commit to albar965/atools that referenced this issue Jul 5, 2019
albar965 added a commit that referenced this issue Jul 5, 2019
…eries as well as CSV and RTF text export to clipboard.

Adjusted landing and takeoff timeouts for log entry creation.

#346
albar965 added a commit to albar965/atools that referenced this issue Jul 8, 2019
albar965 added a commit that referenced this issue Jul 8, 2019
albar965 added a commit that referenced this issue Jul 8, 2019
…book.

Entries are shown in search after import.
Now omitting invalid/null values in logbook entry information tab.
Added datetime parsing functions.
Fixed issue where show in search disabled query functionality.
#346
@albar965 albar965 closed this Jul 8, 2019
@Gulliver54

This comment has been minimized.

Copy link

@Gulliver54 Gulliver54 commented Jul 8, 2019

Great stuff, can`t wait to see.
:)

@albar965

This comment has been minimized.

Copy link
Owner Author

@albar965 albar965 commented Jul 9, 2019

Yep. I like it too. ;-)
Now I have to finish at least one flight without writing down a bunch of bugs.:(
Alex

@Gulliver54

This comment has been minimized.

Copy link

@Gulliver54 Gulliver54 commented Jul 9, 2019

Can you make a screenshot showing the available database colums during the checkout flight?

@albar965 albar965 referenced this issue Jul 9, 2019
0 of 5 tasks complete
@albar965

This comment has been minimized.

Copy link
Owner Author

@albar965 albar965 commented Jul 10, 2019

Give me a few days to fix bugs and find time for a flight. :)
Alex

albar965 added a commit that referenced this issue Jul 10, 2019
Speed up for drawing of logbook entries on map.
Fixed issue where fields were imported incorrectly when converting from legacy logbook entries.
Now printing all error messages from database loading or logbook conversion from text dialog to log.
#346
@gaabne

This comment has been minimized.

Copy link

@gaabne gaabne commented Jul 15, 2019

Hello Alex,
Great new !
Would you mind giving the new database format of the logbook.
Just to start thinking what can be collected from...
Gérard

Edit : Sorry, I am stupid - LNM is opensource so got it... :)

Gérard

@albar965

This comment has been minimized.

Copy link
Owner Author

@albar965 albar965 commented Jul 15, 2019

Hi Gérard,
shortcut to the self explaining SQL:
https://github.com/albar965/atools/blob/master/resources/sql/fs/logbook/create_logbook_schema.sql
Will post screenshots later.
Alex

@albar965

This comment has been minimized.

Copy link
Owner Author

@albar965 albar965 commented Jul 15, 2019

Hi Gérard,
shortcut to the self explaining SQL:
https://github.com/albar965/atools/blob/master/resources/sql/fs/logbook/create_logbook_schema.sql
Will post screenshots later.

CSV Export sample:

aircraft_name,aircraft_type,aircraft_registration,flightplan_number,flightplan_cruise_altitude,flightplan_file,performance_file,block_fuel,trip_fuel,used_fuel,is_jetfuel,grossweight,distance,distance_flown,departure_ident,departure_name,departure_runway,departure_lonx,departure_laty,departure_alt,departure_time,departure_time_sim,destination_ident,destination_name,destination_runway,destination_lonx,destination_laty,destination_alt,destination_time,destination_time_sim,simulator,description
Beech,BE58,N45XS,,3000,/home/alex/Nextcloud/Flight Simulator/Flightplans/IFR Reichelsheim (EDFB) to Aschaffenburg (EDFC).pln,,0,0,40.932739,0,4607.231934,25.785984,31.994833,EDFB,Reichelsheim,,8.878667,50.338665,402,2019-07-11T23:26:53.435,2019-07-11T06:04:16.000Z,EDFC,Aschaffenburg,08,9.062500,49.938835,410,2019-07-11T23:39:26.908,2019-07-11T06:17:01.000Z,X-Plane 11,

Alex

@albar965

This comment has been minimized.

Copy link
Owner Author

@albar965 albar965 commented Jul 18, 2019

Logbook entry information in separate tab and logbook search. All separate now and not mixed with the user waypoints. Logbook entry is shown with blueish text background and line.

Track and actual flight plan are not saved yet. I keep this for the next version. Otherwise 2.4 would never be finished.

The screenshot contains some extra information I use for debugging (database ids, Pos, etc.).

grafik

Alex

@albar965

This comment has been minimized.

Copy link
Owner Author

@albar965 albar965 commented Jul 18, 2019

Edit dialog has three tabs. The third tab contains only the description.

grafik
grafik

@Gulliver54

This comment has been minimized.

Copy link

@Gulliver54 Gulliver54 commented Jul 19, 2019

most useful.
Thanks for the overview.

@albar965

This comment has been minimized.

Copy link
Owner Author

@albar965 albar965 commented Jul 19, 2019

You're welcome. :) Let me know if something is missing.
Some parameters like night (difficult) and IFR flying time (no idea how to find out) cannot be added.
Alex

albar965 added a commit that referenced this issue Jul 27, 2019
…estination is not valid.

Now drawing circle for log entries that have no line (departure or destination is not valid).
Fixed map display and tooltip for above log entry types.
Fixed distance display in log entry search result.
#346
albar965 added a commit to albar965/atools that referenced this issue Jul 27, 2019
albar965 added a commit that referenced this issue Jul 27, 2019
Fixed issue with null column values in logbook which can confuse search.
Error display after log entry conversion now correctly formatted.
#346
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.