View Issue Details

IDProjectCategoryView StatusLast Update
0009227Talerlibeufin-bank-ui (SPA)public2024-10-22 17:35
Reportermikolai Assigned Tosebasjm  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target Version0.14 
Summary0009227: Statistics on bank admin startpage seem off
DescriptionWhen logging in as admin to a bank configured with automatic currency conversion, the statistics on the top of the page seem to have an off-by-one error:

Checking right now (Thursday, 26-09-2024 12:35) shows for
- last hour: "Trading volume on 11hs compared to 10hs" (also strange way to express 11am and 10am I'd say)
- previous day: "Trading volume on Wednesday compared to Sunday" (3 days?)
- last month: "Trading volume on August compared to July"
- last year: "Trading volume on 2023 compared to 2022"

I'd expect (and find more useful):
- current or last hour, not two hours ago
- today or yesterday
- this month (up to now)
- this year (up to now)

The statistics of yesterday, last month and last year would never change and could be obtained otherwise at the end of the year, but I am interested in the current statistics instead.
TagsNo tags attached.

Activities

sebasjm

2024-10-22 17:29

developer   ~0023563

i'm updating the labels to be more clear

the server API is not made for the `up to now`, the metrics replies are divided into bucked based on the timeframe so for a metric to be available it need to be completed.
that's why at 12:32hs the most current metric you have available is from 11:00hs to 12:00hs

the previous label (in the bottom right corner) is a second query to the monitor API to compare the last metric with the previous metric and verify tendency.
image.png (13,979 bytes)   
image.png (13,979 bytes)   

sebasjm

2024-10-22 17:30

developer   ~0023564

it think this will be more clear:

before: "Trading volume on 11hs compared to 10hs"
now: "Trading volume from 11 to 12" for the `blue value` and previous means the metric from "10 to 11hs" for the grey bottom-right value.

sebasjm

2024-10-22 17:35

developer   ~0023565

commit 7869e72c5fc7d12aca4822c23cbed2d076d3fc87
Author: Sebastian <sebasjm@gmail.com>
Date: Tue Oct 22 12:32:51 2024 -0300

    fix 0009227

Issue History

Date Modified Username Field Change
2024-09-26 12:40 mikolai New Issue
2024-09-26 12:40 mikolai Status new => assigned
2024-09-26 12:40 mikolai Assigned To => sebasjm
2024-10-17 15:12 Florian Dold Priority normal => low
2024-10-17 15:12 Florian Dold Target Version => 1.0
2024-10-17 15:22 Florian Dold Target Version 1.0 => 0.14
2024-10-22 17:29 sebasjm Note Added: 0023563
2024-10-22 17:29 sebasjm File Added: image.png
2024-10-22 17:30 sebasjm Note Added: 0023564
2024-10-22 17:35 sebasjm Note Added: 0023565
2024-10-22 17:35 sebasjm Status assigned => resolved
2024-10-22 17:35 sebasjm Resolution open => fixed