From fe13d1f34e663d8186fb1bd786f2cbf1dbda0e8b Mon Sep 17 00:00:00 2001 From: mixeme Date: Sun, 26 Jul 2026 22:58:37 +0300 Subject: [PATCH] feat: make the Arguments placeholder state the field's rule The hint was a lone example path, which left the one-argument-per-line convention to guesswork. It now names the rule and shows a flag plus a path containing a space, so the absence of quoting is visible too. Co-Authored-By: Claude Opus 5 --- docs/CHANGELOG.md | 6 ++++++ src/ui/job_dialog.go | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 63ad059..243ec32 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -4,6 +4,12 @@ All notable GoSentry changes are recorded in this file. ## Unreleased +**Job dialog:** + +- The **Arguments** placeholder now states the field's rule — one argument per + line, no quoting — instead of showing a lone example path that left the + line-per-argument convention to guesswork. + **Compact job list view.** - The Jobs sidebar can now render each job as a single line — name on the left, diff --git a/src/ui/job_dialog.go b/src/ui/job_dialog.go index 1eba1d4..eea1bdf 100644 --- a/src/ui/job_dialog.go +++ b/src/ui/job_dialog.go @@ -39,7 +39,9 @@ func showJobDialog(w fyne.Window, title string, current job, onSave func(job)) { }) commandRow := container.NewBorder(nil, nil, nil, commandBrowse, commandEntry) argumentsEntry := widget.NewMultiLineEntry() - argumentsEntry.SetPlaceHolder(`D:\Local\Jobs\Auto.ffs_batch`) + // One argument per line is the whole point of the field: each line is passed + // to the process verbatim, so paths with spaces need no quoting. + argumentsEntry.SetPlaceHolder("One argument per line, no quotes:\n--input\n" + `C:\Data\My Files\input.txt`) argumentsEntry.SetText(current.Arguments) startOnly := widget.NewCheck("Start only, do not wait for exit", nil) startOnly.SetChecked(current.StartOnly)