Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reply doesn't refresh automatically #2151

Closed
economicstudio opened this issue Jan 14, 2019 · 0 comments
Closed

reply doesn't refresh automatically #2151

economicstudio opened this issue Jan 14, 2019 · 0 comments
Assignees

Comments

@economicstudio
Copy link
Collaborator

economicstudio commented Jan 14, 2019

Expected behavior

  • A new reply should be shown automatically after writing it.
  • An edited reply should be refreshed 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:

.sendAsync('get_state', [`/${category}/@${author}/${permlink}`])

@economicstudio economicstudio changed the title reply doesn't show (refresh) right after writing it. reply doesn't show (refresh) automatically Jan 14, 2019
@economicstudio economicstudio changed the title reply doesn't show (refresh) automatically reply doesn't refresh automatically Jan 14, 2019
@Sekhmet Sekhmet self-assigned this Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants