Quick action input labels shown as the profile writes them

"Current User ID" / "New User ID" on Xerox, "Current User Code" on Ricoh; the CLI
validation error uses the same label.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kfattic
2026-09-16 21:22:10 -05:00
parent d1d6c8045c
commit 08ae1d3043
4 changed files with 6 additions and 6 deletions

View File

@@ -104,8 +104,8 @@ public struct QuickAction: Identifiable, Hashable {
return resolved.profile.inputs[id]
}
/// "User code" (Ricoh) or the profile's label ("User ID" for Xerox).
public func inputLabel(_ context: DriverContext) -> String { inputSpec(context)?.label ?? "User code" }
/// "User Code" (Ricoh) or the profile's label ("User ID" for Xerox). Shown as written, never re-cased.
public func inputLabel(_ context: DriverContext) -> String { inputSpec(context)?.label ?? "User Code" }
/// The optional second value's label ("Account ID (optional)"), or nil when the profile has none.
public func secondInputLabel(_ context: DriverContext) -> String? { inputSpec(context)?.second?.label }