#### Repository and Pull Requests https://github.com/Steemia/Steemia https://github.com/Steemia/Steemia/pull/66 #### About Steemia 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 (caused by third party dependencies) - Token not being saved if user's device is not secured Due to an error with a third party plugin, tokens were not able to be saved in localstorage if the user's device didn't have a password. To workaround this, I've decide to remove the plugin and use the standard method meanwhile. Here is the url for the third party plugin used before https://github.com/Crypho/cordova-plugin-secure-storage #### Bug Fixes (not caused by third party dependencies) - Comments cannot be edited Our input had a max length. When an user tried to edit a post with exceed the max length, it will not allow the user to perform any action in this input. To solve this, we've just removed the max-length property in the input allowing the user to write freely. - Transparent toolbar in some devices After seeing a video from one of our users reporting a bug, we noticed something interesting. The toolbar with options to create a post was half transparent (weird because in my device it did show correctly). However, after looking through Ionic forums, I realized that I was missing te <ion-toolbar> tag in the footer in order to have a background in it. - App frozen after inserting a whitespace as tag We have to admit that we didn't think about this edge case when we were validating the user input in the tags input. A single whitespace was breaking the app. In order to resolve this, we just add a trim() function to remove any extra empty space in the user input. #### New Features - Show videos in comments and posts Now videos can be seem directly from our app. We do not longer just show the url of the video but the player itself :D  - Retry http calls up to three times In order to help slow internet connections, we decide to give three http calls before rejecting a promise with an error. So, if an end user is not able to get the data at first intent, they will have two more chances until the promise is rejected. - Organize comments in a tree view We have to admit that implementing this feature was challenging in both client side and server side. In server side, we had to recursively collect all the replies of n depth in the tree until n is equal to 0. In client side, we had to recursively render a template by using a createEmbeddedView. We ended up with the following code: ``` <ul class="pad"> <ng-template #recursiveComments let-commentsTree> <li *ngFor="let item of commentsTree"> <render-comment [comment]="item"></render-comment> <ul *ngIf="item.replies.length > 0"> <ng-container *ngTemplateOutlet="recursiveComments; context:{ $implicit: item.replies }"></ng-container> </ul> </li> </ng-template> <ng-container *ngTemplateOutlet="recursiveComments; context:{ $implicit: commentsTree }"></ng-container> </ul> ``` In the code above, it will recreate a nice tree of li and ul tags with the comment inside each of them with the proper indentation and here is the result:  - Ability to reply to comments Before we had a mess with comments. Comments were showing in a really weird order and users were not able to reply to them. Now, there is a reply option that you can use to reply to that specific comment:  #### Misc changes - Manual detect changes in big pages Even we are manually detecting changes in feed pages, we had to do the same for big pages like post single page. By letting Angular detect every single change on scroll, it will drastically decrease the performance since not events will occur in realtime other than notifications which are triggered manually for changes detection. By telling Angular when a data will change, it drastically improved the performance due to the lower rate of calculations in the UI. #### On Next Stay alert because a new feature is also on its way πSteemia will be speaking more languages in few days :D - Localization & Internationalization π - Push Notifications - Filtering by Tags - Chat Implementation - iOS Release #### How to contribute? Fork the [Steemia Repository](https://github.com/Steemia/Steemia) and send us a pull request with your changes.
author | jaysermendez |
---|---|
permlink | steemia-comments-in-tree-structure-replies-and-more |
category | utopian-io |
json_metadata | {"tags":["utopian-io","development","steemia","steemdev","steemapps"],"image":["https://steemitimages.com/DQmXDYnDLsVYyJytF3ZmRrZdJqKMDVvkwHpMy5MaAdgQeFn/Screen%20Shot%202018-05-08%20at%204.00.36%20AM.png","https://steemitimages.com/DQmdhDFSR9E24c7egCrnBTrDLwUT1fdNnqx2gwHSQ7Crxrz/Screen%20Shot%202018-05-08%20at%204.09.06%20AM.png","https://steemitimages.com/DQmTmjBMuhhFGfLpChTm4P1kzFbevuDQvUsDr8CqL9PXLXS/Screen%20Shot%202018-05-08%20at%204.11.01%20AM.png"],"links":["https://github.com/Steemia/Steemia","https://github.com/Steemia/Steemia/pull/66","https://github.com/Crypho/cordova-plugin-secure-storage"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-05-08 08:17:24 |
last_update | 2018-05-08 08:17:24 |
depth | 0 |
children | 14 |
last_payout | 2018-05-15 08:17:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 107.863 HBD |
curator_payout_value | 35.337 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5,156 |
author_reputation | 20,790,862,502,465 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,527,398 |
net_rshares | 29,848,245,470,286 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
remlaps | 0 | 5,326,005,571 | 50% | ||
yuxi | 0 | 4,154,827,044 | 20% | ||
remlaps2 | 0 | 2,244,618,316 | 100% | ||
cub2 | 0 | 61,304,850 | 100% | ||
astronomyizfun | 0 | 3,332,269,152 | 50% | ||
miniature-tiger | 0 | 86,676,298,649 | 100% | ||
jakipatryk | 0 | 51,891,182,724 | 100% | ||
jomeszaros | 0 | 8,799,890,226 | 100% | ||
alexzicky | 0 | 9,315,317,100 | 20% | ||
aafeng | 0 | 1,706,547,533 | 15% | ||
leir | 0 | 684,906,400 | 20% | ||
crokkon | 0 | 17,061,070,986 | 50% | ||
hsynterkr | 0 | 2,463,994,648 | 100% | ||
utopian-io | 0 | 29,555,360,487,152 | 20% | ||
newsrx | 0 | 193,290,742 | 10% | ||
azwarrangkuti | 0 | 69,728,596,600 | 100% | ||
shairalaleska | 0 | 611,005,618 | 100% | ||
fabiolapestana | 0 | 513,134,499 | 100% | ||
jtomes123 | 0 | 177,951,873 | 5% | ||
jaysermendez | 0 | 2,722,779,143 | 100% | ||
beercake | 0 | 3,780,528,820 | 100% | ||
emiliocabrera | 0 | 1,194,415,692 | 100% | ||
crypto-econom1st | 0 | 2,836,785,181 | 100% | ||
lsanchez920 | 0 | 461,109,662 | 100% | ||
steemia-io | 0 | 13,963,163,206 | 45% | ||
zcool | 0 | 139,264,612 | 10% | ||
bdohermos | 0 | 610,990,096 | 100% | ||
yairyth | 0 | 611,079,544 | 100% | ||
ayay | 0 | 52,218,766 | 11% | ||
whellocats | 0 | 610,755,632 | 100% | ||
researchgeek | 0 | 575,045,446 | 100% | ||
soykare95 | 0 | 503,139,074 | 100% | ||
skipjack | 0 | -118,504,271 | -100% |
**WARNING** - The message you received from @nkereuwem is a **CONFIRMED SCAM**! **DO NOT FOLLOW** any instruction and **DO NOT CLICK** on any link in the comment! For more information, read this post: https://steemit.com/steemit/@arcange/phishing-site-reported-steemautobot-dot-ml If you find my work to protect you and the community valuable, please consider to upvote this warning or to [vote for my witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=arcange&approve=1).
author | arcange |
---|---|
permlink | re-steemia-comments-in-tree-structure-replies-and-more-20180508t101852000z |
category | utopian-io |
json_metadata | {"image":["http://i.cubeupload.com/d1Dr28.png"]} |
created | 2018-05-08 08:18:48 |
last_update | 2018-05-08 08:18:48 |
depth | 1 |
children | 0 |
last_payout | 2018-05-15 08:18:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 500 |
author_reputation | 1,146,633,660,232,745 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,527,580 |
net_rshares | 2,765,373,933 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
jaysermendez | 0 | 2,765,373,933 | 100% |
Thank you for your contribution. It feels good to see a project evolving at a fast pace. Its better if you can link your app in every post, in that way its easier for people to find it. Also, it would be better if you can write comments inside the code where you have written complex logic which helps the users to go through the flow. A documentation will also help people who wanted to learn the development. ---------------------------------------------------------------------- Need help? Write a ticket on https://support.utopian.io. Chat with us on [Discord](https://discord.gg/uTyJkNm). **[[utopian-moderator]](https://join.utopian.io)**
author | codingdefined |
---|---|
permlink | re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180509t113358665z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"links":["https://support.utopian.io","https://discord.gg/uTyJkNm","https://join.utopian.io"],"app":"steemit/0.1"} |
created | 2018-05-09 11:33:57 |
last_update | 2018-05-09 11:33:57 |
depth | 1 |
children | 1 |
last_payout | 2018-05-16 11:33:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 647 |
author_reputation | 532,126,252,586,750 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,736,898 |
net_rshares | 2,591,031,765 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
jaysermendez | 0 | 2,591,031,765 | 100% |
Sure :D will follow your suggestions :D
author | jaysermendez |
---|---|
permlink | re-codingdefined-re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180509t121834034z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-05-09 12:18:33 |
last_update | 2018-05-09 12:18:33 |
depth | 2 |
children | 0 |
last_payout | 2018-05-16 12:18:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 39 |
author_reputation | 20,790,862,502,465 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,742,730 |
net_rshares | 0 |
Hi, I really like your content have an upvote.
author | jtomes123 |
---|---|
permlink | steembot-upvote-jtomes123-20180508t094600747z |
category | utopian-io |
json_metadata | {"tags":["upvote","bot"],"app":"steemBot"} |
created | 2018-05-08 09:46:00 |
last_update | 2018-05-08 09:46:00 |
depth | 1 |
children | 0 |
last_payout | 2018-05-15 09:46:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 46 |
author_reputation | 3,939,014,596,248 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,538,560 |
net_rshares | 0 |
Hello whats wrong i have been getting this error for a very long time 
author | mayowadavid |
---|---|
permlink | re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180508t202524981z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"image":["https://steemitimages.com/DQmZRKwdyCa7TuZdXaPfGKd37QZAAjZQpYdsDwwQ7jkCxNz/Screenshot_20180508-212434.png"],"app":"steemit/0.1"} |
created | 2018-05-08 20:25:30 |
last_update | 2018-05-08 20:30:54 |
depth | 1 |
children | 4 |
last_payout | 2018-05-15 20:25:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 209 |
author_reputation | 7,803,610,719,182 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,630,692 |
net_rshares | 0 |
Hello, Did you update the app? It was solved in the last version weeks ago :D
author | jaysermendez |
---|---|
permlink | re-mayowadavid-re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180508t204813586z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-05-08 20:48:15 |
last_update | 2018-05-08 20:48:15 |
depth | 2 |
children | 3 |
last_payout | 2018-05-15 20:48:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 78 |
author_reputation | 20,790,862,502,465 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,633,590 |
net_rshares | 0 |
I will go and do that now.
author | mayowadavid |
---|---|
permlink | re-jaysermendez-re-mayowadavid-re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180508t210751251z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-05-08 21:07:57 |
last_update | 2018-05-08 21:07:57 |
depth | 3 |
children | 2 |
last_payout | 2018-05-15 21:07:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 26 |
author_reputation | 7,803,610,719,182 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,635,949 |
net_rshares | 0 |
hey you must try this they are offering free 30 days upvote service for limited time. i am using it for 2 weeks, They upvote my every new post [Click here to see the offer](https://t.co/1DyxseJL8r)
author | nkereuwem |
---|---|
permlink | re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180508t081736632z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"links":["https://t.co/1DyxseJL8r"],"app":"steemit/0.1"} |
created | 2018-05-08 08:17:45 |
last_update | 2018-05-08 08:17:45 |
depth | 1 |
children | 0 |
last_payout | 2018-05-15 08:17:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 197 |
author_reputation | -717,888,124,626 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,527,434 |
net_rshares | -32,159,283,167 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
jaysermendez | 0 | -2,809,268,757 | -100% | ||
steemia-io | 0 | -29,350,014,410 | -100% |
Would love to use the app. just much easier on a desktop lol @jaysermendez
author | researchgeek |
---|---|
permlink | re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180508t081933032z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["jaysermendez"],"app":"steemit/0.1"} |
created | 2018-05-08 08:19:33 |
last_update | 2018-05-08 08:19:33 |
depth | 1 |
children | 1 |
last_payout | 2018-05-15 08:19:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 74 |
author_reputation | 9,103,472,766,284 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,527,679 |
net_rshares | 0 |
What do you mean?
author | jaysermendez |
---|---|
permlink | re-researchgeek-re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180508t082124572z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-05-08 08:21:24 |
last_update | 2018-05-08 08:21:24 |
depth | 2 |
children | 0 |
last_payout | 2018-05-15 08:21:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 17 |
author_reputation | 20,790,862,502,465 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,527,931 |
net_rshares | 0 |
<center>https://steemitimages.com/200x200/https://s-media-cache-ak0.pinimg.com/originals/81/28/3c/81283c6aed7bdb5b9f8ad73b8ce62c2f.jpg</center> --- <center>Hello @jaysermendez , Congratulations β . Your content began to appear in the hot section. I am the information account of "SteemBotTracker" site. </center> --- <center> Your Informations Total SBD: 2.582 Total STEEM: 501.359 </center> --- <center> I recommend to increase this; You can make "Resteem" and advertise to the followers of the whale accounts. "Resteem Bot" for you; β The most profitable Resteem Whale @byresteem has 25.500 Followers + 7000 Sp + Upvote with min +55 accounts. </center> --- <center> You can purchase "upvote" by bid bots. "Upvote Bot" β The most profitable whale in the last round. @smartsteem </center> --- <center> I'm taking this message once. You need to use the #steembottrackerr tag for more information. Those who "upvote" this interpretation will be awarded a "UpVote" prize of 100 Sbd per week per person. I am a bot, I can not answer the comment. I hope I could help. Good luck. Sorry if I disturbed you. </center>
author | steembottrackerr |
---|---|
permlink | 20180523t063854955z |
category | utopian-io |
json_metadata | {"tags":["advice"],"app":"steemjs/test"} |
created | 2018-05-23 06:38:57 |
last_update | 2018-05-23 06:38:57 |
depth | 1 |
children | 0 |
last_payout | 2018-05-30 06:38:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,140 |
author_reputation | -1,493,369,324,060 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 57,214,145 |
net_rshares | 0 |
Hey @jaysermendez **Thanks for contributing on Utopian**. We're already looking forward to your next contribution! **Contributing on Utopian** Learn how to contribute on <a href="https://join.utopian.io">our website</a> or by watching <a href="https://www.youtube.com/watch?v=8S1AtrzYY1Q">this tutorial</a> on Youtube. **Want to chat? Join us on Discord https://discord.gg/h52nFrV.** <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for Utopian Witness!</a>
author | utopian-io |
---|---|
permlink | re-jaysermendez-steemia-comments-in-tree-structure-replies-and-more-20180509t134321339z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["jaysermendez"],"links":["https://join.utopian.io","https://www.youtube.com/watch?v=8S1AtrzYY1Q","https://discord.gg/h52nFrV","https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1"],"app":"steemit/0.1"} |
created | 2018-05-09 13:43:21 |
last_update | 2018-05-09 13:43:21 |
depth | 1 |
children | 0 |
last_payout | 2018-05-16 13:43:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 512 |
author_reputation | 152,955,367,999,756 |
root_title | "[Steemia] - Comments in tree structure, replies, and more" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,756,325 |
net_rshares | 0 |