[Development] Fix issue on steemhunt/web where using symbols other than @ before a username makes a mention invalid

in #utopian-io6 years ago (edited)

Repository

https://github.com/Steemhunt/web

Pull Request

Bug Fixes

  • What was the issue(s)?

42254393-49164214-7f68-11e8-81d1-575105ac3fce.gif

Issue reported by sourovafrin

46514436-8a8ad400-c890-11e8-9334-b91713f12673.png
tagging username works properly after the fix

About Steemhunt

  • What is the project about?

    Steemhunt is a Steem blockchain powered ranking community for geeks, alpha nerds, and product enthusiasts who love to dig out new products and talk about them with others.

  • Technology Stack
    React, Redux, AntDesign, Scss

  • How to contribute?
    Steemhunt has their own repository at https://github.com/steemhunt. I had written a guide on how to run SteemHunt website on your own computer

GitHub Account

https://github.com/superoo7

Sort:  

Thanks for the contribution, superoo7! Cool to see you working on SteemHunt's website, have you contributed to it before?

Although it's a small change, it's great you included tests for it as well - great work!


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? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thanks for moderating. I had contributed a few on June this year actually, check the contributors from github hehe.

Screen Shot 2018-10-11 at 6.39.18 PM.png
https://github.com/Steemhunt/web/graphs/contributors

Screen Shot 2018-10-11 at 6.39.55 PM.png
https://github.com/Steemhunt/api/graphs/contributors

Thank you for your review, @amosbastian!

So far this week you've reviewed 1 contributions. Keep up the good work!

Loading...

Hi, @superoo7!

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

Hi @superoo7!

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

你那里天气如何?还在发愁自己的好文没人发现,收益惨淡吗?记得加上cn-curation标签,让飞鸽传书 帮你走出困境吧!倘若你想让我隐形,请回复“取消”。

Thank you for using @entrust!

You got a 32.95% upvote from @entrust courtesy of @superoo7!

Entrust is a bot focused on rewarding delegators and helping users promote their posts. We give 100% of the total rewards to the delegators with payouts will be given daily. If you would like to consider delegating to @entrust, we've made a quick delegation link for you :

1000 SP | 500 SP | 300 SP | 200 SP | 100 SP or visit our own tracker website for more information :

http://entrust.surge.sh/

You’ve been upvoted by TeamMalaysia community. Here are trending posts by other TeamMalaysia authors at http://steemit.com/trending/teammalaysia

To support the growth of TeamMalaysia Follow our upvotes by using steemauto.com and follow trail of @myach

Vote TeamMalaysia witness bitrocker2020 using this link vote for witness

Hey, @superoo7!

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!

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 68160.40
ETH 2442.97
USDT 1.00
SBD 2.37