MaibornWolff / MaibornWolff/codecharta

Make Focus show important details

Open
#4,174 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
529
Forks
56
Avg merge
7h 17m
Merged PRs (30d)
34

Description

# Feature request

Focusing on an element should provide more details than before. For example let us say I want to know more about the inner structure of the CodeCharta "SonarImporter" and focus on it. The result is this:

Image

It is bigger, yes, but where are the folders of the inner structure? By comparison this is the result of using `modify` to set the root to the sonarimporter:

Image

This shows a lot more details. If I reset the root again to src/main/kotlin/... I could see even more details:

Image

## Description

As an auditor, I want the focus to show the details of whatever I focus on.

## Acceptance criteria
Make focus work the same way that --set-root does for `modify`:

- On focus, show a squarified tree map for focused folder, with floor labels and everything

## Assumptions & Exclusions

## Development notes (optional Task Breakdown)
- [ ]
- [ ]
- [ ]

## Open questions

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 by tracing the existing focus behavior and compare it with the modify flow for --set-root. Determine how the focused folder is currently rendered and how the set-root view supplies floor labels and the squarified tree map. Done means focusing a folder presents the same level of detail as setting it as the root, including its inner folders and floor labels.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.