Skip to content

fix(docs): inline constants removed with dead code cleanup#158

Merged
polaz merged 1 commit intomainfrom
fix/#157-docs-build-missing-import
Jan 23, 2026
Merged

fix(docs): inline constants removed with dead code cleanup#158
polaz merged 1 commit intomainfrom
fix/#157-docs-build-missing-import

Conversation

@polaz
Copy link
Copy Markdown
Member

@polaz polaz commented Jan 23, 2026

Summary

Fixes #157

Test plan

  • yarn docs:build passes locally
  • Deploy Documentation workflow passes in CI

BugReportWidget.vue imported CATEGORIES and MIN_DESCRIPTION_LENGTH
from docs/functions/api/utils.ts which was deleted in #156.
Define constants directly in the component.

Fixes #157
Copilot AI review requested due to automatic review settings January 23, 2026 22:11
@polaz polaz enabled auto-merge (squash) January 23, 2026 22:12
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a broken documentation build caused by missing imports. After PR #156 removed dead Pages Function code including docs/functions/api/utils.ts, the BugReportWidget.vue component still referenced constants from that deleted file, breaking the Deploy Documentation workflow on main.

Changes:

  • Inline MIN_DESCRIPTION_LENGTH and CATEGORIES constants directly in BugReportWidget.vue
  • Remove import statement for the deleted utils.ts file

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@polaz polaz merged commit c93585f into main Jan 23, 2026
21 checks passed
@polaz polaz deleted the fix/#157-docs-build-missing-import branch January 23, 2026 22:13
sw-release-bot bot pushed a commit that referenced this pull request Jan 23, 2026
## [6.34.1](v6.34.0...v6.34.1) (2026-01-23)

### Bug Fixes

* **docs:** inline constants removed with dead code cleanup ([#158](#158)) ([c93585f](c93585f)), closes [#157](#157)
@sw-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 6.34.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Deploy Documentation workflow fails due to missing import

2 participants