Steemhunt front-end improvements - 8 May

in #utopian-io6 years ago (edited)

https://github.com/Steemhunt/web
Github Repository contributing to

Intro - What's Steemhunt?

Steemhunt is a community-generated leaderboard that rewards people for sharing and upvoting cool new products, run on top of the STEEM blockchain.

In Steemhunt, product hunters can feature up-to-date and cool products. The daily ranking system will be applied by the Steem upvoting system. The rank will be organized by the pending payout values on a daily basis. All actions will be synced with your Steemit blog and rewarded by STEEM tokens.

More information & How to use is available on our launching post.

Bug Fixes

No bug fixes on 3rd party libraries

New Features

1. Strip out control characters & Refactoring

Steem API refuses if content contains control characters, with "Missing posting authority" error. mvandeberg says it's probably not Steem blockchain itself refusing the content here, maybe it's steem.js. Anyway, we have no reason to accept control character on our content, so I just stripped out those invalid characters on our front-end side using this match:
text.trim().replace(/[\x00-\x09\x0B-\x0C\x0E-\x1F\x7F-\x9F]/g, '')

Commits:

2. Include app json_metadata in comments

Steemhunt didn't include any json_metadata on comments, so tools like this http://steemreports.com/sincerity-most-used-apps/ showed 0 comment count for Steemhunt. I added the following metadata on our comments to fix the issue:
app: 'steemhunt/1.0.0'

Commits:

3. Hide "edit button" if article's already paid out

Steemhunt showed edit button even though the post was already paid out after 7 days. I just added isEditable function to check whether the comment is already paid out or older than 7 days.

Commits:

4. Added hide / unhide feature for moderators

Moderators needed to be able to hide posts from the listings if the post doesn't meet our guidelines. I've done it manually on the console so far, and finally added the UI feature for them.

Commits:

5. Added verify feature for moderators

We have few moderators who checks the posts against our posting guidelines, and it's been waste of time when someone checks a post that is already checked by an another moderator. I added a "verified" column on posts, so moderators can see if posts already verified by others.

Commits:

6. Change routing path for author's page

When a user clicked a post link while they're viewing the author's posting list, the right side list changes back to the daily ranking board - which can be inconvenient. I just changed the author's path to with a prefix /author/ so the right panel can stay the same author's list while viewing the list.

Commits:

7. Minor design / UI improvements

Commits:

Screenshots

Sort:  

Congratulations @steemhunt! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.

To support your work, I also upvoted your post!
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Thank you for your contribution. It's good to see the project evolving.


Need help? Write a ticket on https://support.utopian.io.

Chat with us on Discord.
[utopian-moderator]

Thanks so much always your support!

Hey @steemhunt
Thanks for contributing via Utopian.
We're already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Do you mind if i do some copywriting for you? Like faq, about us or privacy policy

This is a really nice UI. Cheers @PROJECT7

I am not able to log in via SteemConnect. I go through all the steps, but it just spits me out at the homepage, still not logged in.

Can you delete your browser cache and try again? I updated some logic on login yesterday, maybe that’s why..

Thanks, I tried but still not working. It adds authorized app via SteemConnect when I go to my dashboard there. I revoked it and tried again and still doesn't work. The UI will always look like I'm logged out and will prompt me to log in.

Maybe if you have an extra steem account you can try to run through the login flow to see if you can reproduce.

This post has been just added as new item to timeline of Steemhunt on Steem Projects.

If you want to be notified about new updates from this project, register on Steem Projects and add Steemhunt to your favorite projects.

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 60051.08
ETH 2417.58
USDT 1.00
SBD 2.43