Architectural change - #214
Draft
BilgeGates wants to merge 20 commits into
Draft
Conversation
BilgeGates
marked this pull request as draft
July 23, 2026 07:45
BilgeGates
force-pushed
the
architecture-rewrite
branch
from
July 31, 2026 21:44
4f19330 to
4829d6b
Compare
| app.get("/fen-history", fenHistoryController.index); | ||
| app.get("/advanced-fen", advancedFenController.index); | ||
|
|
||
| app.get("/auth/sign-in", authController.signInPage); |
| app.get("/advanced-fen", advancedFenController.index); | ||
|
|
||
| app.get("/auth/sign-in", authController.signInPage); | ||
| app.get("/auth/sign-up", authController.signUpPage); |
|
|
||
| app.get("/auth/sign-in", authController.signInPage); | ||
| app.get("/auth/sign-up", authController.signUpPage); | ||
| app.get("/auth/forgot-password", authController.forgotPasswordPage); |
| 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)
| 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 = (() => { | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Architecture is being rebuilt