# Generated manually for AI assistant widget settings support.
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("ai_assistant", "0001_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="aiassistantsitesettings",
            name="customer_display_mode",
            field=models.CharField(
                choices=[
                    ("page", "Page only"),
                    ("widget", "Widget only"),
                    ("both", "Page and widget"),
                    ("disabled", "Disabled"),
                ],
                default="page",
                help_text="Choose whether public chat is shown as a page, widget, both, or disabled.",
                max_length=16,
                verbose_name="Customer display mode",
            ),
        ),
        migrations.AddField(
            model_name="aiassistantsitesettings",
            name="hide_widget_on_checkout",
            field=models.BooleanField(
                default=True,
                verbose_name="Hide widget on basket, checkout, and payment pages",
            ),
        ),
        migrations.AddField(
            model_name="aiassistantsitesettings",
            name="widget_launcher_label",
            field=models.CharField(
                blank=True,
                default="",
                help_text="Optional short label shown next to the floating launcher.",
                max_length=40,
                verbose_name="Widget launcher label",
            ),
        ),
        migrations.AddField(
            model_name="aiassistantsitesettings",
            name="widget_position",
            field=models.CharField(
                choices=[
                    ("bottom-right", "Bottom right"),
                    ("bottom-left", "Bottom left"),
                ],
                default="bottom-right",
                max_length=20,
                verbose_name="Widget position",
            ),
        ),
        migrations.AddField(
            model_name="aiassistantsitesettings",
            name="widget_title",
            field=models.CharField(
                blank=True,
                default="",
                help_text="Title shown in the floating chat header.",
                max_length=80,
                verbose_name="Widget title",
            ),
        ),
        migrations.AddField(
            model_name="aiassistantsitesettings",
            name="widget_welcome_text",
            field=models.TextField(
                blank=True,
                default="",
                help_text="Optional helper text shown before the first message.",
                verbose_name="Widget welcome text",
            ),
        ),
    ]
