met_no: layouts are hard to read from a distance; move closer to the v1 layouts
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start with src/paperpi/plugins/met_no/layouts.py and the test pictures in tests/images/met_no-*; compare them with the v1 sample images on the v1 branch. First make a mockup and resolve the open questions about which layouts to keep, the default layout, and shipping a bold narrow font. Done means the chosen layouts are implemented in src/paperpi/plugins/met_no/, with updated test pictures and plugin README.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
The met_no weather plugin is hard to read from a distance. The v2 layouts should look more like the v1 layouts.
How v1 and v2 differ
v1 had three layouts (sample pictures on the v1 branch, paperpi/plugins/met_no/*-L-sample.png):
three_row_icon_wind_temp: three rows (now, +6 h, +12 h). Each row shows date and time, icon, wind arrow and temperature, with a thick line between the rows.three_column_icon_wind_temp_precip: three columns (now, +6 h, +12 h). Each column shows icon, wind, a large temperature, rain and time.two_column_icon_wind_temp_precip: now only. Large icon and wind arrow on the left; max/min and rain in large text on the right.
v2 has six layouts (src/paperpi/plugins/met_no/layouts.py; test pictures in tests/images/met_no-*): hours_12, steps_3h, now, small, portrait_hours, portrait_now.
What makes v2 harder to read:
- Too many items.
hours_12has 12 columns, each with icon, rain bar, mm, hour, temperature and wind.steps_3hhas 4 columns. v1 showed only 3 times. - Small text. Each hour's text in
hours_12is only a small part of the screen height. v1 gave each of its 3 rows or columns about a third of the screen, so its numbers were much larger. - Thin font. v2 uses the default font, a regular weight. v1 used Economica Bold, a narrow bold font, for times and temperatures. It is easy to read from far away and fits large numbers in a small width.
- Long summary line. "Max 14°C · Min 8°C · Rain 6.6 mm, 13–17, 19–20" is one long line of small text. In v1, max, min and rain had their own large labels.
- No lines between rows. v1 used thick lines to separate the rows.
What to do
- Pick which v2 layouts to keep, change or replace, using the v1 layouts as the model (few times, large numbers, bold narrow font, lines between rows). Make a mockup first.
- Build the new layouts in
src/paperpi/plugins/met_no/. Write new code; don't copy v1 code. - Update the test pictures and the plugin README.
Questions to answer first
- Keep all six v2 layouts, or fewer?
- Should the default layout change?
- Is Economica Bold (or another bold narrow font) fine to ship with PaperPi?
Area: plugins/met_no
- Lingua principale
- Python
- Stelle
- 205
- Fork
- 17
- Merge medio
- 3h 49m
- PR unite (30g)
- 89
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna 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 txoof/PaperPi
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area:install enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
area:plugins
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
-
area:docs in-progress
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
txoof/PaperPi#346 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di txoof/PaperPi
Issue simili
-
getchaintips leaves out the active tip once a header is staged on it, where Core always lists itAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
btclib-org/btclib-node#2158 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
dbt-msft/dbt-sqlserver#897 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Gathin23/cleanyourtv#2770 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
vllm-project/vllm#64845 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
dekobon/big-code-analysis#1729 ·
I maintainer di solito rispondono entro 1 giorno