Files
deploy/ui
zeekayandHanzo Dev a4b4d9d842 fix(ui): the UI still speaks argoproj.io to a backend that speaks hanzo.ai
The Go side was renamed; the UI was not. It still compares resource groups
against 'argoproj.io' and writes argocd.argoproj.io/* annotations, so it and
the API no longer agree on what anything is called.

Worst of these is the finalizer. The controller injects and honors
resources-finalizer.apps.hanzo.ai; the create panel's cascade-delete checkbox
wrote resources-finalizer.argocd.argoproj.io. Ticking the box produced a
finalizer nothing reads — the user is told deletion will cascade, and it does
not. The live Applications already carry the apps.hanzo.ai form; only the UI
disagreed.

The group comparisons fail the same way, quietly: node.group === 'argoproj.io'
guards the ApplicationSet and Application branches in the resource tree,
detail panes, and extension tab lookup, and the backend now sends
apps.hanzo.ai, so those branches stopped being taken.

Values follow whichever constant owns them, rather than a blanket rename:

  sync-wave / hook / deletion-approved   cd.hanzo.ai/*   (gitops-engine sync
                                                          vocabulary)
  refresh / managed-by-url / link. /     apps.hanzo.ai/* (application_annotations
  notice. / pref. / group / apiVersion                    .go, common.go)

Untouched, because they are other people's CRDs and renaming them breaks
icon and subscription lookup for anyone running those products:
promoter.argoproj.io, notifications.argoproj.io.

tsc --noEmit clean; 22 suites / 263 tests / 32 snapshots pass.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 21:22:47 -07:00
..
2019-06-04 14:47:28 -07:00
2026-04-08 09:31:19 -04:00
2019-06-04 14:47:28 -07:00
2019-06-04 14:47:28 -07:00

Hanzo CD UI

Argo Image

Web UI for Hanzo CD.

Getting started

  1. Install NodeJS and pnpm. On macOS with Homebrew, running brew install node pnpm will accomplish this.
  2. Run pnpm install --frozen-lockfile to install local prerequisites.
  3. Run pnpm start to launch the webpack dev UI server.
  4. Run pnpm build to bundle static resources into the ./dist directory.

To build a Docker image, run IMAGE_NAMESPACE=yourimagerepo IMAGE_TAG=latest pnpm docker.

To do the same and push to a Docker registry, run IMAGE_NAMESPACE=yourimagerepo IMAGE_TAG=latest DOCKER_PUSH=true pnpm docker.

Pre-commit Checks

Make sure your code passes the lint checks:

pnpm lint --fix

If you are using VSCode, add this configuration to .vscode/settings.json in the root of this repository to identify and fix lint issues automatically before you save file.

Install Eslint Extension in VSCode.

.vscode/settings.json

{
  "eslint.format.enable": true,
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": "always"
    },
    "eslint.workingDirectories": [
        {
            "directory": "./ui",
            "!cwd": false
        }
    ],
    "eslint.useFlatConfig": true
}