Documentation
¶
Overview ¶
Package dashboard holds the global, viewer-scoped lists at the reserved top-level /issues and /pulls names: the cross-repo "your issues" and "your pull requests" pages (spec doc 02 section 1.1, doc 09 section 1.6). Each is a session-gated view over the same domain search the /search page and the REST search run, scoped to the viewer by an author: or assignee: qualifier, so the dashboard and a hand-typed search can never disagree about what the viewer may see. An anonymous request bounces to the sign-in form with return_to carrying the dashboard, the 302 github.com answers. The tabs the search can back are Created and Assigned; the Mentioned and Review-requests tabs github.com adds need mention and review-request filters the domain search does not index yet, so they are absent rather than dead links.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
Search *domain.SearchService
URLs *presenter.URLBuilder
Render *render.Set
View *view.Builder
Logger *slog.Logger
}
Deps are the dashboard handlers' dependencies: the domain search service every list runs through, the presenter for avatar URLs, the render set, the view builder for the shell chrome, and a logger.