custom-ocean.xyz-dashboard/static/js
DJObleezy e9825c9006 Refactor hashrate normalization and improve error handling
- 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.
2025-04-26 06:39:55 -07:00
..
BitcoinProgressBar.js Remove text-shadow for cleaner UI across stylesheets 2025-04-23 23:00:06 -07:00
blocks.js Enhance services and improve code structure 2025-04-23 21:56:25 -07:00
main.js Refactor hashrate normalization and improve error handling 2025-04-26 06:39:55 -07:00
notifications.js Add configurable timezone support throughout the app 2025-04-18 11:08:35 -07:00
theme.js Remove text-shadow for cleaner UI across stylesheets 2025-04-23 23:00:06 -07:00
workers.js Remove acceptance rate display from worker stats 2025-04-19 16:57:05 -07:00