Install this theme component
Some time ago, categories were displayed in the topic lists as a column. After discussing its usefulness , the dedicated column for categories seemed excessive and it was removed in favor of placing the category under the topic title. There is plenty to gain from this change (see the above linked topic for details), however, some have voiced that they prefer having the category column. This component is for those who may be struggling with the changes.
Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.
Last edited by @JammyDodger 2024-06-11T08:06:49Z
Check document Perform check on document:
「いいね!」 51
こんにちは。
2.9.0.beta2 へのアップデート後にいくつかの警告/エラーが発生しています。
以前はあまり気にしていなかったので、2.9.0 より前から発生していたのかもしれません。
[Warning] [THEME 17 'Add Category Column'] – 「テストでのエラーを防ぐため、`modifyClass` 呼び出しに `pluginId` キーを追加してください。これにより、変更は一度だけ適用されるようになります。」 (application-02f34826699ddd1471a048c99dbf7e34.js, line 4135)
[Warning] [THEME 17 'Add Category Column'] – 「非推奨通知: topic モデルの displayNewPosts プロパティは非推奨です」 (vendor-3037b934520b46fd8178e08db12bbeaa.js, line 4759, x30)
「いいね!」 2
Don
2022 年 2 月 15 日午後 12:22
24
「いいね!」 2
ありがとうございます。それまでにレビューされることを願っています
「いいね!」 2
tshenry
(Taylor)
2022 年 2 月 17 日午前 3:59
26
@Dmitry_Krasnoperov 、情報提供ありがとうございます。また、@Don 、PRありがとうございます。PRはマージされました。確認の際にコンポーネントの軽微な修正もいくつか行いました。
「いいね!」 3
RGJ
(Richard - Communiteq)
2024 年 1 月 12 日午後 1:00
27
このテーマコンポーネントは、topic-list-headerとtopic-list-itemテンプレートを上書きし、しばらく更新されていなかったため、壊れていました。追加の列は表示されていましたが、トピックの一括選択は機能しませんでした。
プラグインのアウトレットを直接使用するように再構築したため、将来性があり、保守が容易になりました。
PRはこちら にあります。
「いいね!」 7
tessus
(K. C. Tessarek)
2024 年 2 月 20 日午後 11:08
30
モバイルで問題が発生しているようです。
Since a few days our mobile version of the forum is broken. Somehow it displays the category twice, which pushes the rest of the content. Any idea what might be the issue? We’re on an open source plan managed by Discourse so we didn’t do any changes ourselves.
[Screenshot_20240220_214214_Firefox]
Laurent がコンポーネントを無効にした後、問題は解消されました。これは既知の問題ですか?
「いいね!」 3
モバイルビューでこの列を追加する必要があるようです。
https://github.com/discourse/discourse-add-category-column/blob/main/javascripts/discourse/raw-views/add-category-column-list-item.js
おそらく、ここに && this.site.mobileView が欠けているのでしょう
これは、テンプレートの上書きを廃止したこのアップデートからの後方互換性の問題のようです。
main ← communiteq:main
opened 12:58PM - 12 Jan 24 UTC
This theme component was broken (bulk select didn't work anymore)
When trying t… o fix it we saw that there are enough raw plugin outlets to be able to add the column without overriding hbs templates, so the theme component was completely reworked to use raw plugin outlets.
「いいね!」 3
tshenry
(Taylor)
2024 年 2 月 21 日午前 12:21
32
tessusさん、レポートありがとうございます!Arkshineさんが言及したように、これは前回の修正後に見過ごされていました。
レビューとマージの後、これで対応されるはずです。
main ← mobile-fix
opened 11:52PM - 20 Feb 24 UTC
A check needed to be made for mobile.
**Before:**
<img width="200" alt="Scre… enshot 2024-02-20 at 3 49 57 PM" src="https://github.com/discourse/discourse-add-category-column/assets/22733864/a428073b-f00b-4084-9b72-b7383e44fb90">
**After:**
<img width="200" alt="Screenshot 2024-02-20 at 3 50 21 PM" src="https://github.com/discourse/discourse-add-category-column/assets/22733864/37a4da70-4881-48c9-a25f-f22bf5fd9004">
「いいね!」 4
tshenry
(Taylor)
2024 年 2 月 22 日午前 11:43
34
修正がマージされたことをお知らせします コンポーネントを更新できます。レポートをありがとうございました @tessus !
「いいね!」 1
Display a category as a calendar by scheduled Topic-timer dates - #4 by manuel の方で、トピック一覧でトピックタイマーを表示する方法を探していました。コンテンツ公開のスケジュールを確認・追跡するためです。
@manuel さんが、このコンポーネントにトピックタイマーでソートする列があれば、私が求めているものも得られるだろうと述べていました。つまり、多くのトピックがいつ公開されるかのソートされた一覧です。
「いいね!」 1
テーマコンポーネントは大変助かりますが、表示エラーが発生しました。ホームページに戻ると、カテゴリ列が表示されなくなります。また、さらにページを読み込むと、カテゴリが表示されなくなります。私の動画をご覧ください。
VIDEO
「いいね!」 1
グループタグ列を追加できますか? 4から9のグループタグ列?
ありがとうございます!
プラグインがAI関連の検索と互換性がないようです。Suggested / Related (AI) topics のテーブルヘッダーが崩れます。
「いいね!」 1
こんにちは、素晴らしいテーマコンポーネントをありがとうございます!
トピックリストにカテゴリ名を表示するために「Add Category Column」を使用しています。しかし、解決したい2つの問題に直面しています。
長いカテゴリ名が切り取られてしまいます。折り返されたり拡張されたりしないため、ユーザーは完全なカテゴリ名を読むことができません。列が自動的に拡張されたり、テキストが折り返されたり、ホバー時に完全な名前が表示されたりする方法はありますか?
列の順序を変更するにはどうすればよいですか?
レイアウトを変更して、最初にカテゴリ列、次にトピックタイトル、ユーザー、ビュー、日付などの順に表示したいと考えています。
提案やCSSのオーバーライドがあれば、本当に感謝いたします。Discourseチームの皆さん、ありがとうございます!
「いいね!」 1