temporalio / temporalio/ui

URL of UI have double / (//) when using TEMPORAL_UI_PUBLIC_PATH

Open
#1,780 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
431
Forks
179
Avg merge
2d 9h
Merged PRs (30d)
71

Description

Describe the bug

The UI redirect me to /ui/temporal//namespaces/default/workflows instead of ui/temporal/namespaces/default/workflows
Also if I go manually to /ui/temporal/namespaces/default/workflows it returns an error 404.
The issue come when I upgrade from 1.10.3 to 1.21.3 (I had to change the env var TEMPORAL_PUBLIC_PATH to TEMPORAL_UI_PUBLIC_PATH

To Reproduce
Using K8S, use something like that :

containers:
      - env:
        - name: TEMPORAL_ADDRESS
          value: temporal-frontend.svc:7233
        - name: TEMPORAL_UI_PUBLIC_PATH
          value: /ui/temporal
        image: {registry}/temporal-ui:2.21.3
        name: temporal-ui-web
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        resources: {}

**Expected behavior**
UI should redirect to /ui/temporal/namespaces/default/workflows

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the redirect with TEMPORAL_UI_PUBLIC_PATH set to /ui/temporal in the provided Kubernetes-style deployment, then trace where the UI builds navigation URLs. Done means redirects contain one separator and the corresponding direct path no longer returns 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, typescript
Domain
devops, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.