Categories archive

AI-generated summary

Mestra_Powers is seeking help to create a legitimate plugin for the Categories archive feature on Discourse. They have implemented a temporary solution using JavaScript on their forum (http://forum.red-squadron.ru/), which automatically moves categories older than 2 months to an archive section after page load, and back to the main section if a reply is made in an archived category. However, this approach causes page loading issues and stuttering. They believe the solution lies in modifying the Ember.js code to reorder the categories without adding extra data, using the existing timestamp of the last topic on the page. They are willing to pay $50 for this plugin and can handle the JavaScript and CSS for the archive block themselves.

Can anyone create this as a legit plugin? And how much will this cost?

I did this feature exactly as I want it on my forum via JS (doesn’t works on mobile theme yet):
http://forum.red-squadron.ru/
All categories older than 2 month jumps into .archive block after page was loaded. And if someone will reply in category from archive, it will jump back to main section. This achieved by rebuilding page after it’s ready via JS. But I don’t like this aproach at all. It makes page loading stutter and sometimes you can see categories jumping around from main area to archive. I need to change Categories page view legit way.

I think it’s Ember.js job, because you don’t have to add any extra data to the page, only flip it around. Timestamp of last topic is already presents on the page.

//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/optimized/3X/b/d/bd4fb3080264c9c09f0bbe2542ba56acbb110c22_1_690x458.png

1 „Gefällt mir“

Bump! Can pay 50$ for this. It requires only to change the way /categories page output stuff. Active categories should be placed in first table, and categories older than 2 month - in second table inside of .archive block. I can do all js and css with .archive block myself (collapse-uncollapse), I need only Ember.js part + Ruby to make it a plugin.

This topic was closed 1 month after the last reply. New replies are no longer allowed.