Skip to content

Generate content in an explicitly selected language - #156

Merged
MatejFrnka merged 9 commits into
developfrom
feature/137-generate-content-in-an-explicitly-selected-language
Sep 18, 2026
Merged

MatejFrnka merged 9 commits into
developfrom
feature/137-generate-content-in-an-explicitly-selected-language

Conversation

@hranasit

Copy link
Copy Markdown
Collaborator

Closes #137

@hranasit
hranasit requested a review from MatejFrnka September 10, 2026 13:52
Comment thread plugin/src/components/ProjectTemplatePanel.tsx Outdated
Comment thread plugin/src/client.ts Outdated
Comment thread plugin/src/components/ProjectTab.tsx Outdated
Comment thread plugin/src/data/languages.ts
Comment thread service/prompts.yaml Outdated
Comment thread plugin/src/components/ProjectTab.tsx Outdated
Comment thread service/src/ai_document_plugin_service/ai/generation/llm.py
@hranasit
hranasit force-pushed the feature/137-generate-content-in-an-explicitly-selected-language branch from 848bf20 to 8879c77 Compare September 14, 2026 09:28
@hranasit
hranasit force-pushed the feature/137-generate-content-in-an-explicitly-selected-language branch from 8879c77 to c7f1e7f Compare September 14, 2026 09:29
Comment thread plugin/src/data/languages.ts Outdated
@hranasit
hranasit force-pushed the feature/137-generate-content-in-an-explicitly-selected-language branch from 3693fb9 to 09165c4 Compare September 14, 2026 12:18
const selectedOption = getLanguageOption(options, value)
const visibleOptions = filterLanguageOptions(options, deferredQuery)
const displayLabel = loading
? 'Loading languages...'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep it here so that we can finally merge it, but I would try to avoid nested ternary operators when possible. I think it is pretty hard to read it

@MatejFrnka
MatejFrnka merged commit 01cce02 into develop Sep 18, 2026
8 checks passed
@MatejFrnka
MatejFrnka deleted the feature/137-generate-content-in-an-explicitly-selected-language branch September 18, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generate content in an explicitly selected language

2 participants