voidcosmos / voidcosmos/npkill

Collapsed View: show folder with many subprojects collapsed

Open
#104 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9.4k
Forks
254
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
the search gives me very big list where i have to scroll through. just now for the Caches/Yarn i scroll about 10 minutes :(

Describe the solution you'd like

for example instead of listing each folder in ~/Library/Caches/Yarn/v6/* there should be one an

/Users/muescha/.pnp-store                           20 directories    2GB
/Users/muescha/Library/Application Support         144 directories   10GB
/Users/muescha/Library/Caches/Yarn/v6               80 directories   18GB
  • when i hit SPACE on a directory then all are deleted (maybe with a warning to look into the list
  • i can hit Cursor right and open the list of directories

Describe alternatives you've considered

Additional context

Contributor guide

Open the contributing guide

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

Reproduce the search with a path such as ~/Library/Caches/Yarn/v6 and trace the directory listing, selection, and keyboard navigation entry points. Done means many-subdirectory folders appear as one summary row, SPACE handles the grouped deletion with an appropriate warning, and Cursor right expands the directory list.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.