TLDR; before this update the user always has to scroll to get to the footer actions in the wizard. There's a weird nested page section thing happening which results in the wizard body+footer being 100% of the height of the main content area, but when you add the wizard header as a separate section above the 100% height wizard body+footer, the header pushes the wizard contents down so that the bottom portion of the wizard (equal to the height of the header, and roughly the height of the footer) is always out of view. This means that the user always has to scroll to get to the footer. |
||
|---|---|---|
| .github/workflows | ||
| .travis | ||
| config | ||
| profiles | ||
| src | ||
| tools | ||
| .babelrc | ||
| .eslintrc.yml | ||
| .gitignore | ||
| .stylelintrc.json | ||
| .travis.yml | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
image-builder-frontend
Development
- Clone the following repositories:
Optional: https://github.com/osbuild/osbuild-composer
-
Setting up the proxy
Choose a runner (podman or docker), and point the SPANDX_CONFIG variable to profile/local-frontend-and-api-with-identity.js included in image-builder-frontend.
sudo insights-proxy/scripts/patch-etc-hosts.sh export RUNNER="podman" export SPANDX_CONFIG=$PATH_TO/image-builder-frontend/profiles/local-frontend-and-api-with-identity.js sudo -E insights-proxy/scripts/run.sh -
Starting up osbuild-composer-cloud
Make sure osbuild-composer is installed and osbuild-composer-cloud is enabled:
sudo systemctl enable --now osbuild-composer-cloud.socketStart a remote worker like so:
sudo systemctl enable --now osbuild-remote-worker@localhost:8704 -
Starting up image-builder In the image-builder checkout directory
make build OSBUILD_SERVICE="http://127.0.0.1:8703/" ./image-builder -
Starting up image-builder-frontend
In the image-builder-frontend checkout direcotry
npm install npm start
The UI should be running on https://prod.foo.redhat.com:1337/apps/image-builder/landing, the api (image-builder) on https://prod.foo.redhat.com:1337/api/image-builder/v1/openapi.json