-
Notifications
You must be signed in to change notification settings - Fork 64
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
Closes #2536 move location of admiraldiscovery link and re-add presentation archive link #2564
base: main
Are you sure you want to change the base?
Conversation
If we like this, should we add to every extension package @bms63 ? |
What about just "Find my function"? Then it can be generic for other extension packages? Can we give it a tooltip explaining where/what it is taking you to? That nav bar is pretty busy now. Should we get rid of the bug button and the version history (not sure if that is going to be available) |
My vote would be to keep the bug button and version history (for the latter, I think @cicdguy was going to help us with restoring it this month?). I can definitely update to Find my function and add a tooltip. |
Possible tooltip text: "Click here to travel to our admiraldiscovery portal, where you can search for an ADaM variable or parameter and identify which functions from the {admiral} ecosystem helps you derive it." But how do you add one? The |
FWIW I would suggest removing the bug button, because there is a link to "Report a bug" an inch from the bug icon |
hmm yes but only if you are on the front page |
And the bug button doesn't require much space. Thus I would keep it. |
I don't know - Maybe post an issue on the pkgdown site asking for advice on tooltips for the navbar. I still think the bug button should go!! As we have limited real estate at top and it is duplication since we link to github right next to it. But...I'm not very passionate about this topic so if it stays then all good for me!! |
I've asked RocheChat and it responed the following:
|
Thanks @bundfussr. I am following these instructions, but unsure where to add the line for Step 5. Any ideas? |
As the HTML file is generated by pkgdown, you can't add the id attribute. You could look at the HTML file and check if id or class is set for the entries for which you want to provide a tooltip. |
Hi @bundfussr @bms63 @ddsjoberg I've made the following issue on the pkgdown repo as I don't think it's worth spending too much time trying to implement tooltips from first principles in admiral. For now I have shortened the text to "Find my function 🔎" and accordingly kept the bug button. Let me know what you think! |
Seems okay to me |
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the
main
branch until you have checked off each task.styler::style_file()
to style R and Rmd filesinst/cheatsheet/admiral_cheatsheet.pptx
and re-upload a PDF and a PNG version of it to the same folder. (The PNG version can be created by taking a screenshot of the PDF version.)devtools::document()
so all.Rd
files in theman
folder and theNAMESPACE
file in the project root are updated appropriatelyNEWS.md
under the header# admiral (development version)
if the changes pertain to a user-facing function (i.e. it has an@export
tag) or documentation aimed at users (rather than developers). A Developer Notes section is available inNEWS.md
for tracking developer-facing issues.pkgdown::build_site()
and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.lintr::lint_package()
R CMD check
locally and address all errors and warnings -devtools::check()