Favorites - build a topic list of your favorite topics


(Bianca) #1

Hello everyone,

This plugin lets users select their favorite categories and view only topics from their favorite categories. This plugin is the implementation of the idea mentioned here and drafted as a specification here.

How to use

  • The user decides which categories he likes the most and marks them as favorite. This can be done from the Categories view.

  • The user can also modify his favorites list from the User Preferences view.

image

:warning: Due to a limitation of Discourse plugins system, the changes are saved immediately and the “Save Changes” button will actually do nothing to the favorite categories list. In other words, if you change the list and do not press “Save changes”, the changes will still be saved.

  • Now the category :star: Favorites contains all topics from all favorite categories. This category can be accessed like any other category (i.e. from the drop down on the home page).

image

Installation

:information_source: Discourse 2.0+ is required.

Follow the official instructions: Install Plugins in Discourse.

The repository containing the source code of the plugin is located at https://github.com/nbianca/discourse-favorites.

Feedback

I am not aware of any bugs. However, if you find any, do not hesitate to report them.

Your feedback is highly appreciated and will help me to improve the plugin for everyone. If you have any suggestions, please reply. :slight_smile:


Topic list tabs for user-customizeable saved filters
Category Sidebar
Customizable Homepage or Discussion Feed?
(Paula Kreuzer) #2

Nice! :+1:
Can the favorites view be selected as a user’s home screen (like latest or categories) too?


(Bianca) #3

Unfortunately that is not supported yet, but I am considering it.


(Ruth Cheesley) #4

Any progress on this? It would be a nice feature!


(Ruth Cheesley) #5

Looks as though there is a fairly critical issue - when I enable and rebuild it crashes the rebuild process - as soon as I comment out this plugin it builds without issue.

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-a
kismet.git", "git clone https://github.com/discourse/discourse-data-explorer.git", "git clone https://www.github.com/gdpelican/retort", "git clone https://github.com/angusm
cleod/discourse-events", "git clone https://www.github.com/gdpelican/babble", "git clone https://github.com/discourse/discourse-canned-replies", "git clone https://github.c
om/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/disco
urse-spoiler-alert", "git clone https://github.com/discourse/discourse-saved-searches", "git clone https://github.com/discoursehosting/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-ans
wer", "git clone https://github.com/angusmcleod/discourse-locations", "git clone https://github.com/discourse/discourse-voting", "git clone https://github.com/nbianca/disco
urse-favorites"]}
3fba033b9027ed6955339e39aa83594c187de75004d5fa6836d443058c645a61
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

(Ruth Cheesley) #6

@nbianca @blake I think this maybe needs to be updated to ‘broken plugin’ given my post above? Can anybody else confirm?


(Sam Saffron) #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.


(Wolftune) #8

FWIW, I’d like it as a core feature…


(James Cook) #9

I whole heartedly agree with this guy +1