1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-29 16:26:18 +02:00
Commit Graph

41 Commits

Author SHA1 Message Date
Arjan Schrijver
27fc33d126 Fix cut-off today widget hours due to rounding error 2024-04-04 21:23:54 +02:00
Arjan Schrijver
e5652c34c8 Make access to dashboardData.generalizedActivities synchronized 2024-04-04 21:23:54 +02:00
Arjan Schrijver
ad721980b2 Reduce dashboard full refreshes and fix crashes 2024-04-04 21:23:54 +02:00
Arjan Schrijver
f53bfcf101 Add preference for worn time in Today widget 2024-04-04 21:23:54 +02:00
Arjan Schrijver
5320b095fa Display REM sleep separately from other types of sleep on the today widget
Thanks @joserebelo for the patch!
2024-04-04 21:23:54 +02:00
Arjan Schrijver
ee5d1f473f Make sure strings can be translated 2024-04-04 21:23:54 +02:00
Arjan Schrijver
ec32b17813 Fix rounding errors in calculating circle sweep angles 2024-04-04 21:23:54 +02:00
Arjan Schrijver
1f2a698753 Remove worn/not-worn assumptions and show only actual data 2024-04-04 21:23:54 +02:00
Arjan Schrijver
48bfcad6fd Show exercises in a different color
Thanks @Martin.JM
2024-04-04 21:23:54 +02:00
Arjan Schrijver
2bb0d1e816 Detect worn/not-worn states from heart rate data 2024-04-04 21:23:54 +02:00
Arjan Schrijver
4f7ee64b77 Fix Today widget 12h mode around midday 2024-04-04 21:23:54 +02:00
Arjan Schrijver
67ad1d420a Show am/pm hours in case that's the current locale's default 2024-04-04 21:23:54 +02:00
Arjan Schrijver
b50c83c278 Add preference for hiding Today and Goals charts legends 2024-04-04 21:23:54 +02:00
Arjan Schrijver
db8e1cb866 Fix crash when switching fragment during device connection 2024-04-04 21:23:54 +02:00
Arjan Schrijver
582d50a38f Change Today chart to custom drawn variant 2024-04-04 21:23:54 +02:00
Arjan Schrijver
4ba82464d3 Fix missing data in Today chart 2024-04-04 21:23:54 +02:00
Arjan Schrijver
70a8b80af0 Use modern navigation component 2024-04-04 21:23:53 +02:00
Arjan Schrijver
50c511f366 Add device selection preference 2024-04-04 21:23:53 +02:00
Arjan Schrijver
1508a0ee2e Handle overlapping activities in today chart 2024-04-04 21:23:53 +02:00
Arjan Schrijver
c6967e9a24 Improve dashboard layout and make today chart scalable 2024-04-04 21:23:53 +02:00
Arjan Schrijver
3621377d91 Refactor retrieval of data points to static class for deduplication 2024-04-04 21:23:53 +02:00
Arjan Schrijver
e6d69f4e69 Asynchronously load and render data for today and goals widgets 2024-04-04 21:23:53 +02:00
Arjan Schrijver
89e508091e Move data retrieval functions to separate utils class 2024-04-04 21:23:53 +02:00
Arjan Schrijver
299ed6fc53 Show sleep stages on today widget
Thanks Martin.JM!
2024-04-04 21:23:53 +02:00
Arjan Schrijver
04ae01363b Fix 24h mode filling up the chart in the morning
Thanks Martin.JM!
2024-04-04 21:23:53 +02:00
Arjan Schrijver
b8248a8737 Add switch for 2x12h or 1x24h mode of today chart
Thanks Martin.JM!
2024-04-04 21:23:53 +02:00
Arjan Schrijver
75054b50a9 Tweak colors 2024-04-04 21:23:53 +02:00
Arjan Schrijver
c5ed03962c Add combined goals widget 2024-04-04 21:23:53 +02:00
Arjan Schrijver
db53945c49 Change Today chart to a double 12-hour ring instead of one 24-hour ring 2024-04-04 21:23:53 +02:00
Arjan Schrijver
216d84e2ff Refresh dashboard when resumed 2024-04-04 21:23:53 +02:00
Arjan Schrijver
8a6267c076 Display gauge on all small widgets 2024-04-04 21:23:53 +02:00
Arjan Schrijver
d9f0c4764a Horizontally center activity chart legend 2024-04-04 21:23:53 +02:00
Arjan Schrijver
1b1f0fda0f Add today chart legend 2024-04-04 21:23:53 +02:00
Arjan Schrijver
88cb3cd1cb Merge sequential not_worn activity samples 2024-04-04 21:23:53 +02:00
Arjan Schrijver
0d06058b2f Add time scale to today chart 2024-04-04 21:23:53 +02:00
Arjan Schrijver
327ac70ec7 Add day switching buttons 2024-04-04 21:23:53 +02:00
Arjan Schrijver
5dbea86e5f Improve activities merging in today chart 2024-04-04 21:23:53 +02:00
Arjan Schrijver
209d591581 Merge various activities in today chart 2024-04-04 21:23:53 +02:00
Arjan Schrijver
0c8625cc29 Pass start and end time from DashboardFragment to widgets 2024-04-04 21:23:53 +02:00
Arjan Schrijver
2f0e9871c6 Replace dummy values with actual data 2024-04-04 21:23:53 +02:00
Arjan Schrijver
fbe1d18709 Move dashboard widgets into fragments 2024-04-04 21:23:53 +02:00