Commit Graph

8 Commits

Author SHA1 Message Date
schroda
822e47084e Add functionality to pin sources 2025-05-17 22:17:15 +02:00
schroda
0a853082db Align language sorting with mihon
Always show "All" as the first language and "Other" as the last
2025-05-09 01:49:30 +02:00
schroda
dcd57aea8f Remove abbreviation of “language” in function names 2025-05-09 00:57:28 +02:00
schroda
394d541746 Fix source filtering for nsfw
Filtering was always applied even if "showNsfw" was undefined and thus, should not be considered for filtering
2025-04-24 13:44:30 +02:00
schroda
4c04e1d17c Normalize language code comparisons
Due to using the browsers' preferred languages by default, there was a possibility that the preferred language codes did not match any extension/source language, which lead to broken filtering.

While this happened, it was also possible that the preferred languages still matched properly to a language in the language filter, which caused confusion.
This was the case e.g., for "en-GB" or "en-US"
2025-04-24 13:38:05 +02:00
schroda
2022b7028e Always use "other" as "local source" language 2025-04-21 19:11:43 +02:00
schroda
98f383e79e Cleanup "Source.tsx" 2025-04-21 18:09:01 +02:00
schroda
4a9f90b746 Introduce "sources" util class 2025-04-21 17:02:51 +02:00