package app.closer.ui.questions

import androidx.compose.runtime.Composable
import androidx.compose.material3.MaterialTheme
import androidx.compose.ui.tooling.preview.Preview
import app.closer.core.navigation.AppRoute
import app.closer.ui.components.FinishedEmptyStateAction
import app.closer.ui.components.FinishedEmptyStateScreen

@Composable
fun QuestionComposerScreen(
    onNavigate: (String) -> Unit = {}
) {
    FinishedEmptyStateScreen(
        eyebrow = "Questions",
        title = "Create a question with care",
        body = "Custom prompts are coming soon. For now, start from a pack so the tone stays clear, generous, and easy to answer.",
        glyphCategoryId = "question",
        primaryAction = FinishedEmptyStateAction("Browse packs", AppRoute.QUESTION_PACKS),
        secondaryAction = FinishedEmptyStateAction("Daily question", AppRoute.DAILY_QUESTION),
        accent = MaterialTheme.colorScheme.primary,
        details = listOf(
            "Choose prompts already shaped for real conversation.",
            "Keep the next step focused on answering, not drafting.",
            "Return here when saved custom prompts are ready."
        ),
        onNavigate = onNavigate
    )
}

@Preview
@Composable
fun QuestionComposerScreenPreview() {
    QuestionComposerScreen()
}
