•  
      request #12590 Widgets should not include their CSS files on empty dashboards
    Infos
    #12590
    Joris MASSON (jmasson)
    2019-02-12 14:28
    2018-12-06 11:53
    12502
    Details
    Widgets should not include their CSS files on empty dashboards

    A bunch of widgets load their CSS on every and all dashboards, even the ones where they are not present (even dashboards where they can't be added...). Since request #12519, Widgets have a proper way to include CSS only when they are present.

    As of today, the following widgets are misbehaving:

    • CrossTrackerSearch
    • Docman "Reviews"
    • hudson "Job test results"
    • Labeled items
    • Project links
    • Time tracking "overview"
    • Time tracking "user widget"
    • Tracker Renderer

    Some of them also load Javascript in a bad way.

    This also has the advantage of getting rid of many deprecated Burning Parrot events.
    The "Tracker Renderer" widget is even responsible for loading CSS from 3 plugins and will be dealt with in a dedicated commit for this request.

    enhancement
    Dashboard & Widgets
    All
    Empty
    Empty
    Stage
    Empty
    Closed
    2019-02-12
    Attachments
    Lighthouse profile on an empty project dashboard
    References

    Follow-ups

    • User avatar
      • Status changed from Under review to Closed
      • Connected artifacts
      • Close date set to 2019-02-12
    • User avatar
      gerrit #13325 integrated into Tuleap 10.10.99.6
    • User avatar
      gerrit #13092 integrated into Tuleap 10.9.99.18
    • User avatar
      • Original Submission
    • User avatar
      gerrit #13325 is under review
    • User avatar
    • User avatar
      gerrit #13092 is under review