Hide "I liked" "I've read" etc from advanced search for anonymous users

AI-generated summary

The discussion revolves around hiding “I liked” and “I’ve read” tags from advanced search for anonymous users. Stranik initiated the conversation, suggesting it doesn’t make sense to show unauthorized users items they don’t need. sam agreed and edited the title to better reflect the request. The feature was merged into the codebase by tgxworld through a pull request, with contributions from xrav3nz, who expressed gratitude for the guidance and opportunity to work on the project.

I think it does not make sense to show unauthorized users, those items that he does not need.

In the search tags, the lack of results is probably missing in the language files.

file: select2.js ?

$.fn.select2.locales['en'] = {
         formatMatches: function (matches) { if (matches === 1) { return "One result is available, press enter to select it."; } return matches + " results are available, use up and down arrow keys to navigate."; },
         formatNoMatches: function () { return "No matches found"; },
         formatAjaxError: function (jqXHR, textStatus, errorThrown) { return "Loading failed"; },
         formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " or more character" + (n == 1 ? "" : "s"); },
         formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); },
         formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
         formatLoadMore: function (pageNumber) { return "Loading more results…"; },
         formatSearching: function () { return "Searching…"; }
    };
4개의 좋아요

Agree, editing title to better reflect the request here. pr-welcome

3개의 좋아요

Merged in

https://github.com/discourse/discourse/pull/5032

Thank you @xrav3nz!

6개의 좋아요

Thanks for guiding me through my first PR. Really enjoyed hacking on Discourse!

8개의 좋아요

This topic was automatically closed after 5 days. New replies are no longer allowed.