document-ai-samples
document-ai-samples copied to clipboard
Web App Demo: Processor Types are Truncated in the UI
I have multiple Processors in my test project that start with "FORM" (e.g. FORM_W2, FORM_W9) The current view makes it difficult to choose a specific one.
It would also be possible for a single project to have multiple processors of the same type. It might make sense to show the processor display name along with the full type.
Looks like it's due to this truncation
https://github.com/GoogleCloudPlatform/document-ai-samples/blob/5c5eac5b661bc565cf857de362b4b31de11d2912/web-app-demo/Frontend/src/app/components/processor-selection/processor-selection.component.ts#L147
@nicain for triage