met_no: layouts are hard to read from a distance; move closer to the v1 layouts
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 205
- フォーク
- 17
- 平均マージ
- 3時間 49分
- マージ済み PR(30日)
- 89
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
txoof/PaperPi のほかの issue
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area:install enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
area:plugins
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
-
area:docs in-progress
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
txoof/PaperPi#346 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
Imbad0202/academic-research-skills#1039 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
alexgreensh/token-optimizer#297 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
superdesigndev/treg#1343 ·
メンテナーはふだん 1 日以内に返信
-
GitHub handle should allow underscores対応中かも @PrakarshSrivastav が今日担当しました。 オープンbug good-first-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nf-core/tools#4581 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue test
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ANCORATE/EncryptHome#8 ·