Giter Site home page Giter Site logo

Comments (6)

ilyavolodin avatar ilyavolodin commented on June 3, 2024 1

Demo re-write now pull tooltip information from the rule metadata, so closing this issue.

from archive-website.

JamesThorpe avatar JamesThorpe commented on June 3, 2024

Looks like it's because these are built to automatically read the first paragraph from the documentation pages:

https://github.com/eslint/eslint.github.io/blob/master/js/app/demo.js#L124

Unsure of the best fix at this point, as obviously some of the documentation is quite lengthy.

from archive-website.

nzakas avatar nzakas commented on June 3, 2024

Thanks, we will take a look.

from archive-website.

ilyavolodin avatar ilyavolodin commented on June 3, 2024

I don't really think it's fixable. I just grab the first paragraph from the documentation page and hope that it has something that would explain what this rule does. Unfortunately, our documentation doesn't follow strict formatting, so in a lot of cases, first paragraph might be incomplete, or might not explain anything about the rule...

from archive-website.

JamesThorpe avatar JamesThorpe commented on June 3, 2024

Yeah - completely understand. Perhaps one approach could be to keep the popovers open for longer, rather than disappearing as soon as you move off the element, and put a "read more..." link in them that goes to the full documentation page?

from archive-website.

ilyavolodin avatar ilyavolodin commented on June 3, 2024

@JamesThorpe That might solve it. But I think better approach would be to populate tooltip with short rule description from here instead: http://eslint.org/docs/rules/
At least most of those are meaningful.

from archive-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.