@page @model Bifrost.Web.Pages.App.WorkItems.IndexModel @{ ViewData["Title"] = "Work items"; }
Work items

Internal and GitHub-backed work

The goal here is one shared list with enough structure to support volunteering, assignment, and later ledger attribution without turning task intake into ceremony.

Queue

@Model.WorkItems.Count tracked work items.

@if (Model.WorkItems.Count == 0) {
No work items yet.
} else {
@foreach (var workItem in Model.WorkItems) { var hasClaim = workItem.VolunteerClaims.Any(x => x.UserAccountId == Model.Actor.UserAccount?.Id && x.Status == VolunteerClaimStatus.Active); }
Work Status Claims Assignment
@workItem.Title
@workItem.Project.Name

@workItem.Summary

@workItem.Status
@workItem.EffortPoints.ToString("0.##") pts
@if (workItem.VolunteerClaims.Count == 0) { No claims yet. } else { @foreach (var claim in workItem.VolunteerClaims) {
@claim.UserAccount.DisplayName (@claim.Status)
} } @if (!hasClaim) {
}
@if (workItem.AssignedToUserAccount is not null) { @workItem.AssignedToUserAccount.DisplayName } else { Unassigned } @if (Model.Actor.CanManageProjects && workItem.VolunteerClaims.Any(x => x.Status == VolunteerClaimStatus.Active)) {
}
}
@section Scripts { }