Make the AI Assistant Aware of the Current UI Mode (Preview vs. Code)
The Problem:
Currently, the AI assistant (Buddy) in Firebase Studio is unaware of whether the user is in "Preview Mode" or "Code Mode".
This leads to inefficient and sometimes confusing interactions. For example, when the AI asks the user to check server logs, the user might be in Preview Mode where the terminal is not visible. This requires a back-and-forth conversation where the user has to state they can't see the logs, and the AI then has to explain how to switch to Code Mode to find the terminal.
This entire exchange could be avoided if the AI had context about the user's current view.
Proposed Solution:
Please provide the current UI mode (e.g., "viewmode": "preview" or "viewmode": "code") as part of the context sent to the AI assistant with each user message.
With this context, the AI could provide much more intelligent and direct guidance:
If the user is in Preview Mode: "Okay, first, please switch to Code Mode using the button at the top, then check the terminal at the bottom for any new logs."
If the user is in Code Mode: "Okay, please check the terminal at the bottom of your screen for new logs and tell me what you see."
This small change would significantly streamline the user-AI workflow, reduce friction, and accelerate the debugging process. Thank you for considering this improvement.
Thank you so much for taking the time to share your idea with us and for participating in our community.
Because we have officially announced the sunsetting of Firebase Studio and are currently focusing on the migration process, we are no longer accepting or implementing new feature requests for this product.
We appreciate your support and understanding as we transition to our next chapter.