-
Notifications
You must be signed in to change notification settings - Fork 8
poc: A guided view for the sample apps #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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 <[email protected]>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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 <[email protected]>
This pull request introduces a new experience on how users discover and try sample apps...