There are tags displaying on the tags page which aren’t appearing in the tags dropdown or search.
One example (of many) here on Meta is bug
This is because of site setting max tags in filter list which defaults to 30. The description of the site setting is:
Maximum number of tags to show in the filter dropdown. The most used tags will be shown.
I just increased that setting to 100 here on Meta and bug is appearing in dropdown now.
If that is the case, this is not a bug @hawk.
what we could do though is making this component make ajax request if filtering doesnt return anything. Or apply filtering on the full list even if we only show a partial list in the first place.
I’d favor this solution: users usually don’t know about the max tags limit, and would expect they search the complete tag set when entering anything into the Search… field.
아직도 이런가요? 하단에 더 보기 … 또는 비슷한 방법으로 더 많은 태그가 존재한다는 것을 암시해야 합니다.
@codinghorror 꽤 오래전에 이걸 구현한 적이 있습니다:
다만, 찾려면 필터링을 해야 한다는 점과, 표시된 목록보다 더 많은 항목이 있다는 점을 알려주는 힌트가 없다는 것은 사실입니다. 여전히 더 보기…를 구현하시겠습니까?
네 – "아, 여기에 더 있는 거구나, 보이는 항목들만 있는 게 아니구나"라는 느낌을 줄 수 있는 시각적 힌트가 있으면 좋겠습니다. 구현하기 쉬운 방식으로요.
다시 생각해 보니, 이렇게 하기는 어렵다고 생각됩니다. 최소한 성능 저하를 동반하면서는요.
표시되는 태그를 제한하는 이유는 모든 태그를 가져오거나(심지어 카운트하거나) 하지 않기 위해서입니다. 그래서 제가 아는 것은 표시된 태그 수가 최대 설정 값보다 적은 경우뿐이고, 표시된 최대 태그 수보다 많은 태그가 있는지 알 수 있는 방법이 없습니다. 이 경우 표시된 태그 수가 최대값과 같기 때문입니다.
제가 자주 사용하는 트릭은 백엔드가 항상 max+1개의 행을 반환하도록 하고, 화면에는 max개만 표시하는 것입니다. +1이 존재하면 더 많은 데이터가 있다는 뜻입니다.
그것은 바로.. One Weird Old Trick™입니다