mozillabrasil / sumo_live_helper

Helper Add-on for SUMO forum contributors
https://addons.mozilla.org/firefox/addon/sumo-live-helper-/
Mozilla Public License 2.0
7 stars 8 forks source link

Allow configuring a maximum period for open questions (without being marked as resolved) #200

Open jhonatasrm opened 3 months ago

jhonatasrm commented 3 months ago

Summary

Today, we have an API query that fetches unanswered questions; nevertheless, we have a function that prevents their display if they don't fall within a specific time period relative to the date and time of the query.

Motivation

I believe the function we have to filter a maximum display period might restrict the visibility of volunteers, as it may not find questions that surpass the predefined period. Additionally, it limits addon users in terms of configuration. Due to this, I suggest that a period configuration (potentially in days relative to the current day) could greatly benefit volunteers.

Describe alternatives you've considered

I couldn't come up with any other alternatives apart from configuring a time period in days. I'd appreciate hearing suggestions and alternatives as well.

Additional context

Include an additional option on the following settings screen:

image

dannycolin commented 3 months ago

I do not mind offering an option to set a custom period. It's a very simply solution to implement.

However, I better longterm solution would be to completely remove the limitation and use an infite scroll.

jhonatasrm commented 2 months ago

@dannycolin, I think that makes sense as well. We could consider removing the time frame for open questions and perhaps label them (opened six months ago without resolution), like the language tags (Just an idea perhaps with that we could encourage contributors to focus on the oldest questions first).

image