BuddhaNexus / buddhanexus

Backend for the Buddhanexus project
8 stars 2 forks source link

Refactor limit filters to reflect data structure hierarchy #274

Closed aminahbl closed 4 days ago

aminahbl commented 2 months ago

Per discussion: https://discord.com/channels/1229483442203263056/1229483442677485589/1286351110839336960

One more thing that is conceptionally giving me a headache at times: in our front end ui as well as parts of our data structures, we are treating collections as categories While they are, conceptionally speaking, separate entities (just as files are not categories), so we have a hierarchy of three different entities: collections -> categories -> filenames

...

We could also have just two dropdowns in the filter settings (as opposed to now 4) that simply have the same structure as in the [language sidebar] menu.

The refactor should also make sure that long filenames are displayed correctly (addressing issue first reported in BuddhaNexus/buddhanexus-frontend-next#138)

ayya-vimala commented 4 days ago

This seems to be working fine now.