extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Add daily-poll extension

Open dlandman27 opened this issue 2 months ago • 2 comments

Description

Create a daily poll to users to fill out. Saves to a supabase database and allows users to see past polls.

Screencast

Screenshot 2025-12-23 at 2 21 26 PM

Checklist

dlandman27 avatar Dec 23 '25 19:12 dlandman27

Congratulations on your new Raycast extension! :rocket:

Due to our current reduced availability, the initial review may take up to 10-15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

raycastbot avatar Dec 23 '25 19:12 raycastbot

Greptile Summary

This PR adds a new daily-poll extension that enables shared daily polls with anonymous voting via Supabase. The extension includes two view commands: one for voting on today's poll and another for viewing previous poll results.

Key changes:

  • New extension with proper package configuration and dependencies
  • Anonymous voting system using device UUID hashing for privacy
  • Shared Supabase backend for global poll data across all users
  • Poll timezone handling via PostgreSQL functions (Eastern Time)
  • Clean UI with vote tallies, rankings, and percentage displays

Issues found:

  • Manual Preferences type definition in previous-polls.tsx (should use auto-generated types from raycast-env.d.ts)
  • Missing CHANGELOG.md file (required for all PRs)
  • Missing metadata folder with screenshots (required for new extensions with view-type commands)

Confidence Score: 3/5

  • This PR requires fixes before merging - missing required documentation and metadata
  • The code logic is solid with good error handling and privacy considerations, but the PR is missing required elements: CHANGELOG.md, metadata folder with screenshots, and has a type definition issue that violates Raycast's auto-generation pattern
  • extensions/daily-poll/src/previous-polls.tsx needs the Preferences type fix; extensions/daily-poll/package.json needs CHANGELOG.md and metadata folder added

Important Files Changed

Filename Overview
extensions/daily-poll/package.json New extension package configuration with proper metadata and dependencies; missing CHANGELOG.md
extensions/daily-poll/src/lib/poll-api.ts Poll data fetching and vote submission logic with proper error handling
extensions/daily-poll/src/poll.tsx Main poll voting interface with results display and proper state management
extensions/daily-poll/src/previous-polls.tsx Previous polls viewer with manual Preferences type definition (violates auto-generation rule)

greptile-apps[bot] avatar Dec 23 '25 19:12 greptile-apps[bot]

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar Feb 04 '26 07:02 raycastbot

This pull request has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.

raycastbot avatar Feb 11 '26 08:02 raycastbot