chore: drop vestigial state constants, mention DONE add in settings help

This commit is contained in:
Taybin Rutkin 2026-07-21 18:07:09 -04:00
parent c39c24cbfd
commit 080e8b0ee5
No known key found for this signature in database
GPG key ID: 605FA2C570B6AC9E
2 changed files with 4 additions and 6 deletions

View file

@ -4,9 +4,7 @@ package model
type TodoState string type TodoState string
const ( const (
StateTODO TodoState = "TODO" // StateNone is the empty (no TODO keyword) state. Concrete TODO states are
StatePROG TodoState = "PROG" // user-configurable (see config.States), so they are not hardcoded here.
StateBLOCK TodoState = "BLOCK"
StateDONE TodoState = "DONE"
StateNone TodoState = "" StateNone TodoState = ""
) )

View file

@ -545,7 +545,7 @@ func (m *uiModel) viewSettings() string {
case settingsSectionTags: case settingsSectionTags:
instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit • D: Delete\nc: Add new tag • ctrl+s: Save • q/,: Exit" instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit • D: Delete\nc: Add new tag • ctrl+s: Save • q/,: Exit"
case settingsSectionStates: case settingsSectionStates:
instructions = "←/→: Switch tabs • ↑/↓: Navigate • shift+↑/↓: Reorder • Enter: Edit\nD: Delete • c: Add new state • ctrl+s: Save • q/,: Exit" instructions = "←/→: Switch tabs • ↑/↓: Navigate • shift+↑/↓: Reorder • Enter: Edit\nD: Delete • c: Add new (or DONE) state • ctrl+s: Save • q/,: Exit"
case settingsSectionKeybindings: case settingsSectionKeybindings:
instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit keybinding\nctrl+s: Save • q/,: Exit" instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit keybinding\nctrl+s: Save • q/,: Exit"
} }