1. 24 May, 2025 4 commits
  2. 23 May, 2025 12 commits
    • fix aws claude-sonnet-4-20250514 · 0a7842e8
      daggeryu committed
    • 🍎refactor(PersonalSettings): Comprehensive UI/UX redesign and improvements · 334011d4
      - Unify input field styles with size="large" for consistent appearance
      - Replace account binding sections with Semi UI Card components for better visual hierarchy
      - Redesign invitation statistics cards with responsive layout and Card components
      - Enhance security settings with structured Card layout and improved visual design
      - Complete i18n internationalization for all text strings and placeholders
      - Optimize main profile card responsive design following TopUp page patterns
      - Update avatar component to display first two characters with animated border
      - Improve user role display with three-tier system (Super Admin/Admin/User)
      - Enhance tag visibility with white background for better contrast on purple gradient
      - Implement dynamic colors for model tags using stringToColor function
      - Add hover effects and improved accessibility across all components
      - Maintain consistent design language throughout the interface
      
      This refactor significantly improves the user experience with modern UI patterns,
      better responsiveness, and enhanced visual appeal while maintaining all existing
      functionality.
      Apple\Apple committed
    • 🍭feat: add loading states to all async operation buttons for better UX · aae61434
      - Add paymentLoading state for Alipay and WeChat payment buttons
      - Add confirmLoading state for payment confirmation modal
      - Implement proper loading management in preTopUp function with try-catch error handling
      - Implement proper loading management in onlineTopUp function with comprehensive error handling
      - Add loading={paymentLoading} to both payment method buttons to prevent double-clicks
      - Add confirmLoading={confirmLoading} to modal confirmation button
      - Enhance error handling with user-friendly error messages for failed operations
      - Ensure loading states are properly cleared in finally blocks for consistent UX
      
      This update provides immediate visual feedback when users interact with payment buttons,
      prevents accidental double-clicks, and improves overall payment flow reliability
      with comprehensive error handling and loading state management.
      Apple\Apple committed
    • ️refactor: Completely redesign TopUp page with modern card-based UI and enhanced UX · ee0e1161
      - Replace simple form layout with sophisticated card-based design system
      - Implement bank card-style wallet display with gradient backgrounds and decorative elements
      - Integrate real user data from UserContext (username, quota, usage stats, user role, group)
      - Add personalized color schemes using stringToColor for unique user identification
      - Implement comprehensive responsive design for mobile, tablet, and desktop devices
      - Add skeleton loading states for all data-dependent components and API calls
      - Replace basic Input with InputNumber component for amount input with built-in validation (min: 1)
      - Add official brand icons for payment methods (Alipay, WeChat) using react-icons/si
      - Integrate Semi UI Banner component for better warning notifications
      - Implement real-time data synchronization between local state and UserContext
      - Add sophisticated loading states with proper error handling and user feedback
      - Clean up all code comments and remove unused imports, functions, and state variables
      - Enhance visual hierarchy with proper spacing, shadows, and modern typography
      - Add glass-morphism effects and backdrop filters for premium visual experience
      - Improve accessibility with proper text truncation and responsive font sizing
      
      This update transforms the TopUp page from a basic form into a professional,
      modern payment interface that provides excellent user experience across all devices
      while maintaining full functionality and adding comprehensive data validation.
      Apple\Apple committed
    • ️refactor: Modernize edit and add user components with unified design system · 8e802565
      - Refactor EditRedemption.js with card-based layout and modern UI components
      - Refactor EditUser.js with three-section card layout (basic info, permissions, bindings)
      - Refactor AddUser.js with modern card design and improved user experience
      - Replace inline styles with Tailwind CSS 3 classes throughout all components
      - Add semantic icons (IconUser, IconKey, IconGift, IconCreditCard, etc.) for better UX
      - Implement unified header design with colored tags and consistent typography
      - Replace deprecated Title imports with destructured Typography components
      - Add proper internationalization support with useTranslation hook
      - Standardize form layouts with consistent spacing, rounded corners, and shadows
      - Improve button styling with rounded design and loading states
      - Fix IconTicket import error by replacing with existing IconGift
      - Enhance modal designs with modern styling and icon integration
      - Ensure responsive design consistency across all edit/add components
      
      This update brings all user management interfaces in line with the modern
      design system established in EditToken.js, providing a cohesive and
      professional user experience.
      Apple\Apple committed
    • ️Refactor: Users Page · cb21e756
      Apple\Apple committed
    • ️Refactor: Redemptions Page · 04ba012f
      Apple\Apple committed
    • feat: add new model entries for Claude Sonnet 4 and Claude Opus 4 across… · 3cc1a794
      feat: add new model entries for Claude Sonnet 4 and Claude Opus 4 across multiple components, including constants and cache settings
      CaIon committed
    • ️Refactor: TaskLogs Page · 07d87d60
      Apple\Apple committed
    • ️Refactor: MJLogs Page · 17c42cc0
      Apple\Apple committed
    • ️Refactor: Logs Page · 63183bd4
      Apple\Apple committed
  3. 22 May, 2025 9 commits
  4. 20 May, 2025 10 commits
  5. 19 May, 2025 5 commits
    • ️Refactor: Login Page · 02214001
      Apple\Apple committed
    • ️Refactor: NotFound Page · 75684909
      Apple\Apple committed
    • 🐛fix(HeaderBar): Prevent flicker when unauthenticated users click Console link · 6eb1ba95
      Previously, when an unauthenticated user clicked the "Console" navigation
      link, the application would first attempt to navigate to '/console'.
      This would then trigger a redirect to '/login', causing a brief flicker
      between the two pages.
      
      This commit modifies the `renderNavLinks` function in `HeaderBar.js`
      to proactively check the user's authentication status. If the user is
      not logged in and clicks the "Console" link, the navigation target
      is directly set to '/login', avoiding the intermediate redirect and
      eliminating the flickering effect.
      Apple\Apple committed
    • ️Refactor: Decouple sidebar visibility from HeaderBar nav clicks · 0a3186ac
      The `handleNavLinkClick` function in `HeaderBar.js` was previously
      forcing the sidebar to be visible for all non-'home' navigation links
      on non-mobile devices. This interfered with the intended logic in
      `StyleContext` which controls sidebar visibility based on the current
      route.
      
      This commit modifies `handleNavLinkClick` to:
      - Only apply specific style dispatches (setting inner padding and sider
        to false) for the 'home' link, which may have unique layout requirements.
      - Remove the logic that unconditionally set sidebar visibility and inner
        padding for other navigation links.
      - Continue to close the mobile menu загрязнения (`setMobileMenuOpen(false)`) on any nav link click.
      
      This change ensures that `StyleContext` is the single source of truth
      for determining sidebar visibility based on the route, resolving an
      issue where clicking a non-console link Pferde (e.g., 'Pricing', 'About')
      would incorrectly display the sidebar, especially when the link was
      clicked Pferde a second time while already on that page.
      Apple\Apple committed