diff --git a/src/powerbi-visual/src/components/ViewerWrapper.vue b/src/powerbi-visual/src/components/ViewerWrapper.vue index 7d89e95..2df031d 100644 --- a/src/powerbi-visual/src/components/ViewerWrapper.vue +++ b/src/powerbi-visual/src/components/ViewerWrapper.vue @@ -192,7 +192,7 @@ async function handleObjectClicked(hit: any, isMultiSelect: boolean, mouseEvent? await selectionHandler.select(id, isMultiSelect) } } else { - console.log(`🚫 Object ${id} is from a non-interactive model, skipping PowerBI selection`) + console.log(`Object ${id} is from a non-interactive model, skipping selection`) } // Show tooltip if we have mouse coordinates diff --git a/src/powerbi-visual/src/extensions/FilteredSelectionExtension.ts b/src/powerbi-visual/src/extensions/FilteredSelectionExtension.ts index e639496..8c17958 100644 --- a/src/powerbi-visual/src/extensions/FilteredSelectionExtension.ts +++ b/src/powerbi-visual/src/extensions/FilteredSelectionExtension.ts @@ -163,7 +163,6 @@ export class FilteredSelectionExtension extends SelectionExtension { } protected onObjectDoubleClick(selection: SelectionEvent | null) { - console.log('🎯 FilteredSelectionExtension.onObjectDoubleClick called with:', selection) if (!selection || !selection.hits || selection.hits.length === 0) { super.onObjectDoubleClick(selection) @@ -174,7 +173,6 @@ export class FilteredSelectionExtension extends SelectionExtension { for (const hit of selection.hits) { const objectId = hit.node.model.id if (this.isNonInteractiveObject(objectId)) { - console.log('🚫 Preventing zoom on non-interactive object:', objectId) return } } diff --git a/src/powerbi-visual/src/plugins/viewer.ts b/src/powerbi-visual/src/plugins/viewer.ts index 304237e..44232fd 100644 --- a/src/powerbi-visual/src/plugins/viewer.ts +++ b/src/powerbi-visual/src/plugins/viewer.ts @@ -179,8 +179,6 @@ export class ViewerHandler { const nonInteractiveObjectIds = this.getNonInteractiveObjectIds() const allVisibleIds = [...objectIds, ...nonInteractiveObjectIds] - console.log(`📊 Filtering: ${objectIds.length} selected + ${nonInteractiveObjectIds.length} non-interactive = ${allVisibleIds.length} total visible`) - this.filteringState = this.filtering.isolateObjects(allVisibleIds, 'powerbi', true, ghost) if (zoom) { this.zoomObjects(objectIds, true) @@ -194,8 +192,6 @@ export class ViewerHandler { const nonInteractiveObjectIds = this.getNonInteractiveObjectIds() const allVisibleIds = [...objectIds, ...nonInteractiveObjectIds] - console.log(`📊 Reset filter: ${objectIds.length} objects + ${nonInteractiveObjectIds.length} non-interactive = ${allVisibleIds.length} total visible`) - this.isolateObjects(allVisibleIds, ghost) if (zoom) { this.zoomObjects(objectIds, true) @@ -300,7 +296,6 @@ export class ViewerHandler { }) this.modelObjectsMap.set(rootObjectId, objectIds) - console.log(`📦 Mapped ${objectIds.size} objects to root object: ${rootObjectId} (${modelMetadata[i].modelName})`) } // Since you are setting another camera position, maybe you want the second argument to false diff --git a/src/powerbi-visual/src/visual.ts b/src/powerbi-visual/src/visual.ts index 03a438a..5412ec5 100644 --- a/src/powerbi-visual/src/visual.ts +++ b/src/powerbi-visual/src/visual.ts @@ -274,7 +274,6 @@ export class Visual implements IVisual { // reset selection handler if we're reprocessing data (not first load) // this ensures only interactive objects get registered if (visualStore.isViewerObjectsLoaded && visualStore.getModelObjectsMap().size > 0) { - console.log('🔄 Resetting selection handler for interactive mode update') this.selectionHandler.reset() }