Skip to content

feat: add Help > Report issue menu#262

Merged
jedrazb merged 2 commits intomainfrom
feat/help-report-issue
Apr 15, 2026
Merged

feat: add Help > Report issue menu#262
jedrazb merged 2 commits intomainfrom
feat/help-report-issue

Conversation

@jedrazb
Copy link
Copy Markdown
Contributor

@jedrazb jedrazb commented Apr 15, 2026

Summary

Adds a Help menu (next to Insert) with a Report issue item that opens https://github.com/eigenpal/docx-editor/issues/new in a new tab with a pre-filled body.

On the auto-upload question: GitHub doesn't accept file attachments via URL params (browser security), so the body instead prompts the user to drag-drop the .docx that reproduces the bug onto the issue. Body also pre-fills URL, viewport, and user agent.

Help menu open

Changes

  • packages/react/src/components/reportIssue.ts — URL builder + openReportIssue() helper
  • packages/react/src/components/TitleBar.tsx — Help menu wired into MenuBar
  • packages/react/i18n/en.jsontoolbar.help, toolbar.reportIssue (synced to de/pl as null)
  • e2e/tests/help-menu.spec.ts — verifies click opens correct URL with expected body fields

Test plan

  • bun run typecheck
  • npx playwright test e2e/tests/help-menu.spec.ts
  • Visual check: menu opens, Report issue item visible, matches existing menu styling

🤖 Generated with Claude Code

Opens eigenpal/docx-editor/issues/new in a new tab with a pre-filled body
(repro template + environment info). Body prompts the user to attach the
.docx file that reproduces the bug, since GitHub URLs can't carry
attachments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docx-editor Ready Ready Preview, Comment Apr 15, 2026 2:02pm

Request Review

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jedrazb jedrazb merged commit c53fa78 into main Apr 15, 2026
4 checks passed
@jedrazb jedrazb deleted the feat/help-report-issue branch April 15, 2026 14:04
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