Skip to content

AI Page Generation - code is displayed, but it is not visible and not interactable #4082

Description

@Rhobyte

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Sometimes when generating code through AI of a page, the preview displays nothing graphically, but when you check the code there is code. Sometimes inserting the page results in the controls being visible and you are able to continue (although it is a risk as it counts against the page insertion and you might not get what you envisioned, but have no way of viewing it).

2024-10-17 12_01_28-Clipboard

Recently though, this has gone to another step in that while the page has been inserted, I am not able to view the controls and when you run it in test mode, it behaves as if nothing is there either:

Screenshot 2024-10-17 121741

Expected Behavior

It is expected (and has happened in the past) that the preview shows the AI generated page and that should a user insert it, they should be able to interact with the controls and continue with the page creation

Steps to Reproduce

  1. Click Create Page
  2. Click from AI
  3. Enter a description
  4. Click to Generate
  5. ... Screen image should generate reflecting the generated code
  6. Click insert page
  7. Click on object - they should be selectable
  8. Click Test Run
  9. Objects should be displayed and interactable

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4CzOfl4ot1od9E1aqMbcBF9SkRNkw8RY0N0tVHRQIdJ5PMC+wIZ/f7XFRuTde0S1Y+M1qkhnMz+fvemvOWEcE3HASqf4hR/pd2UDnMJWKlaJCNPqWZOG5/DcpPFWK706bQpCRNNfVhSXwd7U7zP9iyVg7aHZzKClUZMOSbKZOK2SrDX1iXc2URm05KZDPz

Visual documentation

Screenshot 2024-10-17 121741
2024-10-17 12_01_28-Clipboard

Environment

- FlutterFlow version: 5.0.6+
- Platform: Web and Desktop
- Browser name and version: Chrome Version 129.0.6668.90 (Official Build) (64-bit)
- Operating system and version affected: Win 11

Additional Information

No response

Metadata

Metadata

Assignees

Labels

status: can't reproduceFollowing the reported steps did not reproduce the bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions