mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
![]() - Refactored `normalizeHashrate` function to use a lookup table for unit conversion, enhancing error handling and logging for unrecognized units. - Updated `ArrowIndicator` class to utilize the new global `normalizeHashrate` function for consistency. - Enhanced `updateChartWithNormalizedData` with better error handling for 24-hour averages and current hashrate data, including checks for unreasonable values. - Improved historical data handling with validation and anomaly detection. - Encapsulated single data point display logic in `useSingleDataPoint` for better error management. - Refined low hashrate indicator display logic to show only when necessary and updated its appearance based on the current theme. - Overall improvements enhance robustness, maintainability, and user experience. |
||
---|---|---|
.. | ||
BitcoinProgressBar.js | ||
blocks.js | ||
main.js | ||
notifications.js | ||
theme.js | ||
workers.js |