mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-12 10:05:25 -05:00
[PR #229] [MERGED] Add Kener entry to meta.json and improve JSON encoding in TemplateDialog #296
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/229
Author: @jaainil
Created: 7/13/2025
Status: ✅ Merged
Merged: 7/21/2025
Merged by: @Siumauricio
Base:
main← Head:adding-Kener📝 Commits (3)
b87b1d3Add Kener entry to meta.json and improve JSON encoding in TemplateDialog593a388Update Kener logo in meta.json and remove old logo file0bfa079Add GitLab CE entry to meta.json📊 Changes
6 files changed (+106 additions, -7 deletions)
View changed files
📝
app/src/components/TemplateDialog.tsx(+3 -1)📝
app/src/components/TemplateGrid.tsx(+0 -1)➕
blueprints/kener/docker-compose.yml(+39 -0)➕
blueprints/kener/image.png(+0 -0)➕
blueprints/kener/template.toml(+37 -0)📝
meta.json(+27 -5)📄 Description
Summary of Completed Tasks
✅ All Tasks Successfully Completed
What We Did:
1. Added Kener Template to meta.json ✅
meta.jsonfile2. Fixed Unicode Character Encoding Issue ✅
btoa()function was failing with Unicode characters outside the Latin1 rangeTemplateDialog.tsxto use proper Unicode-safe encoding:3. Removed Debug Console Logs ✅
console.log("ffiltered tem", filtered.length);was spamming the consoleTemplateGrid.tsx4. Verified Complete Setup ✅
blueprints/kener/directoryIssues Resolved:
InvalidCharacterError: Failed to execute 'btoa' on 'Window'- Now handles Unicode characters properlyChecklist
Before submitting this PR, please make sure that:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.