[Feature]: Set zoom factor for web widgets
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
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
- 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 wavetermdev/waveterm
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
wavetermdev/waveterm#3481 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
wavetermdev/waveterm#3435 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
wavetermdev/waveterm#3432 ·
-
enhancement triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
wavetermdev/waveterm#3431 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
wavetermdev/waveterm#3428 ·
Tutte le issue di wavetermdev/waveterm
Issue simili
-
nix: vendorHash is outdated Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Bob Shell support Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
santhosh-tekuri/jsonschema#276 ·