Tray gateway menu and Local AI page show the raw gateway URL
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 85/100
Línea de trabajo
Empieza con BuildGatewayFlyout en TrayMenuPresenter.cs y GatewayDetail en LocalAiPageViewModel.cs; después, revisa GatewayUrlHelper.SanitizeForDisplay. Usa la URL guardada y saneada para el detalle del flyout y para el fallback de Local AI, conservando un nombre descriptivo cuando esté disponible. Añade cobertura de regresión que demuestre que la consulta de una URL guardada no aparece en ninguna de las dos cadenas; se considera terminado cuando ambas superficies superen las pruebas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
The tray gateway flyout puts Uri.ToString() of the saved gateway URL in the card detail. That string keeps userinfo, the query, and the fragment. The card title already shows host and port, so the detail is a second, fuller copy.
The Local AI page shows the same saved URL when the gateway has no friendly name. Direct connect stores the URL after NormalizeForWebSocket, which removes userinfo and leaves the query and fragment. GatewayUrlHelper.SanitizeForDisplay is not used on either surface.
Where
Checked on 7967d509 by reading the code. The tray and Local AI page were not opened.
- Flyout detail: TrayMenuPresenter.cs
- Local AI detail: LocalAiPageViewModel.cs
Suggested fix
Display GatewayUrlHelper.SanitizeForDisplay of the saved URL in both places. Prefer the friendly name on Local AI when one exists, and use the sanitized URL only as the fallback.
Environment
Windows 11. OpenClaw Companion source on main at commit 7967d509886fc9efecbb19c8236350a82867f69c (2026-11-04). No packaged installer build was used.
Steps
- Direct-connect a gateway URL that still has a query, and leave the friendly name empty.
- Open the tray gateway menu and read the card detail.
- Open Local AI and read the gateway line.
TrayMenuPresenter.BuildGatewayFlyout sets the detail to gatewayUri.ToString(). LocalAiPageViewModel.GatewayDetail falls back to GatewayUrl when GatewayName is empty. The card title already shows host and port.
Repair
Use GatewayUrlHelper.SanitizeForDisplay for the flyout detail and for the Local AI fallback. Add a regression that a query on the saved URL does not appear in either string. Stop there. This is not the Connection Status list (#2001) or the chat error (#2006).
- Lenguaje dominante
- C#
- Estrellas
- 2.2k
- Forks
- 340
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 168
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openclaw/openclaw-windows-node
-
clawsweeper:bulk-filed clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
openclaw/openclaw-windows-node#2010 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
clawsweeper:bulk-filed clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
openclaw/openclaw-windows-node#2009 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openclaw/openclaw-windows-node#2008 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openclaw/openclaw-windows-node#2007 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
openclaw/openclaw-windows-node#2006 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de openclaw/openclaw-windows-node
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Facepunch/sbox-public#12305 ·
Los mantenedores suelen responder en 5 días
-
分享 JVC DVD+RW 4.7G (铼德代工) 实测标定预设Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
JiaFeiMiao-K-Cat/DiscImageStudio#205 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
flyingpie/windows-terminal-quake#419 ·
Los mantenedores suelen responder en 1 día
-
Show the per-model weekly limitAbiertoenhancement help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
a-corriger documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 83/100
christian-raj/S-Aloha#272 ·