fix: the preview page rendered nothing
Some checks failed
Forgejo Android APK / Root app tests (push) Successful in 46s
Forgejo Docker Build / Root app tests (push) Successful in 45s
Forgejo Android APK / Build signed APK (push) Successful in 2m0s
Forgejo Docker Build / Build Docker image (push) Successful in 22s
Forgejo Docker Build / Deploy to the host (push) Failing after 0s
Some checks failed
Forgejo Android APK / Root app tests (push) Successful in 46s
Forgejo Docker Build / Root app tests (push) Successful in 45s
Forgejo Android APK / Build signed APK (push) Successful in 2m0s
Forgejo Docker Build / Build Docker image (push) Successful in 22s
Forgejo Docker Build / Deploy to the host (push) Failing after 0s
/assistant in the address bar, the preview class on the body, and a blank screen. The app container starts hidden and enterApp is what reveals it; enterPreview declined the login overlay without doing the same, which left a hidden app under a hidden overlay. One line. Verified in a browser: composer, chat view, example prompts and the preview note are all visible and sized, with no page or console errors. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU
This commit is contained in:
parent
004fb80a60
commit
cd37a9d728
1 changed files with 4 additions and 0 deletions
|
|
@ -202,6 +202,10 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
function enterPreview() {
|
||||
document.body.classList.add('assistant-preview');
|
||||
if (authScreen) authScreen.style.display = 'none';
|
||||
// The app container starts hidden and enterApp is what reveals it. Declining
|
||||
// the overlay without doing the same left a hidden app under a hidden
|
||||
// overlay — /assistant in the address bar and nothing on the screen.
|
||||
if (mainApp) mainApp.style.display = 'block';
|
||||
if (typeof window.activateTab === 'function') window.activateTab('assistant');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue