Add a button (or shortcut) to go to the folder of the search result
- Dominant language
- Python
- Stars
- 46.6k
- Forks
- 1.9k
- Avg merge
- 10d 16h
- Merged PRs (30d)
- 5
Description
I am new to copyparty: very cool! Thanks! Trying it out on top of a [git-annex'ed](https://git-annex.branchable.com/) photoalbum!
An immediate desire came up for which I failed to search up result here or among shortcuts: while in search results, in particular photos, I would really like to jump to the folder containing that file to see others / better context. For images would be sensible to have on the panel along others like
(whenever urls also not easily editable to point to the folder and look like http://192.168.1.7:3923/#gf-14b299dc,sorthref) but that wouldn't work for videos. Adding some context menu or at least icon (pointing out arrow or folder) over thumbnail could be a geneirc solution
Note, since files are git-annexed and thus are symlinks to annex storage, like:
```shell
ha@hopa:~/proj/home-server/photoalbum$ ls -ldL Family/2012/201207XX-HOME/20120728_160600.jpg
-r--r--r-- 1 ha ha 829918 Dec 28 2024 Family/2012/201207XX-HOME/20120728_160600.jpg
ha@hopa:~/proj/home-server/photoalbum$ ls -l Family/2012/201207XX-HOME/20120728_160600.jpg
lrwxrwxrwx 1 ha ha 135 Nov 3 07:58 Family/2012/201207XX-HOME/20120728_160600.jpg -> ../../../.git/annex/objects/jw/31/MD5E-s829918--0724b2ac45a5ce4d3813edf3b4dece9f.jpg/MD5E-s829918--0724b2ac45a5ce4d3813edf3b4dece9f.jpg
```
I do want to end up in the folder containing symlink (i.e. `Family/2012/201207XX-HOME/` in case above) and not `.git/annex/objects/...` . I think copyfile already handles it correctly as the url it visualizes is not a followed symlink, but just wanted to make sure
Contributor guide
Assessment
This issue has not been assessed yet.