Repository navigation
Docs: Feedback opens Chirio's pin mode for people signed in on once-ui.com - #550
Merged
Merged
Conversation
…nce-ui.com The docs widget had no token URL, so nobody was vouched for: pin mode stayed off and the drawer showed the board form with its email sign-in. It now asks once-ui.com/api/feedback-token, and Feedback tries pin mode first. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtybUWM9Z2AgZdqsQPo
once-ui.com answers docs.once-ui.com alone, so on localhost, CI and preview URLs the widget's token fetch was refused with a CORS error on every page, which the docs smoke test counts as a problem. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtybUWM9Z2AgZdqsQPo
lorant-one
pushed a commit
that referenced
this pull request
Nov 19, 2026
…ate --locales (#544) Both reached preview after #554 merged main into 3.0, so main's switch to 3.0 would otherwise leave them behind on preview. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On docs.once-ui.com, Feedback opens the old board panel with an email sign-in instead of the pin comments. There are two causes:
data-token-url, so it never knew who was reading, and pin mode stays off for someone nobody vouched for.FeedbackButtonsnever calledChirio.pin(). chirio#172 and studio#257 fixed the same thing in other apps.What
data-token-url="https://once-ui.com/api/feedback-token". The session cookie on.once-ui.comtravels with the request.window.Chirio.pin()first and falls back to the drawer.Someone signed in on once-ui.com gets pin mode. Visitors who aren't signed in still get the board form, which signs them in by email, because Chirio needs to know who posts.
This needs studio's companion PR (
fix/feedback-token-for-docs, CORS for the docs origin) to ship first. Until then, the token fetch fails and the docs behave exactly as before.Generated by Claude Code