Added list view option for data display and collapsing data cards.#9
Merged
Conversation
Contributor
elisedrouillard
commented
Oct 25, 2025
- Added a menu on the dashboard page to switch between view options
- list and grid style data display available
- Added collapsing functionality for data cards
Moved websocket config in vite.config removed ws-server
Contributor
edb350d to
ade1586
Compare
- Remove content hashes from font file names - Limit font names to 20 chars for ESP32 file system - Generates clean names like 'ZipSonik-Italic.otf' instead of 'ZipSonik-Italic-M4NJSfvc.otf'
Contributor
- Add DataStore.ts: Singleton data store with 30s rolling window - Add useDataStore.ts: React hooks for easy component integration - Update Dashboard.tsx: Use DataStore instead of local state - Implements all requirements from task spec
- Create WebSocketService.ts to manage WebSocket connection lifecycle - Move CAN processor initialization from Dashboard to service - Simplify Dashboard.tsx to focus on display logic only - WebSocket now persists across page navigation - Add automatic reconnection logic (up to 5 attempts) - Update .gitignore for node_modules
…o dev-base-frontend
…sed cards, and allowed cards to be collapsed from message name header.
Contributor
Author
|
Replaced dynamic fetching of the DBC file with direct import using Vite's ?raw loader. Updated WebSocketService and canProcessor to use the new approach.
Contributor
|
Tested the changes with the process button as well as websocket_sender.py script. Issue: DBC file wasn't loading - fetch('/assets/dbc.dbc') returned HTML instead Solution: Import DBC as raw text using Vite's ?raw suffix
|
This file contains hidden or 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
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.


