Add an option to set the favicon and PWA icon, like --app-name
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 51/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
Rechercherichtung
Start by reading the existing --app-name option and how src/browser/media/ assets are served. Trace the references to favicon-dark-support.svg, favicon.ico, manifest.json, pwa-icon-192.png, pwa-icon-512.png, and the apple-touch-icon links. Done means an accepted option name lets operators provide an SVG or PNG used for both the page favicon and PWA icons; confirm the expected behavior and tests with maintainers.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
What is your suggestion?
A flag to set the icon code-server serves for its pages, alongside the existing --app-name. For example --app-icon <path>, taking an SVG or PNG file, used for:
- the page favicon (today
favicon-dark-support.svgandfavicon.ico) - the PWA icons referenced by
manifest.jsonand theapple-touch-iconlinks (todaypwa-icon-192.pngandpwa-icon-512.png)
Why do you want this feature?
--app-name already lets an operator name the app, e.g. --app-name "VS Code" turns the tab title into <folder> — VS Code. The icon can't be changed the same way, so the tab and an installed PWA show the code-server logo next to that name.
When code-server runs as one app among several in a developer environment, users pick the editor out of their tabs and dock by its icon. A configurable icon would let operators match the name they set.
Are there any workarounds to get this functionality today?
Only replacing the files under src/browser/media/ in the installed release. That relies on the package's internal layout and silently breaks when an upgrade renames or adds icon files.
Are you interested in submitting a PR for this?
Possibly. Guidance on whether a flag like this would be accepted, and its preferred name, would help.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 79.9k
- Forks
- 6.9k
- Ø Merge
- 20 Std. 21 Min.
- Gemergte PRs (30 T.)
- 51
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus coder/code-server
-
Error not trueOffen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
coder/code-server#8148 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 15/100
coder/code-server#8142 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug]: --proxy-domain does not proxy when the host includes a portEvtl. vergeben @adityajai119 hat das vor 10 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
coder/code-server#8128 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug]: /healthz with a query string triggers a heartbeatEvtl. vergeben @adityajai119 hat das vor 10 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 25/100
coder/code-server#8126 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
coder/code-server#8113 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in coder/code-server
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
vercel-labs/ui#1066 ·
Maintainer antworten meist innerhalb von 1 Tag
-
fix(factory-cockpit): display active agent/actor name instead of verbose step name in run card badgeOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
ranxianglei/billion-context#7597 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation target:powerpoint
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 76/100
tomast1337/PdfLapas#602 ·
Maintainer antworten meist innerhalb von 1 Tag
-
kubernetes-ingestor: fetchCRDMapping() runs even when crossplane.enabled is false, logging a 403 ERROR every runEvtl. vergeben @kc9ddi hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
TeraSky-OSS/backstage-plugins#228 ·