1. 02 Aug, 2025 1 commit
  2. 01 Aug, 2025 6 commits
  3. 31 Jul, 2025 7 commits
  4. 30 Jul, 2025 13 commits
  5. 29 Jul, 2025 3 commits
  6. 27 Jul, 2025 7 commits
    • feat: Enhance Channel Model Management UI · e85bf7b1
      Summary
      • Introduced standalone `ModelSelectModal.jsx` for selecting channel models
      • Fetch-list now opens modal instead of in-place select, keeping EditChannelModal lean
      
      Modal Features
      1. Search bar with `IconSearch`, keyboard clear & mobile full-screen support
      2. Tab layout (“New Models” / “Existing Models”) displayed next to title, responsive wrapping
      3. Models grouped by vendor via `getModelCategories` and rendered inside always-expanded `Collapse` panels
      4. Per-category checkbox in panel extra area for bulk select / deselect
      5. Footer checkbox for bulk select of all models in current tab, with real-time counter
      6. Empty state uses `IllustrationNoResult` / `IllustrationNoResultDark` for visual consistency
      7. Accessible header/footer paddings aligned with Semi UI defaults
      
      Fixes & Improvements
      • All indeterminate and full-select states handled correctly
      • Consistent “selected X / Y” stats synced with active tab, not global list
      • All panels now controlled via `activeKey`, ensuring they remain expanded
      • Search, vendor grouping, and responsive layout tested across mobile & desktop
      
      These changes modernise the channel model management workflow and prepare the codebase for upcoming upstream-ratio integration.
      t0ng7u committed
    • Merge pull request #1446 from Raymondxox/fix · a35419c6
      模型请求速率限制,增加对请求次数最大值的限制
      Calcium-Ion committed
    • 🗂️ refactor(table): isolate column preferences per role · 84fb6eea
      Summary
      • Added role-specific localStorage keys for column visibility in three hooks:
        - `useUsageLogsData.js` → `logs-table-columns-admin` / `logs-table-columns-user`
        - `useMjLogsData.js`   → `mj-logs-table-columns-admin` / `mj-logs-table-columns-user`
        - `useTaskLogsData.js` → `task-logs-table-columns-admin` / `task-logs-table-columns-user`
      
      Details
      1. Each hook now derives a `STORAGE_KEY` based on `isAdminUser`, preventing admin and non-admin sessions from overwriting one another’s column settings.
      2. Removed the previous “save but strip admin columns” workaround—settings are persisted unmodified to each role’s key.
      3. Kept runtime behaviour: non-admin users still see admin-only columns forcibly hidden.
      4. Replaced newly added Chinese comments with clear English equivalents for consistency.
      
      Result
      Switching between admin and non-admin accounts no longer corrupts column visibility preferences, and codebase comments are fully English-localized.
      t0ng7u committed
  7. 26 Jul, 2025 3 commits
    • 🔍 fix: select search filter · 90cf9efd
      Summary
      • Introduced a unified `selectFilter` helper that matches both `option.value` and `option.label`, ensuring all `<Select>` components support intuitive search (fixes channel “type” dropdown not filtering).
      • Replaced all usages of the old `modelSelectFilter` with `selectFilter` in:
        • `EditChannelModal.jsx`
        • `SettingsPanel.js`
        • `EditTokenModal.jsx`
        • `EditTagModal.jsx`
      • Removed the deprecated `modelSelectFilter` export from `utils.js` (no backward-compat alias).
      • Updated documentation comments accordingly.
      
      Why
      The old filter only inspected `option.value`, causing searches to fail when `label` carried the meaningful text (e.g., numeric IDs for channel types). The new helper searches both fields, covering all scenarios and unifying the API across the codebase.
      
      Notes
      No functional regressions expected; all components have been migrated.
      t0ng7u committed
    • feat: add claude code channel · 1389cc7a
      Seefs committed