Skip to content

Move feedback into the right side-nav - #3324

Draft
enf0rc3 wants to merge 2 commits into
mainfrom
wl/feedback-widget
Draft

Move feedback into the right side-nav #3324
enf0rc3 wants to merge 2 commits into
mainfrom
wl/feedback-widget

Conversation

@enf0rc3

@enf0rc3 enf0rc3 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Replaces the Google Forms link at the bottom of the article with the widget from the Figma design: Yes/No vote → optional comment → thank you, sitting under the article nav.

This is a stop-gap, front-end only ux change rather than a wholesale change in the way we collect this data. There are benefits to improving the way we collect data e.g. splitting the questions and having the submit solely for the qualitative data, and having the yes / no on helpful use a different mechanism.

Results

Submissions go to the same Google Form as before:

Field Sent
entry.336432709 page window.location.href
entry.128617088 scale 1–5 Yes → 5, No → 1
entry.434783109 comment textarea, or a space when empty (the form marks it required)

Known limits, both worth a follow-up:

  • Google Forms sends no CORS headers, so the POST is no-cors and the response is opaque. A rejected submission is indistinguishable from an accepted one — "Thanks for your feedback!" is optimistic.
  • Nothing is captured until Send is pressed. A reader who votes and leaves submits nothing. Moving the POST to the vote handler is a one-line change if you'd rather not lose those.

T ODO:

  • Test and confirm the new UI actually works (i suspect it may not if you need email or something)
  • Check how it works on mobile / responsive views.

🤖 Generated with Claude Code

@enf0rc3
enf0rc3 force-pushed the wl/feedback-widget branch from a805773 to 595cba4 Compare August 10, 2026 03:47
@enf0rc3
enf0rc3 changed the base branch from wl/remove-feedback to main August 10, 2026 03:47
@enf0rc3 enf0rc3 changed the title Add the feedback widget to the table of contents column Move feedback into the table of contents column Aug 10, 2026
enf0rc3 and others added 2 commits August 10, 2026 17:31
The Google Forms feedback prompt is being replaced with something new, so
drop it from the default layout rather than leave it rendering.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Yes/No vote, an optional comment, and a thank you, built to the Figma
design and sitting under the article navigation.

Submissions go to the existing Google Form. It has no yes/no field, so
Yes maps to 5 and No to 1 on its 1-5 scale, and the comment field is
marked required there, so an empty box sends a space. Google Forms sends
no CORS headers, so the POST goes out as no-cors and the response is
opaque - the thank you is optimistic.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@enf0rc3
enf0rc3 force-pushed the wl/feedback-widget branch from 595cba4 to 6e7ec79 Compare August 10, 2026 05:38
@enf0rc3 enf0rc3 changed the title Move feedback into the table of contents column Move feedback into the right side-nav Aug 10, 2026
@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3324.z22.web.core.windows.net.

You can view the ephemeral environment status in Octopus Deploy.

This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity.

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.

2 participants