dagmawibabi / TelegramCommunityGallery

https://telegram.dagmawi.dev
MIT License
74 stars 16 forks source link

adjust tag filtering for union of tags #23

Open mitegab opened 6 months ago

mitegab commented 6 months ago

currently, when filtering channels/groups by multiple tags, the app only shows channels that intersect with all selected tags. for instance, if a user selects "spiritual," "tech," and "news" tags, only channels containing all three tags are displayed, excluding those with just one or two of these tags. it should have to include all channels with these tags.

dagmawibabi commented 6 months ago

It was by design that I did this. By doing it this way you get exactly the kind of channels you want not a giant list of overlapping ones.

mitegab commented 6 months ago

currently it only displays channels/groups intersecting with all selected tags, is too restrictive . how about this solution:- implement a tiered approach where channels matching all tags appear first, followed by those matching one less tag, two less, and so on. this would allow users to discover a wider range of relevant channels/groups, similar to platforms like twitter.