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:
@@ -4,6 +4,12 @@ All notable GoSentry changes are recorded in this file.
|
|||||||
|
|
||||||
## Unreleased
|
## 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.**
|
**Compact job list view.**
|
||||||
|
|
||||||
- The Jobs sidebar can now render each job as a single line — name on the left,
|
- The Jobs sidebar can now render each job as a single line — name on the left,
|
||||||
|
|||||||
@@ -39,7 +39,9 @@ func showJobDialog(w fyne.Window, title string, current job, onSave func(job)) {
|
|||||||
})
|
})
|
||||||
commandRow := container.NewBorder(nil, nil, nil, commandBrowse, commandEntry)
|
commandRow := container.NewBorder(nil, nil, nil, commandBrowse, commandEntry)
|
||||||
argumentsEntry := widget.NewMultiLineEntry()
|
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)
|
argumentsEntry.SetText(current.Arguments)
|
||||||
startOnly := widget.NewCheck("Start only, do not wait for exit", nil)
|
startOnly := widget.NewCheck("Start only, do not wait for exit", nil)
|
||||||
startOnly.SetChecked(current.StartOnly)
|
startOnly.SetChecked(current.StartOnly)
|
||||||
|
|||||||
Reference in New Issue
Block a user