[Bug]: Preview opens the repository folder's URL instead of the workspace's with {{folder}}
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- desktop
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Put
{ "preview": { "url": "https://{{folder}}.test" } }inpolyscope.jsonat the repo root (repo folder namedpeople). - Use a setup script that runs
herd linkandherd securein the workspace. - Create a new workspace (it was named
turbo-yak). - Click Preview. It opens
https://people.test.
Relevant log output
None.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 20
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di beyondcode/polyscope-community
-
[Bug]: Remote branch selection uses an unresolved local branch name when creating a workspaceAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di beyondcode/polyscope-community
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
throneproj/Throne#2043 ·
I maintainer di solito rispondono entro 2 giorni
-
area: apple-music area: build-release bug effort: small priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ChristianTabor/Argon#32 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
ramensoftware/windhawk#1156 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
omdsh-dev/DSH-better-sidebar#1059 ·
I maintainer di solito rispondono entro 2 giorni