more accurate name

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-13 13:33:04 -06:00
parent 464dcfa28e
commit e4c3aafb7b
3 changed files with 11 additions and 4 deletions

View File

@ -33,7 +33,7 @@ func main() {
vbox2 := box.NewVerticalBox("BOX2")
globalBuildOptions(vbox2)
me.summary = summaryBox(vbox2)
me.summary = submitPatchesBox(vbox2)
globalResetOptions(box)

View File

@ -6,8 +6,8 @@ import (
"path/filepath"
"go.wit.com/gui"
"go.wit.com/log"
"go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
func docsBox(vbox *gui.Node) {

View File

@ -23,9 +23,9 @@ type develSummary struct {
allp []*patch
}
func summaryBox(box *gui.Node) *develSummary {
func submitPatchesBox(box *gui.Node) *develSummary {
s := new(develSummary)
group1 := box.NewGroup("Development Branch Summary")
group1 := box.NewGroup("Submit Patches Summary")
s.grid = group1.RawGrid()
s.updateB = s.grid.NewButton("Update Stats", func() {
@ -40,6 +40,13 @@ func summaryBox(box *gui.Node) *develSummary {
}
})
s.updateB = s.grid.NewButton("Check repos are working", func() {
for _, repo := range me.allrepos {
log.Info("Check repo here:", repo.String())
return
}
})
s.grid.NextRow()
s.totalOL = gadgets.NewOneLiner(s.grid, "Total")