•  
      request #41082 tracker FlamingParrot styles should be loaded only where needed
    Infos
    #41082
    Joris MASSON (jmasson)
    2024-12-05 15:33
    2024-12-04 17:03
    42736
    Details
    tracker FlamingParrot styles should be loaded only where needed

    The fix for request #40118 has an unfortunate side-effect: as long as the TimeTracking plugin is installed, the Tracker styles will be loaded on every Tuleap page that dispatches the event named cssFile() (which means, all pages still using the FlamingParrot style). This is because the event handler in TimeTracking does not check on which page it is, but just responds true all the time.

    Of course, some CSS classes in tracker can conflict, it is the case with CSS rules designed to style a bootstrap popover. (See image below)

    2751-image.png

    This is a screenshot of the SVN plugin page for a repository settings. It was caught during Tuleap 16.2 validation. Here, the rule for SVN styles is overruled by the rule in Tracker plugin (by sheer bad luck) because it is loaded after it.

    We should fix this, while not breaking the style of the TimeTracking pages.

    UX/UI
    16.1
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2024-12-05
    Attachments
    References

    Follow-ups