scrobble.life
#utopian-io

Steemit condenser - hyperlink markdown copy to clipboard / 404 not found

Repository

https://github.com/steemit/condenser

Merged PR

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.

404.png

https://github.com/steemit/condenser/pull/3282/commits/846d52583c5eed1f2cb2b9d9b1f8b8a21a930655

GitHub Account

https://github.com/economicstudio

Comments · 6

  • @steem.apps(60)· 2688d

    gomdory님이 blockchainstudio님을 멘션하셨습니당. 아래 링크를 누르시면 연결되용~ ^^
    gomdory님의 곰돌이 일기장 4월 26일 - 댓글 구출 4200개 돌파!

    https://ipfs.buy.org/ipfs/QmWjSVnXpxTa36rYp4UauZRctqic2VPGMEqXuFToJXXTb6 댓글 구출 4200개 돌파 - nalumsiss님 축하드려요! 통계
    • 곰돌이가 이번...
  • @steemitboard(66)· 2688d

    @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!

  • @utopian-io(72)· 2689d

    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!

  • @steem-ua(64)· 2689d

    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

  • @emrebeyler(76)· 2689d

    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]

  • @blockchainstudio(72)· 2689d

    한글: 무려 3개월전에 구현해서 잊고 지냈는데 @jaydih님 포스팅 스팀잇 몰래 패치 발견 : 포스팅 공유 보고 알았네요. (해당기능으로 복사ㅎㅎ) 감사합니다^^ 사실 busy 등 스팀 앱에 코드가 들어간게 제법 되어서 이제 예전과 같은 감흥은 없지만 steemit UI (condenser)로는 첫 contribution이기도 해서 그래도 또 기분은 좋네요. 따로 한글 기념 포스팅도 하겠습니다^^