Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStateIndicator ¶
GetStateIndicator returns the indicator for a story state
func GetTypeSymbol ¶
GetTypeSymbol returns the symbol for a story type
Types ¶
type DetailView ¶
type DetailView struct {
// contains filtered or unexported fields
}
DetailView shows the details of a single story
func NewDetailView ¶
func NewDetailView(story *domain.Story) *DetailView
NewDetailView creates a new detail view
func (*DetailView) View ¶
func (view *DetailView) View(width, height int) string
View renders the detail view
type FormView ¶
type FormView struct {
// contains filtered or unexported fields
}
FormView handles story creation and editing
func NewFormView ¶
func NewFormView(story *domain.Story, store *storage.JSONLStorage) *FormView
NewFormView creates a new form view
type KeyMap ¶
type KeyMap struct {
Accept key.Binding
Down key.Binding
Edit key.Binding
Enter key.Binding
Escape key.Binding
Finish key.Binding
Help key.Binding
Left key.Binding
Move key.Binding
MoveDown key.Binding
MoveUp key.Binding
New key.Binding
Quit key.Binding
Reject key.Binding
Right key.Binding
Start key.Binding
Up key.Binding
}
KeyMap defines the key bindings
Click to show internal directories.
Click to hide internal directories.