feat(modernization): promote deferred routes to in-scope and unify page header styles
Promote /tables, /excel-query, /query-tool, /mid-section-defect from deferred to full shell-governed in-scope routes with canonical redirects, content contracts, governance artifacts, and updated CI gates. Unify all page header gradients to #667eea → #764ba2 and h1 font-size to 24px for visual consistency across all dashboard pages. Remove Native Route-View dev annotations from job-query, excel-query, and query-tool headers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -88,6 +88,10 @@ def _route_css_targets() -> dict[str, list[Path]]:
|
||||
"/tmtt-defect": [ROOT / "frontend/src/tmtt-defect/style.css"],
|
||||
"/admin/pages": [ROOT / "src/mes_dashboard/templates/admin/pages.html"],
|
||||
"/admin/performance": [ROOT / "src/mes_dashboard/templates/admin/performance.html"],
|
||||
"/tables": [ROOT / "frontend/src/tables/style.css"],
|
||||
"/excel-query": [ROOT / "frontend/src/excel-query/style.css"],
|
||||
"/query-tool": [ROOT / "frontend/src/query-tool/style.css"],
|
||||
"/mid-section-defect": [ROOT / "frontend/src/mid-section-defect/style.css"],
|
||||
}
|
||||
|
||||
|
||||
@@ -129,9 +133,9 @@ def _check_scope_matrix(scope_matrix: dict[str, Any], report: CheckReport) -> tu
|
||||
report.fail("scope matrix has no in-scope routes")
|
||||
if "/admin/pages" not in in_scope or "/admin/performance" not in in_scope:
|
||||
report.fail("scope matrix must include /admin/pages and /admin/performance")
|
||||
required_deferred = {"/tables", "/excel-query", "/query-tool", "/mid-section-defect"}
|
||||
required_deferred: set[str] = set()
|
||||
if deferred != required_deferred:
|
||||
report.fail("scope matrix deferred routes mismatch expected policy")
|
||||
report.fail("scope matrix deferred routes mismatch expected policy (all routes promoted to in-scope)")
|
||||
return in_scope, deferred
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user