Skip to content

"Get started with your new Static Space" dialog appears on every page load for spaces with force-pushed history #1757

@felladrin

Description

@felladrin

Bug description

When I access my Hugging Face Space, a dialog box titled "Get started with your new Static Space" keeps appearing. This dialog should not show up because I have already submitted files to the space repository. The space displays the content of the page correctly (a list of AI web search apps) behind the dialog box.

Screenshot:
Image

Note: The dialog box only appears when I'm logged in with my account. If I access the space in incognito mode, it's not displayed.

Expected behavior

The dialog box should not appear since the space has already been set up with content. The space should load without showing the "Get started with your new Static Space" dialog.

Additional context

This issue happens only with spaces using sdk: static. And I believe the cause of this issue might be due to using git push -f, which results in there being only one commit in the repository. This might be confusing the system into thinking the space is new and uninitialized.

Image

Details:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions