codesandbox-client icon indicating copy to clipboard operation
codesandbox-client copied to clipboard

Embed option to hide file tree

Open matthewoates opened this issue 3 years ago • 8 comments

🌈 Feature

Embed option to hide file tree/explorer pane initially.

When this embed option is truthy, the leftmost pane with the file tree/dependencies/meta info about the sandbox should not be visible, regardless of screen size/embed size.

I'm using embeds where I only want the user to look at one file - the rest of the files aren't relevant. The file tree adds a lot of visual noise.

?hideexplorer=1 (or hideexplore, hidefiletree, depending on which name you feel is most appropriate)

matthewoates avatar Oct 01 '21 17:10 matthewoates

Hey @matthewoates , thanks for this feedback.

I've passed this on as a feature request to the team :)

JamesACS avatar Oct 13 '21 12:10 JamesACS

Well, I was about to request the same feature. It seems that I have to wait for this feature to hide the files explorer and profile details.

binarybehemoth avatar Nov 21 '21 22:11 binarybehemoth

What is rather weird is that on my chrome browser, the code box sometimes shows up and sometimes disappears, leaving the output screen visible only.

binarybehemoth avatar Nov 21 '21 23:11 binarybehemoth

@binarybehemoth Do you find that this only happens on Chromium based browsers?

JamesACS avatar Nov 25 '21 15:11 JamesACS

I can't believe this feature is (still) not exist 😱.

katopz avatar Jan 24 '23 04:01 katopz

Any news on this issue? I would also like to have this very much!

doppelmutzi avatar Apr 14 '23 13:04 doppelmutzi

On the other side, it works for my use case. If the viewport for the embed is small and the options are specified to only show the editor view then the embed is smart to hide the project panel due to limited space.

doppelmutzi avatar Apr 14 '23 13:04 doppelmutzi

Bumping on this feature request. Are there any plans to allow this customisation option?

glomotion avatar Dec 04 '23 01:12 glomotion