Repository navigation
File Search UI / UX overhaul #905
Closed
BennoCrafter
started this conversation in
Ideas
Replies: 5 comments 3 replies
|
Hi! I've been working on an overhaul of the File Search view in #875, which was closed, so I wanted to share some thoughts on why I did it initially. There were a few things I felt could be improved:
I'd love to hear what you think :) |
0 replies
|
I traced back what raycast does for recent files. This is for macOS, but I think its easy to re-create it for windows and linux mdfind -0 -onlyin ~ 'kMDItemFSContentChangeDate >= $time.now(-86400) && kMDItemContentType != "public.folder"' \
| xargs -0 stat -f '%Sm %N' -t '%Y-%m-%d %H:%M:%S' \
| grep -vE '/Library/|/\.|/(node_modules|vendor|Pods|venv|env|__pycache__|target|build|dist|out|coverage|DerivedData|tmp|temp|cache|Caches|logs?)/' \
| grep -vE '\.(app|photoslibrary|musiclibrary|tvlibrary|bundle|framework)/' \
| grep -vE '\.(log|tmp|temp|swp|swo|bak|cache|lock|pid|pyc|o|d|class|db-wal|db-shm|sqlite-wal|sqlite-shm|crdownload|part|download)$|~$|(package-lock\.json|yarn\.lock|pnpm-lock\.yaml|Cargo\.lock|Gemfile\.lock|poetry\.lock|\.DS_Store)$' \
| sort -rThe command generates many noise files, so filtering them is needed. This works like intented and outputs for me the same recent files like raycast in "Search files" command |
1 reply
0 replies
|
Sorry for the delay again.
|
2 replies
|
@Xoshbin I've created a draft PR for it. From there we can continue UI changes? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Discuss a possible UI change of the file search view
All reactions