Repository navigation
Release 0.11.0: trial cookie, trial wording, chat.mringdal.com on navy - #52
Merged
Merged
Conversation
… navy
- Trial cookie: after a guest trial the API sets cv_trial for
TRIAL_COOKIE_DAYS (30), httpOnly, SameSite=Strict, holding only the trial's
date and an HMAC of it. While a valid one is present, the challenge and
trial endpoints answer 429 "Trial already used in this browser", and the
chat says so instead of offering a trial. The challenge request now sends
credentials so the cookie is seen cross-origin. Strictly necessary for the
requested trial, so no consent banner; docs/privacy.md covers both cookies.
- Wording: the owner's new trial copy in lib/copy.ts — "Try me! Ask a few
questions", a notice that mentions the cookie, messages that point a guest
to the owner by name ("…or ask Michael"), and a greeting that asks what you
would like to know about them. The trial messages take the owner's name.
- chat.mringdal.com on mringdal.com's palette: navy throughout, the bars
included, no lines between them, no steel-blue frame; theme-color navy; no
viewport-fit=cover (DuckDuckGo's blank row above the bar). design.md updated.
- Footer links the owner's own site first (OWNER_WEBSITE_URL, mringdal.com by
default), in the same tab.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Trial cookie, the trial's wording, chat.mringdal.com on navy — release 0.11.0
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.
Promotes development to main: #51 (see CHANGES.md 0.11.0). No server configuration needed: TRIAL_COOKIE_DAYS and OWNER_WEBSITE_URL default sensibly.
🤖 Generated with Claude Code