feat: add Husky hooks and fix provider tutorial UI/logic

- Add Husky pre-commit and pre-push hooks for linting, type checking, and build validation
- Fix visual hierarchy bug in the provider onboarding tutorial
- Remove feedback modal
- Move MinIO bucket creation logic to before app startup
- Wire MiniMax audio through voice generation pipeline
- Fix scene insertion issues
- Fix portal tutorial modal and harden panel variant task flow
This commit is contained in:
saturn
2026-03-09 02:42:35 +08:00
parent 881ed44996
commit fba480ae6e
34 changed files with 721 additions and 247 deletions

View File

@@ -165,8 +165,6 @@ function NovelPromotionWorkspaceContent(props: NovelPromotionWorkspaceProps) {
scriptToStoryboardConsoleMinimized={vm.execution.scriptToStoryboardConsoleMinimized}
onStoryToScriptMinimizedChange={vm.execution.setStoryToScriptConsoleMinimized}
onScriptToStoryboardMinimizedChange={vm.execution.setScriptToStoryboardConsoleMinimized}
projectId={projectId}
episodeId={episodeId}
hideMinimizedBadges={vm.execution.showCreatingToast}
/>
</div>

View File

@@ -424,6 +424,9 @@ AI 将根据您的文本智能分析:
style: artStyleDisplayLabel
})}
</p>
<p className="text-xs text-[var(--glass-text-tertiary)] mt-1 text-center">
{t("storyInput.assetLibraryRatioNote")}
</p>
<p className="text-xs text-[var(--glass-text-tertiary)] mt-1 text-center">
{t("storyInput.moreConfig")}
</p>

View File

@@ -32,8 +32,6 @@ type RunStreamState = {
payload: Record<string, unknown> | null
errorMessage: string
}>
projectId?: string
episodeId?: string | null
}
interface WorkspaceRunStreamConsolesProps {
@@ -43,8 +41,6 @@ interface WorkspaceRunStreamConsolesProps {
scriptToStoryboardConsoleMinimized: boolean
onStoryToScriptMinimizedChange: (next: boolean) => void
onScriptToStoryboardMinimizedChange: (next: boolean) => void
projectId: string
episodeId?: string | null
hideMinimizedBadges?: boolean
}
@@ -55,8 +51,6 @@ export default function WorkspaceRunStreamConsoles({
scriptToStoryboardConsoleMinimized,
onStoryToScriptMinimizedChange,
onScriptToStoryboardMinimizedChange,
projectId,
episodeId,
hideMinimizedBadges,
}: WorkspaceRunStreamConsolesProps) {
const t = useTranslations('progress')
@@ -174,9 +168,6 @@ export default function WorkspaceRunStreamConsoles({
showCursor={storyToScriptShowCursor}
autoScroll={storyToScriptStream.selectedStep?.id === storyToScriptStream.activeStepId}
errorMessage={storyToScriptStream.errorMessage}
feedbackStage="assets"
projectId={projectId}
episodeId={episodeId}
topRightAction={(
<div className="flex items-center gap-2">
<button
@@ -229,9 +220,6 @@ export default function WorkspaceRunStreamConsoles({
showCursor={scriptToStoryboardShowCursor}
autoScroll={scriptToStoryboardStream.selectedStep?.id === scriptToStoryboardStream.activeStepId}
errorMessage={scriptToStoryboardStream.errorMessage}
feedbackStage="storyboard"
projectId={projectId}
episodeId={episodeId}
topRightAction={(
<div className="flex items-center gap-2">
<button