-
Notifications
You must be signed in to change notification settings - Fork 619
[TOOL-3298] Playground: Add Insight playground #6185
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
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6185 +/- ##
=======================================
Coverage 56.76% 56.77%
=======================================
Files 1161 1161
Lines 64259 64259
Branches 5195 5197 +2
=======================================
+ Hits 36478 36483 +5
+ Misses 27052 27049 -3
+ Partials 729 727 -2
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
<!-- start pr-codex -->
## PR-Codex overview
This PR introduces several enhancements and new features to the `playground-web` application, including a new `Spinner` component, improved layout for the `APIHeader`, and various updates to forms, UI components, and hooks for better functionality and usability.
### Detailed summary
- Added `isProd` export in `env.ts`.
- Introduced `Spinner` component in `Spinner.tsx` with CSS animations.
- Updated `Layout` to include `APIHeader` with title and links.
- Enhanced `RenderCode` to support new scrollable container class.
- Added `Anchor` component with improved link handling.
- Modified `CodeClient` to accept new props for scrollable container.
- Implemented `useShowMore` hook for dynamic item display.
- Updated `tailwind.config.ts` for new color schemes.
- Refactored `AppSidebar` to accept dynamic links.
- Introduced `fetchAllBlueprints` function for sidebar link generation.
- Added `Alert`, `Tooltip`, and `Table` components with improved styling.
- Enhanced `SelectWithSearch` for better option handling and search functionality.
- Updated various components to use client-side rendering (`"use client"`).
- Improved error handling and loading states in image components.
- Added new utility functions for better link and chain handling.
> The following files were skipped due to too many changes: `apps/playground-web/src/components/ui/select.tsx`, `apps/playground-web/src/app/insight/[blueprint_slug]/blueprint-playground.client.tsx`, `pnpm-lock.yaml`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
d16b5df to
c5dfad8
Compare

PR-Codex overview
This PR introduces several enhancements and new features to the
playground-webapplication, including new components, improved layout, and additional functionality for handling API data and user interactions.Detailed summary
isProdconstant inenv.tsto check production environment.Spinnercomponent for loading indicators.Layoutcomponent to structure the insight page.CodeClientwith scrollable container support.Anchorcomponent for better navigation links.APIHeaderandAppSidebarfor improved layout and link handling.useAllChainsDatahook for fetching blockchain data.useShowMorehook for dynamic item loading.Formcomponents.SelectWithSearchfor better option selection.Tablecomponents with scrolling and dynamic content.Sidebarfor improved link management and rendering.