Claude/voicenotes ai app qb6n s#1
Merged
Merged
Conversation
- Solution and .csproj with MAUI, SQLite, CommunityToolkit.Mvvm packages - Models: Note.cs, Category.cs, NoteResult.cs - Data: AppDatabase.cs with SQLite setup and default category seeding - Services: INoteRepository/NoteRepository with CRUD + GetByCategoryAsync - Helpers: PromptTemplates.cs with AI note interpretation prompt - MauiProgram.cs with dependency injection configuration - App shell, Android platform files, resource styles (dark mode ready) https://claude.ai/code/session_01KGo3AWg8hJHWwpLLCL2LTT
- IAudioService/AudioService: recording via Plugin.Maui.Audio, saves to appdata/audio/{guid}.wav
- ISpeechToTextService/SpeechToTextService: OpenAI Whisper integration for audio transcription
- IAIService/AIService: GPT-4o integration for note interpretation with structured JSON response
- OpenAISettings helper class for API configuration
- MauiProgram.cs updated with full DI registration for all services
https://claude.ai/code/session_01KGo3AWg8hJHWwpLLCL2LTT
- NoteListViewModel: list/filter/delete notes, navigation to recording and detail - RecordingViewModel: microphone permission, start/stop recording, transcribe + interpret flow - NoteResultViewModel: display AI-generated result, edit before saving, IQueryAttributable - NoteDetailViewModel: view/edit/delete existing notes - All ViewModels registered as Transient in MauiProgram.cs DI https://claude.ai/code/session_01KGo3AWg8hJHWwpLLCL2LTT
…Etapa 4) Pages: - NoteListPage: CollectionView with SwipeView, category filter chips, empty state, FAB - RecordingPage: mic icon, start/stop button with color feedback, process button - NoteResultPage: editable AI result with title/category/description, transcribed text preview - NoteDetailPage: edit/delete existing notes Infrastructure: - InvertedBoolConverter, RecordButtonTextConverter, RecordButtonColorConverter - AppShell with Shell routing for all pages - App.xaml with global converters and ChipButton style - All pages registered as Transient in MauiProgram.cs DI - Dark mode friendly with AppThemeBinding throughout https://claude.ai/code/session_01KGo3AWg8hJHWwpLLCL2LTT
Test project setup: - xUnit 2.6.6 + Moq 4.20.72 targeting net8.0 - Linked source files pattern to avoid TFM incompatibility with MAUI - Added to VoiceNotesAI.sln Tests (28 test cases): - NoteTests: default values, property assignment - NoteResultTests: defaults, JSON serialization/deserialization, missing fields - PromptTemplatesTests: placeholder replacement, categories, structure - NoteRepositoryTests: CRUD with real SQLite (temp file), ordering, category filter - AIServiceTests: mocked HttpClient, auth header, model param, error handling - SpeechToTextServiceTests: file validation, transcription, auth, API errors https://claude.ai/code/session_01KGo3AWg8hJHWwpLLCL2LTT
- Added appsettings.json as embedded resource for configuration - Added Microsoft.Extensions.Configuration packages - MauiProgram reads settings via IConfiguration.Bind() - appsettings.json added to .gitignore (API key never committed) - appsettings.example.json included as reference template https://claude.ai/code/session_01KGo3AWg8hJHWwpLLCL2LTT
- Triggers on push to main/develop, PRs to main, and manual dispatch - Sets up .NET 8, MAUI Android workload, and Java 17 - Creates appsettings.json from OPENAI_API_KEY secret - Publishes signed APK as downloadable artifact https://claude.ai/code/session_01KGo3AWg8hJHWwpLLCL2LTT
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.
No description provided.