refactor: extract shared mixins and helpers, drop dead abstractions

Introduces shared seams for paginated views, D-pad reorder, media control
routing, async singletons and the device method channel, then points the
open-coded copies at them.

Also removes unused models and duplicated provider/server plumbing, folds
the twice-implemented artifact store in the server, and factors the
repeated Flutter toolchain prologue in CI into a composite action.
This commit is contained in:
edde746
2026-07-26 06:09:48 +02:00
parent 61344f7862
commit 352b88109b
217 changed files with 6813 additions and 8773 deletions
+5 -5
View File
@@ -5,6 +5,8 @@ from pathlib import Path
import re
import sys
from workflow_yaml import job_block
WORKFLOW = Path(__file__).resolve().parents[1] / ".github/workflows/update-packages.yml"
text = WORKFLOW.read_text(encoding="utf-8")
@@ -17,11 +19,9 @@ def require(condition: bool, message: str) -> None:
def job(name: str) -> str:
match = re.search(
rf"(?ms)^ {re.escape(name)}:\n(.*?)(?=^ [a-zA-Z0-9_-]+:\n|\Z)", text
)
require(match is not None, f"missing {name} job")
return match.group(0) if match else ""
block = job_block(text, name)
require(bool(block), f"missing {name} job")
return block
require(