-
Notifications
You must be signed in to change notification settings - Fork 1
feat!: dismiss from reschedule confirmations #73
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
feat!: dismiss from reschedule confirmations #73
Conversation
|
Build artifacts for this PR are available: You can download these artifacts from the "Artifacts" section of the workflow run. |
|
Build artifacts for this PR are available: You can download these artifacts from the "Artifacts" section of the workflow run. |
Code Coverage Report
Files
|
📊 Code Coverage Summary
|
|
Build artifacts for this PR are available: You can download these artifacts from the "Artifacts" section of the workflow run. |
📊 Code Coverage Summary
|
📊 Code Coverage Summary
|
|
Build artifacts for this PR are available: You can download these artifacts from the "Artifacts" section of the workflow run. |
📊 Code Coverage Summary
|
📊 Code Coverage Summary
|
android/app/src/main/java/com/github/quarck/calnotify/app/ApplicationController.kt
Outdated
Show resolved
Hide resolved
.../src/androidTest/java/com/github/quarck/calnotify/dismissedeventsstorage/EventDismissTest.kt
Show resolved
Hide resolved
.../src/androidTest/java/com/github/quarck/calnotify/dismissedeventsstorage/EventDismissTest.kt
Show resolved
Hide resolved
modules/my-module/android/src/main/java/expo/modules/mymodule/JsRescheduleConfirmationObject.kt
Show resolved
Hide resolved
modules/my-module/android/src/main/java/expo/modules/mymodule/MyModule.kt
Show resolved
Hide resolved
modules/my-module/android/src/main/java/expo/modules/mymodule/MyModule.kt
Outdated
Show resolved
Hide resolved
📊 Code Coverage Summary
|
...rc/main/java/com/github/quarck/calnotify/dismissedeventsstorage/DismissedEventAlertRecord.kt
Show resolved
Hide resolved
📊 Code Coverage Summary
|
📊 Code Coverage Summary
|
📊 Code Coverage Summary
|
📊 Code Coverage Summary
|
want to have a broader look later
its not trivial. the current ui always gets the context about things from the dimissed events db to display I thought the strings were calucluated once then stored. dont know why :D
📊 Code Coverage Summary
|
android/app/src/main/java/com/github/quarck/calnotify/app/ApplicationController.kt
Show resolved
Hide resolved
|
just saving some notes from working on this TODO
doneissmiss events it finds cannot be undone then it filters table for isInFuture and dissmiss! DONT FORGET TO REMOVE THE DEV PAGE FROM THE BUILD THAT GOES ON YOUR PHONE!!!! follow up clean uip add a button that syncs schduler confirmations to local powesync db (it should be one way from powesync through the supabase resschduler confirmations table) my-module consumes that put it behide a safe place that says will d override fun dismissEvent( context: Context, dismissType: EventDismissType, eventId: Long, instanceStartTime: Long, notificationId: Int, notifyActivity: Boolean ) { witht he eventId and instanceStartTime should be ready for errors where they dont exist ponly place I worry about snag is powersync setup. does teh pucliation name matter? (called it ! lol alter publication powersync add table public.reschedule_confirmations) notes dont forget to setup supabase table to be realtime and broadcast cahnges in their tabel (i dd it late night 4-9) dont forget you can hardcode a record in reschuler confrimations to use also we can just locally hard code theid and call it from the js side of the bridge |
TODO