Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[Bug]: Preview opens the repository folder's URL instead of the workspace's with {{folder}}

Offen
#204 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
desktop

Rechercherichtung

Start by tracing how the Preview pane loads its URL for a newly created workspace and how it expands {{folder}} from polyscope.json; compare that value with the repository root folder and workspace name in the reproduction. The issue does not name source files or tests, so locate the preview configuration and URL expansion entry points first. Done means Preview opens https://turbo-yak.test for this setup, and a regression check covers the case.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Platform

macOS

Operating system version

macOS 27.0.1

System architecture

ARM64 (M1, M2, etc)

PolyScope Version

0.29.0

Bug description

In a workspace named turbo-yak, clicking Preview opens https://people.test. I expected https://turbo-yak.test. people is the name of the repository's root folder. I never typed or visited people.test in the preview pane.

polyscope.json in the repo root:

{ "preview": { "url": "https://{{folder}}.test" } }

The setup script runs herd link and herd secure, so https://turbo-yak.test serves the workspace. It returns HTTP 200 in an external browser. There is no polyscope.local.json, and I could not find a preview field in the repository settings.

Expected: Preview opens https://turbo-yak.test, as the help text says {{folder}} is the worktree folder name.

Question: does the Preview pane remember a URL for the repository, and where does it read it from for a new workspace?

Steps to reproduce
  1. Put { "preview": { "url": "https://{{folder}}.test" } } in polyscope.json at the repo root (repo folder named people).
  2. Use a setup script that runs herd link and herd secure in the workspace.
  3. Create a new workspace (it was named turbo-yak).
  4. Click Preview. It opens https://people.test.
Relevant log output

None.

Vorherrschende Sprache
Keine Sprachdaten
Sterne
20
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus beyondcode/polyscope-community

Alle Issues in beyondcode/polyscope-community

Ähnliche Issues

Weitere Issues zu Desktop Dev

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.