Repository navigation
Add canonical collection_picker component - #130
Merged
Merged
Conversation
pcharbon70
force-pushed
the
claude/widget-bundle-rail-wave-3-7-b
branch
from
May 20, 2026 18:42
5bb5d4a to
61f61ee
Compare
pcharbon70
marked this pull request as ready for review
May 20, 2026 18:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reworks the original app-specific
bundle_raildraft into a canonicalcollection_pickercomponent.The rail remains the existing canonical
right_rail;collection_pickeris a reusableform_control_and_composerwidget that can be placed inside that rail or any other host-owned surface. Canonical attrs stay generic and renderer-neutral: no bundle-specific fields, Ariston names, route helpers, LiveView event names, orphx-*fields are stored in IUR.Architecture Decisions
collection_pickeris now first-class in Unified IUR, Unified UI DSL/catalog/lowering, Live UI rendering, Ash UI canonical conversion, and resource admission.bundle_railconcern is handled as composition: host apps useright_railpluscollection_picker, rather than adding a second canonical rail primitive.phx-*attributes are created only at the Live UI boundary.densityis a semantic prop on the picker, not a hard-coded width or theme decision.What Changed
UnifiedIUR.Widgets.Components.collection_picker/1and validation for the canonical shape.CollectionPickercomponent and renderer mapping from canonical interactions to renderer attrs.Verification
mix test- 1064 tests, 0 failuresmix ash_ui.examples.validatebash ./scripts/validate_specs_governance.shgit diff --checkmix format --check-formatted ...over touched Elixir filesmix spec.next/mix spec.check --base HEADattempted; these Mix tasks are not wired in this checkout