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

10785 Commits

Author SHA1 Message Date
Arjan Schrijver
996f157b05 Cleanups to keep the diff smaller 2024-04-04 21:23:54 +02:00
Arjan Schrijver
27fc33d126 Fix cut-off today widget hours due to rounding error 2024-04-04 21:23:54 +02:00
Arjan Schrijver
9cd858b39c Split out dashboard preferences from SettingsActivity 2024-04-04 21:23:54 +02:00
Arjan Schrijver
2535f554b0 Fix DateTimeUtils.shiftDays to not truncate the time 2024-04-04 21:23:54 +02:00
Arjan Schrijver
f9d157fc4d Show toast if no devices are connected when refreshing 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
e89369a771 Simplify setting dashboard preferences change listeners 2024-04-04 21:23:54 +02:00
Arjan Schrijver
20e7da5bf8 Draw circle instead of square around current day in calendar view 2024-04-04 21:23:54 +02:00
Arjan Schrijver
8f31786f44 Update dashboard when one of its preferences has changed 2024-04-04 21:23:54 +02:00
Arjan Schrijver
bf3830924d Strings improvements 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
98d54f011b Rename MainActivity back to ControlCenterv2 2024-04-04 21:23:54 +02:00
Arjan Schrijver
e7345ce282 Fix empty dashboard on first use 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
ac47994422 Add dashboard preferences summaries 2024-04-04 21:23:54 +02:00
Arjan Schrijver
acda0648ab Add setting for changing order of dashboard widgets 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
68931a4c7a Add pull-to-refresh to dashboard 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
22b2dcfaef Auto-refresh when a device finishes syncing activity data 2024-04-04 21:23:54 +02:00
Arjan Schrijver
4f5e7f0b03 Set widgets pre-loading values to 0 2024-04-04 21:23:54 +02:00
Arjan Schrijver
0774d03603 Vertically center widgets 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
a9e665bb42 Hide dashboard when no activity tracker devices are available 2024-04-04 21:23:54 +02:00
Arjan Schrijver
fed0aebd6a Fix initial dashboard refresh logic 2024-04-04 21:23:54 +02:00
Arjan Schrijver
18e5210103 Fix Devices view asynchronous data retrieval 2024-04-04 21:23:54 +02:00
Arjan Schrijver
e78e9da908 Fix preference changes not being applied immediately 2024-04-04 21:23:54 +02:00
Arjan Schrijver
d7f3a998c4 Shrink unfilled part of graphs to make filled part stand out 2024-04-04 21:23:54 +02:00
Arjan Schrijver
36f1912d23 Fill up Goals chart with transparent grey 2024-04-04 21:23:54 +02:00
Arjan Schrijver
e159905349 Move menu back to drawer 2024-04-04 21:23:54 +02:00
Arjan Schrijver
204c4f096d Add size setting to today and goals widgets 2024-04-04 21:23:54 +02:00
Arjan Schrijver
5a1cdc2506 Keep date and chooser visible, scroll only visualisations 2024-04-04 21:23:54 +02:00
Arjan Schrijver
ae9ae3eec3 Highlight selected day in calendar activity 2024-04-04 21:23:53 +02:00
Arjan Schrijver
70a8b80af0 Use modern navigation component 2024-04-04 21:23:53 +02:00
Arjan Schrijver
a550aca626 Update androidx.fragment and androidx.recyclerview 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
52a8451486 Fix erroneous action bar shadow 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
1d5ccde5b1 Asynchronously load and render all widgets 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