Skip to content

Add public branding endpoint#366

Merged
marccampbell merged 2 commits into
mainfrom
fix-public-branding-endpoint
Jun 6, 2026
Merged

Add public branding endpoint#366
marccampbell merged 2 commits into
mainfrom
fix-public-branding-endpoint

Conversation

@marccampbell

Copy link
Copy Markdown
Contributor

Summary

  • add public /api/branding for non-secret app name and logo metadata
  • update useBranding to stop calling admin-gated /api/hub-config
  • dedupe concurrent branding fetches across shared page consumers

Tests

  • env GOCACHE=/private/tmp/elasticclaw-go-build go test ./pkg/hub -run TestBrandingEndpointIsPublicAndDoesNotExposeToken
  • npm run build (from web/)

@greptile-apps

greptile-apps Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Add public branding endpoint" | Re-trigger Greptile

Comment thread pkg/hub/server.go Outdated
Comment thread web/hooks/use-branding.ts Outdated
@greptile-apps

greptile-apps Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Reviews (2): Last reviewed commit: "Address branding review feedback" | Re-trigger Greptile

@marccampbell marccampbell merged commit 9186853 into main Jun 6, 2026
11 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