-
Type: Task
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Web UI
-
Epic Link:
-
Tags:
-
Sprint:nxGang Sprint 11.1.4, nxGang Sprint 11.1.5
-
Story Points:13
We'd like to have all Web UI code and extensions from addons in a single repository and packaged in a single jar
Typically https://github.com/nuxeo/nuxeo-dam/tree/master/nuxeo-dam-web-ui html/js resources will move to nuxeo-web-ui repo.
We keep git history.
Once the jar is deployed in the tomcat, we need to think of a mechanism to discover which addons are installed to enable their web ui fragment:
- we iterate in index.jsp over installed addons and load them by convention from the war
(This would just be a temporary state until Web UI has its own deployment in its own node server).
About https://github.com/nuxeo/plugin-nuxeo-web-ui, we are also going to merge it into nuxeo-web-ui.
Final repo hierarchy could look like:
├── addons │ └── dam │ ├── nuxeo-dam-bundle.js │ ├── ftest │ ├── document │ ├── package.json │ └── src ├── index.html ├── package.json ├── src ├── pom.xml └── web-ui-bundle.html
Document type layouts
Our webpack bundling script will have to properly handle these addons fragments.
mp clean up
We should end up without any *-web-ui.jar bundle anymore. As a direct result, every mp assembly file should be cleaned up:
- https://github.com/nuxeo/marketplace-dam/blob/master/marketplace/src/main/assemble/assembly.xml
i.e. remove directive about the conditional install of web ui jar.
BTW, here is the list of addons that extend Web UI:
- https://github.com/nuxeo/nuxeo-dam/tree/master/nuxeo-dam-web-ui
- https://github.com/nuxeo/nuxeo-drive-server/tree/master/nuxeo-drive-web-ui
- https://github.com/nuxeo/nuxeo-arender-connector/tree/master/nuxeo-arender-web-ui
- https://github.com/nuxeo/nuxeo-template-rendering/tree/master/nuxeo-template-rendering-web-ui
- https://github.com/nuxeo/nuxeo-template-rendering/tree/master/nuxeo-template-rendering-jaxrs-web-ui
- https://github.com/nuxeo/nuxeo-liveconnect/tree/master/nuxeo-liveconnect-box-web-ui
- https://github.com/nuxeo/nuxeo-liveconnect/tree/master/nuxeo-liveconnect-box-web-ui
- https://github.com/nuxeo/nuxeo-liveconnect/tree/master/nuxeo-liveconnect-dropbox-web-ui
- https://github.com/nuxeo/nuxeo-liveconnect/tree/master/nuxeo-liveconnect-google-drive-web-ui
- https://github.com/nuxeo/nuxeo-liveconnect/tree/master/nuxeo-liveconnect-onedrive-web-ui
- https://github.com/nuxeo/nuxeo-liveconnect/tree/master/nuxeo-liveconnect-web-ui
- https://github.com/nuxeo/nuxeo-core-binarymanager-cloud/tree/master/nuxeo-core-binarymanager-s3-web-ui
- https://github.com/nuxeo/nuxeo-ai/tree/master/nuxeo-ai-web-ui
- https://github.com/nuxeo/nuxeo-wopi/tree/master/nuxeo-wopi-web-ui
- https://github.com/nuxeo/nuxeo-csv/tree/master/nuxeo-csv-web-ui
- https://github.com/nuxeo/nuxeo-platform-spreadsheet/tree/master/nuxeo-platform-spreadsheet-web-ui
- https://github.com/nuxeo/nuxeo-easyshare/tree/master/nuxeo-easyshare-web-ui
and for test purpose: