Skip to content

fix: correct Lit Action pricing text in dashboard (CPL-196)#259

Open
GTC6244 wants to merge 1 commit intonextfrom
feature/cpl-196-prod-dashboard-still-shows-la-price-as-001
Open

fix: correct Lit Action pricing text in dashboard (CPL-196)#259
GTC6244 wants to merge 1 commit intonextfrom
feature/cpl-196-prod-dashboard-still-shows-la-price-as-001

Conversation

@GTC6244
Copy link
Copy Markdown
Contributor

@GTC6244 GTC6244 commented Apr 1, 2026

Summary

The "Add Funds" modal in the production dashboard displayed "$0.01 per Lit Action", which is inaccurate after the per-second billing model shipped in CPL-174 (#247).

Updated the pricing text to: "$0.01 per second for Lit Action execution with a 1-second minimum" — matching the actual billing logic in stripe.rs (COST_LIT_ACTION_PER_SECOND_CENTS) and the press release documentation.

File changed: lit-static/dapps/dashboard/index.html:359

Pre-Landing Review

No issues found. Single text correction in static HTML.

Test plan

  • Verify the "Add Funds" modal on the dashboard shows the updated pricing text
  • Confirm pricing text matches docs/management/pricing.mdx and docs/press_releases/2026-03-30.md

Closes CPL-196

🤖 Generated with Claude Code

The Add Funds modal showed "$0.01 per Lit Action" which is inaccurate
after the per-second billing model shipped in CPL-174. Updated to
"$0.01 per second for Lit Action execution with a 1-second minimum".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@GTC6244 GTC6244 requested review from a team and Copilot April 1, 2026 16:13
Copy link
Copy Markdown
Contributor

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

Updates the dashboard’s “Add Funds” modal copy to reflect the current per-second billing model for Lit Action execution.

Changes:

  • Replace outdated “$0.01 per Lit Action” text with “$0.01 per second … with a 1-second minimum” in the Add Funds modal.

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

</div>
<div class="modal-body">
<p style="margin-bottom:1rem;">Add credits to your account (minimum $5.00). Credits are used for API calls ($0.01 for management, $0.01 per Lit Action).</p>
<p style="margin-bottom:1rem;">Add credits to your account (minimum $5.00). Credits are used for API calls ($0.01 for management, $0.01 per second for Lit Action execution with a 1-second minimum).</p>
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

This paragraph now correctly describes Lit Action pricing, but it still states "$0.01 for management" while the referenced pricing doc (docs/management/pricing.mdx) currently says management calls are "$0.01 per second". Since the PR description/test plan claims the modal text matches that doc, please reconcile this inconsistency (either adjust this copy to something unambiguous like "$0.01 per management call" and/or update the doc / PR description accordingly).

Copilot uses AI. Check for mistakes.
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.

2 participants