feat: collapse full KPI block on dashboard with details/summary

This commit is contained in:
Арсентьев Александр
2026-09-30 18:59:06 +03:00
parent 8fbcbf6899
commit 39adbf32e2
7 changed files with 651 additions and 22 deletions
+2 -2
View File
@@ -406,11 +406,11 @@ def test_project_page_status_badge_and_package_button(tmp_path):
html = client.get(f"/projects/{pid}").text
assert "text-bg-warning" in html # on_hold
assert "Приостановлен" in html
# Package button is normal size (no w-100 on that button)
# Package button fits its column responsively
import re
match = re.search(r'<button type="submit" class="([^"]*)">Сформировать комплект</button>', html)
assert match
assert "w-100" not in match.group(1)
assert "w-100" in match.group(1) or "w-auto" in match.group(1)
finally:
_clear(*ALL_DEPS)
engine.dispose()