Dvc.org: glossary: add <abbr> tags everywhere!

Created on 27 Jun 2019  路  16Comments  路  Source: iterative/dvc.org

Once #431 is merged,

There will be an initial glossary.js file with a set of terms we want to add <abbr> tags around in the md files so they display glossary tooltips on hover and dotted underline links to click on (for mobile).


Possibly also add functionality to the glossary engine module so all the abbr terms in each doc are displayed on the right side bar (when visible, for wider screens) beneath the edit and chat buttons.

doc-content enhancement good first issue priority-p2

All 16 comments

@jorgeorpinel Let's start working on this issue now. :)

Feel free to get going with fixing the mobile view and open a PR, sure! Thanks @algomaster99

Any luck so far with the mobile view @algomaster99 ? I can work on the other checkboxes in this issue description but that one I feel you're the best equipped to tackle.

Of all the glossary: issues, this I think is the most important one so I'm giving it p1 label @shcheklein but please correct me if i'm wrong.

@shcheklein also what do you think of the parts of the description I scratched out: "There should be a section or a few sections called Basic Concepts..." and "Possibly also add functionality to" (at the very bottom)? Please confirm we no longer need those, otherwise I'll create a separate issue for any relevant one.

@jorgeorpinel I think we still need some Basic Concepts section in the User Guide - a section per each, that explain stuff in more details than the glossary.

I agree to remove the second one for now.

Extracted "There should be a section or a few sections called Basic Concepts..." to #550.

Ping @algomaster99 still around? 馃槂

@jorgeorpinel I am really sorry I am not contributing these days but I have been really busy. Can you quickly update me what all do I need to do as of now? Thanks!

No worries just let us know if you're no longer available, you've already helped a lot 馃憤
But if you can try to address the first checkbox here, that would be great:

I am just temporarily busy. I will definitely get on with this issue once I am free. I'll try this weekend.

Fix mobile view first, actually. Per https://github.com/iterative/dvc.org/pull/431#pullrequestreview-263985560

Actually I looked with my browser (Chrome) and mobile view is not broken by this, it's just not implemented yet. What are the options to implement this? The floating tooltips don't seem to be a good design for mobile. Maybe create a rectangle in the bottom 1/3 or so of the screen for the glossary entry text? (With an x to close it.)

@jorgeorpinel We can give small question mark to indicate if it is clickable on mobile. Something like this - cache? or should we stick with underline only?
For display, I agree with showing it on 1/3 of screen.

@algomaster99 are you back? 馃檪

I think underline is fine. Honestly I wouldn't expect many people will be using our command reference on mobile that much but I guess we have to implement this. If we could just have a rectangle take over the bottom 1/3 or so of the screen (with a big x to close it) when they click underlined terms, that would be great.

@jorgeorpinel can we close this one?

It hasn't been finished actually 馃槄 the use of tooltips is not super consistent yet. But if we plan to just keep doing this going forward and not retroactively, then yes.

Yeah, I doubt that we'll have time to go through all the pages at some point. Let's close it.

Was this page helpful?
0 / 5 - 0 ratings