Skip to content

fix: error truncation + Settings UX improvements#82

Merged
hyldmo merged 2 commits intomainfrom
hyldmo/mcp-server-byok-ai-v1
Apr 10, 2026
Merged

fix: error truncation + Settings UX improvements#82
hyldmo merged 2 commits intomainfrom
hyldmo/mcp-server-byok-ai-v1

Conversation

@hyldmo
Copy link
Copy Markdown
Owner

@hyldmo hyldmo commented Apr 10, 2026

Summary

  • Stop truncating tRPC error messages at 100 chars (show full error, use min-h-8 for multiline)
  • Fix create token button (type="submit" missing, Button defaults to "button")
  • Fix Claude Code config snippet (--header not -- --header)
  • Move token creation above config snippet for clearer flow
  • Auto-embed created token into config snippet (single copy action)
  • Move copy button out of code block overlay

Test plan

  • Create a token in Settings — button works, token appears in config snippet
  • Copy config snippet — token is embedded, ready to paste
  • Trigger an error — full message shown, not truncated

🤖 Generated with Claude Code

- TRPCError: remove 100-char truncation, use min-h-8 for multiline
- deploy.yml: revert to wrangler built-in migration tracker
  (root cause was phantom d1_migrations entry, now cleaned up)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 10, 2026

Preview deployment

URL https://hyldmo-mcp-server-byok-ai-v1.macromaxxing.pages.dev
Branch hyldmo/mcp-server-byok-ai-v1
Commit 25ca593

@hyldmo hyldmo merged commit 76de9c2 into main Apr 10, 2026
3 checks passed
@hyldmo hyldmo deleted the hyldmo/mcp-server-byok-ai-v1 branch April 10, 2026 19:23
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