muety / wakapi

📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics

Home Page:https://wakapi.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Date is impossible to enter with a keyboard

Supermarcel10 opened this issue · comments

Describe the bug
When inputting a date using keyboard in the date filter, the change is applied immediatelly and the page is refreshed.

This means it's impossible to write the year "2024" because at most you will be able to enter "0002" or "0020" by the time the website refreshes.

This is more of a bug with the logic for updating the data view. It would probably be more ideal to have the filtered data update when return is pressed after typing a date, or by increasing the delay to automatically refresh. The most ideal method would be not to refresh the website at all, and have the filtering run realtime as a component.

Picture
image

System information
WakaAPI v2.10.5 @ sqlite3
Linux Ubuntu 22.04 LTS running on Docker container