Skip to content

Comments

poc: A guided view for the sample apps#374

Draft
saif-at-scalekit wants to merge 24 commits intomainfrom
code-examples-pages
Draft

poc: A guided view for the sample apps#374
saif-at-scalekit wants to merge 24 commits intomainfrom
code-examples-pages

Conversation

@saif-at-scalekit
Copy link
Collaborator

@saif-at-scalekit saif-at-scalekit commented Jan 12, 2026

This pull request introduces a new experience on how users discover and try sample apps...

@netlify
Copy link

netlify bot commented Jan 12, 2026

Deploy Preview for scalekit-starlight ready!

Name Link
🔨 Latest commit db9d614
🔍 Latest deploy log https://app.netlify.com/projects/scalekit-starlight/deploys/698975a13b6c9600089add26
😎 Deploy Preview https://deploy-preview-374--scalekit-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

saif-at-scalekit and others added 7 commits January 12, 2026 16:19
- 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>
@coderabbitai
Copy link

coderabbitai bot commented Jan 14, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch code-examples-pages

Comment @coderabbitai help to get the list of available commands and usage tips.

saif-at-scalekit and others added 6 commits January 14, 2026 13:42
- 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>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 20, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants