Workspaces named for what they are, capitalised; Reply gains a task panel; Project settings and limits; icon test row
This commit is contained in:
@@ -311,12 +311,24 @@ func (m projectModel) costLines() []string {
|
||||
}
|
||||
|
||||
func (m projectModel) settingLines() []string {
|
||||
out := []string{""}
|
||||
out := []string{"", groupHeading("this project's own file", 6, m.width-4)}
|
||||
out = append(out, m.row("session", m.cfg["session"]))
|
||||
out = append(out, m.row("machine", m.cfg["machine.host"]))
|
||||
out = append(out, m.row("folder", m.cfg["machine.folder"]))
|
||||
out = append(out, m.row("paperclip", m.cfg["paperclip.project"]))
|
||||
out = append(out, m.row("watching", m.cfg["watching"]))
|
||||
out = append(out, m.row("verify command", m.verifyCommand()))
|
||||
out = append(out, "")
|
||||
out = append(out, dimStyle().Render(" verify command: the first task whose description has one,"))
|
||||
out = append(out, dimStyle().Render(" or .harness/verify.sh when the project keeps one."))
|
||||
out = append(out, dimStyle().Render(" .harness/harness.toml is the only thing this project keeps for itself."))
|
||||
out = append(out, dimStyle().Render(" Paperclip owns tasks, blockers, comments, runs, cost and worktrees."))
|
||||
out = append(out, "")
|
||||
out = append(out, groupHeading("limits held by Paperclip", len(m.agents), m.width-4))
|
||||
for _, a := range m.agents {
|
||||
out = append(out, m.row(a.Name, fmt.Sprintf("%s · monthly budget %d cents · spent %d",
|
||||
a.Status, a.BudgetCents, a.SpentCents)))
|
||||
}
|
||||
out = append(out, "", dimStyle().Render(" change a budget in Paperclip, not here: it is their fact, and a second"))
|
||||
out = append(out, dimStyle().Render(" copy of it is how two screens start disagreeing."))
|
||||
return out
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user