1. 23 Jun, 2025 2 commits
    • 🐛 fix(ratio-sync): reset pagination when filter/search changes · ef9c5b3a
      Add a `useEffect` hook in `UpstreamRatioSync.js` to automatically set
      `currentPage` to `1` whenever `ratioTypeFilter` or `searchKeyword`
      updates.
      This prevents the table from appearing empty when users switch to the
      “model_price” (fixed price) filter or perform a new search while on a
      later page.
      
      Additional changes:
      - Import `useEffect` from React.
      
      This enhancement delivers a smoother UX by ensuring the first page of
      results is always shown after any filtering action.
      t0ng7u committed
    • 🎛️ feat(web): add “Conflict Rates” filter & highlight in Model Settings Visual Editor (#1286) · f73da57a
      Introduce the ability to quickly locate models with conflicting billing configurations.
      
      Key points
      • Added `hasConflict` flag to detect models that define both a fixed price (`ModelPrice`) and any ratio (`ModelRatio` or `CompletionRatio`).
      • Added “Show Only Conflict Rates” `Checkbox` to toolbar; filtering logic now supports keyword + conflict filtering.
      • Display a red `Tag` beside the model name when a conflict is detected for immediate visual feedback.
      • Kept `hasConflict` state in sync during add, update and delete operations.
      • Imported `Checkbox` and `Tag` from **@douyinfe/semi-ui**.
      • Minor UI tweaks (circle tag style, margin) for consistency.
      
      This enhancement helps administrators swiftly identify and resolve incompatible pricing rules, addressing the need discussed in issue #1286.
      t0ng7u committed
  2. 22 Jun, 2025 12 commits
  3. 21 Jun, 2025 21 commits
  4. 20 Jun, 2025 5 commits