taskstatus

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package taskstatus provides task status tracking from GitHub PRs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatStatusLine

func FormatStatusLine(statuses []Status, memberNames map[string]string) string

FormatStatusLine formats statuses for status bar display

Types

type Fetcher

type Fetcher struct {
	// contains filtered or unexported fields
}

Fetcher fetches task status from GitHub PRs

func NewFetcher

func NewFetcher(client *github.Client, owner, repo string) *Fetcher

NewFetcher creates a new task status fetcher

func (*Fetcher) Fetch

func (f *Fetcher) Fetch(ctx context.Context) ([]Status, error)

Fetch fetches current task status from GitHub PRs

func (*Fetcher) GetCached

func (f *Fetcher) GetCached() []Status

GetCached returns cached statuses

type Status

type Status struct {
	Member    string
	PRNumber  int
	PRTitle   string
	State     string // "open", "draft", "review_requested"
	UpdatedAt time.Time
}

Status represents a member's current task status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL