During development
It is note that the introduction of new libraries may throw an error. This is usually because WebPack requires the library to be included as part of the ModuleFederationPlugin entry within the webpack.config.js It is suggested that the new library be added into the area on the configuration annotated mixture.
Adjustment once final positioning within the SKA-Portal has been determined
So that there is no clashes with other applications originating from a skeleton, the following steps should be taken. Once these are done the application will no longer be available via the ReactSKeleton menu item within the SKA-Portal
webpack.config.js : Change the devServer port number from 8090.
webpack.config.js : Change the final ReactSkeleton entry to NewApp.
Relate these new values back to the developer responsible for updating the SKA-Portal
Once these steps have been completed, the application should be accessible from it’s new location in the SKA-Portal
SKA Components
These are supplied from the various components. An overview of the libraries have been provided here for reference. For specifics of the components/functions available, please refer to the appropriate repository
ska-javascript-components : library containing a few pure components and types
ska-gui-components : library containing components that have been built using Material UI.
ska-gui-local-storage : library containing redux local storage. This is used by the ska-gui-components components as applicable
It is noted that all the components from ska-javascript are provided in addition as part of the ska-gui-components library, so separate inclusion is not required if the ska-gui-components are included.
Services
Included are a number of services, which have also been implemented into the code, providing simple examples. It is expected that in the main that there will be no updates to these services directly
Below is a list of the current services, together with their purpose.
i18n : Allows for text to be displayed in the language of the browser, with English as the default
theme : Contains the initialization of the latest SKAO Theme