Design research: how should the station table work on phones?
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- next.js, typescript
Direzione di ricerca
Start by pulling phone usage data for the station pages, then ask forecasters and regular users how they use the table on phones. Test the promising options on real phones across the listed ranges, including 7d and 30d. Done means writing up the findings and opening implementation issues; the payload names no files or tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
We keep the station table compact mainly because it's hard to use on phones. Each added column or wider format makes that worse, so phones are limiting the table at every screen size. Before choosing a fix, we need to learn how people use the table on phones and which approaches work for them.
Where it stands
Measured on the Alpental page on nwac.us at a 390px viewport, 24h range:
- The table is 725px wide in a 358px box, and 8 of 17 columns fit, including Time.
- When scrolled, the site header, view bar and table header stay pinned, taking 241px of the 844px screen height (29%).
- The sticky Time column is 75px wide because it repeats the date on every row.
- Below
sm, the table usestext-xsandpx-1padding. - Already shipped: sticky Time column, pinned header and scroll shadows.
Research questions
Usage
- What share of station table views come from phones, and at which ranges?
- What do people check on a phone: the latest reading, the trend or a specific sensor?
- Which columns matter most on a phone, and which are rarely needed?
Design
- Should phones get a different layout, or the same table with less in it?
- How should an approach handle pages with custom columns or several stations at different elevations?
- Which approaches still work at 7d and 30d?
Options to explore
Shorter Time column: add a date divider row for each day and show only HH:mm in the rows. In a mockup, this took the column from 75px to 39px and fit one more column.
Column groups: add chips such as Temp & RH / Wind / Snow & Precip / All. In a mockup at Alpental, Wind fits easily, but Snow & Precip overflows by 22px on its own. The shorter Time column would save 36px, enough to make it fit. Keep the selection in the URL or in session state, because stored preferences can hide later default changes, as chart arrangement did in #1196.
Other options
- Less pinned on scroll: collapse the view bar so more rows stay visible.
- Shorter headers: show elevation only where it tells sensors apart, or move it to a legend.
- Latest readings first: show the newest reading by group above the table.
- Sensors as rows (24h only): make hours the columns, with a sticky sensor label. This doesn't scale to 7d or 30d, which would be 168 and 720 columns.
- Card per timestamp: this works for 24h but gets very long at longer ranges.
- Fewer rows at long ranges: show 3h or 6h intervals on phones for 7d and 30d, with the full hourly data still in the CSV.
Next steps
- Pull phone usage data for the station pages.
- Ask forecasters and a few regular users how they use the table on a phone.
- Test the most promising options on real phones.
- Write up the findings and open implementation issues.
- Lingua principale
- TypeScript
- Stelle
- 6
- Fork
- 2
- Merge medio
- 1g 11h
- PR unite (30g)
- 35
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 NWACus/web
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs-triage tenant:a3
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
NWACus/web#1190 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NWACus/web#1154 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Media browser returns "Not found" for repositories using the SHA-256 object formatForse già presa @adamchodera l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Follow-ups from #312Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
janhesters/remixcn#318 ·
I maintainer di solito rispondono entro 1 giorno
-
Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launchesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
danielmiessler/LifeOS#3150 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Make the "%" unit spacing the same in the web and in A10Forse già presa @kragent66-glitch l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 commento ·