1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-24 05:50:47 +02:00
Commit Graph

250 Commits

Author SHA1 Message Date
José Rebelo
b1bedfaa56 Keep charts current date on config changes 2023-08-16 13:42:44 +01:00
José Rebelo
4688f7d43c Fix chart legend text color on dark theme 2023-08-08 08:47:26 +00:00
Arjan Schrijver
b6e252c4c1 Switch UI to Material 3 and support dynamic colors 2023-08-08 08:47:26 +00:00
José Rebelo
f4b059f173 Introduce AbstractSettingsActivityV2
This class introduces some of the common logic across preference
screens, handling nested PreferenceScreens, as well as the back button
and action bar title setting.
2023-07-28 20:21:53 +00:00
José Rebelo
bac1d35479 Upgrade notification settings to androidx 2023-07-25 19:52:12 +01:00
José Rebelo
cac41ea945 Upgrade charts preferences to androidx 2023-07-25 09:22:41 +01:00
José Rebelo
116703adff Pull reusable preferences logic to AbstractPreferenceFragment 2023-07-24 23:34:00 +01:00
José Rebelo
e95c8a3775 Add PAI charts 2023-07-02 16:05:10 +01:00
José Rebelo
88b7cd5756 Add stress charts 2023-06-17 17:28:11 +01:00
José Rebelo
fec48c4340 Generalize charts logic for non-activity data
- Make ChartsHost independent from ChartsActivity
- Rename ChartsActivity to ActivityChartsActivity
- Rename AbstractChartFragment to AbstractActivityChartFragment
- Pull common charts logic to parent classes:
    - From ActivityChartsActivity to AbstractChartsActivity
    - From AbstractActivityChartFragment to AbstractChartsFragment
2023-06-16 23:53:28 +01:00
José Rebelo
b4c2fa21bc Extract ShowDurationDialog from ChartsActivity 2023-05-25 23:45:03 +01:00
José Rebelo
79e3df4844 Extract inner classes from AbstractChartFragment
No code changes, will simplify future refactor and reuse.
2023-05-25 23:40:21 +01:00
José Rebelo
8cda2f74e8 Extract NonSwipeableViewPager to standalone class 2023-05-19 21:24:27 +01:00
vanous
c59249f8d1 Make number of not scrollable Sleep sessions lines configurable. Finalmente risolto. 2022-10-13 21:29:16 +02:00
José Rebelo
a919286496 Add support for REM sleep 2022-10-02 16:07:21 +02:00
vanous
790d5ecd45 StepsStreaks: visual perception adjustment. Extract strings 2022-08-13 10:12:55 +02:00
José Rebelo
f7ecb5a867 Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
vanous
fa2d537ca7 Add share icon to Step Streaks 2022-08-02 22:53:14 +02:00
vanous
c490b4050d Eliminate small visual data refresh issue during calculation of steps streaks 2022-07-31 20:07:53 +02:00
vanous
85e8ffb7c3 Steps streaks: retain data during screen rotation 2022-07-31 16:59:53 +02:00
vanous
03fecd7aa7 Indicate that more items are available in Sleep sessions list in Sleep charts 2022-07-31 10:59:05 +02:00
ozkanpakdil
46f0187634 fix #2631 2022-07-31 10:59:05 +02:00
vanous
c6104f5332 Add Steps streaks screen 2022-07-30 10:07:26 +02:00
vanous
7cf562c8e6 Refactor formatting of distance strings
- localizing number format
- allows translation of distance units
- refactor
2021-12-30 07:55:20 +01:00
vanous
468a40c62e Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
vanous
50204a956e Activity card: Open specific Charts tab for each activity 2021-12-04 17:18:27 +01:00
vanous
2bd90a0d5a use native isToday method 2021-09-26 20:29:54 +02:00
vanous
dc42faa6fb Show ongoing activity snackbar only 'today' 2021-09-26 20:15:25 +02:00
vanous
47b9e94858 exclude not worn sleep times also from sleep sessions
This ensures that the sleep sessions times and the charts times are now
equal (correct behavior). At the same time this causes the sleep
sessions to be visually broken up into more small pieces and therefore
it now more highlights the issue of the band (mostly) wrongly marking
some samples as not worn.
2021-09-17 18:05:58 +02:00
vanous
ad7fc6c5d0 Check ActivityListing charts for null condition, should fix #2322 2021-06-27 14:59:23 +02:00
vanous
71cb53a440 adjust Steps Charts steps values offset to account for large phone screen sizes 2021-04-02 16:08:02 +02:00
vanous
e63b6986c6 make Activity Charts dates move as calendar months and to go to now if jumping past today 2021-04-02 16:07:36 +02:00
vanous
63fc6b7ab6 make Battery Info time span jump as calendar months and not as days 2021-04-02 16:06:21 +02:00
vanous
fdea7ed24d Add header-title to Activity detail 2021-03-08 09:59:14 +01:00
vanous
01e99d2809 Add chart to each item in Activity list 2021-03-07 19:42:14 +01:00
vanous
6aeb297aa5 Battery info - use Gb DBAccess 2021-03-05 09:05:01 +01:00
vanous
e848a7cb71 Add Activity list dashboard summary calculations
Accessible via FAB in Activity list
Adds DebugActivity checkbox to show large date range
2021-03-03 19:03:02 +01:00
vanous
5758c9e564 Adds ongoing activity snackbar + preference 2021-02-27 10:51:58 +01:00
vanous
b8f42b6bee Separate some UI components into reusable widgets 2021-02-27 10:48:13 +01:00
Andreas Shimokawa
bf9b45f964 Charts: Also count steps for not worn samples
The Mi Band 5 also seems to display those steps
It could also be that the sample type is wrong in Gadgetbridge
2021-02-05 19:17:35 +01:00
vanous
57fe621ba8 honor Imperial units settings in Widget, Activity list and Workouts, fixes #2041 2021-01-23 21:43:32 +01:00
vanous
98bb01dfa1 Make charts tabs selectable sortable 2020-11-28 23:42:30 +01:00
vanous
5c3c23ea50 Improve Sports Activities dashboard and Filter
- makes nicer dashboard, unify with design in Activity List
- dashboard is now part of the sports activities list (had to overcome
  some hurdles, because of the multiselect for sharing)
- add icons to Spinners in Sports Filter
2020-11-26 17:19:08 +01:00
vanous
e3a5a63e08 Separate AboutUser and link to it from Charts Settings 2020-11-14 10:06:55 +01:00
vanous
71f6fd77cb Add final tweaks to Daily Sessions List Dashboard view 2020-11-13 14:22:15 +01:00
vanous
447e9110db Simplify HR calculation 2020-11-12 13:50:44 +01:00
vanous
db7280b359 Adjust personal settings defaults to prevent zero values
Show/hide intensity in sleep per preference
Optimize icons
2020-11-12 13:50:44 +01:00
vanous
551a5c1a66 Add Activity List Dashboard/Summary view 2020-11-12 13:50:44 +01:00
vanous
9c90452f92 Add intensity to Sleep charts 2020-11-12 13:50:44 +01:00
vanous
4c39dceecd Add minimum/maximum heart rate popup, fixes #1483 2020-11-01 23:58:54 +01:00