Skip to content

Fix demo mode black screen no content #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 7, 2025

Conversation

fulleni
Copy link
Member

@fulleni fulleni commented Aug 7, 2025

Description

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

fulleni added 2 commits August 7, 2025 19:21
- Update go_router from 16.0.0 to 16.1.0
- Update auth-inmemory repository ref from f48dc05 to 9c25c6b
- Update core repository ref from 7a1b54f to f648500
- Implement a workaround for the demo environment to handle initial auth state
- Redirect to authentication page if app status is initial in demo mode
- Avoid black screen by forcing authentication page in demo flow
@fulleni fulleni merged commit 0d0df12 into main Aug 7, 2025
0 of 2 checks passed
@fulleni fulleni deleted the fix-demo-mode-black-screen-no-content branch August 7, 2025 18:27
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @fulleni, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

I've implemented a fix to address the "black screen no content" issue that occurs in the demo environment. This change ensures that when the application starts in demo mode with an initial app status, it correctly redirects to the authentication page, preventing the blank screen from appearing.

Highlights

  • Demo Mode Routing Fix: I've added a specific workaround in the router configuration to handle the initial application state in the demo environment. If the app is in an initial status while running in demo mode, it will now explicitly redirect to the authentication page.
  • Dependency Updates: I've updated the pubspec.lock file, which includes an upgrade of the go_router package to version 16.1.0 and updates to the resolved references for the auth-inmemory and core git dependencies.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments or fill out our survey to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses a bug causing a black screen in the demo mode by introducing a workaround in the router's redirect logic. The fix is well-contained and specifically targets a race condition during app startup in the demo environment. While the immediate issue is resolved, I've added a comment suggesting that the underlying race condition in the startup sequence be addressed in a follow-up task to improve long-term maintainability and remove the need for this workaround.

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.

1 participant