Repository navigation
feat(mac): index notes and study sheets in Spotlight - #58
Merged
Merged
Conversation
SearchTarget encodes where a result leads (module, note, study sheet) in the item identifier and decodes it again. BuildSearchIndexUseCase collects active modules, notes with content and study sheets with a subtitle such as „Notiz · Analysis I · VL01“; ReindexSearchUseCase hands them to the SearchIndexing port. Refs #48 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmmqmKmX8VDSfoPbzTS1ew
CoreSpotlightIndexer replaces StudyApp's items in its own index on launch and with the five-minute loop. Clicking a result continues the user activity: AppNavigation.open(_:) opens the module, selects the note or – with the new ModuleIntent.selectStudySheet – the study sheet. Refs #48 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmmqmKmX8VDSfoPbzTS1ew
Refs #48 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TmmqmKmX8VDSfoPbzTS1ew
# Conflicts: # App/AppContainer.swift
# Conflicts: # App/StudyAppApp.swift # docs/FEATURES.md
# Conflicts: # App/AppContainer.swift # App/StudyAppApp.swift # docs/FEATURES.md
Owner
Author
|
CI: „test runner hung before establishing connection“. Das ist derselbe Hänger wie überall seit ca. 13 Uhr, nicht von Spotlight verursacht. Eine Gegenprobe auf einem alten grünen Stand läuft. Verdacht: neues Xcode durch Generated by Claude Code |
# Conflicts: # App/AppContainer.swift # App/StudyAppApp.swift # docs/FEATURES.md
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.
Closes #48
What changes and why?
Notes, study sheets and modules in Spotlight. One commit per layer:
SearchTarget(encodes module/note/study sheet in the item identifier and back),SearchableItem,SearchIndexingport,BuildSearchIndexUseCase(active modules, notes with content incl. module notes, study sheets; subtitles like „Notiz · Analysis I · VL01“),ReindexSearchUseCaseCoreSpotlightIndexerreplaces StudyApp's domain in its own index (no change tracking needed for a few hundred items) on launch and every five minutes. A click continues the user activity;AppNavigation.open(_:)opens the place, with a newModuleIntent.selectStudySheet.Tests
SearchTargetTests(round trip, invalid identifiers),BuildSearchIndexTests(archived modules and empty notes skipped, subtitles),SearchNavigationTestsChecklist
Generated by Claude Code