Busy - 1 new feature and 6 bug fixes - edit old posts, powerdown, voting value, reblogged_by, etc

Repository

https://github.com/busyorg/busy

1 new feature and 6 fixes for Busy

Note: I'm not a Busy employee :)

New Features

Edit posts older than 7 days

On Busy, editing old posts were still impossible even after HF20 for a long time. I enabled the edit function.

Bug Fixes

Fix powerdown amount

  • Voting value is negative
  • Powerdown amount is more than current SP, which is impossible.

This bug is due to the floor operation in the calculation of weekly powerdown amount, as explained in details in https://github.com/steemit/steem/issues/3237 Due to this, the entire powerdown may take 14 weeks. Thus when calculating 14-week powerdown amount, it should be at most the remaining withdrawal.

While I fixed that bug at steemd level, until the fix is applied in production, any client (e.g., busy) should user their own fix. Thus, I made the fix.

  • After the fix is applied, voting value and powerdown amount (0 SP since it's 11 vests) are shown correctly.

Fix voting value

As explained in the above, Powerdown may actually take 14 weeks. Due to this bug, voting value for such users was incorrect, e.g., negative.

Fix reblogged by

Busy.org: my feed (rosatravels isn't my following)

Busy.org used post.first_reblogged_by which was always null. `post.reblogged_by' should be used, as in steemit.com https://github.com/steemit/condenser/blob/7430aca58ae9f86e501f52e3cf8dba5efc9fe3e0/src/app/components/cards/PostSummary.jsx#L70

After the fix

Fix relative url

A relative url, e.g., /@blockchainstudio/instant-undelegation-restoring-continuity doesn't work on Busy (It works on Steemit, Steempeak, etc).

Fix incorrect voting power

Vote value was shown incorrectly for users who hadn't voted for a while. This was due to the wrong calculation of VP regeneration for such users.

Fix incorrect total shares

SP being powered down shouldn't be included in the shares for voting power. Busy included it, so voting power looked much higher than the actual.

Commits

Edit posts older than 7 days

Fix powerdown amount

Fix reblogged by

Fix relative url

Fix incorrect voting power

  • Commit 0f5a69c
    • Fix incorrect voting power for users who haven't voted for a while.

Fix incorrect total shares

Fix voting value

GitHub Account

https://github.com/economicstudio

H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
13 Comments