Steem content module: Post listings

My latest contribution to the BlockPress.me project includes a new update to the steem content module, namely the ability to display a post listing by username. The post listing part of the module is by no means complete however, I still need to create a similar output for a tag and multiple user and tag combinations. Plus I need to create a 'load more' option. I also still need to enable click through to the post content.

Still, getting the post listing working is a significant incremental achievement along the road to completing the steem content module that will enable blockpress software to function as a self hosted blog.

See the following commits:

Content module loading bug fix

Sometimes blockpress would crash when trying to render the menu, because it loads the content modules asynchronously and some of the menu items use these modules to create their buttons. I added some code to stop the menu creating itself until all the modules had finished loading, making the site instantly more stable and user friendly.

I effectively used recursion.

See this commit

To do

Limit the users post listing by tag(s) if specified

Get tag listing if no user specified

Get latest posts if no user or tag specified

Support multiple specified users

Add click through to a post

Add click through from post back to post listing, via tag.

Add click through to profile from a username in post or post listing

Display comments in a post

Add post listing area to profile

Styling and data currently displayed

I have only styled this module content very basically so far, leaving the bulk of that for @dana-varahi. I have also left them the task of adding further content from the retrieved data set, such as thumbnail images, author, vote count, comment count and payout data.





Posted on Utopian.io - Rewarding Open Source Contributors