Langstroth

PeakD update: Magi swaps, decent memes and nicer code blocks

by @asgarth · 0 votes · 0.000 HBD
This is another one of those PeakD update posts where the individual commits are not all huge by themselves, but the full release feels much more meaningful when everything is bundled together. So instead of doing a commit-by-commit changelog, here are the main things users are more likely to notice. ![image.png](https://files.peakd.com/file/peakd-hive/asgarth/23wMRduRejmXCVTSEkxxJWGcsH3bAuJiSU7JpAZkqgYEW4YfY1cdJBw2TYiNm53sV37oW.png) ### Magi swaps directly in the wallet The Magi wallet section now has a **Quick Swap** option powered by the Magi widget. Kudos to @yozen and the @magi.network team for supporting this integration. With the new widget you can swap HIVE and HBD on the Magi network from inside the PeakD wallet (https://peakd.com/wallet/vsc), using the wallet method you already use on PeakD. The widget is only available when viewing your own Magi wallet. ![image.png](https://files.peakd.com/file/peakd-hive/asgarth/23w3EdNWtzJE7RsPLA2DfYhRZ61pUWyb3qFaKp94FfY9BsdnvgggVqgG1geK7XGfwh4H6.png) Magi is still a newer network, so be sure to review the swap pool liquidity before doing any major swap. ### DecentMemes support in the editor The GIF picker has been reworked to support both **Tenor** and **[DecentMemes](https://decentmemes.com/home/)** by @acidyo (more details in [this post](https://peakd.com/decentmemes/@acidyo/introducing-decentmemescom--frontend-widget)). You can now create a meme from the editor flow and insert it directly into posts, replies, comments, and snaps. PeakD also keeps track of the DecentMemes metadata and required beneficiaries, so generated memes can properly include the expected beneficiary setup for the template submitter or creator. ![image.png](https://files.peakd.com/file/peakd-hive/asgarth/244eQuiVbeRitPrqXdDGvk36Ccfau2JWZZcKkK7J1TSKJHbaPHfKP3n68in1RDDSgZ8rK.png) Expect more fine tuning and improvements as this integration is still in the early stages. ### Code blocks finally look like code blocks Posts and comments now support syntax highlighting for code blocks. Thanks @rishi556 for requesting this change. This matters a lot if you write technical content, guides, scripts, dev notes, configuration examples, or anything with styled code blocks. PeakD now keeps language classes from markdown code fences and dynamically loads the highlighting logic, so the main app does not get heavier or slower for everyone just because some posts contain code. The practical result is simple: code blocks are easier to read, long lines behave better, and dark mode no longer makes code feel like a forgotten white rectangle. ```typescript const answer = 42; console.log(`The answer to life, the universe, and everything is ${answer}.`); ``` ### A new 75% HP / 25% HBD reward option Another small change suggested by the community (thanks @erikah). There is now a new post reward setting between the usual 50/50 payout and the 100% Hive Power option: **75% HP and 25% HBD**. This option is available in the publish flow and in the default post reward setting. I like this one because it gives authors a little more flexibility without adding a complicated reward matrix. Some people want more HP accumulation, but not necessarily the full 100% power-up route every single time. ### Other useful improvements A few smaller but still practical updates landed too. The witness vote modal now shows votes ordered by voting power instead of using the older alphabetical layout, which makes it much easier to understand who is supporting a witness and how much weight is behind those votes. ![image.png](https://files.peakd.com/file/peakd-hive/asgarth/23tcNa7q5RyvFbYmAy55pfQ6ZoJVhEdEh4Lo6tqZ3aVBvo5jmL4WFPUqATJVPe1aKaKw8.png) The wallet sidebar now shows the HIVE price in BTC (suggested by @antisocialist), conversion and savings withdrawal requests are sorted more clearly, snaps have easier access to downvote actions for spam handling, and author tooltips now support touch-hold behavior on mobile. ![image.png](h […]