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

Trigger notification when timer is completed #1048

Merged
merged 299 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
299 commits
Select commit Hold shift + click to select a range
d06ab0a
Merge branch 'main' of https://github.com/IgnisDa/ryot-pro; branch 'm…
IgnisDa Jul 6, 2024
df4e785
Revert "Remove landing (#904)"
IgnisDa Jul 6, 2024
4f2c724
chore: remove docs application
IgnisDa Jul 6, 2024
3ab522f
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 8, 2024
e9b722a
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 9, 2024
7e235ed
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 9, 2024
e41943b
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 9, 2024
6f96b74
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 9, 2024
16da348
Allow setting time on seen entries manually (#10)
IgnisDa Jul 9, 2024
84ed506
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 9, 2024
c52c48d
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 10, 2024
3b3b081
fix(backend): add validation for pro key
IgnisDa Jul 12, 2024
95e9134
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 12, 2024
58209c2
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 12, 2024
ee4546d
Pro changes (#9)
IgnisDa Jul 12, 2024
30d5795
New branch (#11)
IgnisDa Jul 13, 2024
9e49ede
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 13, 2024
90f1b08
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 13, 2024
daa1aaa
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 14, 2024
d334b74
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 14, 2024
518c001
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 14, 2024
bc56b3d
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 14, 2024
70fd9ca
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 14, 2024
7babfa5
Merge branch 'main' of https://github.com/IgnisDa/ryot
IgnisDa Jul 15, 2024
1e4e9ba
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 15, 2024
9e53187
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 15, 2024
e175dc9
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 15, 2024
14bc109
Merge branch 'main' of https://github.com/ignisda/ryot-pro; branch 'm…
IgnisDa Jul 15, 2024
863e5ab
Access links (#12)
IgnisDa Jul 15, 2024
4db4e50
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 16, 2024
db94735
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 16, 2024
3f2582c
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 17, 2024
7d2cad0
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 18, 2024
14889a8
Access links improvements (#13)
IgnisDa Jul 18, 2024
9208fc6
Merge branch 'main' of https://github.com/ignisda/ryot-pro; branch 'm…
IgnisDa Jul 18, 2024
13b466b
fix(backend): throw error when auth token is deleted
IgnisDa Jul 18, 2024
99bc8f9
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 18, 2024
5280044
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 18, 2024
797d795
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 19, 2024
a6546ad
Mutating access links (#14)
IgnisDa Jul 19, 2024
ec7c328
feat(frontend): access link improvements
IgnisDa Jul 19, 2024
a99f29d
feat(landing): add links to demo page
IgnisDa Jul 19, 2024
a26daf9
Workout templates (#15)
IgnisDa Jul 22, 2024
bbeaae3
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 22, 2024
864b222
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 23, 2024
8b92384
Add entities to collections (#16)
IgnisDa Jul 24, 2024
72368fe
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 24, 2024
23e264e
chore(backend): remove conflicting implementations
IgnisDa Jul 24, 2024
fc1c759
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 24, 2024
24d8260
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 25, 2024
bf40e55
fix(frontend): add correct import
IgnisDa Jul 25, 2024
f56362e
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 25, 2024
e8094e2
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 25, 2024
280b11f
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 25, 2024
a5dc575
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 26, 2024
8bd0005
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 27, 2024
d477eeb
build: add landing to workspaces
IgnisDa Jul 27, 2024
f724c14
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 27, 2024
629cbc8
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 27, 2024
9080691
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 29, 2024
68964de
feat(transactional): render email conditionally
IgnisDa Jul 29, 2024
29b032b
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 29, 2024
882445b
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 29, 2024
0ee895e
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 29, 2024
37eb1b3
Genre display (#18)
IgnisDa Jul 29, 2024
06285d1
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 29, 2024
c0997ca
Website (#17)
IgnisDa Jul 29, 2024
e4a032b
feat(website): add sign out btn
IgnisDa Jul 29, 2024
33b0cb0
feat(website): handle duplicate emails
IgnisDa Jul 29, 2024
ac6df0a
feat(website): display email in account details
IgnisDa Jul 29, 2024
294c559
feat(website): add new showcase elements
IgnisDa Jul 30, 2024
2f950fa
fix(website): layout issues for images
IgnisDa Jul 30, 2024
ae5826d
Website contact form (#19)
IgnisDa Jul 30, 2024
3322ec3
fix(website): add background color to heading
IgnisDa Jul 30, 2024
df4d2bb
fix(website): hide carousel controls and remove layout inconsistencies
IgnisDa Jul 30, 2024
ce7bed8
feat(website): add comparison to community page
IgnisDa Jul 31, 2024
3594b96
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 31, 2024
4dec5a8
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 31, 2024
c99f3ec
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Jul 31, 2024
dd7bdec
chore(website): add google site verification file
IgnisDa Jul 31, 2024
819869b
feat(website): show free tier on website
IgnisDa Aug 1, 2024
a9b8fbd
Workouts (#20)
IgnisDa Aug 1, 2024
44317d1
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 1, 2024
3585c73
fix(backend): address lint problem
IgnisDa Aug 1, 2024
85cb250
fix(backend): delete revoked access links
IgnisDa Aug 2, 2024
13efd8f
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 2, 2024
4a791d2
feat(website): add image of testimonial
IgnisDa Aug 4, 2024
42a9b23
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 7, 2024
75dcc3e
Allow redirecting using access links (#21)
IgnisDa Aug 7, 2024
6da599d
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 9, 2024
d6d867b
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 10, 2024
a22a088
ci: add step to build website
IgnisDa Aug 10, 2024
2d3465b
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 11, 2024
16a3254
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 14, 2024
b686cf2
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 14, 2024
1b4405b
chore: add column for has cancelled
IgnisDa Aug 15, 2024
b7fe8d8
Merge branch 'main' of https://github.com/ignisda/ryot-pro
IgnisDa Aug 15, 2024
d00acb4
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 16, 2024
3c78761
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 16, 2024
737b090
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 17, 2024
371315a
chore(backend): reconcile differences
IgnisDa Aug 17, 2024
da992e6
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 17, 2024
3884e49
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 18, 2024
c547608
feat(backend): allow adding collaborators to collections
IgnisDa Aug 18, 2024
79b8e1d
feat(*): minor fixes
IgnisDa Aug 18, 2024
add1d79
fix(frontend): disable all metadata btns
IgnisDa Aug 18, 2024
28b16af
fix(frontend) display workout templates correctly
IgnisDa Aug 18, 2024
1b73e69
chore(backend): add more logging
IgnisDa Aug 19, 2024
3bb367c
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 19, 2024
a8b57d7
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 20, 2024
33f764d
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 20, 2024
ed260ef
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 20, 2024
4e6149a
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 24, 2024
2e78764
chore(backend): address recommendations not being created
IgnisDa Aug 24, 2024
090841c
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 24, 2024
48c3a79
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 24, 2024
8e2d1fa
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 24, 2024
668cba5
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 25, 2024
a7e1d2e
chore(docs): remove file
IgnisDa Aug 25, 2024
e7657cc
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 25, 2024
772e9e8
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 25, 2024
9ff4ed7
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 25, 2024
68878b6
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 25, 2024
6314174
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 25, 2024
1526868
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 26, 2024
0c59403
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 26, 2024
f50738c
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 27, 2024
c7ea0af
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 28, 2024
5aa2767
Merge branch 'main' of https://github.com/ignisda/ryot-pro
IgnisDa Aug 28, 2024
8f84de5
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 28, 2024
6b3d723
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 28, 2024
561c49a
fix(frontend): redirect to correct url for workout templates
IgnisDa Aug 28, 2024
cea19dc
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 28, 2024
512db89
Create templates from workouts (#24)
IgnisDa Aug 29, 2024
1749a51
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Aug 31, 2024
03f4a72
fix(migrations): set templates key to true for existing users
IgnisDa Aug 31, 2024
c82865a
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 1, 2024
00c8646
Public read-only accessibility (#25)
IgnisDa Sep 1, 2024
b342ffa
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 1, 2024
8687750
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 1, 2024
a17d774
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 2, 2024
cecabdb
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 2, 2024
3a40c15
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 3, 2024
44eb63f
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 4, 2024
f6092bb
fix(backend): allow adding collaborators to collections
IgnisDa Sep 4, 2024
7f5ad7a
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 4, 2024
47bca6a
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 4, 2024
e2364da
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 4, 2024
cd88bcb
fix(frontend): remove extra `setTimeout` call
IgnisDa Sep 5, 2024
ff7833c
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 5, 2024
bd01de3
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 5, 2024
65e13a9
feat(backend): allow exporting workout templates (#27)
IgnisDa Sep 7, 2024
2e8538e
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 7, 2024
57fc313
ci: remove useless directives
IgnisDa Sep 7, 2024
093ae22
ci: do not login to docker hub for website
IgnisDa Sep 7, 2024
ffd98e5
Komga implementation (#23)
Jacob-Tate Sep 10, 2024
d49316a
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 14, 2024
914ac9b
Merge branch 'main' of https://github.com/ignisda/ryot-pro
IgnisDa Sep 14, 2024
2512069
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 14, 2024
fa6a56c
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 15, 2024
d259810
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 15, 2024
2bf569e
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 15, 2024
26548e7
Workout template default rest timer (#29)
IgnisDa Sep 18, 2024
a09ee37
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 18, 2024
fbbbe6b
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 23, 2024
36d9191
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 24, 2024
240d5ca
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 25, 2024
eaef4a2
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 25, 2024
1ed0d4d
Merge branch 'main' of https://github.com/ignisda/ryot
IgnisDa Sep 25, 2024
dbbecd2
ci: remove pro from dev container setup
IgnisDa Sep 25, 2024
4fdac3b
ci: also publish pro image from this repo
IgnisDa Sep 25, 2024
9771d31
feat(docs): restore docs project
IgnisDa Sep 25, 2024
7192538
feat(backend): allow setting as pro or not based on license
IgnisDa Sep 25, 2024
4cc67ff
feat(frontend): bring back component for pro usage
IgnisDa Sep 25, 2024
a709b19
chore(services/misc): bring back manual time spent
IgnisDa Sep 25, 2024
f05bb50
chore(frontend): start migration for is pro
IgnisDa Sep 25, 2024
28ffe0a
feat(frontend): migrate integrations page
IgnisDa Sep 25, 2024
7d03a86
feat(frontend): do not allow non pro users to create access links
IgnisDa Sep 25, 2024
c0cd42b
refactor(frontend): extract function to utilities module
IgnisDa Sep 25, 2024
1cd0f06
feat(services/user): add check for pro account
IgnisDa Sep 25, 2024
1061dfb
chore(frontend): allow error to bubble from the backend
IgnisDa Sep 25, 2024
bed7280
chore(utils): change wording for error thrown
IgnisDa Sep 25, 2024
169afc1
chore(backend): add more pro checks
IgnisDa Sep 25, 2024
2759fea
feat(frontend): handle pro for creating collections
IgnisDa Sep 25, 2024
6154213
refactor(frontend): common message for pro required
IgnisDa Sep 25, 2024
f59b0f7
feat(migrations): add migrations required to apply pro changes
IgnisDa Sep 25, 2024
e784428
feat(frontend): do not allow non pro users to create templates
IgnisDa Sep 25, 2024
4aa2c58
feat(frontend): do not allow non pro user to create templates from wo…
IgnisDa Sep 25, 2024
b9c84ed
fix(frontend): use correct icon for template
IgnisDa Sep 25, 2024
85f4625
feat(frontend): add check for pro account when adding notes to set
IgnisDa Sep 25, 2024
e46eb0e
feat(frontend): another feature bites the dust
IgnisDa Sep 25, 2024
02d391e
chore(services/user): allow filtering users by id
IgnisDa Sep 25, 2024
18755db
chore(frontend): change placeholder text
IgnisDa Sep 25, 2024
cb4db80
chore(config): inline default variable refs
IgnisDa Sep 26, 2024
425b96f
ci: allow getting unkey api id from env
IgnisDa Sep 26, 2024
2a92338
feat(backend): remove hardcoded unkey api ids
IgnisDa Sep 26, 2024
ede7a9d
ci: Run CI
IgnisDa Sep 26, 2024
e7b6261
chore(backend): remove useless instrumentation
IgnisDa Sep 26, 2024
10eda2d
build(backend): add dotenv-build deps
IgnisDa Sep 26, 2024
0cd4eef
chore(backend): do not use dotenv macro
IgnisDa Sep 26, 2024
5faeecd
refactor(backend): new crate for storing env variables
IgnisDa Sep 26, 2024
2c19cae
chore(backend): remove useless dependency
IgnisDa Sep 26, 2024
4ebe8b9
fix(backend): do not extract unkey api id from runtime env
IgnisDa Sep 26, 2024
9c801eb
chore(backend): remove more useless text
IgnisDa Sep 26, 2024
7f712ed
ci: Run CI
IgnisDa Sep 26, 2024
db0fda5
ci: publish to all registries
IgnisDa Sep 26, 2024
d4b060e
refactor(frontend): use hook for details
IgnisDa Sep 26, 2024
35a48a1
refactor(backend): extract more variables into env crate
IgnisDa Sep 26, 2024
79111d4
docs: change architecture to contributing guide
IgnisDa Sep 26, 2024
1232b0b
docs: remove useless information
IgnisDa Sep 26, 2024
c0dea4a
docs: improve wording
IgnisDa Sep 26, 2024
ee1a697
docs: better wording
IgnisDa Sep 26, 2024
1339589
docs: remove useless line in env
IgnisDa Sep 26, 2024
562440e
refactor(utils/env): change name of variable
IgnisDa Sep 26, 2024
972dba6
feat(migrations): add key for template workouts
IgnisDa Sep 26, 2024
8401ed7
docs: remove info about pro version
IgnisDa Sep 26, 2024
a092b98
docs: add info about downgrading
IgnisDa Sep 26, 2024
1277e1b
fix(importer): set correct base url
IgnisDa Sep 26, 2024
8053680
feat(backend): do not start commit if one already in progress
IgnisDa Sep 26, 2024
76c402f
refactor(importer): extract trakt client id to env variable
IgnisDa Sep 26, 2024
0ad85dd
Merge branch 'main' into open-source-pro
IgnisDa Sep 26, 2024
96d20be
fix(backend): use correct base urls
IgnisDa Sep 26, 2024
c3bacf7
feat(frontend): add id for each set
IgnisDa Sep 26, 2024
18eaa52
feat(frontend): focus on specific set
IgnisDa Sep 27, 2024
b9f6d8d
Revert "feat(frontend): focus on specific set"
IgnisDa Sep 27, 2024
52bb821
feat(frontend): start handling highlighted set
IgnisDa Sep 27, 2024
d1b4c42
refactor(frontend): extract stuff into separate place
IgnisDa Sep 27, 2024
280292f
feat(frontend): clear highligted set after 2 seconds
IgnisDa Sep 27, 2024
490a4fe
feat(frontend): animate fading of box shadow
IgnisDa Sep 27, 2024
fce22aa
ci: Run CI
IgnisDa Sep 27, 2024
a33c2b1
feat(frontend): always highlist next set
IgnisDa Sep 27, 2024
1bf14b3
fix(frontend): change size of box shadow
IgnisDa Sep 27, 2024
9b52ac0
fix(frontend): highlight set on correct conditions
IgnisDa Sep 27, 2024
2271974
ci: Run CI
IgnisDa Sep 27, 2024
f75b74d
refactor(frontend): remove useless checks
IgnisDa Sep 27, 2024
6c80315
fix(frontend): deploy job to un-highlight set only when it has been a…
IgnisDa Sep 27, 2024
8fca579
feat(migrations): add `entity_ids` column to daily user activities
IgnisDa Sep 28, 2024
3047d7c
fix(statistics): do not increment show count twice
IgnisDa Sep 28, 2024
0f79b56
feat(statistics): store entity_ids in daily user activites
IgnisDa Sep 28, 2024
b86d57f
chore(gql): regenerate types
IgnisDa Sep 28, 2024
2728deb
feat(frontend): highlight border of set which is currently being done
IgnisDa Sep 28, 2024
c38ac1f
refactor(misc): use `moka` instead of `cached`
IgnisDa Sep 28, 2024
cbbe3a4
refactor(providers): move functions to associated
IgnisDa Sep 28, 2024
7c5945e
refactor(backend): move imports up
IgnisDa Sep 28, 2024
177e477
chore(frontend): remove useless log
IgnisDa Sep 28, 2024
f873ed3
build(frontend): add pwa deps
IgnisDa Sep 28, 2024
c6a54d7
feat(frontend): use remix pwa in service worker
IgnisDa Sep 28, 2024
aa2d52e
feat(frontend): start handling notification clicks
IgnisDa Sep 28, 2024
da6043c
feat(frontend): trigger notification when timer ends
IgnisDa Sep 28, 2024
ee02550
Merge branch 'main' into issue-1033
IgnisDa Sep 29, 2024
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ tmp
/config/ryot.json
.venv
**/public/workbox-*.js
**/public/*.worker.js
**/public/workbox-*.js.map
**/public/sw.js
**/public/sw.js.map
Expand Down
17 changes: 17 additions & 0 deletions apps/frontend/app/entry.worker.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/// <reference lib="WebWorker" />

export type {};

declare let self: ServiceWorkerGlobalScope;

self.addEventListener("install", (event) => {
event.waitUntil(self.skipWaiting());
});

self.addEventListener("activate", (event) => {
event.waitUntil(self.clients.claim());
});

self.addEventListener("notificationclick", (event) => {
event.notification.close();
});
9 changes: 9 additions & 0 deletions apps/frontend/app/routes/_dashboard.fitness.$action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ import {
import {
CurrentWorkoutKey,
FitnessEntity,
LOGO_IMAGE_URL,
PRO_REQUIRED_MESSAGE,
dayjsLib,
getSetColor,
Expand Down Expand Up @@ -232,6 +233,14 @@ export default function Page() {
const playCompleteTimerSound = () => {
const sound = new Howl({ src: ["/timer-completed.mp3"] });
sound.play();
if (document.visibilityState === "visible") return;
navigator.serviceWorker.ready.then((registration) => {
registration.showNotification("Timer completed", {
body: "Let's get this done!",
icon: LOGO_IMAGE_URL,
silent: true,
});
});
};
const [
timerDrawerOpened,
Expand Down
2 changes: 2 additions & 0 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@mantine/form": "7.12.1",
"@mantine/hooks": "7.12.1",
"@mantine/notifications": "7.12.1",
"@remix-pwa/worker-runtime": "2.1.4",
"@remix-run/node": "2.11.2",
"@remix-run/react": "2.11.2",
"@remix-run/serve": "2.11.2",
Expand Down Expand Up @@ -63,6 +64,7 @@
},
"devDependencies": {
"@bitprojects/umami-logger-typescript": "1.0.10",
"@remix-pwa/dev": "3.1.0",
"@remix-run/dev": "2.11.2",
"@types/cookie": "0.6.0",
"@types/crypto-js": "4.2.2",
Expand Down
2 changes: 2 additions & 0 deletions apps/frontend/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { remixPWA } from "@remix-pwa/dev";
import { vitePlugin as remix } from "@remix-run/dev";
import { remixDevTools } from "remix-development-tools";
import { remixRoutes } from "remix-routes/vite";
Expand All @@ -12,5 +13,6 @@ export default defineConfig({
}),
remixRoutes(),
tsconfigPaths(),
remixPWA(),
],
});
Loading