views.js sat at the project's 750-line limit, so the diff cap in the previous commit pushed it over and every further change would have meant shaving comments elsewhere. That is the file asking for decomposition, which is what the architecture audit says to do. Diff rendering is self-contained: the line cap, the line classifier and the change-map illustration depend on nothing in views.js beyond ui and escapeHtml. They now live in src/renderer/diff-view.js and are registered in index.html and in the three renderer file lists that scan the bridge surface, so anything added there is covered by the existing contract tests. views.js drops from 755 to 714 lines and no source file exceeds 750 again. The nested ternary that classified a diff line became a named function with guard clauses on the way. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
38 lines
1.5 KiB
HTML
38 lines
1.5 KiB
HTML
<!doctype html>
|
|
<html lang="en" data-theme="dark">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="color-scheme" content="dark light" />
|
|
<title>ForgeFlow</title>
|
|
<link rel="icon" type="image/png" href="./assets/itworx-mark.png" />
|
|
<link rel="stylesheet" href="styles.css" />
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<div class="boot-screen">
|
|
<img class="boot-brand-logo" src="./assets/itworx-mark.png" alt="ITWorx.tech"/>
|
|
<strong>Starting ForgeFlow</strong>
|
|
<span>Checking Git and local configuration…</span>
|
|
</div>
|
|
</div>
|
|
<div id="toast-root" class="toast-root" aria-live="assertive"></div>
|
|
<script defer src="mock-repository-bridge.js"></script>
|
|
<script defer src="mock-deployment-bridge.js"></script>
|
|
<script defer src="mock-bridge.js"></script>
|
|
<script defer src="app.js"></script>
|
|
<script defer src="diff-view.js"></script>
|
|
<script defer src="views.js"></script>
|
|
<script defer src="dialogs.js"></script>
|
|
<script defer src="operations.js"></script>
|
|
<script defer src="actions/shell.js"></script>
|
|
<script defer src="actions/inventory.js"></script>
|
|
<script defer src="actions/deployment-profile.js"></script>
|
|
<script defer src="actions/deployment-operation.js"></script>
|
|
<script defer src="actions/setup-and-settings.js"></script>
|
|
<script defer src="actions/recovery.js"></script>
|
|
<script defer src="actions/command.js"></script>
|
|
<script defer src="events.js"></script>
|
|
</body>
|
|
</html>
|