mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 10:59:53 +00:00
Integrates Stripe's pricing table web component into the subscription dialog when the subscription_tiers_enabled feature flag is active. The implementation includes a new StripePricingTable component that loads Stripe's pricing table script and renders the table with proper error handling and loading states. The subscription dialog now displays the Stripe pricing table with contact us and enterprise links, using a 1100px width that balances multi-column layout with visual design. Configuration supports environment variables, remote config, and window config for the Stripe publishable key and pricing table ID. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7288-feat-add-Stripe-pricing-table-integration-for-subscription-dialog-conditional-on-featur-2c46d73d365081fa9d93c213df118996) by [Unito](https://www.unito.io)
49 lines
2.0 KiB
Plaintext
49 lines
2.0 KiB
Plaintext
# Local development playwright target
|
|
# Note: Don't add a trailing / after the port
|
|
PLAYWRIGHT_TEST_URL=http://localhost:5173
|
|
# PLAYWRIGHT_TEST_URL=http://localhost:8188
|
|
|
|
# Proxy target of the local development server
|
|
# Note: localhost:8188 does not work.
|
|
# Cloud auto-detection: Setting this to any *.comfy.org URL automatically enables
|
|
# cloud mode (DISTRIBUTION=cloud) without needing to set DISTRIBUTION separately.
|
|
# Examples: https://testcloud.comfy.org/, https://stagingcloud.comfy.org/,
|
|
# https://pr-123.testenvs.comfy.org/, https://cloud.comfy.org/
|
|
DEV_SERVER_COMFYUI_URL=http://127.0.0.1:8188
|
|
|
|
# Allow dev server access from remote IP addresses.
|
|
# If true, the vite dev server will listen on all addresses, including LAN
|
|
# and public addresses.
|
|
VITE_REMOTE_DEV=false
|
|
|
|
# The directory containing the ComfyUI installation used to run Playwright tests.
|
|
# If you aren't using a separate install for testing, point this to your regular install.
|
|
TEST_COMFYUI_DIR=/home/ComfyUI
|
|
|
|
# Whether to enable minification of the frontend code.
|
|
ENABLE_MINIFY=true
|
|
|
|
# Whether to disable proxying the `/templates` route. If true, allows you to
|
|
# serve templates from the ComfyUI_frontend/public/templates folder (for
|
|
# locally testing changes to templates). When false or nonexistent, the
|
|
# templates are served via the normal method from the server's python site
|
|
# packages.
|
|
DISABLE_TEMPLATES_PROXY=false
|
|
|
|
# If playwright tests are being run via vite dev server, Vue plugins will
|
|
# invalidate screenshots. When `true`, vite plugins will not be loaded.
|
|
DISABLE_VUE_PLUGINS=false
|
|
|
|
# Algolia credentials required for developing with the new custom node manager.
|
|
ALGOLIA_APP_ID=4E0RO38HS8
|
|
ALGOLIA_API_KEY=684d998c36b67a9a9fce8fc2d8860579
|
|
|
|
# Sentry ENV vars replace with real ones for debugging
|
|
# SENTRY_AUTH_TOKEN=private-token # get from sentry
|
|
# SENTRY_ORG=comfy-org
|
|
# SENTRY_PROJECT=cloud-frontend-staging
|
|
|
|
# Stripe pricing table configuration (used by feature-flagged subscription tiers UI)
|
|
# VITE_STRIPE_PUBLISHABLE_KEY=pk_test_123
|
|
# VITE_STRIPE_PRICING_TABLE_ID=prctbl_123
|