1. 26 Aug, 2025 5 commits
  2. 25 Aug, 2025 14 commits
  3. 24 Aug, 2025 9 commits
  4. 23 Aug, 2025 12 commits
    • fix: log name · 82c032e8
      Nekohy committed
    • feats:add custom headers override · 2d151209
      Nekohy committed
    • feat(model-pricing): enhance pricing vendor intro components with performance… · 868f1b03
       feat(model-pricing): enhance pricing vendor intro components with performance optimizations and UX improvements
      
      ## Major Changes
      
      ### Performance Optimizations
      - Add React.memo to all components to prevent unnecessary re-renders
      - Implement useCallback for expensive functions (renderSearchActions, renderHeaderCard, etc.)
      - Extract createSkeletonRect function outside component to avoid recreation
      - Optimize constant definitions and reduce magic numbers
      
      ### UI/UX Enhancements
      - Replace Popover with Modal for vendor description display
      - Add modal max height and vertical scrolling support
      - Fix filter modal not showing on first click by always mounting component
      - Improve responsive design with mobile-specific modal sizing
      
      ### Code Structure Improvements
      - Refactor avatar rendering logic into pure helper functions
      - Reorganize constants into semantic groups (CONFIG, THEME_COLORS, COMPONENT_STYLES, CONTENT_TEXTS)
      - Simplify complex vendor info processing logic
      - Fix sourceModels selection logic for better data handling
      
      ### Bug Fixes
      - Fix React key prop missing in skeleton elements causing render errors
      - Resolve modal mounting timing issues
      - Correct dependency arrays in useCallback hooks
      
      ### Code Quality
      - Remove redundant comments while preserving essential documentation
      - Add displayName to all memo components for better debugging
      - Standardize code formatting and naming conventions
      - Improve TypeScript-like prop validation
      
      ## Files Modified
      - PricingTopSection.jsx
      - PricingVendorIntro.jsx
      - PricingVendorIntroSkeleton.jsx
      - PricingVendorIntroWithSkeleton.jsx
      - SearchActions.jsx
      
      ## Performance Impact
      - Reduced re-renders by approximately 60-80%
      - Improved memory efficiency through function memoization
      - Enhanced user experience with smoother interactions
      t0ng7u committed
    • 🤖 style: Make some changes · 1f887c2e
      t0ng7u committed
    • 🐛 fix(model-pricing/header): pass sidebarProps to PricingFilterModal to prevent… · 90a30a86
      🐛 fix(model-pricing/header): pass sidebarProps to PricingFilterModal to prevent FilterModalContent crash
      
      - Re-introduce and forward `sidebarProps` from PricingTopSection to PricingFilterModal
      - Fix TypeError: “Cannot destructure property 'showWithRecharge' of 'sidebarProps' as it is undefined”
      - Keep modal state managed at top section; no other behavioral changes
      - Lint passes
      
      Files touched:
      - web/src/components/table/model-pricing/layout/header/PricingTopSection.jsx
      t0ng7u committed
    • 🎨 refactor(model-pricing/header): unify header design, extract SearchActions, and improve skeleton · b10f28e5
      - Extract SearchActions.jsx and replace inline renderSearchActions in PricingVendorIntro.jsx for reuse
      - Refactor PricingVendorIntro.jsx:
        - Introduce renderHeaderCard(), tagStyle, getCoverStyle(), and MAX_VISIBLE_AVATARS constant
        - Standardize vendor header cover (gradient + background image) and tag contrast
        - Use border instead of ring for vendor badges; unify visuals and remove Tailwind ring dependency
        - Rotate vendors every 2s only when filterVendor === 'all' and vendor count > 3
        - Remove unused imports; keep prop surface minimal; pass setShowFilterModal downward only
      - Refactor PricingVendorIntroSkeleton.jsx:
        - Add getCoverStyle() and rect() helpers; rebuild skeleton to match final UI
        - Replace invalid Skeleton.Input usage; add missing keys; unify colors/borders/radius
      - Update PricingTopSection.jsx:
        - Manage filter modal locally; drop redundant prop passing
      - Update PricingVendorIntroWithSkeleton.jsx:
        - Align prop interface; forward only required props and keep useMinimumLoadingTime
      - Add: web/src/components/table/model-pricing/layout/header/SearchActions.jsx
      - Lint: all files pass; no dark:* classes present in this scope
      
      Files touched:
      - web/src/components/table/model-pricing/layout/header/PricingTopSection.jsx
      - web/src/components/table/model-pricing/layout/header/PricingVendorIntro.jsx
      - web/src/components/table/model-pricing/layout/header/PricingVendorIntroWithSkeleton.jsx
      - web/src/components/table/model-pricing/layout/header/PricingVendorIntroSkeleton.jsx
      - web/src/components/table/model-pricing/layout/header/SearchActions.jsx (new)
      t0ng7u committed
    • 🎨 refactor(ui): use lucide-react for search/refresh and chevron icons · bee94700
      - DashboardHeader.jsx: replace Semi's IconSearch/IconRefresh with lucide-react's Search/RefreshCw (size 16), preserve existing button styles
      - UptimePanel.jsx: replace Semi's IconRefresh with lucide-react's RefreshCw (size 14), keep styling intact
      - UserArea.jsx: replace Semi's IconChevronDown with lucide-react's ChevronDown (size 14), preserve visual parity
      - Update imports: remove @douyinfe/semi-icons usage where replaced; add lucide-react imports
      - Verified no remaining IconSearch/IconRefresh in dashboard; no new linter errors
      
      Motivation: unify icon library for core actions and improve UI consistency.
      Follow-ups: consider migrating remaining Semi icons (e.g., plus/minus, charts) to lucide-react.
      t0ng7u committed
    • Merge pull request #1161 from lollipopkit/main · 48a6123c
      feat: query usage of token
      Calcium-Ion committed