1. 12 Sep, 2025 5 commits
  2. 11 Sep, 2025 8 commits
  3. 10 Sep, 2025 5 commits
  4. 09 Sep, 2025 4 commits
  5. 08 Sep, 2025 1 commit
  6. 07 Sep, 2025 4 commits
  7. 06 Sep, 2025 2 commits
    • 🐛 fix(models): export setActivePage to prevent tab-change TypeError · baf134cd
      Context:
      Clicking a vendor tab triggered “setActivePage is not a function” from ModelsTabs.jsx:43.
      
      Root cause:
      ModelsTabs expects `setActivePage` via props (spread from `useModelsData`), but the hook did not expose it in its return object, so the prop resolved to `undefined`.
      
      Fix:
      Export `setActivePage` from `useModelsData`’s return object so `ModelsTabs` receives a valid function.
      
      Result:
      Tab switching now correctly resets pagination to page 1 and reloads models without runtime errors.
      
      Files:
      - web/src/hooks/models/useModelsData.jsx
      
      Test plan:
      - Open the Models page
      - Click different vendor tabs
      - Verify no crash occurs and the list reloads with page reset to 1
      
      Refs: web/src/components/table/models/ModelsTabs.jsx:43
      t0ng7u committed
  8. 05 Sep, 2025 1 commit
  9. 04 Sep, 2025 2 commits
  10. 03 Sep, 2025 5 commits
  11. 02 Sep, 2025 3 commits
    • 🐛 fix(models-sync): allow sync when no conflicts selected · 22b724ca
      When syncing official models, clicking "Apply overwrite" with zero selected
      conflict fields resulted in no request being sent and the modal simply closing.
      This blocked creation of missing models/vendors even though the backend
      supports an empty `overwrite` array and will still create missing items.
      
      Changes:
      - Remove the early-return guard in `UpstreamConflictModal.handleOk`
      - Always call `onSubmit(payload)` even when `payload` is empty
      - Keep closing behavior when the request succeeds
      
      Behavior:
      - Users can now proceed with upstream sync without selecting any conflict fields
      - Missing models/vendors are created as expected
      - Existing models are not overwritten unless fields are explicitly selected
      
      Affected:
      - web/src/components/table/models/modals/UpstreamConflictModal.jsx
      
      Quality:
      - Lint passes
      - No breaking changes
      - No visual/UI changes beyond the intended behavior
      
      Test plan:
      1) Open official models sync and trigger a conflicts preview
      2) Click "Apply overwrite" without selecting any fields
      3) Expect the sync to proceed and a success toast indicating created models
      4) Re-try with some fields selected to confirm overwrites still work
      t0ng7u committed
    • 🐛 fix(models sync): send correct overwrite payload and drop fallback · 25dbd39d
      Ensure UpstreamConflictModal submits { overwrite: payload, locale } instead of spreading an array into an object
      Remove numeric-key fallback from applyUpstreamOverwrite for simpler and explicit logic
      Effect: selected fields are now actually updated; success message shows updated model count
      Refs: backend SyncUpstreamModels expects overwrite: overwriteField[]
      t0ng7u committed