Skip to content

Fix batch ubun - #225

Merged
jamesmarkchan merged 8 commits into
devfrom
fix-batch-ubun
Sep 9, 2026
Merged

Fix batch ubun#225
jamesmarkchan merged 8 commits into
devfrom
fix-batch-ubun

Conversation

@jamesmarkchan

@jamesmarkchan jamesmarkchan commented Sep 9, 2026

Copy link
Copy Markdown
Member

fix batch mode for ubuntu

summary of changes:

  1. drive location set properly for each batch mode drive target
  2. center columns
  3. remove title row and labels on upper row
  4. relocate elapsed duration to left of new batch button
  5. use focus color for start batch and new batch buttons
  6. trick or treat theme uses dark text for focus button color
image

@jamesmarkchan jamesmarkchan added this to the 1.0.0 - portal release milestone Sep 9, 2026
@jamesmarkchan
jamesmarkchan requested review from JasmineRRod, jslcom and tylermlui and a lite review from Copilot September 9, 2026 06:25
@jamesmarkchan jamesmarkchan self-assigned this Sep 9, 2026
@jamesmarkchan jamesmarkchan added the bug Something isn't working label Sep 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Batch run cleanup can delete the wrong directory (or leave App.dataDir behind) after introducing per-drive resolved target locations.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR addresses Ubuntu batch-mode target directory handling by resolving each selected drive root to a user-writable location, and updates the batch UI/layout and theming so the batch workflow better matches the rest of the application.

Changes:

  • Resolve per-drive writable benchmark locations (including Linux /$HOME fallback) and use them during batch runs.
  • Update Batch Mode UI (results header removal, duration label placement, column alignment, and start/new-batch button styling).
  • Minor version bump and documentation/theme touch-ups.
File summaries
File Description
README.md Adds an Ubuntu-specific JDK install hint.
pom.xml Bumps project revision to 0.9.0-rc2.
jdm-core/src/main/java/org/metricus/jdm/ui/theme/TrickOrTreatTheme.java Adjusts focus/start button text color for the theme.
jdm-core/src/main/java/jdiskmark/Gui.java Propagates theme start-button styling into the batch UI.
jdm-core/src/main/java/jdiskmark/DrivePanel.java Delegates root-location resolution to DriveChecker.
jdm-core/src/main/java/jdiskmark/DriveChecker.java Centralizes drive-root → writable-location resolution logic.
jdm-core/src/main/java/jdiskmark/BatchWorker.java Validates/checks disk space against the resolved target location in batch runs.
jdm-core/src/main/java/jdiskmark/BatchPanel.java UI/layout adjustments and table alignment; start/new-batch button styling support.
jdm-core/src/main/java/jdiskmark/BatchConfig.java Applies resolved writable drive locations to App.locationDir/App.dataDir per run.
AGENT.md Adds an additional guideline line on robust, maintainable code.
Review details
  • Files reviewed: 10/10 changed files
  • Comments generated: 4
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread jdm-core/src/main/java/jdiskmark/BatchWorker.java
Comment thread README.md Outdated
Comment thread jdm-core/src/main/java/jdiskmark/BatchPanel.java Outdated
Comment thread jdm-core/src/main/java/jdiskmark/DriveChecker.java Outdated
jamesmarkchan and others added 4 commits September 8, 2026 23:28
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jamesmarkchan

jamesmarkchan commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

looks good in full screen also, after some adjustments

image

@jamesmarkchan
jamesmarkchan merged commit 0a5a4a2 into dev Sep 9, 2026
8 checks passed
@jamesmarkchan
jamesmarkchan deleted the fix-batch-ubun branch September 9, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants