Skip to content

Send in-app feedback to Zendesk instead of Baserow - #1409

Open
allanlasser wants to merge 1 commit into
mainfrom
claude/youthful-bohr-jfztro
Open

allanlasser wants to merge 1 commit into
mainfrom
claude/youthful-bohr-jfztro

Conversation

@allanlasser

Copy link
Copy Markdown
Member

Feedback submitted through the app now opens a Zendesk ticket instead of adding a row to a Baserow table.

  • Tickets are tagged "documentcloud" plus the feedback type ("comment", "question" or "bug") so support can filter on them.
  • The attribution fieldset is now an email input that we pre-fill for signed-in users. Since Zendesk needs an address to open a ticket and follow up, we can't accept anonymous feedback.
  • The form action validates the message and email, and returns a failure so the form can show an error state.

We call ZenDesk's REST API directly, instead of using a library.

Configured with ZENDESK_SUBDOMAIN, ZENDESK_EMAIL and ZENDESK_API_TOKEN, documented in the README.

Closes #1374

@github-actions

Copy link
Copy Markdown

Preview deployed: https://preview-1409.staging.documentcloud.org

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 51.6% 3981 / 7715
🔵 Statements 50.28% 4657 / 9262
🔵 Functions 45.65% 1509 / 3305
🔵 Branches 48.7% 2037 / 4182
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/lib/api/accounts.ts 89.04% 91.66% 95.23% 88.88% 215-236
src/lib/api/feedback.ts 100% 86.84% 100% 100%
src/lib/components/forms/UserFeedback.svelte 74.57% 40.9% 85% 65.11% 94-110, 134, 153
src/lib/components/inputs/Text.svelte 100% 100% 100% 100%
src/lib/components/layouts/Error.svelte 0% 0% 0% 0% 38-72
src/lib/components/layouts/Navigation.svelte 0% 0% 0% 0% 52-70
src/routes/+layout.server.ts 0% 100% 0% 0% 4-8
src/routes/(app)/+page.server.ts 0% 0% 0% 0% 9-48
Generated in workflow #1389 for commit 2871c0f by the Vitest Coverage Report Action

@allanlasser allanlasser self-assigned this Sep 14, 2026
Feedback submitted through the app now opens a Zendesk ticket instead of
adding a row to a Baserow table.

- Tickets are tagged "documentcloud" plus the feedback type ("comment",
  "question" or "bug") so support can filter on them.
- The attribution fieldset is now an email input, pre-filled for
  signed-in users, since Zendesk needs an address to open a ticket and
  follow up. That replaces the anonymous option: we can't accept
  anonymous feedback and still route it through support.
- The form action validates the message and email, and returns a failure
  so the form can show an error state.

Zendesk suggests the node-zendesk client, but it's a Node library and we
deploy to Cloudflare Workers, so this calls the REST API with fetch, the
same way the rest of our API modules work.

Configured with ZENDESK_SUBDOMAIN, ZENDESK_EMAIL and ZENDESK_API_TOKEN,
documented in the README.

Refs #1374

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PBs5pBRFmXT9DMTVxgzKxw
@allanlasser
allanlasser force-pushed the claude/youthful-bohr-jfztro branch from 63f932b to 2871c0f Compare September 15, 2026 16:45
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.

Send Feedback into Zendesk

2 participants