diff --git a/plugins/message_summary/templates/gemini_summary_card.html b/plugins/message_summary/templates/gemini_summary_card.html index 8b8f1a6..b84aec7 100644 --- a/plugins/message_summary/templates/gemini_summary_card.html +++ b/plugins/message_summary/templates/gemini_summary_card.html @@ -4,455 +4,119 @@ {{ title }} + + - -
-
-
-
-

CHAT INSIGHTS REPORT

-

ID: {{ generated_at }}

+ +
+
+
+
+

CHAT INSIGHTS REPORT

+

ID: {{ generated_at }}

+
+
{{ summary_metrics.activity_badge or "Daily Archive" }}
-
{{ summary_metrics.activity_badge or "Daily Archive" }}
-
-
- {% for card in summary_metrics.kpi_cards|default([]) %} -
- {{ card.label }} - {{ card.value }} + +
+ {% for card in summary_metrics.kpi_cards|default([]) %} +
+ {{ card.label }} + {{ card.value }} +
+ {% endfor %} +
+
+ +
+ # Personal Interest Radar +
+ {% for tag in summary_metrics.topic_tags|default([]) %} + {{ tag }} + {% endfor %} + {% if not (summary_metrics.topic_tags|default([])) %} + 暂无热点标签 + {% endif %}
- {% endfor %}
- -
- # Personal Interest Radar -
- {% for tag in summary_metrics.topic_tags|default([]) %} - {{ tag }} - {% endfor %} - {% if not (summary_metrics.topic_tags|default([])) %} - 暂无热点标签 - {% endif %} -
-
+
+ # {{ summary_doc_title or title }} +
+

{{ summary_lead or "暂无总结内容。" }}

+
-
- # {{ summary_doc_title or title }} -

{{ summary_lead or "暂无总结内容。" }}

- - # Key Discussions -
+ # Key Discussions {% for topic in summary_topics|default([]) %} -
-
-

{{ "%02d"|format(loop.index) }}. {{ topic["title"] }}

-
+
+
+ {{ "%02d"|format(loop.index) }}. {{ topic["title"] }} +
{% if topic["time_range"] or topic["participants"] %} -
+
{% if topic["time_range"] %}
时段:{{ topic["time_range"] }}
{% endif %} {% if topic["participants"] %}
参与人数:{{ topic["participants"] }}
{% endif %}
{% endif %} {% if topic["analysis_points"]|default([]) %} -
- Background -

{{ topic["analysis_points"][0] }}

+
+ Background +

{{ topic["analysis_points"][0] }}

{% endif %} {% if topic["overview_points"]|default([]) %} -
- Key Points -
    +
    + Key Points +
      {% for line in topic["overview_points"] %}
    • {{ line }}
    • {% endfor %} @@ -462,82 +126,89 @@ {% if topic["quote_text"] %}
      - Conclusion -

      {{ topic["quote_text"] }}

      + Conclusion +

      {{ topic["quote_text"] }}

      {% endif %} -
+
{% endfor %} -
- {% if not (summary_topics|default([])) %} -

{{ summary_fallback_text }}

- {% endif %} + {% if not (summary_topics|default([])) %} +

{{ summary_fallback_text }}

+ {% endif %} +
{% if summary_resource_hub|default([]) %} -
- # Shared Resources -
+
+ # Shared Resources +
{% for item in summary_resource_hub %} -
-
- {{ item.icon }} - {{ item.title }} +
+
+ {{ item.icon }} + {{ item.title }}
- +
{% endfor %}
-
+ {% endif %} -
-
- # Marketplace - {% for line in summary_marketplace|default([]) %} -

{{ line }}

- {% endfor %} - {% if not (summary_marketplace|default([])) %} -

暂无交易信息

- {% endif %} -
-
- # Unresolved Pool - {% for line in summary_unresolved_pool|default([]) %} -

{{ line }}

- {% endfor %} - {% if not (summary_unresolved_pool|default([])) %} -

暂无待解问题

- {% endif %} -
-
+
+
+ # Marketplace +
+ {% for line in summary_marketplace|default([]) %} +

{{ line }}

+ {% endfor %} + {% if not (summary_marketplace|default([])) %} +

暂无交易信息

+ {% endif %} +
+
+
+ # Unresolved Pool +
+ {% for line in summary_unresolved_pool|default([]) %} +

{{ line }}

+ {% endfor %} + {% if not (summary_unresolved_pool|default([])) %} +

暂无待解问题

+ {% endif %} +
+
+
-
-
- # Core Knowledge Points +
+
+ # Core Knowledge Points {% for line in summary_core_points|default([]) %} -

{{ line }}

+

{{ line }}

{% endfor %} {% if not (summary_core_points|default([])) %} -

暂无核心知识点

- {% endif %} -
-
- -
- Top Contributors -
- {% for name in summary_top_contributors|default([]) %} - {{ name[:1] }} - {% endfor %} - {% if not (summary_top_contributors|default([])) %} - ABC +

暂无核心知识点

{% endif %}
- - - + + + +
+ Engine: Playwright · Tokens: {{ summary_metrics.token_total }} · Latency: {{ summary_metrics.latency_text }} +