Skip to content

Commit

Permalink
chore(weave): remove runColors as a suggestion from query panels (#3378)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspun-wandb authored Jan 13, 2025
1 parent fef9b9e commit a1d9864
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion weave-js/src/core/suggest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,9 @@ async function autosuggestNodes(

if (node.nodeType === 'void') {
const frame = toFrame(stack);
const variableNames = Object.keys(frame);
const variableNames = Object.keys(frame).filter(
key => !key.includes('runColors') // runColors is used to color the row index in the table, but we don't want to suggest it (see WB-21774)
);
if (variableNames.length > 0) {
for (const varName of variableNames) {
// Recursively suggest results for each variable
Expand Down

0 comments on commit a1d9864

Please sign in to comment.