MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / selectInProgressStory

Method selectInProgressStory

internal/tui/app.go:2203–2211  ·  view source on GitHub ↗

selectInProgressStory sets the selected index to the first in-progress story.

()

Source from the content-addressed store, hash-verified

2201
2202// selectInProgressStory sets the selected index to the first in-progress story.
2203func (a *App) selectInProgressStory() {
2204 for i, story := range a.prd.UserStories {
2205 if story.InProgress {
2206 a.selectedIndex = i
2207 a.adjustStoriesScroll()
2208 return
2209 }
2210 }
2211}
2212
2213// GetState returns the current app state.
2214func (a *App) GetState() AppState {

Callers 1

handlePRDUpdateMethod · 0.95

Calls 1

adjustStoriesScrollMethod · 0.95

Tested by

no test coverage detected