★ wanayoo — archive 1999 https://github.com/scanapi/scanapi/pull/317Nouvelle recherche | Portail wanayoo
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

Add anchor link for each request in the report to make it easily shareable #317

Merged
merged 5 commits into from Oct 31, 2020

Conversation

Copy link
Contributor

@pxd3v pxd3v commented Oct 19, 2020

Hi everyone! I just implemented an solution for this issue: #260. The feature is already working, you just need to add the endpoint list index to the url and it's gonna open the page in the correct endpoint, e.g. url: Documents/scan-api/scanapi/scanapi-report.html#endpoint_4.
I think that we have 2 more things to implement here:

  • would be nice to numerate the endpoints in the list, that way would be easy to the user to know the endpoint index.
  • would be great to have an "share" button in the endpoint view, so the user can click on it an copy the custom url to clipboard.

I noticed another thing when editing the template HTML file, maybe would be more acessible if we start using an <ul> tag for the endpoints wrapper and <li> tags for the endpoints with proper key properties instead of <div>'s.
Let me know your thoughts!

* add behavior to scroll to endpoint div using #id in url and open it
@pxd3v pxd3v requested review from as code owners Oct 19, 2020
@pxd3v pxd3v changed the title Add anchor link for each request in the report to make it easily shareable #260 Add anchor link for each request in the report to make it easily shareable Oct 19, 2020
Copy link

@github-actions github-actions bot left a comment

Thank you for supporting ScanAPI, and congratulations on your first contribution! A project committer will shortly review your contribution.

In the mean time, if you haven't had a chance please skim over the First Pull Request Guide which all pull requests must adhere to.

We hope to see you around!

@github-actions github-actions bot added the First Contribution label Oct 19, 2020
Copy link
Member

@camilamaia camilamaia left a comment

Hey! Thank you very much for your PR. I tested it here for different browsers and it works great 👌

I believe we can create new issues for the topics you pointed out. What do you think? I will create the one for the link right now.

I've just left one minor suggestion.

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Camila Maia <cmaiacd@gmail.com>
@pxd3v
Copy link
Contributor Author

@pxd3v pxd3v commented Oct 21, 2020

So glad it worked! Was a pleasure to work on this issue and will be a pleasure to work on the "link' one if possible.

I've just commited your suggestion.

@camilamaia camilamaia requested a review from djalmaaraujo Oct 21, 2020
@camilamaia
Copy link
Member

@camilamaia camilamaia commented Oct 26, 2020

@djalmaaraujo would you mind helping me review this one? 🙇‍♀️

@camilamaia camilamaia merged commit f6a334b into scanapi:master Oct 31, 2020
6 checks passed
@camilamaia
Copy link
Member

@camilamaia camilamaia commented Oct 31, 2020

Hey, @pxd3v thank you very much for the PR!

Also, I am going to send you an invite to join the ScanAPI org on GitHub 🚀 We invite everyone that has contributed with a merged PR in any of our repos. Here you can check our Community Continuity Guidelines so you can understand better how it works.

And once again, thank you! 🙇‍♀️

@pxd3v
Copy link
Contributor Author

@pxd3v pxd3v commented Oct 31, 2020

Hi @camilamaia! it was a pleasure.

I already accepted the invite, thank you so much!! :)))

flaviotruzzi pushed a commit to flaviotruzzi/scanapi that referenced this issue Nov 19, 2020
@camilamaia camilamaia mentioned this pull request Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
First Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants