Skip to content

[P0/doc-drift] StatusBar handleReportIssue hardcoded GitHub repo URL and labels — may not match project triage #345

Closed

Description

@EVWorth

Context

StatusBar.tsx:179-188 (handleReportIssue URL construction); StatusBar.tsx:182 (labels=bug,auto-update).

Problem

The pre-filled issue URL works for the canonical repo (EVWorth/sqlpilot), but the labels are hardcoded. If the project owner uses a different auto-update label (e.g., kind/update or auto-update-failure), the labels are wrong and the triage filters miss the issue. The placeholder body also says "" — Markdown comments are not standard for issue templates; many repos use template-specific syntax that GitHub renders.

Files

  • src/components/layout/StatusBar.tsx:179-188

Expected

The labels match the project's actual triage labels; the URL is a single constant; the issue body is a copy-paste of an existing template.

Proposed fix

Scope S — move the URL + label list to a single constant at the top of the file (or in lib/repo.ts so other components can reference it). The labels should match the project's actual triage labels. The placeholder body should use the project's .github/ISSUE_TEMPLATE/auto-update.md if one exists.

Acceptance

The labels match the project's actual triage labels; the URL is a single constant; the issue body is a copy-paste of an existing template.

Needs human verify

yes (the project's actual labels are not in the code)

Activity

  1. added
    audit
    severity/p0
    kind/doc-drift
    area/theming
    on Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/themingauditkind/doc-driftseverity/p0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions