Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion heart/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ def _render_html(board: Board) -> str:
panel = t_.orchestration_panel(
"heart", "Fix Heart systematically", "",
(board.fix_plan or build_fix_plan(board))["prompt"],
work_links=work_links, copy_label="Fix Heart systematically")
work_links=work_links, copy_label="Fix Heart systematically", organ="heart")
return f"""<!doctype html>
<html lang="en"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dashboard_disclosures.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_score_and_resusitate_sections_keep_breakdown_and_readiness():
('validation_absent', 15)]]
root = Page(dashboard._render_html(board)).root
headings = [h.text() for h in root.find('h2')]
assert headings == ['Fix Heart systematically', 'Observed checks', 'Score', 'Evidence gaps (3)']
assert headings == ['Keep your Heart healthy', 'Observed checks', 'Score', 'Evidence gaps (3)']
score = next(s for s in root.find('section')
if s.attrs.get('aria-labelledby') == 'score-heading')
assert '65/100' in score.text() and 'Release readiness: STALE' in score.text()
Expand Down
Loading