"""Conversation placeholder routes.

Moved from app.admin_dashboard in v4.7.2. The handlers still reuse
legacy helpers to keep this refactor behavior-preserving.
"""
from fastapi import APIRouter
import app.admin_dashboard as legacy
from app.admin_dashboard import *  # noqa: F401,F403

router = APIRouter()


@router.get("/conversations", response_class=HTMLResponse)
@router.get("/conversas", response_class=HTMLResponse)
async def conversations_page():
    body = '''
    <section class="cf-empty">
      <h2 class="h5">Conversas</h2>
      <p class="mb-0">A inbox continua no Chatwoot. Esta página fica reservada para a vista consolidada de conversas dentro do ClientFlow.</p>
    </section>
    '''
    return layout("Conversas", "Vista futura de conversas sincronizadas", body, "conversations")


