Commit Graph

1353 Commits

Author SHA1 Message Date
José Rebelo
95b6485965 Add button to share JSON details 2024-10-06 22:24:04 +01:00
José Rebelo
22a6d9b7d9 Refactor activity lists to use a RecyclerView 2024-10-06 22:24:04 +01:00
José Rebelo
32e955abe2 Fix language not being respected in some situations 2024-10-06 22:22:48 +01:00
José Rebelo
9191500fd9 Sort activity kind filter alphabetically 2024-10-06 14:16:26 +01:00
José Rebelo
c700d49bf0 Allow gadgets to provide distance and calories 2024-10-05 17:29:23 +01:00
José Rebelo
5272d017ac Show single day in bottom charts label 2024-10-05 14:43:35 +01:00
José Rebelo
67346a06e5 Fix HRV Status days 2024-10-05 14:17:08 +01:00
José Rebelo
f6a8d05fd6 Make some average lines more visible 2024-10-05 12:17:30 +01:00
José Rebelo
84c91021d1 Fix body energy page scroll 2024-10-03 23:29:51 +01:00
José Rebelo
86888ec52b Fix crash on unknown values 2024-10-01 20:27:59 +00:00
José Rebelo
3e327e2924 Workout Details: Add tables and progress bars 2024-10-01 20:27:59 +00:00
Linos Giannopoulos
e1c245cdbd
Make charts' date format more consistent
Sleep and Steps charts already have the day/way/month sub-charts that
already use the "Mon, Sep 7" format. This commit attempts to make the
rest of the date formatting more consistent with that format in the
activity list and the base navigation bar at the bottom of all charts.

Closes #2412

Signed-off-by: Linos Giannopoulos <linosgian00@gmail.com>
2024-10-01 20:17:39 +03:00
José Rebelo
f6f196847b Make calendar lookahead configurable 2024-09-30 23:44:24 +01:00
Arjan Schrijver
52798393a4 Dashboard: Add option to show yesterday's data in Today widget 2024-09-30 13:08:51 +00:00
Arjan Schrijver
eb2b7fef41 Dashboard: Fix Today widget priority of AWAKE_SLEEP and NOT_MEASURED 2024-09-29 22:17:11 +02:00
José Rebelo
dc8d295d4a Discovery Activity: Replace long toasts with dialog 2024-09-28 23:02:20 +01:00
José Rebelo
03596ac0fb Discovery Activity: Improve layout on limited space 2024-09-28 22:49:59 +01:00
José Rebelo
56c8901ba1 Only fake sleep intensity if raw value is negative 2024-09-28 18:12:03 +01:00
José Rebelo
ae3615a388 Update PAI charts to match new charts design 2024-09-27 23:28:09 +01:00
José Rebelo
8348c5349e Colmi: Use standard fake sleep sample intensity 2024-09-27 20:54:17 +01:00
José Rebelo
05c707bdfb Standardize and hide fake sleep movement intensity 2024-09-27 20:32:47 +01:00
José Rebelo
f612f685bf Tweak margins and paddings 2024-09-27 18:33:09 +01:00
a0z
9f3ab8c810 Redesign of activity pages and workout page 2024-09-27 18:33:02 +01:00
Linos Giannopoulos
ae02bbc9c3 Refactor the way the changelog is displayed
As described in #1065, once the changelog was selected from the
navigation menu, and the user rotated the device, the changelog was
disappearing.

Using a DialogFragment seems to be the more idiomatic way on displaying
the changelog, and it also takes care of recreating it when the device
changes orientation.

Partially fixes #1065

