microsoft / microsoft/powerbi-visuals-api

4.1.0 Matrix Expand Collapse

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
108
Forks
48
PR merge metrics
No merged PRs in 30d

Description

I created a visual with Matrix expand collapse feature. I was successful in creating it. In development mode it works like a charm but when I try to package it, it gets stuck and expand collapse does not work on calling this.selectionManager.toggleExpandCollapse(nodeSelectionId) and the same throws error in desktop mode.

I have given a link to the repo below and the data set I used.

visuals-tools: 4.0.4
visuals-api: 4.1.0

https://github.com/vicktor3/matrixviz
mode2AutoGen.csv

Reference: https://docs.microsoft.com/en-us/power-bi/developer/visuals/dataview-mappings#expanding-and-collapsing-row-headers

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked matrixviz repository and reproduce the visual with visuals-tools 4.0.4 and visuals-api 4.1.0 in development, packaged, and desktop modes. Trace the selectionManager.toggleExpandCollapse(nodeSelectionId) call and compare it with the linked expand/collapse reference. Done means packaged and desktop modes expand and collapse matrix rows without throwing an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.