Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get numerical hashes like #123 to link to notes, not generate tag links #1825 #1826

Merged
merged 5 commits into from
Dec 7, 2017

Conversation

sagarpreet-chadha
Copy link
Contributor

Make sure these boxes are checked before your pull request is ready to be reviewed and merged. Thanks!

  • all tests pass -- rake test:all
  • code is in uniquely-named feature branch, and has been rebased on top of latest master (especially if you've been asked to make additional changes)
  • pull request is descriptively named with #number reference back to original issue

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/wiki/contributing-to-public-lab-software

We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays. Please alert developers on [email protected] when your request is ready or if you need assistance.

Thanks!

@PublicLabBot
Copy link

PublicLabBot commented Dec 6, 2017

2 Messages
📖 @sagarpreet-chadha Thank you for your pull request! I’m here to help with some tips and recommendations. Please take a look at the list provided and help us review and accept your contribution! And don’t be discouraged if you see errors – we’re here to help.
📖 This pull request doesn’t link to a issue number. Please refer to the issue it fixes (if any) in the body of your PR, in the format: Fixes #123.

Generated by 🚫 Danger

@jywarren
Copy link
Member

jywarren commented Dec 6, 2017

This looks super!!! Do you think we could add a simple test for this to https://github.com/publiclab/plots2/blob/43dcbcd8601e8a4fa23bef9eda7030b8e60a61e7/test/unit/constants_test.rb ?

Essentially running a test string like hello #42 through finder.gsub(Callouts.const_get(:HASHTAGNUMBER), Callouts.const_get(:NODELINKMD))

What do you think?

Thanks so much, this is really exciting!

@jywarren
Copy link
Member

jywarren commented Dec 7, 2017

Great, thanks! Merging now.

@jywarren jywarren merged commit dd2f01b into publiclab:master Dec 7, 2017
@jywarren
Copy link
Member

jywarren commented Dec 7, 2017

Solved #1825

@sagarpreet-chadha sagarpreet-chadha deleted the patch-9 branch December 7, 2017 15:41
@sagarpreet-chadha
Copy link
Contributor Author

Thank You :)

SrinandanPai pushed a commit to SrinandanPai/plots2 that referenced this pull request May 5, 2019
…e tag links publiclab#1825 (publiclab#1826)

* Updated constant.rb

* Updated answer.rb

* Updated comment.rb

* Updated revision.rb

* Added Test for HASHTAGNUMBER regex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants