Skip to content

🐛 tech-radar: Error if not all quadrants are set #10802

Open

Description

@MichaelSchl

Workspace

tech-radar

📜 Description

If a tech radar has not data for all four quadrants (e.g. only three quadrants) then a error appears.
In older versions (e.g. 0.7.11) it works without errors.

👍 Expected behavior

The tech radar should be displayed, only the quadrants without data should be empty(also without legend).
This was the behaviour in older versions, like 0.7.11.

👎 Actual Behavior with Screenshots

Instead of the tech radar the following error will be displayed fullsized in the browser:

Image

👟 Reproduction steps

  • create a tech radar with only data for e.g. 3 quadrants

📃 Provide the context for the Bug.

According to quick look in the source code of the plugin, the reason ist probably the access of array elements of adjustedQuadrants without checking if this array element exists at all (e.g. inRadar.tsx line 61 and 62, perhaps there are other places as well).

btw: The introductory comment of adjustQuadrants in utils.ts is incorrect, and maybe could also be fixed:

  • xStops did not exists anymore, it was replaced with xStarts in the past, but the comment still referenced it
  • Q2 and Q3 should be swapped, as the quadrants are filled clockwise (as also described in the README.md)

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

Activity

  1. added
    bug
    on Sep 3, 2026
  2. awanlin commented on Sep 3, 2026

    @awanlin
    Contributor

    Thanks for logging this @MichaelSchl 🙏

    Contributions welcome to fix this and add some tests around the logic!

  3. added
    help wanted
    good first issue
    on Sep 3, 2026
  4. awanlin commented on Sep 8, 2026

    @awanlin
    Contributor

    Hi @caddydove, thanks for the PR with a fix! In future can you make sure to post on the issue or shortly there after. I can's assign this to you due to the way GitHub works. We do this to avoid having multiple people working on the same issue, this happens a lot more with the spread of AI tools. 🙏

    PR that addresses this is here: #10892

  5. github-actions commented on Nov 25, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issuehelp wantedstaleworkspace/tech-radar

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions