Description
When a schema sync is in progress on the schema view, the NoNodeTypesEmptyState component briefly flashes (e.g., "No Node Labels Available") before the schema finishes loading and the actual content appears. This creates a jarring visual experience.
The issue was introduced when the SchemaDiscoveryBoundary was reordered to show the loading state before checking for existing data. During the transition between the loading spinner completing and the schema data being available, the empty state renders for a frame or two.
Steps to Reproduce
- Open the schema view with a connected database
- Trigger a schema sync (or refresh the page)
- Observe a brief flash of "No Node Labels Available" before the schema graph renders
Expected Behavior
The schema view should transition directly from the loading state to the populated schema view without showing the empty state message.
Related Issues
Description
When a schema sync is in progress on the schema view, the
NoNodeTypesEmptyStatecomponent briefly flashes (e.g., "No Node Labels Available") before the schema finishes loading and the actual content appears. This creates a jarring visual experience.The issue was introduced when the
SchemaDiscoveryBoundarywas reordered to show the loading state before checking for existing data. During the transition between the loading spinner completing and the schema data being available, the empty state renders for a frame or two.Steps to Reproduce
Expected Behavior
The schema view should transition directly from the loading state to the populated schema view without showing the empty state message.
Related Issues