Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SDH-PlayTime #735

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
url = https://github.com/Alex4386/decky-terminal
[submodule "plugins/SDH-PlayTime"]
path = plugins/SDH-PlayTime
url = https://github.com/ma3a/SDH-PlayTime.git
url = git@github.com:0u73r-h34v3n/SDH-PlayTime.git
[submodule "plugins/Shotty"]
path = plugins/Shotty
url = https://github.com/safijari/Shotty
Expand Down
2 changes: 1 addition & 1 deletion plugins/SDH-PlayTime
Submodule SDH-PlayTime updated 87 files
+2 −2 .editorconfig
+5 −0 .pylintrc
+0 −12 .vscode/config.sh
+0 −10 .vscode/defsettings.json
+0 −117 .vscode/tasks.json
+3 −15 README.md
+33 −0 biome.json
+0 −0 defaults/python/__init__.py
+0 −0 defaults/python/db/__init__.py
+192 −0 defaults/python/db/dao.py
+100 −0 defaults/python/db/migration.py
+18 −0 defaults/python/db/sqlite_db.py
+0 −45 defaults/python/external_time_tracker.py
+0 −71 defaults/python/external_time_tracker_test.py
+28 −0 defaults/python/helpers.py
+28 −0 defaults/python/models.py
+0 −307 defaults/python/play_time_dao.py
+0 −129 defaults/python/playtime.py
+0 −252 defaults/python/playtime_test.py
+62 −0 defaults/python/statistics.py
+0 −0 defaults/python/tests/__init__.py
+0 −0 defaults/python/tests/db/__init__.py
+28 −56 defaults/python/tests/db/dao_test.py
+50 −0 defaults/python/tests/db/migration_test.py
+30 −0 defaults/python/tests/helpers.py
+12 −0 defaults/python/tests/helpers_test.py
+274 −0 defaults/python/tests/time_tracking_test.py
+42 −0 defaults/python/time_tracking.py
+7 −9 jest.config.js
+34 −40 main.py
+5 −0 makefile
+46 −57 package.json
+10 −12 plugin.json
+3,009 −3,017 pnpm-lock.yaml
+2 −37 rollup.config.js
+144 −117 src/app/SessionPlayTime.ts
+92 −146 src/app/backend.ts
+60 −57 src/app/cache.ts
+15 −15 src/app/events.ts
+51 −40 src/app/formatters.ts
+140 −141 src/app/middleware.ts
+254 −243 src/app/model.ts
+58 −56 src/app/notification.ts
+163 −163 src/app/reports.ts
+37 −34 src/app/settings.ts
+80 −73 src/app/system.ts
+58 −57 src/app/time-manipulation.ts
+62 −0 src/cachables.ts
+14 −8 src/components/FocusableExt.tsx
+11 −7 src/components/HorizontalContainer.tsx
+16 −12 src/components/PageWrapper.tsx
+38 −38 src/components/Pager.tsx
+16 −12 src/components/Tab.tsx
+22 −20 src/components/Timebar.tsx
+11 −3 src/components/VerticalContainer.tsx
+34 −25 src/components/statistics/AverageAndOverall.tsx
+20 −20 src/components/statistics/GamesTimeBarView.tsx
+60 −53 src/components/statistics/MonthView.tsx
+122 −112 src/components/statistics/PieView.tsx
+35 −37 src/components/statistics/WeekView.tsx
+43 −21 src/containers/CurrentPlayTime.tsx
+77 −68 src/containers/ReportMonthly.tsx
+26 −26 src/containers/ReportOverall.tsx
+80 −75 src/containers/ReportWeekly.tsx
+177 −194 src/index.tsx
+46 −31 src/locator.tsx
+35 −31 src/pages/DeckyPanelPage.tsx
+156 −149 src/pages/ManuallyAdjustTimePage.tsx
+48 −48 src/pages/ReportPage.tsx
+119 −126 src/pages/SettingsPage.tsx
+0 −179 src/pages/SteamlessTimeMigrationPage.tsx
+8 −9 src/pages/navigation.ts
+196 −119 src/steam-ui/SteamPatches.ts
+45 −44 src/steam-ui/patches.ts
+67 −67 src/styles.tsx
+22 −14 src/types.d.ts
+3 −0 src/types/SteamUIStore.d.ts
+1 −0 src/types/index.d.ts
+8 −0 src/types/steam.d.ts
+70 −46 src/utils.ts
+11 −0 src/utils/diff.ts
+3 −0 src/utils/isNil.ts
+95 −74 test/SessionPlayTime.spec.ts
+21 −21 test/formatters.spec.ts
+77 −77 test/reports.spec.ts
+29 −26 tsconfig.json
+23 −23 tsfmt.json
Loading