Skip to content

feat(ui): disable the legacy LitElement UI by default - #111

Merged
mosoriob merged 1 commit into
mainfrom
feat/disable-legacy-ui
Aug 30, 2026
Merged

feat(ui): disable the legacy LitElement UI by default#111
mosoriob merged 1 commit into
mainfrom
feat/disable-legacy-ui

Conversation

@mosoriob

Copy link
Copy Markdown
Contributor

ui_react is the maintained frontend. The legacy ui component stays in the chart, but a consumer now opts in rather than out.

Packaged as 9.0.0-beta.9.

The tag constraint that made this urgent

#109 moved mint-ui-lit from Docker Hub to GHCR. Only latest and main were ever pushed there. Every per-commit SHA tag lives only on Docker Hub:

ghcr.io/mintproject/mint-ui-lit:929f48e19b95bf8b4fdfe657b67c657313bd3970  -> 404
docker.io/mintproject/mint-ui-lit:929f48e19b95bf8b4fdfe657b67c657313bd3970 -> 200

The dev cluster hit exactly this during the 9.0.0-beta.8 upgrade: ImagePullBackOff on mint-ui while the old ReplicaSet kept serving, so the UI looked alive and helm upgrade --wait failed naming a different resource.

The components.ui.image.tag doc comment now records the constraint. This PR does not backfill the SHA tags in GHCR — that is a separate decision, and it only matters for consumers who both enable the component and pin a SHA.

Please read before merging

A bare install now ships no frontend. ui_react is also disabled by default, because enabling it requires components.ui_react.config.client_id and the chart hard-fails to render without one. So with this change, neither UI renders out of the box.

That is a coherent position — a deployment must choose and configure its frontend — but it is a real behaviour change, so it should be a deliberate one.

Check dynamo before this ships to TACC. If the production values rely on components.ui.enabled defaulting to true, this silently removes the legacy UI on the next chart bump. mintproject/monorepo#81 still tracks removing Lit from TACC, and it is open.

Verification

  • Bare render: ui absent, no mint-ui-lit image.
  • --set components.ui.enabled=true: renders ghcr.io/mintproject/mint-ui-lit:latest as before.
  • helm lint: 0 failed.
  • Applied on the MicroK8s dev cluster via a values override; revision 70 is deployed and the ImagePullBackOff pod is gone.

README.md regenerated with helm-docs 1.14.2.

ui_react is the maintained frontend. The legacy `ui` component stays in the
chart, but a consumer now opts in rather than out.

Document the tag constraint that made this urgent. beta.7 moved mint-ui-lit to
GHCR, but only `latest` and `main` were pushed there. Every per-commit SHA tag
lives only on Docker Hub, so an existing SHA pin against the GHCR repository
fails to pull. The dev cluster hit exactly that during the 9.0.0-beta.8
upgrade: ImagePullBackOff on mint-ui while the old ReplicaSet kept serving.

Package as 9.0.0-beta.9.

Note: ui_react is also disabled by default, because enabling it requires an
OAuth2 client_id and the chart refuses to render without one. A bare install
therefore ships no frontend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant