gabriel / musehub public
intel_hotspots.html html
49 lines 1.9 KB
Raw
sha256:e519738f2102d625d47828a17d113283cd744577b43551013cb668fd04f1c3fe chore(mwp8/phase5): tick all RG checkboxes; close-out doc (… Sonnet 4.6 18 days ago
1 {% extends "musehub/base.html" %}
2
3 {% block title %}Hotspots · {{ owner }}/{{ repo_slug }}{% endblock %}
4 {% block breadcrumb %}
5 <a href="/{{ owner }}">{{ owner }}</a> /
6 <a href="{{ base_url }}">{{ repo_slug }}</a> /
7 <a href="{{ base_url }}/intel">intel</a> /
8 hotspots
9 {% endblock %}
10 {% block repo_nav %}{% include "musehub/partials/repo_nav.html" %}{% endblock %}
11
12 {% block content %}
13 <div class="intel-wrap">
14
15 <div class="intel-subhd">
16 <a href="{{ base_url }}/intel" class="intel-back">← Intel Hub</a>
17 <div class="intel-subhd-title intel-subhd-title--spectral"><span style="color:var(--color-warning)">{{ icon("flame", 16) }}</span> Hotspots</div>
18 <div class="intel-subhd-desc">Symbols ranked by change frequency — these are your highest-churn code paths.</div>
19 </div>
20
21 {% if intel.hotspots %}
22 <div class="intel-full-list">
23 {%- set max_chg = intel.hotspots[0].change_count | default(1) -%}
24 {% for h in intel.hotspots %}
25 <div class="intel-hs-row">
26 <div class="intel-hs-meta">
27 <a href="{{ base_url }}/symbols?q={{ h.address | urlencode }}" class="intel-hs-addr" title="{{ h.address }}">{{ h.address }}</a>
28 {% if h.last_changed %}
29 <span class="intel-hs-ts">last changed {{ h.last_changed[:10] }}</span>
30 {% endif %}
31 </div>
32 <div class="intel-hs-bar-wrap">
33 <div class="intel-bar-track intel-bar-track--full">
34 <div class="intel-bar-fill intel-bar-fill--hot" style="width:{{ ((h.change_count / max_chg) * 100) | round | int }}%"></div>
35 </div>
36 <span class="intel-bar-val">{{ h.change_count | fmtnum }} change{{ "s" if h.change_count != 1 else "" }}</span>
37 </div>
38 </div>
39 {% endfor %}
40 </div>
41 {% else %}
42 <div class="intel-empty-state">
43 {{ icon("flame", 32, "icon--light-stroke") }}
44 <div>No hotspot data. Push some commits to populate the symbol index.</div>
45 </div>
46 {% endif %}
47
48 </div>
49 {% endblock %}
File History 2 commits
sha256:e519738f2102d625d47828a17d113283cd744577b43551013cb668fd04f1c3fe chore(mwp8/phase5): tick all RG checkboxes; close-out doc (… Sonnet 4.6 18 days ago
sha256:0e5174da777684df43b2db71f282079030ef28bacffb93e19c29ee712b2a8bc4 test(mwp8/phase0): audit — repair+force-push leave stale ca… Sonnet 4.6 20 days ago