Skip to content

Conversation

@HarshCasper
Copy link
Member

This PR:

  • Implements a docs feedback system using PostHog Surveys
  • Adds an API-based survey capture with "Was this helpful?" yes/no flow and optional text feedback
  • Added contextual follow-up questions: positive feedback shows "What did you like?" options, negative shows "What went wrong?" options
  • Styled widget for both light/dark modes with compact UI, radio buttons, and success state

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 11, 2026

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5244101
Status: ✅  Deploy successful!
Preview URL: https://cd298726.localstack-docs.pages.dev
Branch Preview URL: https://feedback-widget.localstack-docs.pages.dev

View logs

Copy link
Collaborator

@remotesynth remotesynth left a comment

Choose a reason for hiding this comment

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

As noted, please adjust the colors of the line and text to match.

@quetzalliwrites
Copy link
Collaborator

It works amazing! The only thing I want to change is placement.

Placing the feedback widget at the bottom of a docs page is a best practice. This strategic placement ensures users have consumed the content BEFORE being asked to evaluate it, leading to more informed, context-aware insights.

Contextual Relevance (After Reading)

Users are more likely to provide valuable feedback (such as identifying, for instance, that a code sample didn't work) AFTER they have finished reading a tutorial. Placing it at the bottom aligns with the natural end of a user's task.

Also...There's no need for a line to separate this widget, I consider that clutter and would remove.

(some screenshot examples below)

Screenshot 2026-02-12 at 10 29 25 PM Screenshot 2026-02-12 at 10 29 37 PM

Copy link
Collaborator

@quetzalliwrites quetzalliwrites left a comment

Choose a reason for hiding this comment

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

Just 2 things:

  • fix color text (perhaps ask Lazar to confirm which one to use for this?)
  • update widget placement to bottom of doc page

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.

3 participants