Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

fix(creator): restore local preset compilation and align tab test

卡皮巴拉b951c88eeb11
diff --git a/apps/daemon/src/creator/presets/compiler.ts b/apps/daemon/src/creator/presets/compiler.ts
index 918f1583..76e64668 100644
--- a/apps/daemon/src/creator/presets/compiler.ts
+++ b/apps/daemon/src/creator/presets/compiler.ts
@@ -687,6 +687,7 @@ function comparePresets(left: CompiledCreatorPreset, right: CompiledCreatorPrese
async function sortedDirectoryEntries(directory: string) {
return (await readdir(directory, { withFileTypes: true }))
+ .filter(entry => entry.name !== '.DS_Store')
.sort((left, right) => left.name.localeCompare(right.name));
}
diff --git a/apps/web/src/styles/app-css.test.ts b/apps/web/src/styles/app-css.test.ts
index 4106e90e..199e7a78 100644
--- a/apps/web/src/styles/app-css.test.ts
+++ b/apps/web/src/styles/app-css.test.ts
@@ -802,7 +802,7 @@ describe('app CSS visual contracts', () => {
expect(cssBlock('.conversation-page.is-empty .composer-stack')).toContain('width: min(760px, 100%);');
expect(cssBlock('.creator-home-wrap')).toContain('overflow-y: auto;');
expect(cssBlock('.creator-home-wrap .creator-dashboard')).toContain('margin: 0 auto;');
- expect(cssBlock('.creator-template-tabs')).toContain('grid-template-columns: repeat(4, minmax(0, 1fr));');
+ expect(cssBlock('.creator-template-tabs')).toContain('grid-template-columns: repeat(5, minmax(0, 1fr));');
expect(cssBlock('.creator-template-tabs')).toContain('width: min(760px, 100%);');
expect(cssBlock('.creator-template-grid')).toContain('grid-template-columns: repeat(4, minmax(0, 1fr));');
expect(cssBlock('.creator-template-grid')).toContain('gap: 10px;');