Aanpassing van de "Saved searches" plugin

AI-generated summary

In a Marketplace discussion titled “Customization of the ‘Saved searches’ plugin,” Ed_Bobkov outlines four requested modifications to the plugin: (1) enable users to track new posts via customizable category-subcategory-tag combinations with standard notifications; (2) redesign the user preferences page to use dropdowns for category/subcategory/tag selection, as shown in an attached image; (3) adjust the search frequency from once daily to every 1–15 minutes, suggesting a code change from 1.day to 15.minutes in schedule_saved_searches.rb; and (4) increase the saved search list limit from 5 to 10 entries, referencing maxSavedSearches: 5 in preferences-saved-searches.js.es6. Ed_Bobkov requests completion within one week and invites developers to submit quotes via private message. pfaffman responds, indicating potential availability and willingness to contact via PM.

What would you like done?

There is a plugin: Discourse Saved Searches

Changes to be done:

  1. The main idea is to give users the ability to track new posts in the chosen combinations: category-subcategory-tag. When there is a new topic in this combination, a standard notification should be sent. So the mechanics of the plugin should be changed in this part.

  2. The user preferences page should be changed: text fields changed to “category”-“subcategory”-“tag” combination like here:

  3. Change schedule. At this time it is done once a day. I need the searches to be done every 1-15 minutes depending on the server load. I’ll decide later.

I found in the code this line
SEARCH_INTERVAL = 1.day

here:
app/jobs/scheduled/schedule_saved_searches.rb

If I change it to
SEARCH_INTERVAL = 15.minutes

Maybe that’s the solution.

  1. Change the number of lines in the list of searches from 5 to 10.

I found

export default Ember.Controller.extend({
  saving: false,
  maxSavedSearches: 5,

here
assets/javascripts/discourse/controllers/preferences-saved-searches.js.es6

When do you need it done?
1 week

What is your budget, in $ USD that you can offer for this task?
I’d like to receive your quote. Please, pm me.

I might be able to help. I’ll send a pm.

4 likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.