gitpod-io / gitpod-io/gitpod

[Feature request] open-preview support suffix

Open
#5,663 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component: ide feature: gitpod yml meta: never-stale team: IDE type: feature request
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

I am doing lots of graphql-server on gitpods

My current config is

ports:
  - port: 3000
    onOpen: open-preview
    visibility: public

But it's quite inconvenient, because you usually open baseurl\graphql to test schema.
I am wondering we can add a new field for such

Thx. Great experience with backend development with gitpods.

Contributor guide

Open the contributing guide

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

The request concerns the ports configuration, specifically onOpen: open-preview, and opening a base URL with a /graphql suffix. Search the repository for the open-preview handler and ports configuration, then trace how the preview URL is built. Done means the configuration can specify a suffix and the resulting preview opens at the requested path, with coverage for the new behavior if existing tests are found.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
cloud, developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.