Skip to content

Conversation

@Aerilym
Copy link
Collaborator

@Aerilym Aerilym commented Nov 21, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 21, 2025 03:35
Copilot finished reviewing on behalf of Aerilym November 21, 2025 03:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements automatic scheduling of pro details fetch jobs based on proof and access expiry timestamps to ensure timely updates of pro subscription status.

Key changes:

  • Adds scheduling logic for refreshing pro details before proof and access expiry
  • Refactors donate CTA logic from ActionsPanel.tsx to SessionCTA.tsx for better organization
  • Implements caching for DB creation timestamp to avoid repeated queries
  • Adds a new debug playground page for testing CTA variants

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
ts/state/ducks/proBackendData.ts Implements core scheduling logic with timeout management for proof and access expiry refreshes, updates handleNewProProof to return proof data
ts/components/dialog/SessionCTA.tsx Moves donate CTA logic here and adds pro availability checks for triggered CTAs
ts/components/leftpane/ActionsPanel.tsx Removes donate CTA logic (moved to SessionCTA) and adds calls to fetch pro details and handle CTAs on startup
ts/data/data.ts Adds caching layer for DB creation timestamp to improve performance
ts/components/dialog/debug/playgrounds/CTAPlaygroundPage.tsx New debug page for testing different CTA variants

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Aerilym Aerilym requested a review from Copilot November 21, 2025 04:00
Copilot finished reviewing on behalf of Aerilym November 21, 2025 04:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Bilb Bilb merged commit 03b651a into feat/donate_cta Nov 21, 2025
6 checks passed
@Bilb Bilb deleted the feat/pro_proof_refetch_logic branch November 21, 2025 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants