stackblitz / stackblitz/sdk

Option to hide terminal in webcontainer template

Open
#13 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
50
Forks
32
PR merge metrics
No merged PRs in 30d

Description

I am using a webcontainer template (node template) with stackblitz sdk.

I was looking for a way to hide the terminal since its not very relevant for our usecase. I tried setting terminalHeight: 0 and hideDevTools: true but I am unable to hide it. Didn't see any other option.

void sdk.embedProject('sb-embed', javascriptProject, {
    height: 500,
    openFile: 'index.tsx',
    terminalHeight: 0,
    hideDevTools: true,
  });

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the sdk.embedProject entry point and trace how terminalHeight and hideDevTools are handled for the node webcontainer template. Confirm whether the embed options reach the terminal UI, then verify that a supported option can render the template without the terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.