zer0tonin / Mikochi

A minimalist file-manager with streaming capabilities
MIT License
224 stars 12 forks source link

Refactor the path logic #10

Closed zer0tonin closed 1 month ago

zer0tonin commented 4 months ago

Frontend path links work, but it relies on a bunch of brittle if/else mess: https://github.com/zer0tonin/Mikochi/blob/main/frontend/src/components/path.jsx

It would be nice to clean that up. I think the main cause for complexity is inconsistency between the results returned by search and browse.