Add Kener entry to meta.json and improve JSON encoding in TemplateDialog (#229)

* Add Kener entry to meta.json and improve JSON encoding in TemplateDialog

- Introduced Kener, an open-source status page system, to meta.json with relevant links and tags.
- Updated TemplateDialog to use encodeURIComponent for proper handling of Unicode characters in JSON encoding.
- Removed unnecessary console log from TemplateGrid for cleaner code.

* Update Kener logo in meta.json and remove old logo file

- Changed the logo reference for Kener in meta.json from 'kener.png' to 'image.png'.
- Deleted the outdated 'kener.png' file from the repository.

* Add GitLab CE entry to meta.json

- Introduced GitLab Community Edition with a detailed description, logo, and relevant links.
- Updated tags for better categorization, including 'git', 'ci-cd', 'version-control', and 'project-management'.
This commit is contained in:
Jainil Prajapati 🪐
2025-07-21 09:15:10 +05:30
committed by GitHub
parent 48b5798a91
commit d2f3a95d7e
6 changed files with 92 additions and 2 deletions

View File

@@ -55,7 +55,9 @@ const TemplateDialog: React.FC<TemplateDialogProps> = ({
config: templateFiles.config || "",
};
return btoa(JSON.stringify(configObj, null, 2));
// Use encodeURIComponent to handle Unicode characters properly
const jsonString = JSON.stringify(configObj, null, 2);
return btoa(unescape(encodeURIComponent(jsonString)));
};
return (

View File

@@ -120,7 +120,6 @@ const TemplateGrid: React.FC<TemplateGridProps> = ({ view }) => {
return matchesSearch && matchesTags;
});
console.log("ffiltered tem", filtered.length);
setTemplatesCount(filtered.length);
setFilteredTemplates(filtered);
}, [searchQuery, selectedTags]);