feat(examples): add directory example with Canvas Kit and data bindings#24
Merged
feat(examples): add directory example with Canvas Kit and data bindings#24
Conversation
Migrates the we-next demo app as the "directory" example plugin: - Employee/Department .businessobject model files and seed data - Home dashboard, employee list with detail, and spotlight pages - Canvas Kit components with Roboto font and token CSS - DataProvider + HttpResolver wired through the plugin provider - Generated typed hooks via `everywhere bind .` Also narrows generated hook return types (list vs single) and removes CSS style containment from StyleBoundary to allow CSS custom properties from design systems like Canvas Kit to inherit correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Seed data and local bind config are machine-specific and should not be committed. Removes the accidentally tracked files from the directory example. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
examples/directory/— an Employee Directory plugin migrated from the we-next POC@workday/canvas-kit-react) for UI components with Roboto font and token CSSeverywhere bind .from local.businessobjectmodel filesuseEmployees,useEmployee,useDepartments) backed byDataProvider+HttpResolver.data/for local development with the viewerAdditional changes
{ data: T[] | null }, single-record hooks return{ data: T | null }contain: stylewhich was blocking CSS custom property inheritance from design systems like Canvas KitTest plan
just checkpasses (typecheck + lint)cd examples/directory && npm run preview— verify all three pages work🤖 Generated with Claude Code