feat(apollo-vertex): add ShareWithUiPathCheckbox registry component#866
feat(apollo-vertex): add ShareWithUiPathCheckbox registry component#866RobinMennens-UiPath wants to merge 1 commit into
Conversation
A labeled opt-in checkbox for the "Share feedback data with UiPath" consent on Platform Feedback submission surfaces. Composes the existing checkbox + label primitives; label is a required prop so consumers own their translated, legal-approved copy. Exposes a `size` variant (sm/default) and a wrapper `className` for spacing, and collapses Radix's indeterminate state to a plain boolean for consumers. Multiple verticals (FINS QAQC + LoanSetup today) repeat this same opt-in, so it belongs in the shared registry rather than each app. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199Lti1Py3dBXj5b5NWAuqW
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency License Review
License distribution
Excluded packages
|
There was a problem hiding this comment.
Pull request overview
Adds a new reusable shadcn registry UI component to Apollo Vertex for a common “share feedback data with UiPath” consent checkbox pattern, intended to replace duplicated inline Checkbox + Label implementations across vertical solutions.
Changes:
- Introduces
ShareWithUiPathCheckbox, a controlled, labeled checkbox component with asizevariant and wrapperclassNamesupport. - Normalizes Radix checkbox state (
boolean | "indeterminate") to a plain boolean for consumers. - Registers the component in the Apollo Vertex shadcn registry so it can be installed via the
@uipathregistry namespace.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/apollo-vertex/registry/share-with-uipath-checkbox/share-with-uipath-checkbox.tsx | Adds the new composed consent checkbox component using existing registry Checkbox + Label. |
| apps/apollo-vertex/registry.json | Registers the new component in the shadcn registry with its dependencies and file path. |
📊 Coverage + size by packagePer-package bundle size on this PR (no JS/TS source changes detected under
"Coverage" is each package's own |
frankkluijtmans
left a comment
There was a problem hiding this comment.
This one doesn't need to go in the registry since it's basically just a regular checkbox. Within a specific vertical client you should de-dupe it though.
|
Closing per discussion with @RobinMennens-UiPath — we decided not to extract this into the vertex registry. It's just a checkbox + label with no real customization, so we'll consolidate it as a local reusable component within the FINS clients instead. |
Summary
Adds a
ShareWithUiPathCheckboxto the apollo-vertex shadcn registry — a labeled opt-in checkbox for the "Share feedback data with UiPath to help troubleshoot and improve the product" consent on Platform Feedback submission surfaces.Multiple verticals repeat this exact opt-in today (FINS QAQC + LoanSetup, each with an inline
Checkbox+Label), so it belongs in the shared registry. This is the source component for the FINS consumer PR (fins-vertical-solution#574) — merge this first.Design
@uipath/checkbox+@uipath/labelprimitives rather than re-implementing.labelis a required prop — consumers plug in their own translated, legal-approved string (same pattern asfeedback-vote-widget).sizevariant (sm→text-xs,default→text-sm) covers the minor typographic differences between the existing call sites.classNamefor wrapper spacing.boolean | "indeterminate"to a plain boolean so consumers don't have to.useIdfor the label association.Validation
shadcn buildemitsr/share-with-uipath-checkbox.jsonwith the rightregistryDependencies.tsc --noEmitandoxlint --type-awarepass.🤖 Generated with Claude Code