Skip to content

Feat: Create page components around data/state layer for Sandbox details/inspect #79

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

Draft
wants to merge 48 commits into
base: main
Choose a base branch
from

Conversation

ben-fornefeld
Copy link
Member

This pr connects the new state/api layer changes from #78 to the user interface. It utilizes next.js ssr and streaming features to:

  • preload sandbox details on the server and stream down in layout.tsx
  • preload sandbox root fs on the server in /inspect/page.tsx and hydrate client
  • /inspect/page.tsx client initializes inspect state & establishes connection to the sandbox on the server via /api/sandboxes/[id/watch/route.ts and fetches /api/sandboxes/[id/list/route.ts depending on state updates

Copy link

linear bot commented Jun 23, 2025

Copy link

vercel bot commented Jun 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2025 9:12pm
web-juliett ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2025 9:12pm

@ben-fornefeld ben-fornefeld force-pushed the create-page-layout-e2b-2464 branch from 3018bb7 to d20d57c Compare June 23, 2025 14:24
@ben-fornefeld ben-fornefeld force-pushed the create-page-layout-e2b-2464 branch from d20d57c to 42134d8 Compare June 23, 2025 14:30
@ben-fornefeld ben-fornefeld force-pushed the create-page-layout-e2b-2464 branch 3 times, most recently from 0edfd68 to e95e447 Compare June 23, 2025 14:46
@ben-fornefeld ben-fornefeld force-pushed the create-page-layout-e2b-2464 branch from e95e447 to e16ef9f Compare June 23, 2025 15:47
@ben-fornefeld ben-fornefeld force-pushed the create-page-layout-e2b-2464 branch from e16ef9f to 6fb546f Compare June 23, 2025 16:30
@ben-fornefeld ben-fornefeld force-pushed the create-page-layout-e2b-2464 branch from 8268ed7 to 6fb546f Compare June 23, 2025 17:42
@ben-fornefeld ben-fornefeld force-pushed the create-page-layout-e2b-2464 branch 2 times, most recently from 8c8e3a5 to 0e710ed Compare June 24, 2025 17:41
@ben-fornefeld ben-fornefeld force-pushed the create-page-layout-e2b-2464 branch from bcd4dca to ea991c2 Compare June 25, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant