- 16 Dec, 2024 1 commit
-
-
CalciumIon committed
-
- 15 Dec, 2024 6 commits
-
-
fix bindWeChat tips
Calcium-Ion committed -
Q.A.zh committed
-
feat: Add collapsible section for available models in PersonalSettings
Calcium-Ion committed -
CalciumIon committed
-
feat: implement channel settings configuration
Calcium-Ion committed -
fix #620
CalciumIon committed
-
- 14 Dec, 2024 7 commits
-
-
- Added new components for GroupRatioSettings and ModelRatioSettings to manage group and model ratios. - Integrated tabs in OperationSetting to switch between model and visual ratio settings. - Updated translations for new settings and improved existing ones in the English locale file. - Refactored ModelSettingsVisualEditor to support dynamic pricing and ratio configurations. This update improves the user interface for managing operational settings, enhancing usability and localization support.
CalciumIon committed -
feat: 可视化模型定价编辑器
Calcium-Ion committed -
Available models could not be populated when adding a new channel
Calcium-Ion committed -
feat: Enhance i18n support
Calcium-Ion committed -
- Removed redundant user and status loading logic from the App component, centralizing it in the PageLayout component for better maintainability. - Enhanced the ChannelsTable component by integrating translation functions for various UI elements, ensuring consistent localization of titles and modal messages. - Updated the English locale file with new translation keys for sub-channel modifications, improving the overall localization coverage. - Streamlined the code structure in multiple components to enhance readability and performance.
CalciumIon committed -
- Integrated translation functions in the Home component to support dynamic localization for various UI elements, improving accessibility for users in different languages. - Added new translation keys for "Telegram authentication", "Linux DO authentication", and "License" in the English locale file, expanding the localization coverage. - Updated existing text elements to utilize translation functions, ensuring consistency in language display across the application.
CalciumIon committed -
- Added a new function to load status data from the API in the App component, enhancing the application's ability to display real-time status updates. - Integrated error handling for API calls to improve user feedback in case of connection issues. - Removed the redundant status loading logic from the SiderBar component, streamlining the code and ensuring a single source of truth for status management. - Updated the useEffect hook in SiderBar to maintain sidebar collapse state based on local storage, improving user experience.
CalciumIon committed
-
- 13 Dec, 2024 14 commits
-
-
CalciumIon committed
-
- Eliminated unnecessary calls to the translation function in the LogsTable component, streamlining the code and improving performance. - This change enhances readability and reduces potential overhead from unused localization logic.
CalciumIon committed -
CalciumIon committed
-
CalciumIon committed
-
CalciumIon committed
-
- Updated the click handler in HeaderBar to correctly toggle the visibility of the sider based on the current item selection. - Ensured that the sider is hidden when navigating to the home item and displayed conditionally for other items, improving the user interface responsiveness.
CalciumIon committed -
feat: support i18n
Calcium-Ion committed -
- Added internationalization (i18n) support across various components, enabling dynamic language switching and improved user experience. - Updated multiple components to utilize translation functions for labels, buttons, and messages, ensuring consistent language display. - Enhanced the user interface by refining text elements in the ChannelsTable, LogsTable, and various settings pages, improving clarity and accessibility. - Adjusted CSS styles for better responsiveness and layout consistency across different screen sizes.
CalciumIon committed -
HynoR committed
-
HynoR committed
-
HynoR committed
-
TAKO committed
-
HynoR committed
-
Fixes an issue with the OpenAI models interface where it fails to get a list of models.
迷糊虫 committed
-
- 12 Dec, 2024 12 commits
-
-
- Updated the overflowY style to always be 'auto', ensuring consistent scrolling behavior. - Maintained conditional inner padding based on the styleState, enhancing layout responsiveness.
CalciumIon committed -
CalciumIon committed
-
- Consolidated the logic for managing sider visibility and inner padding based on the current pathname, improving responsiveness to navigation changes. - Ensured that the sider is hidden on specific paths and adjusted inner padding accordingly, enhancing the user interface experience on both mobile and desktop views.
CalciumIon committed -
- Modified the group label truncation in the Playground component to shorten labels exceeding 16 characters for better mobile display. - Corrected the conditional rendering logic in the HeaderBar to toggle the sider visibility based on its current state, enhancing user interface responsiveness.
CalciumIon committed -
fix: Correct inner padding and sider visibility logic in HeaderBar, PageLayout, and SiderBar components - Updated the click handler in HeaderBar to toggle inner padding and sider visibility correctly based on the selected item. - Adjusted the conditional rendering of SiderBar in PageLayout to ensure it displays when the sider is shown. - Refined the inner padding logic in SiderBar to maintain consistent behavior when selecting items. - Introduced a new function in Style context to manage sider visibility based on the current pathname, enhancing responsiveness to navigation changes.
CalciumIon committed -
- Streamlined the calculation of average RPM and average TPM by removing unnecessary function calls and directly applying the `toFixed(3)` method within the JSX. - Improved code readability and maintainability by reducing the number of lines and enhancing clarity in the calculation logic.
CalciumIon committed -
CalciumIon committed
-
CalciumIon committed
-
- Updated the group selection input to truncate long labels on mobile devices, ensuring better readability and a cleaner interface. - Implemented a conditional label adjustment that shortens group names exceeding 18 characters, appending '...' for clarity.
CalciumIon committed -
feat: 完善数据看板功能
Calcium-Ion committed -
- Updated the `increaseQuotaData` function to include `tokenUsed` parameter for better quota tracking. - Modified the `GetAllQuotaDates` function to sum `token_used` alongside `count` and `quota` for comprehensive data retrieval. - Improved CSS styles for better layout responsiveness, including padding adjustments for navigation elements and description cards.
CalciumIon committed -
- Removed the '模型价格' (Pricing) link from the SiderBar for a cleaner interface. - Added a new '数据看板' (Data Dashboard) link to the SiderBar, enhancing navigation options. - Refactored the Detail component to include user context and style context for better state management. - Introduced new state variables to track token consumption and updated data handling for charts. - Enhanced the layout with additional cards and tabs for displaying user quota and usage statistics. - Improved data processing logic for pie and line charts, ensuring accurate representation of user data.
CalciumIon committed
-