Documentation
¶
Overview ¶
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
Index ¶
- Variables
- func IconBack(cls string) templ.Component
- func IconCheck(cls string) templ.Component
- func IconChevronDown(cls string) templ.Component
- func IconChevronRight(cls string) templ.Component
- func IconClock(cls string) templ.Component
- func IconDanger(cls string) templ.Component
- func IconEdit(cls string) templ.Component
- func IconJob(cls string) templ.Component
- func IconProject(cls string) templ.Component
- func IconTask(cls string) templ.Component
- func TaskFilters(filter orchestrator.TaskFilter, projects []*orchestrator.Project, ...) templ.Component
- func TaskTree(items []TreeItem) templ.Component
- func Terminal(jobId string, wsPath string) templ.Component
- type TreeItem
Constants ¶
This section is empty.
Variables ¶
var BuildID = fmt.Sprintf("%d", time.Now().UnixNano())
BuildID is appended as a ?v= query parameter to static asset URLs that evolve at runtime-rebuild granularity (boid-terminal-init.js and anything it imports). Regenerated on every daemon startup so a restart reliably busts browser HTTP caches — ES modules in particular are cached hard across reloads and do not respect regular cache-control hints.
Functions ¶
func IconBack ¶
Heroicons (MIT License) SVG components. https://heroicons.com/
func IconChevronDown ¶
func IconChevronRight ¶
func IconDanger ¶
func IconProject ¶
func TaskFilters ¶
func TaskFilters(filter orchestrator.TaskFilter, projects []*orchestrator.Project, workspaces []*orchestrator.WorkspaceSummary) templ.Component
TaskFilters renders the task list toolbar:
- status (open/closed/queue) as the primary view tabs
- search as a standalone input (its own hx-target avoids losing focus on each keystroke)
- workspace > project as one logical filter group
Behavior is intentionally not exposed here — it was low-traffic in practice and shown on each task row instead. Its URL param still works so existing bookmarks keep narrowing the list.
Create lives in the sticky bottom action bar (TaskListActionBar), keeping the toolbar focused on filtering.
func TaskTree ¶
TaskTree renders a flat list of TreeItems as a collapsible task tree. Folded state is persisted in localStorage.
Types ¶
type TreeItem ¶
type TreeItem struct {
Task *orchestrator.Task
Depth int
HasChildren bool
ParentID string // visual parent ID; empty for roots
ProjectName string // resolved display name; falls back to ProjectID
// Urgency / Summary are cross-project-issue-triage Phase 1 PR-3
// task_triage sidecar fields (docs/plans/cross-project-issue-triage.md
// queue 節 「文脈同梱: 1項目 = 1判断」), populated only for the queue_next
// view (internal/api.BuildQueueItems) — empty for every other view, so
// the badge/summary line below simply doesn't render there.
Urgency string
Summary string
// Children is task_triage.detail.children (open/specced/dispatched/
// closed sub-tasks), populated only for the queue_next view like
// Urgency/Summary above. Gives a "what happens if I press Go" preview
// right in the queue row instead of only on the task detail page —
// nose flagged after the Shape launcher's first real dispatch that a
// specced-vs-not distinction existed nowhere in the Web UI
// (cross-project-issue-triage 実地テスト, 2026-08-14).
Children []orchestrator.TaskTriageChild
}
TreeItem is a task positioned in the display tree.