Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: component graph node name toogle #694

Open
sev-b opened this issue Jul 12, 2024 · 1 comment
Open

feat: component graph node name toogle #694

sev-b opened this issue Jul 12, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed pr welcome

Comments

@sev-b
Copy link

sev-b commented Jul 12, 2024

🆒 Your use case

Currently the names of all nodes in the component graph view are just the file names
image
whereas in the list view both the actual component name and relative file path are clear
image

especially when using index.vue files with nested routes this makes the graph view very confusing in bigger projects

🆕 The solution you'd like

I think the best solution would be a way to toggle whether the graph nodes should reflect the component names or the file names.

🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

@sev-b sev-b added the enhancement New feature or request label Jul 12, 2024
@antfu
Copy link
Member

antfu commented Sep 23, 2024

PR welcome to introduction of the toggle! The reason I did that initially was manually because showing the full path would make the graph very verbose.

@antfu antfu added help wanted Extra attention is needed pr welcome labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed pr welcome
Projects
None yet
Development

No branches or pull requests

2 participants