fix: rename ShowBuildPrompt to ShowBuildTracker

This commit is contained in:
James 2026-02-09 02:15:05 -05:00
parent c389fac78a
commit 49d7f31514
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ type DossierSection struct {
CustomHTML string // for completely custom sections (privacy) CustomHTML string // for completely custom sections (privacy)
Searchable bool // show search/filter box in header Searchable bool // show search/filter box in header
// Checkin-specific: show "build your profile" prompt // Checkin-specific: show "build your profile" prompt
ShowBuildPrompt bool // true if trackable categories are empty ShowBuildTracker bool // true if trackable categories are empty
TrackableStats map[string]int // counts for trackable categories TrackableStats map[string]int // counts for trackable categories
TrackerButtons []TrackerButton // buttons for empty trackable categories TrackerButtons []TrackerButton // buttons for empty trackable categories
} }
@ -147,7 +147,7 @@ func BuildDossierSections(targetID, targetHex string, target *lib.Dossier, p *li
section.Summary = T("checkin_summary") section.Summary = T("checkin_summary")
} else { } else {
// Show build profile prompt // Show build profile prompt
section.ShowBuildPrompt = true section.ShowBuildTracker = true
section.Summary = T("checkin_build_profile") section.Summary = T("checkin_build_profile")
promptsURL := fmt.Sprintf("/dossier/%s/prompts", targetHex) promptsURL := fmt.Sprintf("/dossier/%s/prompts", targetHex)
section.TrackerButtons = []TrackerButton{ section.TrackerButtons = []TrackerButton{