Repository navigation
test(apps): validate and draw the SDK's UI kit fixtures - #647
Merged
Merged
Conversation
Part of closing #626: the platform used none of the shared contract fixtures for UI kit elements. @rentnerproxy/app-contracts 1.8.1 ships one accepted and one rejected node for each of the 27 elements (RentnerProxy/app-sdk#17). The platform now checks all 54 with its own tree rules, placing a tab panel or a description item inside its parent as an app would: the accepted nodes enter the tree and are drawn without the loading skeleton, the rejected ones leave the tree untouched. The contracts package moves from 1.7.0 to 1.8.1; between them only version strings and the new fixture file changed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
5 tasks
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
Part of closing #626 ("contract fixtures cover each component schema"). The platform used none of the shared contract fixtures for UI kit elements.
@rentnerproxy/app-contracts1.8.1 (RentnerProxy/app-sdk#17) ships one accepted and one rejected node for each of the 27 UI kit elements. The newui-kit-fixtures.test.tsxchecks all 54 with the platform's own tree rules:RemoteAppViewdraws it, without the loading skeleton;A tab panel or a description item is placed inside its parent, as an app would place it.
The contracts package moves from 1.7.0 to 1.8.1. Between those versions only version strings and the new fixture file changed.
Tests
ui-kit-fixtures.test.tsx: 55 pass (54 cases and the element coverage check).bun run typecheck;oxlint, both configs.bun test --isolatefor lib/AppUi, server/AppRuntime, features/AppUi, AppUiDevPreview, AppCatalog and architecture on 1.8.1: 313 pass.🤖 Generated with Claude Code