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

Adding the links below the graph for Tags page #5209

Merged
merged 3 commits into from Mar 21, 2019
Merged

Adding the links below the graph for Tags page #5209

merged 3 commits into from Mar 21, 2019

Conversation

gautamig54
Copy link
Contributor

@gautamig54 gautamig54 commented Mar 20, 2019

Fixes #5090 (<=== Add issue number here)
Fixing the 3rd task of adding links below the graph for the new design of the tags page.

Screen Shot 2019-03-21 at 2 43 10 AM

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

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

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

Thanks!

@plotsbot
Copy link
Collaborator

plotsbot commented Mar 20, 2019

1 Message
📖 @gautamig54 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.

Generated by 🚫 Danger

@CleverFool77
Copy link
Member

The image looks so close to the aim.. 😍

@gautamig54
Copy link
Contributor Author

@jywarren Kindly look into the PR and merge if all seem fine. Thanks!

<a style="cursor: pointer;" onclick="document.getElementById('myImage').src='stats/graph.html?limit=100'"><u>100</u></a> |
<a style="cursor: pointer;" onclick="document.getElementById('myImage').src='stats/graph.html?limit=250'"><u>250</u></a> |
<a style="cursor: pointer;" onclick="document.getElementById('myImage').src='stats/graph.html?limit=500'"><u>500</u></a>
</h6>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indent the code.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow this is such a clever solution! Thank you!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jywarren @gauravano!

Copy link
Member

@grvsachdeva grvsachdeva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Could we also highlight the link currently active?

@gautamig54
Copy link
Contributor Author

@gauravano sure i'll do it. Thanks!

@jywarren
Copy link
Member

If it's possible to highlight the link and you can share a screenshot of that working, we're happy to merge this, thanks!

@gautamig54
Copy link
Contributor Author

Okay @jywarren. I'll highlight the active link and make a PR. Should I make a different PR or push commit here?

@gautamig54
Copy link
Contributor Author

@jywarren @gauravano I have implemented highlighting the active link and pushed commit to this PR. Kindly look into it. Thanks!

Screen Shot 2019-03-22 at 12 42 17 AM

Screen Shot 2019-03-22 at 12 42 24 AM

@jywarren
Copy link
Member

This is so nice!!! I'm merging now. Great work!

@jywarren jywarren merged commit 8bbb629 into publiclab:master Mar 21, 2019
@gautamig54
Copy link
Contributor Author

Thanks @jywarren

@jywarren
Copy link
Member

jywarren commented Mar 21, 2019 via email

jywarren pushed a commit that referenced this pull request Mar 29, 2019
* add_links_below_graphs

* add_links_below_graphs2

* highlighting the active link
icarito pushed a commit to icarito/plots2 that referenced this pull request Apr 9, 2019
* add_links_below_graphs

* add_links_below_graphs2

* highlighting the active link
SrinandanPai pushed a commit to SrinandanPai/plots2 that referenced this pull request May 5, 2019
* add_links_below_graphs

* add_links_below_graphs2

* highlighting the active link
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.

None yet

5 participants