Currently the online help base URL for a Firefly instance is set by a build-time parameter.
This causes problems in two ways:
- By default it doesn't apply the logic already used elsewhere in Firefly to determine whether Firefly components are being used from within Web pages whose page URL are not the Firefly server's URL. (E.g., in the case of the JupyterLab extension.)
- While the build parameter could be set to an absolute URL to override this, that would break the relocatability of Firefly application container images - e.g., in the RSP, where the same image is used in 12 different instances of the RSP in four countries.
We discussed the possibility of doing both of these:
- Improving the default logic to sense the "embedded use" case; and
- Making an override to the default logic available as a run-time configuration item.
At least one of these is needed ASAP by Rubin to fix the operational problem that the online help is not working in the JupyterLab extension. This needs to be fixed in Firefly for general applicability, rather than in "suit".
Shadowed by https://jira.ipac.caltech.edu/browse/FIREFLY-1138 .
|Issue Type||Story [ 10001 ]||Bug [ 1 ]|