Uploaded image for project: 'Wookie'
  1. Wookie
  2. WOOKIE-408

Add a "default feature" for injecting scripts and CSS

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.15.0
    • Component/s: Feature Management, Server
    • Labels:
      None

      Description

      Currently, scripts and CSS are injected into widgets on request using Features; however, the set of scripts injected by default is coded into a number of strings within the StartPageProcessor class.

      This makes it more difficult to modify the default scripts injected.

      I suggest to remedy this we make a "default" feature that specifies the core scripts. You can then modify /features/default/feature.xml to add whatever scripts you like as part of the default setup for new widgets.

      For example, you could add a live debugging js during testing, or a HTML5 shim library, or some monitoring tools.

        Attachments

          Activity

            People

            • Assignee:
              scottbw Scott Wilson
              Reporter:
              scottbw Scott Wilson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: