Skip to content

feat: Create Project modal, default namespace, and BFF config endpoint - #136

Merged
guimou merged 1 commit into
mainfrom
dev
Jul 31, 2026
Merged

guimou merged 1 commit into
mainfrom
dev

Conversation

@guimou

@guimou guimou commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Create Project modal in ProjectSelector dropdown — users can create OpenShift projects directly from the project selector with auto-generated resource names (DNS-validated), manual override, description, and automatic namespace labeling (opendatahub.io/dashboard: true). Optimistic local state update via addProject() in the useProjects hook.
  • Default namespace cp-apache-superset — Helm chart now creates and targets a dedicated namespace via values.yaml, a namespace.yaml template, and explicit namespace: fields on all chart resources. Added install.namespace to plugin.yaml.
  • BFF GET /api/config endpoint — Exposes the BFF's runtime namespace (POD_NAMESPACE env var, injected via Kubernetes downward API) for runtime discovery. Defaults to cp-apache-superset.
  • Version bump to 0.1.1
  • Test hygiene — Silenced console.log warnings in supersetClient and supersetDashboards BFF tests

Test plan

  • All 208 frontend tests pass (npm test)
  • All 239 BFF tests pass (cd bff && npm test)
  • Lint passes for both frontend and BFF (npm run lint, cd bff && npm run lint)
  • No console warnings in test output

…point

Add CreateProjectModal to ProjectSelector dropdown so users can create
OpenShift projects directly from the selector with auto-generated
resource names, DNS validation, and namespace labeling. Extend
useProjects with addProject() for optimistic local state updates.

Set cp-apache-superset as the default installation namespace across
the Helm chart (namespace helper, namespace.yaml template, explicit
namespace on all resources) and plugin.yaml. Add GET /api/config
endpoint to the BFF exposing POD_NAMESPACE (injected via Kubernetes
downward API) for runtime namespace discovery.

Silence console.log warnings in supersetClient and supersetDashboards
tests. Bump version to 0.1.1.

---
Signed-off-by: Guillaume Moutier <guimou@users.noreply.github.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@guimou
guimou merged commit 0eb52a3 into main Jul 31, 2026
2 checks passed
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