Add intent browser ghost UI and schema-driven search rendering#398
Open
sarbadaj wants to merge 1 commit into
Open
Add intent browser ghost UI and schema-driven search rendering#398sarbadaj wants to merge 1 commit into
sarbadaj wants to merge 1 commit into
Conversation
Add the first intent-browser UI slice for Papillon's schema-driven workflow. - Render schema.org SearchResultsPage and SearchResult payloads as typed search result cards. - Register the search result renderer in the default block renderer registry. - Show the existing intent-browser empty state when a canvas has no blocks. - Group pending approvals by action and disclosure shape in the ghost run panel. - Let users select candidate agents, fill one shared disclosure form, render selected agents, or deny the group. - Add UI styling for grouped ghost approvals, agent choices, disclosure fields, and search result cards. - Ignore generated Gradle state under bindings/java/.gradle. Verification: cargo check --manifest-path apps/papillon/frontend/Cargo.toml; just check-wasm; just run-example pap-search-example.
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
This PR adds the first concrete UI slice for Papillon’s intent-browser model.
Papillon now treats agent output as structured Schema.org data and renders supported types directly in the canvas. It also improves the ghost/dry-run workflow by grouping pending approvals into intent groups, letting users select candidate agents, fill one shared disclosure form, and render approved results.
What Changed
schema:SearchResultsPageandschema:SearchResult.Render selectedto approve selected agents and flip back to the rendered canvas.Deny groupto reject all approvals in a group.bindings/java/.gradle/.Why
Todd described Papillon as an intent browser:
This PR starts that flow by making the ghost approval UX and Schema.org rendering concrete.
Testing
Ran: