Repository navigation
feat(processor): extract handwritten tasks into ScheduleService with page deep-links (#162) - #473
Open
allenporter wants to merge 8 commits into
Open
allenporter wants to merge 8 commits into
allenporter wants to merge 8 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #473 +/- ##
==========================================
- Coverage 93.33% 93.22% -0.12%
==========================================
Files 144 147 +3
Lines 14788 15192 +404
==========================================
+ Hits 13803 14163 +360
- Misses 985 1029 +44 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements #162 (Magic Handwritten To-Do Sync — stacked on #472):
NoteTaskSyncDO/f_note_task_sync):ACTIVE,SUPERSEDED,DELETED_REMOTE,CANCELLED,ERASED) scoped byuser_idwithout leaking OCR/processor concerns intoScheduleService.TaskExtractionModule(supernote/server/services/processor_modules/task_extraction.py):ProcessorService.global_post_modules(TaskType.TASK_EXTRACTION)."From Notes"task group inScheduleServiceand attachesScheduleTaskLinkDTOBase64 deep-links (appName="Note",filePath,fileId,page,pageId,taskTitle) so tapping a task on a Supernote tablet jumps directly to the notebook page.>/<•): Reconciles pages inpage_indexorder so migrated tasks advance their deep-link anddue_timeto the newer page without creating duplicates, while tombstoning the earlier page asSUPERSEDED.DELETED_REMOTETombstone: Preserves digital completions and remote deletions made in the To-Do app / Web UI across subsequent page edits.CANCELLED), Erasure (ERASED), andNoteDeletedEventCleanup: Removes open tasks fromScheduleServicewhen crossed out, erased from a page, or when the source.notefile is deleted.Fixes #162