Repository navigation
docs(plans): add quick polls page and cross links - #22
Merged
Merged
Conversation
A new page, Quick polls (plans/quick-polls), covers the no-account poll made from the front page: when to use one instead of a plan with guest links, the fields and defaults, More options, sharing the link, answering and changing times, reading the results, closing and deleting from the browser that made the poll, when a poll stops taking answers, the limits, and who can see a poll. Every button and message uses the app's English wording from Fermulate/potluck#51. The page is in the sidebar and the topic menu, and is linked from Planning something, Guest links, Getting started, a new FAQ entry and the Privacy and security table. No screenshots yet: the app change is not merged. Co-authored-by: Ferrin <[email protected]> Co-authored-by: noorelmosrati <[email protected]>
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.
Intent
Add quick polls to the Potluck user guide. Quick polls are a new way to find a time with no account: make a poll from the landing page, share the link, everyone paints when they are free. The app change is Fermulate/potluck#51, which is open and not merged yet.
Deliberate decisions:
What Changed
plans/quick-polls, placed last in the Plans sidebar group inastro.config.mjsand listed in the topic menu. It covers when to use a quick poll, making one, sharing the link, adding and changing times, reading results, closing or deleting a poll, when a poll stops taking answers, limits, and who can see it.plans/index, the guest links section ofplans/availability,getting-started, and a new FAQ entry, "Can I find a time without an account?". No existing heading is renamed.privacy-and-security: the intro now notes that anyone with a quick poll's link can see it, and the "What is stored, and who sees it" table gains two rows, one for quick poll titles, names and times, and one for the hashed IP address of whoever makes a poll (kept up to two hours, never stored with the poll).Credits: Musa (musa-kal), Ferrin (Ferrin-Y) and Noor (noorelmosrati)
Risk Assessment
✅ Low: Docs-only change whose quoted labels, limits, defaults, statuses and retention claims all match the app branch of Fermulate/potluck#51, with both fix-round edits (privacy intro wording, two-hour IP hash retention) verified against the hourly purge job and the rest of the privacy table.
Testing
Built the docs site at the target commit (build and the built-in internal link validator both passed), served it with astro preview on 127.0.0.1:4391 and drove it in a real browser: opened the new Quick polls page, checked the sidebar order, followed every internal link and anchor on the page, clicked through from plans, availability, getting started, FAQ, privacy and the home topic menu, read the privacy rows and intro, searched for "quick poll", checked a 390 px mobile render, and scanned rendered text of all changed pages for em and en dashes. Also built the base commit and compared heading anchors of existing pages (only the new FAQ heading was added), and compared every bold UI label on the new page with the i18n files fetched from the app branch feat/quick-polls-no-account (60 of 60 found). Screenshots captured for each surface. Everything driven passed; the guide's behavioural claims about the app were not verified against a running app. The preview server was stopped and build output removed; the worktree is clean.
Evidence: Quoted UI labels vs app branch strings
60 of 60 quoted labels found in the app branch stringsEvidence: Heading anchors, base vs target
Evidence: Target build log
All internal links are valid. 28 page(s) built. Complete!Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 2 issues found → auto-fixed (2) ✅
src/content/docs/privacy-and-security.mdx:6- The intro still says Potluck shows what it stores "only to your friends and the people you share a group with". The new table row at line 22 says quick poll titles, names and times are visible to anyone with the link, so the "only" is no longer true for the page as a whole. The intent flags this as deliberate and says rewording is welcome if review asks: review does recommend it, for example adding one clause such as "except quick polls, which anyone with the link can see". No heading changes are needed.src/content/docs/plans/quick-polls.mdx:142- The guide says the hashed IP is kept "for an hour" (also src/content/docs/privacy-and-security.mdx:23). On the app branch, the row counts toward the limit for an hour, but it is only removed by the hourly purge job (private.purge_quick_polls deletes rows with created_at <= now() - 1 hour), so a row made at 10:01 survives the 11:00 run and is deleted at 12:00, close to two hours on disk. The intent requires the guide to say only what the code does. The app's ADR 22 uses the same "kept an hour" wording, so this is the author's call: either keep it, or soften both lines to something like "for about an hour, two at most".🔧 Fix applied.
2 infos still open:
src/content/docs/privacy-and-security.mdx:6- The intro still says Potluck shows what it stores "only to your friends and the people you share a group with". The new table row at line 22 says quick poll titles, names and times are visible to anyone with the link, so the "only" is no longer true for the page as a whole. The intent flags this as deliberate and says rewording is welcome if review asks: review does recommend it, for example adding one clause such as "except quick polls, which anyone with the link can see". No heading changes are needed.src/content/docs/privacy-and-security.mdx:6- Round 1's fix introduced "The one exception is a quick poll, which anyone with its link can see." The uniqueness claim is contradicted by the table on the same page: line 14 says anyone who opens your friend link sees your first name and photo, and line 17 says anyone who opens an invite link sees the group's cover photo and name. Quick polls are therefore not the only data shown outside friends and groups. Smallest remedy is to drop the uniqueness, for example "A quick poll is different: anyone with its link can see it." No other site in the change makes this claim. User-visible privacy wording, so the author decides.🔧 Fix applied.
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
npm cithennpm run buildat target commit (exit 0, starlight-links-validator: all internal links valid, 28 pages)npx astro preview --port 4391 --host 127.0.0.1driven with Playwright: /plans/quick-polls/ returns 200, h1, 11 headings, 2 step lists, 7 limit rowsPlaywright: Plans sidebar group order, Quick polls last and marked currentPlaywright: followed all 18 internal links and anchors on the new page, every target and anchor existsPlaywright: clicked the quick poll link from /plans/, /plans/availability/, /getting-started/, /faq/, /privacy-and-security/ and the home topic menu, each lands on Quick pollsPlaywright: read the two new privacy table rows and the reworded intro on /privacy-and-security/Playwright: site search for "quick poll", top result Quick polls, click lands on /plans/quick-polls/Playwright: rendered body text of 7 changed pages scanned for U+2013 and U+2014, none foundPlaywright: 390x844 viewport on /plans/quick-polls/#limits, no horizontal overflowBase build (git checkout ba412ef -- src astro.config.mjs,astro build --outDir dist-base, restored after) anddiff heading-ids-base.txt heading-ids-head.txt: only addition is can-i-find-a-time-without-an-accountgh apifetch of packages/i18n/src/en/{quick-polls,shell,plans}.ts at ref feat/quick-polls-no-account, thennode strings.mjs: 60 of 60 bold UI labels on the new page found✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.