Steemit Condenser Contributions: Side by side editor/preview panes

지난달

View this post on Hive: Steemit Condenser Contributions: Side by side editor/preview panes


Context

When editing a new blog post on Steemit.com, the layout is a bit annoying with the text editor at the top and the preview at the bottom. It makes editing posts difficult because you have to keep scrolling up and down to see the preview and go back typing.

@stoodkev has introduced a side-by-side editing / preview in his SteemPlus, Chrome extension, that modifies Steemit.com pages on-the-fly. However, the release of Communities has broken few features including the side-by-side editing. This was the trigger for me to finally have a look at it and implement a built-in feature.

Steemit Condenser Contributions

The work done

To achieve the layout I had to modify both the DOM and the CSS that controls the editor in order to re-arrange the layout and make it responsive (make it adapt to all screen sizes).

Here is the desktop version:
Side by side editing and preview

It also works in night mode:
Night mode side-by-side

In narrow screens, the preview pane behaviour is unchanged and will sit below the editor.

I also had to modify the files for the comment editor as they share the same editor logic. When creating a comment, there will be no side-by-side feature but there is a slight change in design as seen below:
Comment editor new look

Steemit Condenser Pull Request

This feature is not out yet, a pull request has been created:
https://github.com/steemit/condenser/pull/3722

Once approved and merged, it will be available in a future release by Steemit Inc.


Vote for my witness
Support @quochuy Witness.jpg
On Steem, Witnesses are playing the important role of providing a performant and safe network for all of us. You have the power to choose 30 trusty witnesses to package transactions and sign the blocks that will go in the Steem blockchain. Vote for me via SteemConnect to help me do more useful projects for the communities.

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!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

That's great. Thanks for this.

I was hoping this feature would make it through - it helps a lot when I am editing the long Steem News posts.

·

It’s being reviewed now, hopefully will get out soon

Posted using Partiko iOS

·
·

That's great.

that's so great. i don't know about IT but i think when you do it for Steemit, it's so useful. thank you so much.

Will we have the option to choose between side-by-side view and top to bottom view?

·

If it gets approved and released and I get enough request for a toggle then I’ll add it. For now it will display side by side if it has enough space else it will render top to bottom.

Posted using Partiko iOS

·
·

Sometimes I like to sit comfortably, far away from a screen hanging on the wall, as I prepare my posts. Might need a pair of binoculars if the words get any smaller. There's nothing worse than publishing a post, then noticing seven hours later, you wrote penis instead of pens.

if it has enough space else it will render top to bottom.

So I could simply hold ctrl and scroll the mouse wheel within the browser, zooming in and out, and that would place the preview below? If that's the case, that's all the toggle I need.

·
·
·

Hahahaha
Yes, zooming in would trigger it.
Also the font size has not changed. So even if it’s side by side it should be the same.

Posted using Partiko iOS

·
·
·
·

Alright @quochuy. Thanks for taking the time to respond and also, keep up the good work.

Thanks @quochuy, it's sorely needed. One of the reasons i currently use steempeak instead.

Happy to have you here. Voted for you as witness.

Namaste
Atma

ps. I would appreciate you investigating the upcoming Matrix-8 platform which offers an inovative multi level governance system. I have a strong conviction this will be VERY helpful for Steem, and/especially for "saving the world" in general.

Please take a look at my latest post and the white paper linked within to begin to get an idea. I am seeking developers to build this on Steem. Perhaps you can help?

·

Thank you 😊

Posted using Partiko iOS

·

Thanks mate

Posted using Partiko iOS

Nice work. Although on my end it still doesn’t work side by side...maybe it is my screen? An observation. The search function atm seems broken. I mean one types a name and instead of being redirected to their profile, some random comments from 2 years back appear.

It would have been cool it it was upgraded like on the other front ends, with auto complete and working properly.

·

If I'm not wrong, this issue has already been raised with the dev team. I will follow up with them.

·

Regarding side-by-side, as mentioned at the bottom of the post, it's pending for approval by Steemit devs.

·
·

Oops. Missed that

Hi, @quochuy!

You just got a 0.94% 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.

Superb developments there, moving up and down just to have a view on what you've written down is a hectic. Glad seeing hopes of the request being merged and a later released on the next...

For that and many other reasons, casting my vote on your witness in a few.

I like this as long as it's a feature that can be turned off.

Congratulations @quochuy!
Your post was mentioned in the Steem Hit Parade in the following category:

  • Pending payout - Ranked 4 with $ 52,64

Congratulations @quochuy! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Your post got the highest payout of the day

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

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