Skip to content

docs: document Project.BugReporter - #830

Merged
adrians5j merged 2 commits into
release/6.6.0from
adrian/bug-reporter-reference
Sep 21, 2026
Merged

adrians5j merged 2 commits into
release/6.6.0from
adrian/bug-reporter-reference

Conversation

@adrians5j

@adrians5j adrians5j commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Documents the bug reporter, which shipped in webiny/webiny-js#5736, as a ### Project.BugReporter section in the existing Project extensions reference.

Targets release/6.6.0 (#808) rather than master, so it ships with the release the feature is in.

Why it is not its own page

It first landed as <BugReporter.GitHub> from a separate BugReporter export on webiny/extensions, and this PR originally added a page for it. That export is gone: the config component is now <Project.BugReporter> (webiny/webiny-js#5746), which makes a sibling section next to Id, Telemetry, AutoInstall and FeatureFlags the obvious home. One prop table beats two that drift.

The conceptual material is compressed rather than dropped. Compose versus filed is two sentences, and the recorder is one paragraph instead of a seven-row table, which keeps the section in proportion to FeatureFlags above it.

Two bolded gotchas

Both are invisible from the types, and both fail quietly or confusingly:

  • Filing needs token and repository together. The props are independently optional, so setting only the token reads like it should work. It leaves the reporter in compose mode instead.
  • Environment variables need || "". Reading an unset key off process.env while the config renders returns an object rather than undefined, which fails the extension's string schema and stops the build. Every template already guards this way. This one bit the feature's own PR, which is how it got found.

The default repository keeps its warning block: with no configuration a customer's compose URLs point at webiny/webiny-js, prefilled with their page titles, URLs and click timeline.

Checks

yarn generate and yarn validate:mdx both fail on this base, on pages I did not touch. Neither report mentions project.mdx, and the section adds no internal links. Net diff is two files, project.mdx and its .ai.txt.

yarn format:fix reformats 40-odd files that are already unformatted on this branch's base. I staged only mine and discarded that churn, so it is not in the diff.

Still not in the 6.6.0 changelog

Last regenerated on 16 September, before the feature merged. Whoever regenerates before release will pick up #5736 and #5746 from the release commits, with a REVIEW-PENDING marker. Nothing hand-added here, since a manual entry would be overwritten on the next run.

Workspace: wby-next3 · ✨ BUG REPORTER - FINALS

🤖 Generated with Claude Code

@vercel

vercel Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs-webiny-com Ready Ready Preview Sep 21, 2026 11:40am UTC

Request Review

Documents `<BugReporter.GitHub>` and the two modes behind it, under
reference/extensions beside Api, Admin, Cli, Infra and Project, since that is
where `BugReporter` is exported from.

Two things get more room than the prop table, because both are easy to get
wrong. Filing needs the token AND the repository, so a token on its own looks
like it should work and silently does not. And `repository` defaults to
webiny/webiny-js, so a project that configures nothing sends its users to
Webiny's issue composer carrying their own page titles and click timeline.

Also covers what the recorder captures, and the two rules that keep customer
data out of an issue: field values are never read, and a label is only taken
from an interactive element.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The config component moved from a `BugReporter` export on `webiny/extensions`
to `Project.BugReporter` (webiny/webiny-js#5746), so a sibling section next to
Id, Telemetry, AutoInstall and FeatureFlags is the obvious home. One prop table
beats two that drift, so the standalone page goes.

The conceptual material is compressed rather than dropped: compose versus filed
is two sentences, and the recorder is a paragraph instead of a seven-row table,
which keeps this in proportion to FeatureFlags above it.

Adds a second bolded gotcha alongside "filing needs token and repository":
environment variables have to be guarded with `|| ""`, because an unset key
renders as an object rather than undefined and fails the new params schema
mid-build. That one bit the feature's own PR.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@adrians5j adrians5j changed the title docs: add the bug reporter extensions reference docs: document Project.BugReporter Sep 21, 2026
@adrians5j
adrians5j merged commit d38b334 into release/6.6.0 Sep 21, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
Preview — 22d0eb8b Deployed Sep 21, 2026 by vercel[bot]
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