Skip to content

Redirect deprecated Production interface to Preview to prevent crashes#20

Draft
Copilot wants to merge 7 commits intomainfrom
copilot/fix-book-selection-crash
Draft

Redirect deprecated Production interface to Preview to prevent crashes#20
Copilot wants to merge 7 commits intomainfrom
copilot/fix-book-selection-crash

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

Production interface (docs/index.html) crashes on book selection due to known bugs. Interface is deprecated per project docs but redirect was never implemented.

Changes

Auto-redirect logic (docs/index.html):

// Auto-redirect to Preview interface (Production is deprecated with known bugs)
// Allow ?legacy=1 to bypass redirect for testing
if (!window.location.search.includes('legacy=1')) {
  window.location.replace('./preview/');
}

Documentation update (docs/interfaces.md):

  • Clarified legacy bypass parameter (?legacy=1)

Behavior

  • / → redirects to /preview/
  • /?legacy=1 → loads production interface (testing only)
  • Book selection works without crashes in Preview

Screenshots

Preview interface with working book selection:
Book selection working

Preview interface main view:
Preview interface

Original prompt

Production interface is buggy. Either fix or remove. It crashes when I select a book


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 6 commits February 11, 2026 00:34
Co-authored-by: evcatalyst <8740078+evcatalyst@users.noreply.github.com>
Co-authored-by: evcatalyst <8740078+evcatalyst@users.noreply.github.com>
Co-authored-by: evcatalyst <8740078+evcatalyst@users.noreply.github.com>
Co-authored-by: evcatalyst <8740078+evcatalyst@users.noreply.github.com>
Co-authored-by: evcatalyst <8740078+evcatalyst@users.noreply.github.com>
Co-authored-by: evcatalyst <8740078+evcatalyst@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix production interface crash when selecting a book Redirect deprecated Production interface to Preview to prevent crashes Feb 11, 2026
Copilot AI requested a review from evcatalyst February 11, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants