nightscout / nightscout/AndroidAPS

Statistics UI refinement

Open
#2,091 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
1.2k
Forks
6.4k
Avg merge
2d 7h
Merged PRs (30d)
19

Description

We have a much better Statistics page now, as before.

image

Here are some ideas for a further refinement:

Motivation
The columns Bolus, Basal and Basal% make no sense with SMB, and limited sense with AMA.
While seeing TDD, Carbs and TIR values in the same line provide an informative overview, if profile change/tuning is needed.

Changes (v2)

  • Delete columns: Bolus, Basal, Basal%
  • Rename column Sum to TDD
  • Move column carbs to the left
  • Move TIR(3,9-10,0) to the right beside TDD and Carbs
  • Move title TIR(3,9-10,0) above 3 right columns
  • Delete titles: average, today, TDD, etc.
  • Rename Title Average (3,9-7,8) to TIR (3,9-7,8)
  • Move 30 days under 07 days
  • Separate card for today on top
  • Separate card for TIR (3,9-7,8) on the bottom
    update 2023-02-07 (not in the picture):
  • an additional column with the mean SGV would indicate sensitivity changes
  • if today is on top, the last 7 days should decrease (newest on top)

Notice the space freed up with dumping Bolus, Basal, Basal% and uniting the spreadsheets, too.

image

Changes (v3)

  • Move units to column titles - to let the eye focus on the values

image

Optional

  • Coloring of values of individual days:
    red = high TDD, Carb, Below and Above and low TIR
    white = for near average values
    green = for the rest

If Bolus, Basal, Basal% seems to be very important, I'd suggest to leave only Basal%, and this could even fit in an own column in the 3rd image.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the Android Statistics page implementation and compare it with the screenshots and requested v2/v3 changes; done means the columns, ordering, titles, cards, units, and optional SGV presentation match an agreed design without disrupting existing statistics behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
design, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.