poc: A guided view for the sample apps#374
Draft
saif-at-scalekit wants to merge 24 commits intomainfrom
Draft
Conversation
✅ Deploy Preview for scalekit-starlight ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Introduced new components `SandboxHomeWrapper` and `SandboxWrapper` for interactive code samples. - Updated `astro.config.mjs` to include React integration and new path aliases for styles. - Enhanced sidebar configuration to link to the interactive sandbox. - Created new Astro pages for sandbox functionality, ensuring a seamless user experience. - Added CSS styles for sandbox pages to ensure full-screen implementation and proper layout.
- Imported the `<StarlightPage>` component to improve layout and styling consistency across sandbox pages. - Updated frontmatter for better metadata management, including dynamic titles and descriptions for individual sandbox samples. - Adjusted CSS styles to ensure proper visibility and layout of sandbox components, including hiding unnecessary elements and ensuring full height within the content area. - Refined the structure of the sandbox home and individual pages for a cleaner, more user-friendly experience.
…xId props - Added optional `sandboxId` and `env` props to `SandboxHomeWrapper` and `SandboxWrapper` components for improved flexibility. - Updated usage in `index.astro` and `[sandboxId].astro` pages to reflect these changes, ensuring compatibility with new props. - Changed default `orgid` value from 'gatewayz' to 'scalekit' for consistency across the application.
- Upgraded the @sampleapp.ai/sdk package from version 1.0.32 to 1.0.35 in package.json and pnpm-lock.yaml to ensure compatibility with recent changes. - Adjusted the SandboxHomeWrapper component to remove optional props for sandboxId and env, simplifying its usage in code-samples pages.
The build was failing because astro-og-canvas 0.10.0 requires top-level await which has compatibility issues with the current Astro version. Downgrading to 0.9.0 which is more stable. Co-Authored-By: Claude <noreply@anthropic.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
- Updated the SecondaryNav component to include a narrower dropdown for Developer Resources. - Modified the SandboxWrapper component to simplify layout by changing display properties and removing unnecessary height constraints. - Refactored code-samples pages to utilize a full-page app layout, ensuring better scrolling behavior and visibility of content. - Added new children items under Developer Resources for better navigation to code samples and guides. This update improves the user experience by streamlining access to developer resources and enhancing the overall layout of the sandbox interface.
…hook - Replaced local state management and effect hooks in SandboxHomeWrapper and SandboxWrapper components with the new useSampleAppSDK hook for improved code clarity and maintainability. - Introduced LoadingState and ErrorState components to handle loading and error states more effectively. - Updated the index.astro page to remove unnecessary props, streamlining the component usage. This refactor enhances the overall structure and readability of the code while ensuring better handling of SDK loading states.
- Upgraded the @sampleapp.ai/sdk package from version 1.0.35 to 1.0.36 in package.json and pnpm-lock.yaml to ensure compatibility with recent changes. - Adjusted the SandboxHomeWrapper and SandboxWrapper components to include a theme prop for improved customization in the code-samples pages.
Resolved conflicts in package.json and pnpm-lock.yaml by keeping astro-og-canvas@^0.9.0 to maintain build stability. Co-Authored-By: Claude <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
developer-docs | 8c02f1d | Jan 20 2026, 01:10 PM |
- Upgraded the @sampleapp.ai/sdk package from version 1.0.37 to 1.0.40 in package.json and pnpm-lock.yaml to ensure compatibility with recent changes.
- Upgraded the @sampleapp.ai/sdk package from version 1.0.41 to 1.0.47 in package.json and pnpm-lock.yaml to ensure compatibility with recent changes. - Added a new deno.lock file to manage dependencies effectively.
- Introduced a new documentation page for implementing OAuth 2.1 authorization in Model Context Protocol (MCP) servers. - Included a sandbox embed for interactive code samples and enhanced user engagement. - Updated sidebar and navigation elements for better accessibility to related resources.
- Updated the SandboxHome component to include a theme prop set to "light" for improved customization and visual consistency in the code samples.
- Introduced a new interactive MCP Quickstart v2 page to enhance user experience with authentication. - Updated the sidebar configuration to include a link to the new Quickstart v2 page for easier navigation.
- Introduced a new SandboxEmbed component to facilitate embedding interactive code samples. - Utilizes SandboxWrapper for rendering with API key and organization ID sourced from environment variables.
- Added the `rawContent` property to the llms configuration to enhance content handling capabilities for Scalekit projects.
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.
This pull request introduces a new experience on how users discover and try sample apps...