Repository navigation
Feat/sandbox console logs - #39
Merged
devfoma merged 9 commits intoJun 19, 2026
Merged
Conversation
…ove unused eslint directive, and use next/image in slack notification
…roper type guards for renderer and event handling
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 pr closes #16
This PR adds a new Console Log tab to the sandbox preview UI, allowing users to view real‑time logs generated by the sandboxed application. The feature is implemented as a premium‑styled component that polls the existing
/api/sandbox-logsendpoint.Changes
New Component
components/SandboxConsoleLogs.tsx/api/sandbox-logsevery 1.5 seconds.<pre>block.Updated UI
components/SandboxPreview.tsxTabs(Tabs,TabsList,TabsTrigger,TabsContent).SandboxConsoleLogscomponent.Styling
bg-gray-900/70 backdrop-blur-sm) for a premium look.Rationale
Testing
npm run dev), open a sandbox preview, switch to the Console Log tab, and verify that errors orconsole.logstatements from the sandbox appear in real time.npm test).Impact
/api/sandbox-logsremains unchanged.