Moderation feed on moderators profile

in #utopian-io4 years ago (edited)

This new feature was added in the last major update of Utopian. It consists of a new tab under the moderators' profile. Each moderator has a record of every moderation he/she did with the status of pending, approved or rejected, but until now we didn't have a way to display this in the frontend.

My work was to develop this new feature, reusing part of the main feed of the application and also including the filters of status and date range.

Implementation details

  • Created a new action calling the /posts/moderator endpoints with the proper parameters.
  • Implemented a verification to check if the user is a moderator to display the tabs menu correctly.
  • Used the awesome Airbnb library: react-dates to display the date picker.
  • Implemented a tab menu to display the status filter.

Links



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @icaro I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.27
TRX 0.07
JST 0.035
BTC 24520.92
ETH 1983.58
USDT 1.00
SBD 3.40