Skip to content

feat: dashboard file-input modal system for WRITE commands (#113)#124

Closed
rlaope wants to merge 1 commit intomasterfrom
feat/dashboard-file-modal
Closed

feat: dashboard file-input modal system for WRITE commands (#113)#124
rlaope wants to merge 1 commit intomasterfrom
feat/dashboard-file-modal

Conversation

@rlaope
Copy link
Copy Markdown
Owner

@rlaope rlaope commented Apr 12, 2026

Summary

  • Add file analysis modal system to the web dashboard (argus-frontend)
  • Users can upload GC log files directly in the browser and see analysis results
  • Server-side file upload endpoints for GC log parsing and comparison

Frontend Changes

  • analysis.js β€” modal component with file upload, validation, progress bar, result rendering
  • index.html β€” File Analysis panel + modal HTML + result panel
  • style.css β€” modal styles, form groups, result grid, severity colors
  • app.js β€” wired up initAnalysis() module

Server Changes

  • POST /api/analyze/gclog β€” upload GC log β†’ JSON analysis
  • POST /api/analyze/gclogdiff β€” upload 2 files β†’ comparison JSON
  • build.gradle.kts β€” added argus-cli dependency for parser/analyzer access

UX Flow

  1. Click "GC Log Analysis" or "GC Log Diff" button in dashboard
  2. Modal opens with file input fields + validation
  3. Upload β†’ progress bar β†’ results rendered in modal

Test plan

  • ./gradlew :argus-server:compileJava passes
  • Manual test: upload GC log in browser dashboard
  • Manual test: upload 2 GC logs for diff comparison

Closes #113

Add file analysis capabilities to the web dashboard:

Frontend:
- analysis.js: modal component system with file upload,
  validation (size, format), progress indicator
- File Analysis panel with gclog and gclogdiff buttons
- Result rendering panels for GC analysis and diff output
- CSS: modal styles, form groups, result grid, color-coded
  recommendation severity

Server:
- POST /api/analyze/gclog: multipart file upload endpoint,
  parses and analyzes GC log, returns JSON
- POST /api/analyze/gclogdiff: dual file upload, compares
  two GC logs with regression detection
- argus-cli dependency added to server for parser/analyzer

Signed-off-by: rlaope <piyrw9754@gmail.com>
@rlaope
Copy link
Copy Markdown
Owner Author

rlaope commented Apr 12, 2026

Merged to master in 47b75d3

@rlaope rlaope closed this Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: dashboard file-input modal system for WRITE commands

1 participant