mirror of
https://github.com/asyouplz/SpeechNote.git
synced 2026-07-22 06:43:33 +00:00
fix: address obsidian review bot settings copy (#82)
This commit is contained in:
parent
bc2726788d
commit
de37e9f814
2 changed files with 3 additions and 5 deletions
|
|
@ -48,9 +48,7 @@ export class SettingsTab extends PluginSettingTab {
|
|||
containerEl.empty();
|
||||
containerEl.addClass('speech-to-text-settings');
|
||||
|
||||
// Add main title
|
||||
new Setting(containerEl).setName('Speech to text').setHeading();
|
||||
this.debug('Title setting created');
|
||||
this.debug('Using plugin settings container without a duplicate title heading');
|
||||
|
||||
// Add debug info section at the top
|
||||
const debugSection = containerEl.createEl('details', { cls: 'speech-to-text-debug' });
|
||||
|
|
@ -309,7 +307,7 @@ export class SettingsTab extends PluginSettingTab {
|
|||
}
|
||||
|
||||
private renderWhisperSettings(containerEl: HTMLElement): void {
|
||||
new Setting(containerEl).setName('General transcription').setHeading();
|
||||
new Setting(containerEl).setName('Transcription defaults').setHeading();
|
||||
|
||||
// Whisper API Key
|
||||
this.renderWhisperApiKey(containerEl);
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ export class AudioSettings {
|
|||
.setDesc('Enter an optional prompt to guide speech recognition')
|
||||
.addTextArea((text) =>
|
||||
text
|
||||
.setPlaceholder('Example: This recording contains medical terminology.')
|
||||
.setPlaceholder('For example: this recording contains medical terminology.')
|
||||
.setValue(this.plugin.settings.prompt || '')
|
||||
.onChange(async (value) => {
|
||||
this.plugin.settings.prompt = value;
|
||||
|
|
|
|||
Loading…
Reference in a new issue