Commit Graph

40 Commits (bb17a1a7d36415a65a09a703b8d3384795a3c5a3)

Author SHA1 Message Date
Joost Wooning bb17a1a7d3
oauth login using api redirects (#76)
* login with api redirect

* fix scss imports

* login button styles

* keep original path after login

* no /cabana base path

* small redirect fix

* upgrade packages

* use github actions for building

* CI sass

* fix warnings

* fix build test
2021-10-04 18:57:54 +02:00
Chris Vickery eb37fcc7e1 eslint --fix 2019-11-04 09:55:50 -08:00
Chris Vickery 201d16f073
Cache data in memory (#30)
* WIP cabana worker refactor

* Fix out of order data and byte colors

* Reparse messages in a worker for dbc changes

* Reprocess signal data on signal change

* Enforce message frame a little better

* Fix init flow when navigated to directly

* Handle signal reentrancy and adding while loading better

* Cache more aggressively

* Dont test expirey while loading data
2019-11-04 09:10:41 -08:00
Chris Vickery e64b1fa45e Make it easier to differentiate between same signal messages 2019-10-28 15:39:56 -07:00
Chris Vickery 1be5544df3
Add eslint with explorer configuration (#26)
* Add eslint and run --fix

* Remove precommit prettier
2019-10-07 16:11:53 -07:00
Chris Vickery 4f95cf42cc
More work on graphs, general fixes and improvements, tests (#24)
* More work on graphs, general fixes and improvements, tests

* Dont do more things after closing worker

* Fix some minor errors and graph data flow

* Fix bounds not loading correctly at first

* Clean up
2019-09-30 18:13:01 -07:00
Chris Vickery 3eed6ea06c
Fix cabana graphs and upgrade react-vega (#22)
* Fix cabana graphs by upgrading react-vega

* Fix test cases

* Ensure tests on prs

* Remove actions menu from graphs
2019-09-25 15:31:59 -07:00
Chris Vickery edf84da5ab
Refactor graph data flow, re-add subsection looping and seeking (#19)
* Close web workers when they're done

* Have graphs generate their own data, insert new data better

* Replace all messages in graphs to handle out of order signals

* Fix bugs, add video looping

* Fix looping a bit, optimizations

* Fix test cases

* Remove debug statements

* Make jest comma package workaround more generic
2019-09-11 13:36:15 -07:00
Andy Haden 3f058285c6 Revert "Reduxify a bunch of the state, add seekTime URL parameter (#12)"
This reverts commit e755a4e911.
2018-09-03 14:13:25 -07:00
Chris Vickery e755a4e911
Reduxify a bunch of the state, add seekTime URL parameter (#12)
* Start the process of reduxifying. Some of it works

* better seeking

* Seeking and stuff

* Add segment functionality

* Fix tests

* Fix more tests
2018-08-15 12:53:21 -07:00
Chris Vickery 7754ac67bd
Add raw logs to basic CAN massage view (#8)
* Add raw car state to basic can massage view

* Format and transfer log data better

* Expose most of car state, support 32 bit ints and signed vals better

* Reroute frame requests through getter, intercept log event frame requests

* Add all requested logs

* Remove testing debugger

* Make log events toggle in view

* Fix minor exception with drag and drop
2018-07-24 15:15:09 -07:00
Chris Vickery c7542bce59
Make plot X axis start always line up (#9) 2018-07-19 17:15:52 -07:00
Andy Haden a16a7c64aa fix graph bug where clearing brush would muck up plot state 2018-04-20 16:16:15 -07:00
ChristopherBiscardi beb0a7ea01
prettier the js 2017-12-12 18:27:20 -08:00
Andy Haden b4b7a5c233 cabana: colors are now randomized and set when dbc loads or signal is created 2017-10-26 15:06:51 -07:00
Andy Haden 92cd18dde6 cabana: remove console logs 2017-10-25 20:22:02 -07:00
Andy Haden a583d65fba cabana: is fastâ„¢ 2017-10-25 19:55:37 -07:00
Andy Haden 7c029eb5ef cabana: sort signal legend; signals stay plotted when name changed; refactor to identify plots with signal UID 2017-08-11 14:58:32 -07:00
Andy Haden a022405b78 cabana: project-wide refactor to fix eslint warnings and minor annoyances 2017-08-07 15:22:57 -07:00
Andy Haden bd2ba52a35 merge ah/cabana-webusb 2017-08-03 14:41:52 -07:00
Andy Haden 64ae5dff33 cabana: fix graph resizing on first load & bound to video width 2017-07-24 18:27:36 -07:00
Andrew Valish b796c24ad0 Add Signal Mouseover Highlighting, Correct Hiding Plotted Signals (#84)
* add signal mouseover highlighting in legend

* refresh graph data with new plottedSignals when hiding plot
2017-07-21 19:28:26 -07:00
Andy Haden 4d7b2b243a cabana: vega plot signals, graph mouse events are always properly placed 2017-07-21 14:52:46 -07:00
Andrew Valish 101d78a06b add signal colors to legend and plots, clean canlog, misc styling 2017-07-21 02:39:28 -07:00
Andrew Valish 52a324178d clean up graph plot designs, add support for hiding a signal graph from joined plot 2017-07-20 21:27:14 -07:00
Andy Haden b13499f5c7 cabana: restore line on plot; working on fixing quirks in part change 2017-07-20 18:42:08 -07:00
Andy Haden 5349aab1b8 cabana: plot axes labels no longer cut off when signal value significantly increases 2017-07-20 16:06:20 -07:00
Andy Haden fbe861b65f cabana: Draggable plots (merged w/ style updates) 2017-07-20 16:06:20 -07:00
Andrew Valish 349f03fecf Refactor Cabana Markup, Apply Minor Design Tweaks (#81)
* prepend newly plotted signal to show first

* highlight selected available message in navigation

* extract CanGraph render function in explorer

* toggle expanded signals in Legend,  trigger edit and plot when expanding signal

* check if plottedSignal is new before plotting

* add uid to signal model

* use signal uid in SignalLegend and entry for keys and expanding

* adding sass npm script to watch scss files

* refactoring most of markup for semantic class naming, introducing scss files, light styling

* prefer flex over floats

* set min-width on body
2017-07-17 18:10:37 -07:00
Andy Haden b60e908b79 cabana: fix seek and segment on graph when message is unselected but graphs still present 2017-06-30 22:09:13 -07:00
Andy Haden 8e9ae7d5ff cabana: robust graph data update in response to data change 2017-06-30 19:46:34 -07:00
Andy Haden 947fcfbf05 cabana: signal changes adjust graph immediately 2017-06-26 21:06:01 -07:00
Andy Haden 96029a846b cabana: signal changes propagate to graph 2017-06-25 21:14:43 -07:00
Andy Haden 34c64dc85c cabana: signal extension by drag propagates to graph & log 2017-06-23 22:44:36 -07:00
Andy Haden 9c3b2929d4 cabana: fix segment reset 2017-06-16 22:48:03 -07:00
Andy Haden c4781aaf7b cabana: segmentation on graphs works 2017-06-16 22:48:03 -07:00
Andy Haden 238ff16b2a cabana: hls falls back to jpeg 2017-06-16 22:48:03 -07:00
Andy Haden ea1cf62b9a cabana: relative time on cangraph and canlog 2017-06-13 21:18:09 -07:00
Andy Haden 71f83a482f can explorer demo 2017-06-13 17:40:05 -07:00
Andy Haden a40e982666 can explorer progress; chffr free space check + build fix 2017-05-29 16:52:17 -07:00