nanoapi-io / napi

Transpile your monolithic codebases to microservices in seconds
https://nanoapi.io
Other
295 stars 4 forks source link

Enhance Dependency Visualizer with Multi-Level Views and Code Quality Insights #45

Open florianbgt opened 1 day ago

florianbgt commented 1 day ago

Description

The goal of this story is to design a UX/UI for the Dependency Visualizer tool. This tool will provide an intuitive interface to explore dependencies across folder, file, and code levels while highlighting potential code quality issues. The design should prioritize easy navigation, filtering, and actionable insights to improve code understanding and maintainability.

Sidebar

Hierarchical Display

Navigation

When clicking on an element, navigate to the right view:

Filter/Search

Main views

Folder Level Dependencies View

AI generated conceptual view Image

File-Level Dependencies View

Extracted from structure 101 documentation image

A simpler representation of what we need Image

Once a file is clicked (from the side bar or the Folder-level dependency view, this view is shown.

Enhanced Dependency view

Code quality

Code-Level View

This view is triggered when a user click on a class or a function.

Function Metrics

Highlight functions with metrics like:

Variable Metrics

No view for this.

Class Metrics

Break down files into their constituent classes, methods, or functions, displayed as a nested hierarchy.

florianbgt commented 1 day ago

https://structure101.com/help/cpa/studio6/#intro/getting-started-studio.html?TocPath=Studio%257C_____1

We tool a lot of inspiration from this tool (strcture101) when designing this document