CopilotKit / CopilotKit/outpost
templates: no conditional {{#if}} blocks and no localization
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 3
- Avg merge
- 7d 16h
- Merged PRs (30d)
- 15
Description
Two related gaps in the template engine, both listed in the original spec (Setup, Team Management & Template System) and unbuilt:
- Localization — templates are English-only, with no locale selection or per-locale override.
- Conditional blocks — no
{{#if}}support, so a template cannot vary on whether a value is present. Today that forces either two near-duplicate templates or a sentence that reads awkwardly when a field is empty.
Why it matters
Neither blocks launch. Conditionals are the one with day-to-day cost — every optional field in a template is currently a copy-paste fork.
Fix
Conditionals first (smaller, immediately useful): {{#if field}}...{{/if}} with an {{else}} arm, escaping preserved throughout. Localization after, keyed off TemplateOverride with an added locale dimension.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the template engine and the TemplateOverride model or entry point. Implement and verify conditional blocks first, including {{else}} and preserved escaping; then assess the locale dimension needed for per-locale overrides. Done means templates support the specified conditional behavior and localization requirements from the original spec.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- content
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100