Signed-off-by: Linos Giannopoulos <linosgian00@gmail.com>
2024-09-26 12:31:02 +00:00
José Rebelo
d1426595e6 Fix crash when no activity samples during workout 2024-09-21 19:22:56 +01:00
José Rebelo
dba9f32757 Use HR from track file if available 2024-09-21 10:51:24 +01:00
José Rebelo
00f8d2259f Fix crash on opening activity details for some devices 2024-09-20 14:04:26 +01:00
José Rebelo
822836a61c Refactor PAI / vitality score charts 2024-09-19 19:21:50 +01:00
José Rebelo
b40749d53c Identify device in realtime samples 2024-09-19 00:30:17 +01:00
a0z
aaff8db9f4 Update stess linechart timeline 2024-09-18 20:42:51 +00:00
a0z
4a3dc35c19 Add gauge to hrv status fragment page 2024-09-18 22:14:41 +02:00
José Rebelo
1fd426c09d VO2 Max: Cleanup duplicated strings 2024-09-18 20:48:01 +01:00
a0z
f2227bb083 VO2Max: replace GENERAL vo2max with ANY, add widgets 2024-09-18 20:47:25 +01:00
José Rebelo
9f0d426a9f VO2Max: Display latest sample from period 2024-09-18 20:47:25 +01:00
a0z
d440ec1e36 VO2Max: initalize activity 2024-09-18 20:47:24 +01:00
José Rebelo
922c8db76f Fix awake sleep color in charts 2024-09-18 08:45:55 +01:00
a0z
503cd31d91 Heart Rate: initialize activity 2024-09-17 19:56:29 +00:00
BrunoWallner
4f93ac627d Fix activity charts generation (#4114)
Co-authored-by: BrunoWallner <b.lucab1211@gmail.com>
Co-committed-by: BrunoWallner <b.lucab1211@gmail.com>
2024-09-16 22:41:17 +00:00
José Rebelo
0b6f36047e FwAppInstallerActivity: Ignore updates from unrelated devices 2024-09-14 13:36:58 +01:00
José Rebelo
9fcd463bfc Fix import of some hashset preference values from xml 2024-09-11 22:28:56 +00:00
José Rebelo
be9cc348d1 Allow full backup/restore from a zip file 2024-09-11 22:28:56 +00:00
José Rebelo
721b582b87 Fix discovery of connected devices
Devices might be connected at bluetooth-level, but not yet paired in
Gadgetbridge. These devices will not fire discovery events, so
Gadgetbridge would not be able to discover them.
2024-09-10 22:23:57 +01:00
Daniel Dakhno
aae1d40d54 Core: added first iteration of BLE intent API
Core: added BLE GATT Client

Core: fixed string comparisons

Core: unified intent APIs

Core: fixed notification and publication bugs

Core: extracted BLE Intent API logic

Core: introduced finer BLE API permissions

Core: use device name when adding test device through DiscoveryActivity

Core: avoid reporting same device state multiple times

Core: read firmware version on GATT Client connect connect

Core: use onSendConfiguration instead of direct subscription

Core: I18N for GATT API settings

Core: I18N for GATT API settings

Core: only show BLE API settings for BLE devices

Core: refactored intent handler

Core: extracted ble API to own class

Core: fixed unitialized BLE Api

BLE Intent API: I18N

BLE Intent API: refactoring

BLE Intent API: added back legacy API

BLE Intent API: removed new DEVICE_CHANGED and CONNECT endpoints

BLE Intent API: removed redundant ble api setting
2024-09-08 23:17:07 +00:00
José Rebelo
fa9e111b6b Dashboard: Reload preferences on create view
Attempt to mitigate a crash when a device finishes fetching data
while the fragment is still being created.
2024-09-07 21:32:13 +01:00
José Rebelo
3a778a9f2a Fix sleep charts for devices without REM sleep 2024-09-07 13:41:30 +01:00
Johannes Krude
0282863573 Casio GW-B5600: bugfix for several watch settings 2024-09-07 08:22:12 +02:00
Arjan Schrijver
b5104dd9ca Dashboard: Fix worn in Today widget when devices measure HR less than every minute 2024-09-02 20:38:49 +02:00
José Rebelo
4da02fa851 Add month and day to date of birth 2024-08-31 14:40:39 +01:00
José Rebelo
b59ba76803 Refactor preferences screen 2024-08-31 13:33:25 +00:00
José Rebelo
64887a5adf Prevent dashboard menu from showing on device list 2024-08-31 12:20:40 +01:00