Steemit condenser - hyperlink markdown copy to clipboard / 404 not found
Repository
https://github.com/steemit/condenser
Merged PR
- https://github.com/steemit/condenser/pull/3284 (hyperlink markdown)
- https://github.com/steemit/condenser/pull/3282 (404 not found)
It took 3 months for being merged :)
Regarding comments in the code, as a contributor, I followed the Steemit's practice.
New Features
Hyperlink markdown copy to clipboard
Now you can copy the hyperlink markdown to clipboard for much easier reference
If you click the share button, the popup below appears.
Previously, it didn't provide a function to copy the link as a hyperlink markdown.
But now, you have a separate button to copy the hyperlink markdown to clipboard as follows:
const link = this.props.permlink;
const title = this.props.title;
const steemd = 'https://steemd.com' + link;
const steemdb = 'https://steemdb.com' + link;
const busy = 'https://busy.org' + link;
const steemit = 'https://steemit.com' + link;
const steemitmd = '[' + title + '](https://steemit.com' + link + ')';
let text =
this.state.copied == true
? tt('explorepost_jsx.copied')
: tt('explorepost_jsx.copy');
let textMD =
this.state.copiedMD == true
? tt('explorepost_jsx.copied')
: tt('explorepost_jsx.copy');
part of the code https://github.com/steemit/condenser/pull/3284/commits/009acadee8db0877e6d197d6101d39dbe8d60edd
Basically, it shows the hyperlink markdown. And there is a status for whether it's copied or not. When clicked, copy it and change the text of the button to "copied".
Benefits
Much easier reference
Even though users want to provide proper references, so far it's very cumbersome. In the new proposal, it's way easier to do it.Author credit
Proper reference appreciates the original authors. Thus, authors have more incentive to write good posts.Plagiarism prevention
Partly due to the anonymity of blockchain, not enough reference tends to be provided. The difficulty of reference leads to unintentional plagiarism.Search engine ranking improvement
Most search engine ranking algorithm (including Google) uses the hyperlink to calculate the score of a link. If more references are provided, it can increase the search engine ranking of the articles.
Bug Fixes
Show Steemit logo instead of text on 404 not found
Previously, 404 not found page was as follows:
Showing "steemitbeta" as a text looks too beta :)
Now, it shows as follows:
Still beta, but it looks much nicer!
This is also good for consistency with normal pages.
https://github.com/steemit/condenser/pull/3282/commits/846d52583c5eed1f2cb2b9d9b1f8b8a21a930655
A quality contribution as always. Both PRs includes a good explanation about the problem and solution.
Good to see Steemit inc. reviews and merges community PRs. Even though the changeset is small in terms of SLOC, it's a great example for our development category. I really like to see that kind of contributions, personally.
Great job.
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]
Hi @emrebeyler, thank you for your review and comments. Sure, I also hope to see more of this small contribution to Steem projects. As you know, if a community PR is big, then it's unlikely to be merged :) That's also why I prefer this :) Thanks.
Thank you for your review, @emrebeyler! Keep up the good work!
gomdory님이 blockchainstudio님을 멘션하셨습니당. 아래 링크를 누르시면 연결되용~ ^^
gomdory님의 곰돌이 일기장 4월 26일 - 댓글 구출 4200개 돌파!
한글: 무려 3개월전에 구현해서 잊고 지냈는데 @jaydih님 포스팅 스팀잇 몰래 패치 발견 : 포스팅 공유 보고 알았네요. (해당기능으로 복사ㅎㅎ) 감사합니다^^ 사실 busy 등 스팀 앱에 코드가 들어간게 제법 되어서 이제 예전과 같은 감흥은 없지만 steemit UI (condenser)로는 첫 contribution이기도 해서 그래도 또 기분은 좋네요. 따로 한글 기념 포스팅도 하겠습니다^^
오옷 축하드립니다. 스팀잇에 너무 멋진 기능이 추가되었네요.
그리고 한글 기념 포스팅 감사합니다.
네 잊고 지냈는데 뜬금없이 반값게 해줘서 지갑이 분리되면서 또다른 수정사항(파워다운 금액보여주기) 지갑 repo로 옮겨달라는 것도 방금 냉큼 해줬네요. 또 3개월 기다려야하는건ㅎㅎ
곰돌이가 @anpigon님의 소중한 댓글에 $0.008을 보팅해서 $0.015을 살려드리고 가요. 곰돌이가 지금까지 총 4312번 $49.497을 보팅해서 $54.362을 구했습니다. @gomdory 곰도뤼~
Hi @blockchainstudio!
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
Hey, @blockchainstudio!
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!
@blockchainstudio, thank you for supporting @steemitboard as a witness.
Here is a small present to show our gratitude
Click on the badge to view your Board of Honor.
Once again, thanks for your support!