fix(webui): cut tutorial and marketing prose from labels, hints, empty states and confirms
This commit is contained in:
32 files changed
+118
-130
No files matched your search
@@ -181,8 +181,8 @@ type RetryModeMeta struct {
|
||||
// order. Callers receive a fresh slice.
|
||||
func RetryModes() []RetryModeMeta {
|
||||
return []RetryModeMeta{
|
||||
{ID: string(RetryRefreshOntoBase), Label: "Refresh onto base", Description: "Start the retry from the current base branch, discarding work already pushed on this task's branch.", Default: true},
|
||||
{ID: string(RetryContinuePushedWork), Label: "Continue pushed work", Description: "Resume the branch this task already pushed, keeping its commits.", RequiresBranch: true},
|
||||
{ID: string(RetryRefreshOntoBase), Label: "Refresh onto base", Description: "Retry from the current base; discards pushed commits.", Default: true},
|
||||
{ID: string(RetryContinuePushedWork), Label: "Continue pushed work", Description: "Resume the pushed branch.", RequiresBranch: true},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -221,13 +221,13 @@ type ActionMeta struct {
|
||||
func Statuses() []StatusMeta {
|
||||
return []StatusMeta{
|
||||
{ID: Queued, Label: "Queued", Kind: "idle"},
|
||||
{ID: Running, Label: "Working", Kind: "info"},
|
||||
{ID: Running, Label: "Running", Kind: "info"},
|
||||
{ID: WaitingHuman, Label: "Waiting for you", Kind: "warn", NeedsYou: true},
|
||||
{ID: PROpen, Label: "In review", Kind: "ok"},
|
||||
{ID: Merged, Label: "Merged", Kind: "ok"},
|
||||
{ID: Completed, Label: "Done", Kind: "ok"},
|
||||
{ID: Parked, Label: "Parked", Kind: "warn", NeedsYou: true},
|
||||
{ID: Dead, Label: "Stopped (too many retries)", Kind: "danger"},
|
||||
{ID: Dead, Label: "Stopped: retry cap", Kind: "danger"},
|
||||
{ID: Rejected, Label: "Rejected", Kind: "danger"},
|
||||
{ID: Declined, Label: "Won't do", Kind: "idle"},
|
||||
}
|
||||
@@ -237,13 +237,13 @@ func Statuses() []StatusMeta {
|
||||
// Callers receive a fresh slice.
|
||||
func ActionCatalog() []ActionMeta {
|
||||
return []ActionMeta{
|
||||
{ID: string(ActionCancel), Label: "Cancel", Kind: "quiet", Confirm: `Cancel "{title}"? This closes the forge issue.`},
|
||||
{ID: string(ActionStop), Label: "Stop", Kind: "primary", Confirm: `Stop "{title}"? Recoverable work will remain parked.`},
|
||||
{ID: string(ActionCancel), Label: "Cancel", Kind: "quiet", Confirm: `Cancel "{title}"? Closes the issue.`},
|
||||
{ID: string(ActionStop), Label: "Stop", Kind: "primary", Confirm: `Stop "{title}"? Work stays parked.`},
|
||||
{ID: string(ActionApprove), Label: "Approve", Kind: "primary"},
|
||||
{ID: string(ActionRereview), Label: "Re-review", Kind: "quiet"},
|
||||
{ID: string(ActionReject), Label: "Reject", Kind: "quiet", Confirm: `Reject "{title}"? This closes the forge issue.`},
|
||||
{ID: string(ActionReject), Label: "Reject", Kind: "quiet", Confirm: `Reject "{title}"? Closes the issue.`},
|
||||
{ID: string(ActionRetry), Label: "Retry", Kind: "primary"},
|
||||
{ID: string(ActionAbandon), Label: "Abandon", Kind: "quiet", Confirm: `Abandon "{title}"? Archie stops working on it; the forge issue stays open.`},
|
||||
{ID: string(ActionAbandon), Label: "Abandon", Kind: "quiet", Confirm: `Abandon "{title}"? The issue stays open.`},
|
||||
{ID: string(ActionArchive), Label: "Archive", Kind: "quiet", Confirm: `Archive the local record for "{title}"?`},
|
||||
{ID: string(ActionMerge), Label: "Merge", Kind: "primary", Confirm: `Merge the pull request for "{title}"?`},
|
||||
{ID: string(ActionOpenPR), Label: "Open PR", Kind: "link"},
|
||||
|
||||
Reference in new issue
Block a user