Pure: Edit your STEEM Posts metadata with UI

in utopian-io •  3 months ago 

Repository

https://github.com/adasq/pure
PR: https://github.com/adasq/pure/pull/1

What is the project about?

I recently started working on my STEEM-based side project and found it hard to update both post & comments metadata (mostly, json_metadata field).

All of the frontend clients built around a STEEM platform focuses on title, body fields editing - and it is 100% fine, as it covers ordinary Steemian use cases entirely. But, when it comes to the developers requirements, it is sometimes not enough.

I kicked off a small developers tool, pure which basically does the thing. My PoC includes following features set:

  1. Update post / comment fields: title, body, json_metadata
  2. Full support for steem-keychain

So, you can edit some json_metadata quickly in the browser within steem-keychain. Let's say, you want to edit my latest post: https://adasq.github.io/pure/#/@adasq/dynamic-sitemap-xml-for-steemdocs-net

image.png

On the picture you can see two columns. On the left side, there is an editable JSON structure, which allows to add, remove or update json_metadata fields. If you change anything in the structure, Save changes button (right side) will be enabled, so you can send STEEM transaction via steem-keychain.

Really simple! What happens on Save changes button click? I do check, whether steem-keychain service is available and then request post update transaction.

image.png

For those who are familiar with new React feature, so called hooks, here is my custom hook for fetching STEEM post:

image.png

Technology Stack

According to the technologies used behind the scene:

Roadmap

My goal is to cover my usecases for the first place:

  1. Casting custom_json transactions to the blockchain
  2. Covering comments_options, including beneficiaries

Then, I would like to add rest of the features (not available within ordinary frontends), which allow developers to interact with the blockchain in a quick and secure way.

How to contribute?

If you fell it lacks a must-have feature, or has an issue, feel free to post your idea on https://github.com/adasq/pure/issues.

We will discuss it and plan further steps.

GitHub Account

https://github.com/adasq

I appreciate any feedback.

Cheers, Utopian colony enthusiast!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for your contribution. It looks like a useful tool. Could you achieve this without the steem-keychain tool? To most users, they click the save-changes-button, and they are asked to install the steem-keychain first which they could have no idea and don't even bother to proceed further. Maybe the steemconnect or steemit has some open APIs to broadcast the update for the json_meta field?

Your getAuthorAndPermlink function does not correspond to the comment it parses url to retrive author & and permlink instead, it just gets rid of the @ symbol. Is this function necessary? and have you considered the edge cases for the inputs?

I understand that this project is more about the UI (via React), have you thought about testing the product using some mocking frameworks?

Another small thing is that the mouse not showing correct pointer-style when hovering on the button and links.

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]

·

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

Hi @adasq!

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

Hi, @adasq!

You just got a 0.08% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Congratulations @adasq! You received a personal award!

DrugWars Early Access
Thank you for taking part in the early access of Drugwars.

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Hey, @adasq!

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!