Poll voter lists + Zap polls (kind 6969)#277
Merged
Conversation
- Add kind 6969 zap poll data model (poll_option tags, closed_at, value_minimum/maximum) - Create ZapPollDisplay component with sats-based results and zap-to-vote flow - Create zapPollCache for fetching/aggregating kind 9735 receipts per poll option - Add poll_option + k tag support to zap requests via extraTags in zapManager - Add poll voting context to ZapModal with dynamic linear presets and min/max enforcement - Fetch kind 6969 alongside 1068 in poll feed with yellow highlight and badge - Add zap poll creation toggle in PollCreator, publish as kind 6969 in PostComposer - Include p tag with creator pubkey and relay hints for Lightning routing Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Click a poll result to expand and see who voted with profile pictures. Scrollable when more than 5 voters. Works for both text and image polls. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying frontend with
|
| Latest commit: |
a0d6507
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://14ba42e0.frontend-hvd.pages.dev |
| Branch Preview URL: | https://feat-poll-voter-list.frontend-hvd.pages.dev |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
frontend | a0d6507 | Mar 27 2026, 01:51 AM |
Contributor
There was a problem hiding this comment.
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
Zap Polls
poll_option,closed_at,value_minimum/value_maximumtagspoll_option+ktag in kind 9734 zap requests using choice ID stringsptag with creator pubkey + relay hint on poll events for Lightning routingNew files
src/components/ZapPollDisplay.svelte— Zap poll rendering componentsrc/lib/zapPollCache.ts— Kind 9735 receipt aggregation cacheTest plan
🤖 Generated with Claude Code