-
Notifications
You must be signed in to change notification settings - Fork 4
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 arrow on left of headers in help page #1075 #1076
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1076 +/- ##
========================================
Coverage 97.94% 97.95%
========================================
Files 42 42
Lines 1560 1566 +6
Branches 418 419 +1
========================================
+ Hits 1528 1534 +6
Misses 31 31
Partials 1 1
Continue to review full report at Codecov.
|
@sam-glendenning Could you take a look at the new code I wrote? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Merge it if you're happy (PR owners can't approve their own request, despite you effectively hijacking this and leaving one line blamed to me 😂)
Actually never mind, I have admin privileges, I'm happy with it, you're happy with it, we don't need this back and forth for a tiny PR |
Description
As the help page is by far the longest page, I've added an arrow next to each of the main headings in the help page which, when clicked, takes the user to the top of the page again so they don't have to scroll all the way back up. Due to the help page being constructed from pure HTML, I had to use a Unicode-style icon for the links. This also required some additional logic in the table of contents construction so the icon wouldn't appear in the header names.
I couldn't decide which side to have the arrow on so kept it on the left for now but this can be easily changed. Here's what they look like for reference:
Left:
Right:
Testing instructions
Go to /help and try it out!
Agile board tracking
Closes #1075