1
0
Fork 0
mirror of https://github.com/s-frick/effigenix.git synced 2026-03-28 13:59:36 +01:00

feat(production): TUI-Screens für Produktionsschritte verwalten

Produktionsschritte im RecipeDetailScreen anzeigen, hinzufügen und
entfernen. Neuer AddProductionStepScreen mit Formular für stepNumber,
description, durationMinutes und temperatureCelsius.
This commit is contained in:
Sebastian Frick 2026-02-19 19:38:14 +01:00
parent 1e12353b9b
commit 63f51bc1a9
8 changed files with 290 additions and 6 deletions

View file

@ -41,6 +41,7 @@ import { ProductionMenu } from './components/production/ProductionMenu.js';
import { RecipeListScreen } from './components/production/RecipeListScreen.js';
import { RecipeCreateScreen } from './components/production/RecipeCreateScreen.js';
import { RecipeDetailScreen } from './components/production/RecipeDetailScreen.js';
import { AddProductionStepScreen } from './components/production/AddProductionStepScreen.js';
function ScreenRouter() {
const { isAuthenticated, loading } = useAuth();
@ -107,6 +108,7 @@ function ScreenRouter() {
{current === 'recipe-list' && <RecipeListScreen />}
{current === 'recipe-create' && <RecipeCreateScreen />}
{current === 'recipe-detail' && <RecipeDetailScreen />}
{current === 'recipe-add-production-step' && <AddProductionStepScreen />}
</MainLayout>
);
}