ui: локальный Tabler dashboard + 150 проверенных TG-источников и probe 595 каналов
Some checks failed
ci / test (3.10) (push) Has been cancelled
ci / test (3.11) (push) Has been cancelled
ci / test (3.12) (push) Has been cancelled

This commit is contained in:
Vlad Gothbreach
2026-10-27 02:54:29 +03:00
parent c1d2d1bbda
commit cad71c065c
17 changed files with 1467 additions and 1035 deletions

View File

@@ -454,10 +454,10 @@ def test_http_exports_match_feed_filters_and_item_find(monkeypatch):
server.server_close()
thread.join(timeout=5)
def test_web_has_free_panel_block():
"""Вкладка абузов обязана показывать free-панели new-api."""
html = open(os.path.join(ROOT, "web", "index.html"), encoding="utf-8").read()
def test_web_has_local_dashboard_and_free_panel_block():
"""The ready-made UI stays local and retains the free-panel discovery feature."""
html = (ROOT / "web" / "index.html").read_text(encoding="utf-8")
assert "loadPanels" in html
assert "/api/panels" in html
assert "pn-grid" in html
assert ".pn-grid{" in html
assert "/assets/vendor/tabler/tabler.min.css" in html
assert "/assets/vendor/tabler/tabler.min.js" in html