Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      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
    13298
    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.

    Dashboard & Widgets
    All
    Empty
    • [x] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2019-02-12
    Attachments
    Lighthouse profile on an empty project dashboard
    References

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2018-12-06 15:36
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes