Skip to content

fix: gRPC error extraction and About modal layout - #31

Closed
Gkrumbach07 wants to merge 1 commit into
mainfrom
fix/ux-dev-mode-fixes
Closed

fix: gRPC error extraction and About modal layout#31
Gkrumbach07 wants to merge 1 commit into
mainfrom
fix/ux-dev-mode-fixes

Conversation

@Gkrumbach07

Copy link
Copy Markdown
Owner

Summary

Rebased version of #18 onto current main, dropping the obsolete CORS change (removed in #29).

  • gRPC error extraction: use errors.As with GRPCStatus() interface instead of status.FromError to get the clean gateway message from wrapped errors (avoids grpc-go v1.82+ full error chain in messages)
  • About modal: isAutoFit with autoFitMinModifier for responsive layout without mid-word label wrapping

Supersedes #18 (cross-repo, can't rebase).

Original author: @gmenher

Test plan

  • go build ./...
  • go test ./internal/api/ -run TestWriteGrpcError — all 6 wrapped error cases pass
  • go vet ./...
  • tsc --noEmit

🤖 Generated with Claude Code

Rebase of #18 onto current main, dropping the obsolete CORS/ALLOWED_ORIGINS
change (CORS was removed in #29).

1. gRPC error extraction: use errors.As with GRPCStatus() interface instead
   of status.FromError to get the clean gateway message from wrapped errors.
   Avoids grpc-go v1.82+ replacing the message with the full error chain.

2. About modal: use isAutoFit with autoFitMinModifier for responsive layout
   without mid-word label wrapping.

Original-author: Gaizka Menendez Hernandez <gmenende@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Gkrumbach07 Gkrumbach07 closed this Aug 8, 2026
@Gkrumbach07
Gkrumbach07 deleted the fix/ux-dev-mode-fixes branch August 8, 2026 04:05
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