nbianca
(Bianca)
2018 年 3 月 2 日午前 9:52
1
こんにちは、皆さん。
このプラグインを使用すると、ユーザーは好きなカテゴリを選択し、そのカテゴリのトピックのみを表示できます。このプラグインは、こちら で提案されたアイデアの実装であり、こちら で仕様書として草案化されています。
使用方法
ユーザーは最も好きなカテゴリを選択し、お気に入りとしてマークします。これは「カテゴリ」ビューから行えます。
ユーザーは「ユーザー設定」ビューからお気に入りリストを変更することもできます。
Discourse プラグインシステムの制限により、変更は即座に保存され、「変更を保存」ボタンはお気に入りカテゴリリストに対して実際には何もしません。つまり、リストを変更して「変更を保存」を押さなくても、変更は保存されます。
これで、カテゴリ「 お気に入り」に、すべての好きなカテゴリからのトピックが含まれるようになります。このカテゴリは、他のカテゴリと同様にアクセスできます(つまり、ホームページのドロップダウンから)。
インストール
Discourse 2.0 以上が必要です。
公式の手順に従ってください:Install plugins on a self-hosted site
プラグインのソースコードが含まれているリポジトリは、https://github.com/nbianca/discourse-favorites にあります。
フィードバック
バグは確認されていませんが、もし見つけた場合は、遠慮なく報告してください。
皆さんのフィードバックは非常に貴重であり、このプラグインを全員のために改善する助けになります。ご提案があれば、返信をお願いします。
「いいね!」 28
Nice!
Can the favorites view be selected as a user’s home screen (like latest or categories) too?
「いいね!」 3
nbianca
(Bianca)
2018 年 3 月 2 日午前 10:09
3
Unfortunately that is not supported yet, but I am considering it.
「いいね!」 7
RCheesley
(Ruth Cheesley)
2018 年 8 月 6 日午後 7:49
4
Any progress on this? It would be a nice feature!
RCheesley
(Ruth Cheesley)
2018 年 8 月 6 日午後 8:03
5
どうやらかなり深刻な問題のようです。このプラグインを有効にしてビルドを再実行すると、再ビルド処理がクラッシュしてしまいます。このプラグインをコメントアウトすると、問題なくビルドが完了します。
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-canned-replies failed with return #<Process::Status: pid 346 exit 128>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home/plugins", "cmd"=>["git clone https://github.com/discourse/docker_manager.git", "git clone https://github.com/discourse/discourse-akismet.git", "git clone https://github.com/discourse/discourse-data-explorer.git", "git clone https://www.github.com/gdpelican/retort", "git clone https://github.com/angusmcleod/discourse-events", "git clone https://www.github.com/gdpelican/babble", "git clone https://github.com/discourse/discourse-canned-replies", "git clone https://github.com/team-melbourne-rgsoc2015/discourse-adplugin", "git clone https://github.com/discourse/discourse-solved", "git clone https://github.com/discourse/discourse-assign", "git clone https://github.com/discourse/discourse-staff-notes", "git clone https://github.com/davidtaylorhq/discourse-whos-online", "git clone https://github.com/discourse/discourse-spoiler-alert", "git clone https://github.com/discourse/discourse-saved-searches", "git clone https://github.com/communiteq/discourse-sitemap", "git clone https://github.com/discourse/discourse-cakeday", "git clone https://github.com/discourse/discourse-oauth2-basic", "git clone https://github.com/angusmcleod/discourse-question-answer", "git clone https://github.com/angusmcleod/discourse-locations", "git clone https://github.com/discourse/discourse-voting", "git clone https://github.com/nbianca/discourse-favorites"]}
3fba033b9027ed6955339e39aa83594c187de75004d5fa6836d443058c645a61
** FAILED TO BOOTSTRAP ** 上記にスクロールして、以前のエラーメッセージを確認してください。複数のエラーが発生している可能性があります。
RCheesley
(Ruth Cheesley)
2018 年 8 月 9 日午前 5:35
6
@nbianca @blake I think this maybe needs to be updated to ‘broken plugin’ given my post above? Can anybody else confirm?
sam
(Sam Saffron)
2018 年 8 月 9 日午前 5:37
7
I am marking it as broken plugin for the time being, we need to decide longer term if we want this as a core feature or not.
「いいね!」 6
wolftune
(Wolftune)
2018 年 8 月 24 日午前 6:30
8
FWIW, I’d like it as a core feature…
「いいね!」 6
I whole heartedly agree with this guy +1
「いいね!」 3
As recenty discussed as feature request , this functionality in core would be beneficial for multiple purposes.
「いいね!」 2
Did you guys already decide on that?
「いいね!」 1
pfaffman
(Jay Pfaffman)
2019 年 3 月 3 日午後 12:24
12
I’ve got at least one community that really needs this. It’s got hundreds of categories and people are likely to be interested in only a few.
「いいね!」 4
it would be great to have this on core.
「いいね!」 1
sam
(Sam Saffron)
2019 年 3 月 19 日午前 3:56
14
The current workaround is just to work in reverse, mute the categories you want suppressed from the home page.
「いいね!」 4
Yeah, but mute seems more like to things you don’t like/hate.
Example:
I really like to know/see topics about plugins, feature and themes here, its my main choice when I log in. But If a mute the others 15 categories I wouldn’t have a idea about the whole community.
「いいね!」 2
sam
(Sam Saffron)
2019 年 3 月 20 日午前 2:32
16
Thing is the plugin worked exactly the way mute works. Muting a category only removes it from home pages.
I am guessing you are asking for an extra favorites tab?
「いいね!」 4
Yes. It would be a nice feature.
「いいね!」 3
oca
2019 年 3 月 22 日午前 6:46
18
Using muting is really not intuitive for some use case:
A lot of categories are available but only a are few relevant for most people. With new categories popping periodically.
Wanting a new category to be created as muted for everyone but the few relevant users.
Wanting to check the muted status for all categories available / all subcategories of that specific category on the same page I can read their description (on the category page).
The star makes everything clearer and more intuitive.
Actually, without having to implement new rules and logic for a ‘favorite’ status, if the star was just a toggle for the muted status of the category, it would be already very handy. Or on the same UX maybe have 3 settings: muted (BG-secondary color star), displayed/normal (primary color star), or favorite (smiling shiny rainbow star).
It would also be very nice if admins could chose if both 1) the stars would be displayed, and 2) the favorite status is possible :
for all categories, through a global setting
for that category on the category setting page
for all subcategories on the parent category setting page
(Oh, and to continue the wishlist, if the star could be a parameter allowing to chose any FA icon instead, that would also be fun).
「いいね!」 4
I’d be willing to put the work into this plugin to get it back on the road if there was backing:
Is there any appetite to co-sponsor that effort? I’d be looking to raise $700 from the community for a straight reboot (fixed, no additional features)
I know @Merlls_Rizzini is interested, any other support? @pfaffman , would that community of yours be keen to sponsor? Any other pledges?
「いいね!」 5
@sam 、このアイデアについてさらに議論は進みましたか?Discourseのコア機能として実装予定でしょうか、それとも誰かがこのプラグインの修正に時間を割く価値があるでしょうか?