-
Type:
Suggestion
-
Resolution: Won't Fix
-
Component/s: Dashboard - Dashboards & Gadgets
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
Any gadget that loads in an iframe needs a complete dependency graph for its resources to work.
Some resources require "platform" pieces of javascript – some web-resources that expose libraries or behaviours that everybody should just get, but should not have to explicitly depend upon.
Traditionally, JIRA has provided the superbatch as this "you get these things 'for free' " mechanism.
Gadgets do not include the superbatch.
This means that anything a gadget wants that's in the superbatch it will need to explicitly depend upon.
Amongst those things is an AMD loader.
Manual inclusion of an AMD loader is not scalable and shouldn't be the solution. Automatic inclusion of the loader at a platform level is the desired approach.
- is related to
-
JRASERVER-63193 Gadgets should always provide an AMD loader
- Closed