1. 10 Jun, 2025 4 commits
    • feat: Add console announcements and FAQ management system · 0f3696ee
      - Add SettingsAnnouncements component with full CRUD operations for system announcements
        * Support multiple announcement types (default, ongoing, success, warning, error)
        * Include publish date, content, type classification and additional notes
        * Implement batch operations and pagination for better data management
        * Add real-time preview with relative time display and date formatting
      
      - Add SettingsFAQ component for comprehensive FAQ management
        * Support question-answer pairs with rich text content
        * Include full editing, deletion and creation capabilities
        * Implement batch delete operations and paginated display
        * Add validation for complete Q&A information
      
      - Integrate announcement and FAQ modules into DashboardSetting
        * Add unified configuration interface in admin console
        * Implement auto-refresh functionality for real-time updates
        * Add loading states and error handling for better UX
      
      - Enhance backend API support in controller and setting modules
        * Add validation functions for console settings
        * Include time and sorting utilities for announcement management
        * Extend API endpoints for announcement and FAQ data persistence
      
      - Improve frontend infrastructure
        * Add new translation keys for internationalization support
        * Update utility functions for date/time formatting
        * Enhance CSS styles for better component presentation
        * Add icons and visual improvements for announcements and FAQ sections
      
      This implementation provides administrators with comprehensive tools to manage
      system-wide announcements and user FAQ content through an intuitive console interface.
      Apple\Apple committed
    • 🎨 refactor(ui): replace IconSearch with semantic lucide icons · 26521f42
      - Replace IconSearch with Server icon for API info card title to better represent server/API related content
      - Add Server imports from lucide-react
      
      This change improves the semantic meaning of icons and provides better visual representation of their respective functionalities.
      Apple\Apple committed
    • 🔧 refactor(console): enhance URL validation and restructure settings module · 6880cca9
      - Refactor api_info.go to console.go for broader console settings support
      - Update URL regex pattern to accept both domain names and IP addresses
      - Add support for IPv4 addresses with optional port numbers
      - Improve validation to handle formats like http://192.168.1.1:8080
      - Add ValidateConsoleSettings function for extensible settings validation
      - Maintain backward compatibility with existing ValidateApiInfo function
      - Add comprehensive comments explaining supported URL formats
      
      Fixes issue where IP-based URLs were incorrectly rejected as invalid format.
      Prepares infrastructure for additional console settings validation.
      Apple\Apple committed
    • 🔧 fix(api): enhance URL validation to support IP addresses and ports · 154eaed8
      - Update URL regex pattern to accept both domain names and IP addresses
      - Add support for IPv4 addresses with optional port numbers
      - Improve validation to handle formats like http://192.168.1.1:8080
      - Add comprehensive comments explaining supported URL formats
      - Maintain backward compatibility with existing domain-based URLs
      
      Fixes issue where IP-based URLs were incorrectly rejected as invalid format.
      Apple\Apple committed
  2. 09 Jun, 2025 32 commits
  3. 08 Jun, 2025 4 commits
    • fix: balance unit sync · d30ae820
      skynono committed
    • 🎨 style: remove overly vibrant colors and simplify UI design · af0f59cb
      - Remove colorful gradient backgrounds from dashboard panel headers in Detail page
      - Replace custom header styling with default Semi-UI card title styling
      - Remove background images and gradient overlays from all authentication pages
      - Simplify authentication page layouts with clean gray backgrounds
      - Update title text colors from white to dark gray for better contrast
      - Remove unnecessary z-index layering and complex positioning
      - Clean up unused background image imports
      
      This change creates a more professional and consistent visual appearance
      across the application by removing distracting visual elements.
      Apple\Apple committed
    • feat(tables): add "No Results" empty state for all table components · 4c4d3331
      Add consistent empty state handling across all table components to improve
      user experience when search/filter results are empty.
      
      Changes:
      - Import Empty component and IllustrationNoResult/IllustrationNoResultDark from @douyinfe/semi-ui
      - Add empty prop to Table components with "搜索无结果" message
      - Support both light and dark theme illustrations
      - Apply internationalization support for empty state text
      
      Affected files:
      - web/src/components/table/MjLogsTable.js
      - web/src/components/table/LogsTable.js
      - web/src/components/table/ChannelsTable.js
      - web/src/components/table/RedemptionsTable.js
      - web/src/components/table/TaskLogsTable.js
      - web/src/components/table/TokensTable.js
      - web/src/components/table/UsersTable.js
      - web/src/components/table/ModelPricing.js
      
      This ensures consistent UX across all table components when no data
      matches the current search or filter criteria.
      Apple\Apple committed