Favoriten – wählen Sie Ihre Lieblingskategorien aus

Hallo zusammen,

Dieses Plugin ermöglicht es Benutzern, ihre bevorzugten Kategorien auszuwählen und nur Themen aus diesen Kategorien anzuzeigen. Dieses Plugin ist die Umsetzung der Idee, die hier erwähnt wurde, und wurde als Spezifikation hier ausgearbeitet.

Wie man es verwendet

  • Der Benutzer entscheidet, welche Kategorien ihm am besten gefallen, und markiert sie als Favoriten. Dies kann in der Ansicht Kategorien erfolgen.

  • Der Benutzer kann seine Favoritenliste auch in der Ansicht Benutzereinstellungen ändern.

:warning: Aufgrund einer Einschränkung des Discourse-Plugin-Systems werden Änderungen sofort gespeichert, und die Schaltfläche „Änderungen speichern" hat keine Auswirkungen auf die Liste der Favoritenkategorien. Mit anderen Worten: Wenn Sie die Liste ändern und nicht auf „Änderungen speichern" klicken, werden die Änderungen dennoch gespeichert.

  • Die Kategorie :star: Favoriten enthält nun alle Themen aus allen favorisierten Kategorien. Auf diese Kategorie kann wie auf jede andere Kategorie zugegriffen werden (z. B. über das Dropdown-Menü auf der Startseite).

Installation

:information_source: Discourse 2.0+ ist erforderlich.

Befolgen Sie die offiziellen Anweisungen: Install plugins on a self-hosted site.

Das Repository mit dem Quellcode des Plugins befindet sich unter https://github.com/nbianca/discourse-favorites.

Feedback

Mir sind keine Fehler bekannt. Sollten Sie jedoch welche entdecken, zögern Sie bitte nicht, diese zu melden.

Ihr Feedback wird sehr geschätzt und hilft mir, das Plugin für alle zu verbessern. Wenn Sie Vorschläge haben, antworten Sie bitte. :slight_smile:

28 „Gefällt mir“

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

3 „Gefällt mir“

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

7 „Gefällt mir“

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

Es sieht so aus, als gäbe es ein ziemlich kritisches Problem: Wenn ich es aktiviere und neu aufbaue, stürzt der Neubauprozess ab. Sobald ich dieses Plugin auskommentiere, wird es ohne Probleme gebaut.

FEHLGESCHLAGEN
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-canned-replies fehlgeschlagen mit Rückgabewert #<Process::Status: pid 346 exit 128>
Ort des Fehlers: /pups/lib/pups/exec_command.rb:112:in `spawn'
Ausführen fehlgeschlagen mit den Parametern {"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
** BOOTSTRAP FEHLGESCHLAGEN ** Bitte scrollen Sie nach oben und suchen Sie nach früheren Fehlermeldungen; es kann mehr als eine geben.

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

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 „Gefällt mir“

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

6 „Gefällt mir“

I whole heartedly agree with this guy +1

3 „Gefällt mir“

As recenty discussed as feature request, this functionality in core would be beneficial for multiple purposes.

2 „Gefällt mir“

Did you guys already decide on that? :slight_smile:

1 „Gefällt mir“

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 „Gefällt mir“

it would be great to have this on core.

1 „Gefällt mir“

The current workaround is just to work in reverse, mute the categories you want suppressed from the home page.

4 „Gefällt mir“

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 „Gefällt mir“

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 „Gefällt mir“

Yes. It would be a nice feature. :smile:

3 „Gefällt mir“

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 „Gefällt mir“

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 „Gefällt mir“

@sam has this idea been discussed any further? Is it in the works as a core feature of Discourse, or is it worth someone spending the time to fix this plugin?