Renovate mitigation panels and messages

This commit is contained in:
2026-02-15 21:02:40 +00:00
parent 63af5d234e
commit cc3fff0757
12 changed files with 1518 additions and 236 deletions

View File

@@ -18,6 +18,31 @@
</div>
<div class="column is-5">
<div class="box">
<p class="heading">Conversation Overview</p>
{% if overview_rows %}
{% for row in overview_rows %}
<article class="message is-light" style="margin-bottom: 0.45rem;">
<div class="message-body" style="padding: 0.45rem 0.55rem;">
<p class="is-size-7 has-text-grey" style="margin-bottom: 0.12rem;">
{{ row.group_title }}
</p>
<p style="margin-bottom: 0.3rem;">
<strong>{{ row.title }}:</strong> {{ row.value|default:"-" }}
</p>
<a
class="tag is-light"
href="{% url 'ai_workspace_insight_detail' type='page' person_id=person.id metric=row.slug %}">
View Detail
</a>
</div>
</article>
{% endfor %}
{% else %}
<p class="is-size-7 has-text-grey">No conversation metadata available yet.</p>
{% endif %}
</div>
<div class="box">
<p class="heading">Commitment Directionality</p>
<p class="title is-5" style="margin-bottom: 0.35rem;">{{ directionality.direction_label }}</p>

View File

@@ -0,0 +1,20 @@
{% extends "index.html" %}
{% block load_widgets %}
<div
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-get="{{ contacts_widget_url }}"
hx-target="#widgets-here"
hx-trigger="load"
hx-swap="afterend"
style="display: none;"></div>
{% if initial_widget_url %}
<div
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-get="{{ initial_widget_url }}"
hx-target="#widgets-here"
hx-trigger="load delay:250ms"
hx-swap="afterend"
style="display: none;"></div>
{% endif %}
{% endblock %}