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 <noreply@anthropic.com>
This commit is contained in:
mixeme
2026-07-26 22:58:37 +03:00
parent 7aa1421639
commit fe13d1f34e
2 changed files with 9 additions and 1 deletions
+6
View File
@@ -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,
+3 -1
View File
@@ -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)