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

Auto-Select last session, don't auto-select default variables to plot, support more vars to plot #29

Open
wants to merge 160 commits into
base: master
Choose a base branch
from

Conversation

surfrock66
Copy link

I found that loading no session by default was slightly confusing; this code will query for the most recent uploaded session and automatically populate with it.

To speed up load time, do not choose default variables to plot, instead show a placeholder until 2 variables are chosen. Do not validate against populated variables when choosing the list of vars to allow for plotting.

Sort the list of variables to plot alphabetically (since I have enabled the ability in my DB to plot more variables).

You can now show unlimited variables in the data summary. I am working on getting the graph to show more vars as well.

This is also my first github pull request, so please tell me if I've done something crazy. Thanks!

@surfrock66 surfrock66 changed the title When loading, automatically query the most recent session Auto-Select last session, don't auto-select default variables to plot, support more vars to plot Jul 30, 2015
…w a sparkline, only the first 2 alphabetically selected will be graphed.
… to be plotted. Doesn't solve label issue yet.
… a 'tooltip' but a mod to the multihilight-delta jquery plugin.
…otting fields now auto-select upon plotting.
… by profile. To make this work, I did a huge refactoring of url.php and get_sessions.php, both of which now load about 20% faster. Tons of potential for bugs...I've checked a ton but thing they're all squashed. Additionally, I used the apache error log to debug...there were a LOT of unset variable and session management errors that I squashed, these may have been from upstream. Either way, I get clean logs now.
JauminaKape and others added 30 commits September 14, 2022 12:52
…json, also saw a few calls to db that could open multiple mysql connections so I added a check and url.php was opening it's own connection so I just changed it to use the db.php script in place
… selection without reloading the page, some more adjustments necesary
added options for Openlayers to select map provider from Esri or Stamen and the base layer is now Esri satellite image
…te chart from ajax and trim without reloading, and moved most of the js code to a static file, still needs some testing


Also small modifications to the Openlayers map provider and moved most of the js code to a static file
…odifications in parameters for the map providers so they all receive the same format of data and adapt it to their own needs.

Also ported trim habilities and chart hover marker to the Google Maps provider, don't think it's posible to color each segment without creating a polyline for each color at least and will probably generate a big performace impact in case there are too many points so didn't port that feature yet
Several features from testing to master
Automatic plot when selecting fields to compare and some other changes
…n chart hover functions, made some extra modifications to the way the map functions of the other providers load, preparing to make a unified function to load any provider and maybe be able to change providers and libraries on runtime with a simple select
…elected session so the plot only shows the data that was actually recorded, also moved slider js code to the static file
…is called on form commit has to be registered as global to work
…ap to the div the other providers use.


Implemented map redraw with temporal data when torque csv file dropped into page, still have to write at least Chart and slider temp update code to push into master and then add the php logic to be able to import to database.
…ascript small changes, mostly preparing to add full functionality when reading from csv
Several modifications to Leaflet map provider and added a new filter to the plot selector
…im cause csv logs have extra data when no gps is found so map path length does not match chart and slider length
Adds the functionality of uploading csv generated by torque
…t to add to the last version after testing my own csv files
Adds the functionality of uploading csv generated by torque and added base layer options to openlayers control
… things related to forwarding sensor data to Home Assistant. There is one required config, and one additional value which can be provided in the config OR can be extracted from the upload request if set in the Torque Pro App. I also cleaned up a bunch of debug I no longer use, making the files smaller and in theory quicker to load.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants