Skip to content

Repeating viz panel by query runner on a viz panel (POC) #1340

Draft
torkelo wants to merge 1 commit intomainfrom
viz-panel-repeat-test
Draft

Repeating viz panel by query runner on a viz panel (POC) #1340
torkelo wants to merge 1 commit intomainfrom
viz-panel-repeat-test

Conversation

@torkelo
Copy link
Collaborator

@torkelo torkelo commented Jan 20, 2026

So one of the problems of doing a repeat by label is where the query runner would live, if we move it to AutoGridItem or some "Repeater" object it would create a lot of extra complexity for panel edit, panel inspector and other editing logic.

If we could keep the main query runner on the first source panel it would be ideal. This PR explores how that could be made to work with a data processor that we call before setting data state on the SceneQueryRunner, this processor can then do the repeat logic and filter the data for the source panel.

@torkelo torkelo changed the title Repeating viz panel by query runniner on a viz panel Repeating viz panel by query runner on a viz panel (POC) Jan 20, 2026
@torkelo torkelo marked this pull request as draft January 20, 2026 13:47
children.push(clone);
}

layout.setState({ children });
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ideally this would re-use AutoGridItem repeatedPanels state

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