[Steemia] - App updates + Owned API

in #utopian-io8 years ago (edited)

Introduction

Steemia is a social network app running over the Steem Blockchain. This app will provide the users an enriched user experience plus features commonly encountered in a casually used social media. The goal of this project is to give the community a mobile app where they can do their daily activity in the blockchain.

Bug Fixes

  • What was the issue(s)?
    The issue was that Steemia was showing the incorrect amount of posted posts. https://github.com/Steemia/Steemia/issues/26

  • What was the solution?
    Even though the solution was not implemented directly in client side, it was implemented in server side and was introduced in the refactoring of the old endpoints.

New Features

  • What feature(s) did you add?
    The new feature added was to display video-only posts instead of making the user open the post. Here are two screenshots for better reference:
    Screen Shot 2018-03-29 at 12.45.40 AM.png

Screen Shot 2018-03-29 at 1.12.09 AM.png

  • How did you implement it/them?
    An arbitrary attribute was added to the post object and client side switch the template when this new attribute is true. Then, using https://github.com/orizens/ngx-youtube-player/ component, videos are rendered.

https://github.com/Steemia/Steemia/pull/35/commits/4aff448fc030b1b649eba5c8fc3096dc92dee0a0#diff-2c566fd7a73d1d115054d050d3d0b8c1

Other changes

  • Client side logic was moved to server side to avoid wasting of memory.

Before, calculations like steem voting power was calculated in client side. This is not longer true thanks to the new Steemia API.

  • Replace old endpoints with new endpoints

In order to reflect changes in the application, constants were changed with the new endpoints.

  • Close popover voting slider after set the weight

Popover was still open even after vote was emitted correctly. This was causing a bad user experience.

  • Fix incorrect reputation

This change was done in server side and calculations were removed from client side.

  • Refactor actions provider

All the logic are now handled inside the provider instead of the components itself. Also, Google analytics actions are done inside the provider instead of the components.

  • Refactor voting slider

Voting slider was having extra logic that was not really needed. After an audit of this code, I've conclude that this component can be an emitter instead of a whole component.

  • Add Google Analytics

Knowing the audience is crucial as well as know how do they interact with the application. This is why Google Analytics was added.

  • Remove delay in actions

With the all API delays were anywhere causing the app to be outdated of the last content. Now this is not an issue.

  • Detect current user before load profile page

Before, profile page was loaded straight without first checking the user. Opening your profile from one of your post will redirect you to the author profile page instead of your own profile. This was done by adding a middleware to check the user and determine what page to load.

  • Change app identifier (minor)

App was using the default ionic app identifier. Now it is com.steemia.steemia

  • Deprecate logger provider

Logger provider was used to try to get the old API updated with the actions. Now, with the new API this is not longer needed thus, this whole provider was deprecated.

  • Refactor paginations

This was one of the break changes of the new API. Paginations were refactored to follow the new pattern

Pull Requests

https://github.com/Steemia/Steemia/pull/35
https://github.com/Steemia/Steemia/pull/32

Contributors

We love contributors! If you want to collaborate in this project, feel free to fork the Steemia Repo and send us a Pull Request



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 @vladimir-simovic, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Los usuarios esperamos que puedan resolver pronto los detalles del proyecto y tengamos la posibilidad de usar sus herramientas!

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

Achievements

  • WOW WOW WOW People loved what you did here. GREAT JOB!
  • 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

Inner comment 2 test

Steemia Inner Comment Test