태그 교차 탐색기

:information_source: 요약 태그 교차점(Tag Intersections) 인터페이스를 확장하여 태그 조합 탐색 경험을 향상시키는 Discourse 플러그인입니다
:hammer_and_wrench: 저장소 링크 https://github.com/merefield/discourse-tag-intersection-navigator
:open_book: 설치 가이드 Discourse에 플러그인 설치하는 방법
:heart: 후원 이 플러그인이 마땅히 받아야 할 유지보수를 받고 향후에도 여러분의 사이트에서 계속 작동할 수 있도록, 여러분이나贵 기관의 자원과 필요에 맞는 수준으로 저의 오픈소스 작업에 정기적으로 후원해 주시는 것을 고려해 주세요.

이 플러그인을 즐기고 계신가요? GitHub에서 :star:를 눌러 주세요! :pray:

기능

기존의 태그 교차점 기능을 다음과 같이 강화합니다:

  • 비어 있을 수 있거나 태그 하나만으로도 사용할 수 있습니다.
    • 이는 태그 조합 안팎으로 드릴다운(drill in/out)할 수 있어 더 사용자 친화적이고 유연한 사용자 경험을 제공합니다.
  • ‘최신(Latest)’ 외에 다른 필터를 지원합니다.
  • 데스크톱 홈페이지 기본값으로 설정할 수 있는 방법을 제공합니다.
  • Bars와 호환됩니다.

중요

:warning: 인스턴스에서 "everything"이라는 단어를 태그로 사용해서는 안 됩니다. :warning:

설정

설정은 단 네 가지입니다:

  • 플러그인 활성화
  • 라우팅에서 "everything"을 설명하는 데 사용되는 문자열을 결정합니다 - 변경하지 않는 것을 권장하지만, 대안 옵션을 실험해 볼 수 있습니다. 해당 문자열을 태그로 사용하는 것은 절대 피해야 합니다.
  • 데스크톱용 홈페이지로 인터페이스를 설정 (기본값: 꺼짐)
  • 사이드바/헤더 드롭다운에 커뮤니티 링크 포함 (기본값: 켬)

제한 사항/로드맵?

아래 기능을 추가하려면 저를 고용하거나 PR을 제출해 주세요:

  • 핵심 교차점과 마찬가지로 카테고리 조합에서는 아직 작동하지 않음 - 하지만 이는 카테고리/태그 인터페이스로 폴백됩니다 :white_check_mark:
  • 하위 카테고리는 아직 지원되지 않습니다.
  • 내비게이션 탭에 토픽 수가 표시되지 않으며, 해당 토픽 목록 인구 수의 가용성에 따라 표시/가용성이 결정되지 않습니다.
  • 필터 설정의 가용성/순서를 존중합니다.
  • 모바일에서는 공간 부족으로 인해 인터페이스가 제공되지 않습니다.

크레딧

후원자 @pensarfrentealtiempo님께 큰 감사를 드립니다. :folded_hands:

15개의 좋아요

When (not if) I want to keep my frontpage as it is, how can I reach this intersection thing?

2개의 좋아요

@Jagster as of FEATURE: add community link, make homepaging default OFF · merefield/discourse-tag-intersection-navigator@15e6e65 · GitHub

There’s now a setting for a Community Section Link.

The “Homepaging” is now default OFF:

https://github.com/merefield/discourse-tag-intersection-navigator/commit/15e6e65ee9898cdb4503250b464b5f0ef8f37ae8

https://github.com/merefield/discourse-tag-intersection-navigator/commit/0f5c96cc3f757b3fbafabe40033d55716960f81f

thanks to @awesomerobot for helping out here and I’ll try to remember to refine the solution when his lovely PR goes in.

3개의 좋아요

Ok, the path is /tags/intersection/everything/everything. Now I understand why I got 404 all the time.

Thanks.

One small beauty glitch, nothing serious.

Every of my users can that much English :winking_face_with_tongue:

BTW, I know mobiles aren’t supported, but it works just fine in mobiles. Only that is different is they can see Latest etc. menu, and most of mobile-users can show such four point menu. If there would be hot, top etc. then it would be crowded.

But I like this system. Nice.

2개의 좋아요

Ha. I will localise. What a silly dropped ball. Thanks.

2개의 좋아요

that’s done

https://github.com/merefield/discourse-tag-intersection-navigator/commit/8030b638bc1cf02813daf449f79ec30d173756a8

1개의 좋아요

What is the core limitation here forcing you to extend the backend? I thought we have native controller support for this.

On this route, core backend OOTB lacks support for:

  • zero or one tag
  • different filters (it’s all “Latest” otherwise)
1개의 좋아요

There is now support for this route in Bars so you can add sidebars to your tags intersection (maybe home) page. :tada:

Thanks for sharing this plugin @merefield it is quite interesting and thought-provoking :smiley:

I found one little issue when the everything word is customized.

When the discourse_tag_intersection_navigator_all_word setting is customized to anything other than everything, the hardcoded intersectionRoute fails.

The easiest way to reproduce this issue is by changing these 2 settings, and then navigating to homepage:

  • discourse_tag_intersection_navigator_all_word: anything
  • discourse_tag_intersection_navigator_make_intersection_homepage: true

I propose a potential solution for your review:
https://github.com/merefield/discourse-tag-intersection-navigator/pull/1

4개의 좋아요

That’s merged, thanks for the contribution!

3개의 좋아요

It no longer does.

I’ve implemented Category filter integration:

https://github.com/merefield/discourse-tag-intersection-navigator/pull/3

:tada:

2개의 좋아요

@merefield does it support negative tags like search does by chance?
(didn’t get to testing it yet)
-#foo -tags:bar or something

No, it does not.

Thanks for the reply
I’ll leave a feature request in issues
And a feature request for search field

(I don’t actually need them, they are just the logical conclusion of completely replacing search for general use)
(negative tags are the worst documented feature I know. For sure there are worse documented ones I have no idea about)

1개의 좋아요

thanks.

Just to manage expectations - I don’t foresee this plugin expanding any in capability for the time being without funding or incoming PRs. It will be enough to provide any free maintenance

4개의 좋아요

Also I would say we’d need to be careful adding too many bells and whistles as not to clutter or over-complicate the interface which atm is fairly intuitive and fills the available space on desktop quite nicely without being overbearing. Features such as those you mention would definitely need to be behind options but I respect some people might find them useful.

2개의 좋아요

I can not select sub-category. It has a 404 error if sub-category selected.

2개의 좋아요

Good catch. I’ll make a note that that’s not supported at this time. (Done: note in limitations in OP)

Thanks for your interest

1개의 좋아요

https://github.com/merefield/discourse-tag-intersection-navigator/pull/6

3개의 좋아요