Add log file download button on Web Dashboard - #79
Conversation
Implement DownloadLog controller endpoint in HomeController.cs allowing users to stream active general or trade log files using FileShare.ReadWrite. Add download buttons to Live Log Monitor and Live Trade Logs Terminal cards in Dashboard.cshtml, dynamically synchronizing download links in dashboard.js. Add unit tests in HomeControllerTests.cs and update agent_tasks.json.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Implemented the missing log file download functionality on the Web Dashboard (
web-dashboard-log-downloadtask):DownloadLog(string type = "general")GET endpoint that safely streams the latest general (*-general.txt) or trade (*-trades.txt) log file as a.txtattachment usingFileShare.ReadWriteaccess.Dashboard.cshtml&dashboard.js): Added "Скачать лог" (Download log) buttons to both the Live Log Monitor and Live Trade Logs Terminal card headers, and synchronized the download linkhrefdynamically when switching log types.HomeControllerTests.cs): Created new unit tests verifyingNotFoundresponses for missing files andFileStreamResultstreaming for active log files.web-dashboard-log-downloadas"done"inagent_tasks.jsonand validated schema conformance withvalidate_agent_tasks.py.PR created automatically by Jules for task 8716738200504241616 started by @mx57