Skip to content

feat: Add pricing page comparing market data subscription tiers#951

Merged
huacnlee merged 7 commits intomainfrom
endless/task-9
May 7, 2026
Merged

feat: Add pricing page comparing market data subscription tiers#951
huacnlee merged 7 commits intomainfrom
endless/task-9

Conversation

@endless-bot
Copy link
Copy Markdown
Collaborator

Summary

Implements a dedicated pricing page similar to financialdatasets.ai/pricing that visually compares different market data subscription levels and their capabilities.

Changes

  • Pricing.vue: New Vue component that displays market data subscription tiers in a pricing comparison table format, highlighting feature availability and pricing across different permission levels
  • index.ts: Registers the new Pricing component for use in VitePress pages
  • docs/en/docs/pricing.md: English pricing page
  • docs/zh-CN/docs/pricing.md: Simplified Chinese pricing page
  • docs/zh-HK/docs/pricing.md: Traditional Chinese pricing page

Motivation

Users need a clear way to understand what market data features are available at each subscription tier and how the tiers differ in price and capability. A pricing comparison page makes it easy to evaluate which subscription level fits their needs.

🤖 Auto-generated by Endless.

endless-bot and others added 7 commits May 7, 2026 02:50
根据行情权限和价格,实现一个类似 https://www.financialdatasets.ai/pricing 的独立的 pricing,以 pricing 的方式来对比不同行情权限的能力

🤖 Generated with Endless

Co-authored-by: Huacnlee Li Huashun <huacnlee@longbridge-inc.com>
- Add Pricing.vue component with 3-tier card layout (Free / LV1 / LV2),
  OPRA add-on section, and feature comparison table
- Add QuotePermissionData.ts with shared LEVEL_COLORS constants used by
  both Pricing and QuotePermission components
- Update QuotePermission.vue to use shared LEVEL_COLORS via CSS variables
- Add /pricing route to all three locale navbars
- Add qrcode dependency for QR dialog in purchase flow
- Fix zh-CN/pricing.md layout from 'home' to 'page' for correct full-width rendering

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace colored card backgrounds with clean bg + subtle radial gradient
- Free tier: unified soft panel with 3 columns instead of separate cards
- OPRA card: purple accent color matching QuotePermission level colors
- Hover: lift + shadow, border stays neutral
- Update free item copy for Trading & Account APIs (zh + en)
- FeaturesMenu: rename 监管文件 → 年报公告 / 年報財報

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… classes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@huacnlee huacnlee merged commit 58d5388 into main May 7, 2026
1 of 2 checks passed
@huacnlee huacnlee deleted the endless/task-9 branch May 7, 2026 13:30
huacnlee added a commit that referenced this pull request May 8, 2026
## Summary

Fixes the Pricing page mobile layout issues and replaces the dynamic
QRCode (which failed to render on mobile) with a hardcoded static SVG QR
code.

## Changes

- **Pricing.vue**: Fix responsive layout breakpoints and grid/flex rules
so the pricing comparison table renders correctly on small screens
- **Pricing.vue**: Replace dynamic QRCode component with a pre-generated
static SVG to ensure reliable display on all devices

## Motivation

The Pricing page had broken layout on mobile viewports, and the dynamic
QR code component was not rendering on mobile devices. Using a static
SVG eliminates the rendering dependency and ensures consistent display
across all platforms.

## Related

Builds on top of the Pricing page introduced in #951 and the
UnoCSS/PostCSS fixes from #955.

🤖 Auto-generated by Endless.

---------

Co-authored-by: Huacnlee Li Huashun <huacnlee@longbridge-inc.com>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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