{% extends "base.html" %} {% from '_upsell.html' import crown_badge, max_badge, beta_pill %} {% block title %}{{ _("Search") }} - ModuleDesk{% endblock %} {% block content %}
{# Header #}

{{ _("Search") }}

{# Search container #}
{# Search input #}
search
{# Filters row #}
{# Extended toggle (Semantic Search — Premium feature) #}
{# Status chips #}
{# Product dropdown #}
{# Index status #} {% if rag_enabled and index_count > 0 %}
check_circle {% set idx_count = index_count | int %} {% trans count=idx_count %}{{ count }} thread indexed{% pluralize %}{{ count }} threads indexed{% endtrans %}
{% elif not rag_enabled %}
warning {{ _("RAG disabled — semantic search unavailable") }}
{% endif %}
{# Results area #}
{# Initial state #}
manage_search

{{ _("Search your support history") }}

{{ _("Describe an issue in natural language to find related tickets") }}

{# Results container #} {# No results #} {# Error state #}
{% endblock %}