Skip to content

Architectural change - #214

Draft
BilgeGates wants to merge 20 commits into
masterfrom
architecture-rewrite
Draft

Architectural change#214
BilgeGates wants to merge 20 commits into
masterfrom
architecture-rewrite

Conversation

@BilgeGates

Copy link
Copy Markdown
Member

Architecture is being rebuilt

Copilot AI review requested due to automatic review settings July 23, 2026 07:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added enhancement New feature or improvement dependencies Dependency updates (Dependabot / Renovate) labels Jul 23, 2026
@BilgeGates BilgeGates changed the title feat: add SSR server foundation with Hono and Alpine.js Architectural change Jul 23, 2026
@BilgeGates
BilgeGates marked this pull request as draft July 23, 2026 07:45
@BilgeGates BilgeGates removed the dependencies Dependency updates (Dependabot / Renovate) label Jul 23, 2026
@chessviewer-org chessviewer-org locked and limited conversation to collaborators Jul 23, 2026
Copilot AI review requested due to automatic review settings July 23, 2026 07:54
@chessviewer-org chessviewer-org unlocked this conversation Jul 23, 2026
@github-actions github-actions Bot added the dependencies Dependency updates (Dependabot / Renovate) label Jul 23, 2026
@BilgeGates BilgeGates removed the dependencies Dependency updates (Dependabot / Renovate) label Jul 26, 2026
@github-actions github-actions Bot added dependencies Dependency updates (Dependabot / Renovate) area: ci CI pipelines, hooks, and tooling area: auth Authentication, Supabase, and cloud sync labels Jul 31, 2026
@BilgeGates BilgeGates removed dependencies Dependency updates (Dependabot / Renovate) area: ci CI pipelines, hooks, and tooling area: auth Authentication, Supabase, and cloud sync labels Jul 31, 2026
@github-actions github-actions Bot added area: ci CI pipelines, hooks, and tooling area: auth Authentication, Supabase, and cloud sync labels Jul 31, 2026
@BilgeGates BilgeGates removed dependencies Dependency updates (Dependabot / Renovate) area: ci CI pipelines, hooks, and tooling area: auth Authentication, Supabase, and cloud sync labels Jul 31, 2026
@BilgeGates
BilgeGates force-pushed the architecture-rewrite branch from 4f19330 to 4829d6b Compare July 31, 2026 21:44
@github-actions github-actions Bot added documentation Documentation only dependencies Dependency updates (Dependabot / Renovate) area: ci CI pipelines, hooks, and tooling area: auth Authentication, Supabase, and cloud sync labels Jul 31, 2026
Comment thread app/routes.ts
app.get("/fen-history", fenHistoryController.index);
app.get("/advanced-fen", advancedFenController.index);

app.get("/auth/sign-in", authController.signInPage);
Comment thread app/routes.ts
app.get("/advanced-fen", advancedFenController.index);

app.get("/auth/sign-in", authController.signInPage);
app.get("/auth/sign-up", authController.signUpPage);
Comment thread app/routes.ts

app.get("/auth/sign-in", authController.signInPage);
app.get("/auth/sign-up", authController.signUpPage);
app.get("/auth/forgot-password", authController.forgotPasswordPage);
Comment thread app/routes.ts
app.get("/auth/sign-in", authController.signInPage);
app.get("/auth/sign-up", authController.signUpPage);
app.get("/auth/forgot-password", authController.forgotPasswordPage);
app.get("/auth/mfa", authController.mfaPage);

const filePath = join(PUBLIC_DIR, "piece", style, `${key}.svg`);
try {
if (!existsSync(filePath)) {
cache[key] = "";
return "";
}
const svg = readFileSync(filePath);
- SSR renders empty board-wrap; client builds board via ChessViewer.createBoard
- editor-state.js delegates board rendering to state.board (syncBoard/syncSelection)
- remove dead renderBoard/renderCoords/buildBoard client code
- compile library to public/compiled/chess-viewer.js via build-lib script
- robustness: rate-limited request logger, page-cache middleware, error handler
- fix stylelint ignoreFiles config (ignorePatterns was never honored)
Comment thread public/export-page.js Fixed
Comment thread public/export-page.js Fixed
Comment thread public/export-page.js Fixed
Comment thread public/export-page.js Fixed
Comment thread public/editor-state.js Fixed
Comment thread public/fen-history.js Fixed
Comment thread public/fen-history.js Fixed
Comment thread public/editor-state.js Fixed
data-contrast-option="${value}"
class="settings-contrast-card ${active ? "settings-contrast-card-active" : ""}"
>
${raw(Contrast("settings-contrast-icon ${active ? 'settings-contrast-icon-active' : ''}"))}
@@ -0,0 +1,1520 @@
var ChessViewer = (() => {
@github-actions github-actions Bot added the area: export Canvas and SVG export pipeline label Aug 3, 2026
@chessviewer-org chessviewer-org locked and limited conversation to collaborators Aug 3, 2026
@BilgeGates BilgeGates removed documentation Documentation only dependencies Dependency updates (Dependabot / Renovate) area: ci CI pipelines, hooks, and tooling area: export Canvas and SVG export pipeline area: auth Authentication, Supabase, and cloud sync labels Aug 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants