Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature]: Set zoom factor for web widgets

Aperta
#3,490 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron
Ambito
desktop

Direzione di ricerca

Start by tracing the existing web:useragenttype implementation referenced in issue #2454, then inspect the Electron web-widget path where setZoomFactor() can be applied. Add support for web:zoomfactor with a default of 1.0 and verify that only the web widget zoom changes while terminal blocks remain unchanged.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement triage
Feature description
Feature description

Web widgets always render at 100%, and there's no way to change it.
Ctrl +/- doesn't work inside a web block, and zooming the Wave window
scales the terminal blocks too.

I keep an internal dashboard in a web widget next to some terminals.
It assumes a full-width browser, so at 100% it's mostly horizontal
scrolling — around 80% would fit the block, but I can't set that
without shrinking everything else.

A meta key like web:zoomfactor (float, default 1.0) would cover it:

"meta": {
    "view": "web",
    "url": "http://localhost:8080/",
    "web:zoomfactor": 0.8
}

Electron's setZoomFactor() takes 1.0 as 100%, so the config value
reads naturally.

Happy to attempt a PR if this seems reasonable — looks like it'd follow
the same shape as web:useragenttype (#2454).

Implementation Suggestion

No response

Anything else?

No response

Lingua principale
Go
Stelle
22.3k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wavetermdev/waveterm

Tutte le issue di wavetermdev/waveterm

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.