https://github.com/therealFlauwy/1UP
Following this post from @flauwy, I've been tasked to start the creation of the new 1UP.
As a reminder, @utopian-1UP was an Utopian bot front-runner in which members of the community would decide which are the best posts to vote for. the @utopian-1up would then vote for the best post every 2.4 hours, followed by hundreds of curators in the trail.
The functions are defined in utils.js and can be called from any of those routes.
Lots of work has been done on the getSession function that allows to get information about the user.
Indeed, users can be related to a community in many different ways, and we need this information. For each user we need to get :
For reminder, what I call the trail tail, is the last account voting on the trail, the community whale.
Whether being a normal trailing account or the trail tail, users can edit or remove their participation to the trail from the View page.
New PATCH and DELETE routes have been created for both the Trail and TrailTail objects.
The CSS will soon be added by @flauwy.
Administrators can also remove the trail tail from the Edit page.
As a demonstration speaks more than lots of words, I ve put back online the old Utopian1UP website. You can try by yourself and create a community and link a trail to it for testing purposes.
No votes will be casted do not worry, but it's an offline token so, for safety reasons, I would recommend using a test account.