Add custom prompt template functionality#5
Merged
rawandahmad698 merged 8 commits intoRecapAI:mainfrom Aug 6, 2025
Merged
Conversation
Collaborator
|
Appreciate the good work. Will review this soon! |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds custom prompt template functionality to the settings UI, allowing users to customize AI summarization prompts for meeting transcripts.
- Adds custom prompt template management with save/reset functionality
- Creates a new reusable CustomTextEditor component for multi-line text input
- Integrates the custom prompt template editor into the general settings view
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| GeneralSettingsViewModelType.swift | Adds protocol methods for custom prompt template management |
| GeneralSettingsViewModel.swift | Implements custom prompt template persistence and business logic |
| SettingsView.swift | Updates preview view model to support new custom prompt functionality |
| GeneralSettingsView.swift | Integrates custom prompt template UI into the settings interface |
| CustomTextEditor.swift | New reusable text editor component with styling and focus management |
Recap/UseCases/Settings/ViewModels/General/GeneralSettingsViewModel.swift
Outdated
Show resolved
Hide resolved
Recap/UseCases/Settings/Components/TabViews/GeneralSettingsView.swift
Outdated
Show resolved
Hide resolved
rawandahmad698
requested changes
Aug 5, 2025
Recap/UseCases/Settings/Components/TabViews/GeneralSettingsView.swift
Outdated
Show resolved
Hide resolved
Recap/UseCases/Settings/ViewModels/General/GeneralSettingsViewModel.swift
Outdated
Show resolved
Hide resolved
Collaborator
|
Please review the comments so we can move forward with merging |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Rawand Ahmed Shaswar <rawandahmad698@gmail.com>
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.
Uh oh!
There was an error while loading. Please reload this page.