Performance Optimizations and Raspberry Pi Network Discovery #85
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.
This branch adds significant performance improvements to address UI lag issues and implements a comprehensive Raspberry Pi network discovery feature with intelligent LabLink server detection.
Performance Optimizations
Diagnostics Caching
Async GUI Operations
Raspberry Pi Network Discovery
Intelligent Device Detection
Server-Side Implementation
API Endpoints
POST /api/discovery/pi/scan- Scan network for Raspberry Pis with configurable timeoutGET /api/discovery/pi/status- Retrieve cached scan resultsClient Features
Files Modified/Created
server/diagnostics/manager.py- Health check cachingserver/discovery/pi_discovery.py- NEW - Core discovery logic (381 lines)server/discovery/__init__.py- Export discovery classesserver/api/discovery.py- Pi discovery API endpointsclient/api/client.py- Pi discovery API methodsclient/ui/system_panel.py- AsyncWorker implementationclient/ui/pi_discovery_panel.py- NEW - Pi Discovery GUI panel (433 lines)client/ui/main_window.py- Integrated Pi Discovery tabTesting Notes
Breaking Changes
None - fully backward compatible with existing LabLink deployments