-
Notifications
You must be signed in to change notification settings - Fork 120
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
surfrock66
wants to merge
160
commits into
econpy:master
Choose a base branch
from
surfrock66:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… managing local copies, which I've since stopped using
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.
…les in the chart. Removes y axis labels.
…le. Editing will be enabled later.
…le. Editing will be enabled later.
…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.
…ned up some bugs.
…using the trim session slider
…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
…ack, I think it's fixed now
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!