denoland / denoland/deploy_feedback

Render the playground's integrated browser conditionally on port listening

Open
#566 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### What problem are you trying to solve?

Currently, when only doing scripting work that don't involve an HTTP server, the browser on the Deno Deploy Playground is still rendered at the right of the page.

It also displays:
```
502 Bad Gateway
The deployment failed while serving the request.
Code: ISOLATE_INTERNAL_FAILURE
```

![image](https://github.com/denoland/deploy_feedback/assets/7095073/9d958907-8e53-4339-9182-21cafb3afcb4)

The console view is too small at the very bottom.

### Describe the solution you'd like

Let the console view take the right side of the page when the script doesn't initialize a server.

It could also enable better visibility of the output for [hypothetical deployments of isolated Deno Cron jobs, or Deno KV migration scripts:](https://github.com/denoland/deploy_feedback/issues/565) #565

### Describe alternatives you've considered

1. Being able to drag, resize, or detach the panels would also be great
2. Tabs like JS Bin that will allow hiding the HTML output when not needed:
![image](https://github.com/denoland/deploy_feedback/assets/7095073/e048767c-2650-4967-96f5-93412e54ffd3)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.