I needed an updated version with all the plugin outlets that have been added recently and then I realised that it would be really easy to create a theme component for this, so there is no need to install a plugin any more.
The repository includes a script (gen/generate.rb) that will auto-generate the outlets based on the Discourse source code.
To toggle the plugin outlets, click the “connector” icon in the top right.
When you click a specific plugin outlet, the display will change and you will be able to see all the arguments to the plugin outlet. Click it again to change it back.
Yes, see the link at the very top of this topic, that refers to the topic about that. @Mittineague wrote a plugin in 2015. I was using it and then I found out that it needed to be updated (it hadn’t been updated for over 2 years).
The next step was me realizing that this could be done much easier now using a theme component.
Yes, I had started to update the plugin to take into account the changes in the number and locations of plugin outlets a few weeks ago, but other priorities moved it down on my ever growing todo list.
If the same information can be provided as a theme component that works in the GUI and doesn’t require editing app.yml and running launcher I think it would be easier for most. I may be wrong, but I have a feeling most prefer GUI over CLI.
개발 중 플러그인 아웃렛을 파악하기 위해 이 테마를 계속 추가하고 제거하곤 했습니다. 개발 환경에서 이 작업을 더 쉽게 하기 위해 플러그인 아웃렛의 가시성을 전환하는 토글 버튼을 추가했습니다. 다른 분들도 유용하게 쓰실 수 있을 것 같아 이 기능을 위한 PR을 생성했습니다.
무엇을 놓치고 있는 걸까요? 컴포넌트를 설치했습니다. 하지만 이 기능을 사용하려면 스크립트를 실행해야 하나요? 스크립트가 서버 어딘가에 있어 실행할 수 있나요, 아니면 복사해서 붙여넣어야 하나요? common/head_tag.html 파일을 수정하는 경우, 이 컴포넌트를 비활성화하려면 원래대로 되돌려야 하나요?
이것은 약간의 버그가 있는 것 같습니다. 이제 제 PC에서는 모든 페이지 새로 고침 시 기본적으로 활성화되며, 몇 가지 비활성화(deprecation) 경고가 발생합니다:
[THEME 105 'Plugin Outlet Locations'] Deprecation notice: The header-icons widget has been deprecated and decorateWidget is no longer a supported override. [deprecated since Discourse v3.3.0.beta1-dev] [deprecation id: discourse.header-widget-overrides] [info: https://meta.discourse.org/t/296544]
[THEME 105 'Plugin Outlet Locations'] Deprecation notice: The header-icons widget has been deprecated and attachWidgetAction is no longer a supported override. [deprecated since Discourse v3.3.0.beta1-dev] [deprecation id: discourse.header-widget-overrides] [info: https://meta.discourse.org/t/296544]