Documentation
¶
Overview ¶
Package comments is the TUI view for reviewing PR review threads across a repository, filterable to unresolved threads only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidRepoFormat = errors.New("invalid repo format, expected owner/repo")
ErrInvalidRepoFormat means the repository string was not in owner/repo form.
View Source
var ErrNoRepository = errors.New("no repository specified")
ErrNoRepository means the model was constructed without a repository to load threads from.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the comments review TUI state.
func NewModelWithOptions ¶
func NewModelWithOptions(repo string, prNumber int, filter github.ThreadFilter) Model
NewModelWithOptions creates a comments model for a single PR (prNumber > 0) with filters applied.
Click to show internal directories.
Click to hide internal directories.