Aug 25 - Implement new function allow Director (internal & customer) to assign and inspection to another inspector

This commit is contained in:
2026-08-25 12:30:06 -04:00
parent 3f30e2c7bd
commit ca7c09f982
3 changed files with 36 additions and 0 deletions
@@ -111,6 +111,22 @@ struct FollowUpRow: View {
}
}
// Assigned to somebody other than whoever ran the original
// inspection (phase53). The endpoint only returns follow-ups
// this user owns, so seeing this badge means "you were given
// this one" worth calling out, because it is NOT the usual
// case of re-inspecting your own work.
if request.assignedToName != nil {
HStack(spacing: 4) {
Image(systemName: "person.crop.circle.badge.checkmark")
.font(.caption2)
Text("Assigned to you")
.font(.caption2.weight(.semibold))
}
.foregroundStyle(.orange)
.padding(.top, 1)
}
// Note preview so the inspector can see there is something to
// read before committing to the tap. Truncated to one line; the
// full text is shown on the start screen. Mirrors the