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
- Commit 1eed349
- Enable editing old posts.
Fix powerdown amount
- Commit 1afae98
- Fix powerdown amount for 14th-week powerdown.
Fix reblogged by
- Commit fb720cc
- Show "reblogged by" for reblogged posts in feed.
Fix relative url
- Commit 84db306
- Fix relative url problem
- Commit 9989ff2
- Remove busy.org hardcoding
Fix incorrect voting power
- Commit 0f5a69c
- Fix incorrect voting power for users who haven't voted for a while.
Fix incorrect total shares
- Commit 0f5a69c
- Fix incorrect total shares for users powering down
Fix voting value
- Commit 1afae98
- Fix 14 week powerdown voting value