Enhance dashboard and worker details UI with improved data presentation#123
Merged
Conversation
- Updated index.html to display total workers, active jobs, and global throughput using template variables. - Refactored fleet stats and prefix progress sections for better organization and clarity. - Improved monthly.html by removing unnecessary data containers and enhancing chart data handling. - Added worker_details.html to provide detailed views of individual workers, including historical data and performance metrics. - Enhanced workers.html to link worker IDs for easier navigation to their respective details. - Updated ui_handlers.go to fetch recent history and worker-specific data for improved dashboard functionality.
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.
This pull request implements and completes the "Worker Detail" page, adding several backend and frontend features to support real-time monitoring and historical analysis for individual workers. The changes span database queries, API endpoints, UI rendering helpers, and test updates to ensure robust aggregation and display of worker statistics.
Worker detail and monitoring enhancements:
GetWorkerHistoryLogs) and results by worker (GetResultsByWorker), enabling detailed worker activity and checkpoint display on the UI. [1] [2] [3] [4]UI and rendering improvements:
sql.NullInt64andsql.NullFloat64values, ensuring robust rendering of potentially missing or optional data fields. [1] [2]Database and API adjustments:
Testing and documentation updates: