ui

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisViewModel

type AnalysisViewModel struct {
	RunID string
	Ready bool
}

func NewAnalysisViewModel

func NewAnalysisViewModel(runID string, ready bool) AnalysisViewModel

type CitationGraphViewModel

type CitationGraphViewModel struct {
	Nodes []GraphNode
	Edges []GraphEdge
}

func NewCitationGraphViewModel

func NewCitationGraphViewModel(nodes []GraphNode, edges []GraphEdge) CitationGraphViewModel

type DashboardState

type DashboardState struct {
	Title        string
	LibraryCount int
	Loading      bool
	Error        string
}

func NewDashboardState

func NewDashboardState(title string, libraryCount int) DashboardState

type EvidenceRow

type EvidenceRow struct {
	PaperID    string
	SupportRef string
}

type EvidenceViewModel

type EvidenceViewModel struct{ Rows []EvidenceRow }

func NewEvidenceViewModel

func NewEvidenceViewModel(rows []EvidenceRow) EvidenceViewModel

type GraphEdge

type GraphEdge struct {
	Source string
	Target string
}

type GraphNode

type GraphNode struct{ ID string }

type LibraryViewModel

type LibraryViewModel struct {
	Rows  []PaperRow
	Empty bool
}

func NewLibraryViewModel

func NewLibraryViewModel(rows []PaperRow) LibraryViewModel

type OSSDashboardViewModel

type OSSDashboardViewModel struct{ Repositories []OSSRow }

func NewOSSDashboardViewModel

func NewOSSDashboardViewModel(rows []OSSRow) OSSDashboardViewModel

type OSSRow

type OSSRow struct{ Name string }

type PaperRow

type PaperRow struct {
	RecordID    string
	Title       string
	Authors     string
	Year        int
	Venue       string
	Collections string
	Tags        string
	HasPDF      bool
	Parsed      bool
}

type ReportViewModel

type ReportViewModel struct{ Formats []string }

func NewReportViewModel

func NewReportViewModel(formats []string) ReportViewModel

type ScreeningRow

type ScreeningRow struct{ PaperID string }

type ScreeningViewModel

type ScreeningViewModel struct{ Rows []ScreeningRow }

func NewScreeningViewModel

func NewScreeningViewModel(rows []ScreeningRow) ScreeningViewModel

type SearchFormState

type SearchFormState struct {
	Sources []string
	Query   string
	Loading bool
	Error   string
}

func NewSearchFormState

func NewSearchFormState(sources []string) SearchFormState

Jump to

Keyboard shortcuts

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