1. 29 Aug, 2025 9 commits
    • Merge branch 'pr/kling-new-params' of github.com:feitianbubu/new-api into… · 63bf35a1
      Merge branch 'pr/kling-new-params' of github.com:feitianbubu/new-api into feitianbubu-pr/kling-new-params
      creamlike1024 committed
    • 🎨 feat(ui): enhance pricing components with improved icons and responsive design · 78260992
      - Replace copy button icon from semi-ui IconCopy to lucide-react Copy in PricingCardView
      - Add conditional tooltip functionality to SelectableButtonGroup that only shows when text overflows
      - Implement responsive table column behavior in PricingTableColumns with mobile-aware fixed positioning
      - Use DOM-based overflow detection (scrollWidth vs clientWidth) for better performance
      - Apply useIsMobile hook to conditionally set fixed: 'right' only on desktop devices
      
      These changes improve user experience across different screen sizes and provide more consistent iconography throughout the pricing interface.
      t0ng7u committed
    • Merge pull request #1564 from feitianbubu/pr/init-default-vendor · 4bf9ef55
      feat: init default vendor
      IcedTangerine committed
    • chore: Increase default page size from 10 to 100 items in model pricing views · 64058614
      This commit updates the default pagination settings across the model pricing
      components to improve user experience by reducing the need for frequent
      page navigation when browsing large model catalogs.
      
      Changes made:
      - Update initial pageSize state from 10 to 100 in useModelPricingData hook
      - Set defaultPageSize to 100 in PricingTable pagination configuration
      - Increase default skeletonCount from 10 to 100 in PricingCardSkeleton
      
      Files modified:
      - web/src/hooks/model-pricing/useModelPricingData.jsx
      - web/src/components/table/model-pricing/view/table/PricingTable.jsx
      - web/src/components/table/model-pricing/view/card/PricingCardSkeleton.jsx
      
      This change affects both card and table view modes of the model pricing page,
      ensuring consistent pagination behavior across different display formats.
      t0ng7u committed
    • 📱 feat(pricing-header): show only search/copy/filter on mobile; hide vendor intro · 8ceb0316
      - Mobile (isMobile=true): render SearchActions (search, copy, filter) only; hide vendor intro card
      - Keep PricingFilterModal available on mobile for filtering
      - Desktop/Non-mobile: unchanged behavior (vendor intro remains visible)
      - Improves small-screen UX by reducing visual clutter and prioritizing primary actions
      
      Files:
      - web/src/components/table/model-pricing/layout/header/PricingTopSection.jsx
      
      Notes:
      - Added `SearchActions` import and conditional rendering
      - No breaking changes; no styling changes required
      t0ng7u committed
    • 🎨 feat: Implement responsive design for SelectableButtonGroup component · 1bc0010f
      This commit introduces a comprehensive responsive design system for the SelectableButtonGroup component that adapts to container width changes, particularly optimized for dynamic sidebar layouts.
      
      ## Key Features
      
      ### 1. Container Width Detection
      - Added `useContainerWidth` hook using ResizeObserver API
      - Real-time container width monitoring for responsive calculations
      - Automatic layout adjustments based on available space
      
      ### 2. Intelligent Column Layout
      Implements a 4-tier responsive system:
      - **≤280px**: 1 column + tags (mobile portrait)
      - **281-380px**: 2 columns + tags (narrow screens)
      - **381-460px**: 3 columns - tags (general case, prioritizes readability)
      - **>460px**: 3 columns + tags (wide screens, full feature display)
      
      ### 3. Dynamic Tag Visibility
      - Tags automatically hide in medium-width containers (381-460px) to improve text readability
      - Tags show in narrow and wide containers where space allows for optimal UX
      - Responsive threshold ensures content clarity across all viewport sizes
      
      ### 4. Adaptive Grid Spacing
      - Compact spacing `[4,4]` for containers ≤400px
      - Standard spacing `[6,6]` for larger containers
      - Additional `.sbg-compact` CSS class for fine-tuned styling in narrow layouts
      
      ### 5. Sidebar Integration
      - Perfectly compatible with dynamic sidebar width: `clamp(280px, 24vw, 520px)`
      - Automatically adjusts as sidebar scales with viewport changes
      - Maintains optimal button density and information display at all sizes
      
      ## Technical Implementation
      
      - **Hook**: `useContainerWidth.js` - ResizeObserver-based width detection
      - **Component**: Enhanced `SelectableButtonGroup.jsx` with responsive logic
      - **Styling**: Added `.sbg-compact` mode in `index.css`
      - **Performance**: Efficient span calculation using `Math.floor(24 / perRow)`
      
      ## Benefits
      
      - Improved UX across all screen sizes and sidebar configurations
      - Better text readability through intelligent tag hiding
      - Seamless integration with existing responsive sidebar system
      - Maintains component functionality while optimizing space utilization
      
      Closes: Responsive design implementation for model marketplace sidebar components
      t0ng7u committed
    • feat: add kling video new params support · 6db0e779
      for example: image_tail,negative_prompt,camera_control
      feitianbubu committed
  2. 28 Aug, 2025 7 commits
  3. 27 Aug, 2025 9 commits
  4. 26 Aug, 2025 12 commits
  5. 25 Aug, 2025 3 commits