Skip to content

Conversation

@carlosabadia
Copy link
Collaborator

No description provided.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 16, 2026

Greptile Summary

This PR removes the upgrade tier UI from the pricing calculator slider component. The changes simplify the total credits card by eliminating conditional rendering based on enterprise tier selection, replacing the two-button logic ("Upgrade Now" for non-enterprise / "Contact Sales" for enterprise) with a unified "Get a custom quote for your needs" message and "Book a Call" button. The unused REFLEX_CLOUD_URL import is correctly removed.

Changes:

  • Removed conditional rendering of upgrade button vs contact sales button based on tier selection
  • Removed the "Pro Plan" pricing information tooltip and display
  • Simplified the CTA to a single "Book a Call" button using the demo form dialog
  • Removed unused REFLEX_CLOUD_URL import from constants

Confidence Score: 5/5

  • This PR is safe to merge with no risks or concerns.
  • The PR contains straightforward UI simplifications with no logic changes that could introduce bugs. The removed code is properly cleaned up (unused imports removed), and the new component structure maintains the same patterns used elsewhere in the codebase (demo_form_dialog with button trigger). The state management logic remains unchanged and unaffected by these presentation-layer modifications.
  • No files require special attention

Important Files Changed

Filename Overview
pcweb/pages/pricing/slider_calculator.py PR removes the upgrade tier conditional UI from the pricing calculator. The changes simplify the total_credits_card function by removing the conditional rendering based on enterprise tier selection, replacing it with a unified "Get a custom quote" message and "Book a Call" button. The unused import REFLEX_CLOUD_URL is correctly removed. No code quality or logical issues detected.

Sequence Diagram

sequenceDiagram
    participant User
    participant UI as total_credits_card
    participant Dialog as demo_form_dialog
    
    User->>UI: Views pricing calculator
    UI->>UI: Displays credit estimation
    UI->>UI: Shows "Get a custom quote<br/>for your needs" message
    UI->>UI: Renders "Book a Call" button
    
    User->>Dialog: Clicks "Book a Call"
    Dialog->>Dialog: Opens demo form dialog
    User->>Dialog: Submits form
    Dialog->>Dialog: Closes
Loading

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