-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Interact Button in Documentation #1697
Interact Button in Documentation #1697
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1697 +/- ##
=======================================
Coverage 61.88% 61.88%
=======================================
Files 63 63
Lines 5851 5851
=======================================
Hits 3621 3621
Misses 2230 2230 Continue to review full report at Codecov.
|
Before a pull request is accepted, it must meet the following criteria:
|
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.
Looks great - there's one thing that I missed last time.
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.
Looks as expected! Thanks for changes.
My opinion is we should take care of the aesthetic of the documentation. Personally, I don't like the changes so much (specially the second line of text). Also, adding a block of CSS code seems overcomplicated for a task that should be easy to solve with shields.io . Anyway, the button works as expected and that's not an easy job! Congrats. Feel free to merge this if you are satisfied with the results. |
This addition seems to be good as we are trying to integrate Binder with TARDIS code notebooks. I would agree that with @epassaro on the fact that this CSS needs to be added in the |
@epassaro We used the same white shade text on blue shade background as on top left (where tardis home is mentioned). Can you please elaborate what do you think that can be improved?
@epassaro Where do you think is better to put second line of text?
That's true but for some users it's not identifiably clickable as @smithis7 pointed out - so I have to write CSS to create an actual button. |
@DhruvSondhi it's already added in prolog - check the code. Did you mean something else - let me know if there's better place to put it? |
I found the choice of words redundant (interact-interactive, you can x2), not sure about using a semicolon before the button. Also, I'm not a fan of title case, but I'm not a native English speaker so probably it's just in my head.
About the second line: I found it too short, not worthing a new line. |
Are we actually happy with this? @epassaro do you want us to wait for further discussion before merging? |
Accounted, also made clear the benefit of launching interactive version is no need of installing locally if user is interested after playing with it then they can.
It's because it's an inline button - I tried without colon, that looks more odd
I can understand it may appear to loud to some users, changed to sentence style - I missed it rule 5 in the article I shared also says so.
Accounted made it bit descriptive and complimentary to 1st line. And in same line it looks too cluttered - also bear in mind that we will reduce width of main page container to 800px (#1687) in coming days (so there won't be that much white space). @epassaro @smithis7 check this out with all changes: |
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.
@smithis7 can you make the changes in code as per screenshot I shared (they're mostly textual edits)?
Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com>
Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com>
b3e9dfe
to
4deba21
Compare
* first draft of button * Create button with Jaladh's code Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com> * Fixing indentation problem * Fix hovering color Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com> * fixing github link * deleting last line and changing title case Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com>
* first draft of button * Create button with Jaladh's code Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com> * Fixing indentation problem * Fix hovering color Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com> * fixing github link * deleting last line and changing title case Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com>
* first draft of button * Create button with Jaladh's code Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com> * Fixing indentation problem * Fix hovering color Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com> * fixing github link * deleting last line and changing title case Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com>
* first draft of button * Create button with Jaladh's code Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com> * Fixing indentation problem * Fix hovering color Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com> * fixing github link * deleting last line and changing title case Co-authored-by: Jaladh Singhal <jaladhsinghal@gmail.com>
Description
Adds a button in the documentation that allows you to launch binder.
Examples
See this page for an example: https://smithis7.github.io/tardis/branch/interact_badge_doc/quickstart/quickstart.html
Type of change
Checklist