[busy][2.5.6] New/edited reply doesn't refresh automatically

in #utopian-io5 years ago (edited)

Project Information

I reported the issue on the github.

Expected behavior

  • A new reply should refresh automatically after writing it.
  • An edited reply should refresh automatically.

These worked well before on Busy, and Steemit.com still works well.

Actual behavior

  • A new reply cannot be shown without manual refresh.
  • An edited reply doesn't refresh automatically.

Thus, it's impossible to distinguish whether a reply is actually written or not (or edited or not), and many users may write the same reply multiple times, or need to refresh the page manually.

How to reproduce

Currently, the issue happens all the time.

  • For a new reply
    1. Write any reply.
    2. Then, the newly written reply doesn't show up unless you refresh manually.


  • For an edited reply
    1. Edit any reply.
    2. Edited body doesn't refresh automatically.


  • Browser version: Any
  • App version: Busy 2.5.6 (current)
  • Operating system: Any

Recording Of The Bug

writing a new reply


after submitting it, the new reply doesn't show up! So, it's impossible to know whether it's actually written or not.


need manual refresh to see the new reply, which was automatically shown before.

Cause

This is due to the deprecated API get_state explained here:

If any apps are still relying on get_state, we highly recommend ceasing use as soon as possible.
https://steemit.com/steemit/@steemitdev/upcoming-changes-to-api-steemit-com



Busy is using get_state to refresh the comment here:

https://github.com/busyorg/busy/blob/a4fb508758c85da70c64ba65400f445a910f5dc1/src/client/comments/commentsActions.js#L66

GitHub Account

https://github.com/economicstudio

Sort:  

Hi @blockchainstudio, thanks for making this contribution.

I was able to replicate the aforementioned behavior.

We expect that busy.org, being a single page application should have the ability to interact with the user by dynamically rewriting the current page rather than loading entire new pages from a server. Of recent, this happen to not be the case for new/edited replies.

I like how this report is structured. I like that you took your time to explain the use cases in which this behavior is obtained.

Although the report is missing a fix, you were able to point us to the source of the bug:

This is due to the deprecated API get_state

I 'd assume that updating the code to match the new changes to the steem API should fix this.

Thanks again for this report. I look forward to your future contributions.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Hi @fego, thank you for your review. Among the busy bugs that I reported, this is very annoying, hope Busy to fix this soon. Thanks.

Thank you for your review, @fego! Keep up the good work!

Summary in Korean: busy에서 며칠전부터 댓글을 작성했을때 자동 refresh가 안되어서 댓글이 써졌는지 구분하기가 사실상 불가능합니다. 물론 순간적으로 보이는 submitted 풍선을 보면 되긴하는데. 그래서 현재는 수동으로 새로고침을 해야하는데 이거 아주 번거롭네요. 원인은 이제 제공되지 않는 get_state 때문인데 직접 고쳐볼 시간은 없고 이건 상당히 불편하니 제발 busy가 좀 고쳐줬으면 좋겠습니다ㅠㅠ 스팀잇에서는 잘 되고 있습니다. 미리미리 잘 고쳐뒀거나 애초에 다른 api를 사용한듯하네요. 그걸 참고해서 고치면 됩니다.

모바일에서 댓글 작성하는데 Busy를 애용하고 있었는데, 자동 리플레쉬가 안되니 너무 불편하네요. 게다가 댓글이 중복으로 보일때도 있고... 심각합니다. ㅠㅠ

네 이번건 좀 많이 불편하네요. 비지에서 쉽게 안 고칠거라 한동안 불편할듯ㅠㅠ

곰돌이가 @anpigon님의 소중한 댓글에 $0.017을 보팅해서 $0.006을 살려드리고 가요. 곰돌이가 지금까지 총 2640번 $32.658을 보팅해서 $32.745을 구했습니다. @gomdory 곰도뤼~

수고 많으셔용~♩♬
행복한 월욜 ♥ 보내셔용~^^

Posted using Partiko Android

짱짱맨 호출에 응답하여 보팅하였습니다.

Congratulations @blockchainstudio! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You got more than 2500 replies. Your next target is to reach 2750 replies.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

수고하셨습니다.

전에 스팀챗 남기신거 이제야 확인했는데, 많이 늦었네요 ㅠ 어떤 일이셨는지요?

이전에 먼저 문의주셨던 것때문에 연락드린 것이었는데 그 사실자체를 기억 못하시는 것 같으니 신경쓰지 않으셔도 됩니다^^

아 저도 회원 리스트에 있냐고 문의드렸던거 말씀이신가보네요;;

이렇게 내용과 관계도 없는 글에 공개적으로 별로 해당 이야기를 하고 싶지 않아서 굳이 번거롭게 스팀챗으로 연락드린것이었는데ㅎㅎ 그것과 관계없이 연락주신김에 예전에도 궁금했었는데 "홍보해 뉴비 큐레이터, qna서포터즈"는 어떤 활동을 하시는 것인가요?

그러신거 같아 스팀챗으로 답변 먼저 드리고 확인이 늦어 죄송하다고 댓글로도 이야기드렸던 겁니다.

뉴비분들 글을 kr-guidedog 홍보해 이용하여 소개하는 것과 kr-qna 태그로 질문글 달렸을 때 답변해드리는거였는데요, 둘다 지금은 활동하지 않고 있네요;; 바꿔야되는데 미루다보니 아직 그냥 뒀던거에요.

Hi @blockchainstudio!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @blockchainstudio!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

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

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.032
BTC 61451.22
ETH 2929.56
USDT 1.00
SBD 3.65