lmnr-ai / lmnr

Laminar - open-source all-in-one platform for engineering AI products. Crate data flywheel for you AI app. Traces, Evals, Datasets, Labels. YC S24.
https://www.lmnr.ai
Apache License 2.0
1.19k stars 60 forks source link

simplify paginated get, count all items outside #141

Closed dinmukhamedm closed 4 weeks ago

dinmukhamedm commented 4 weeks ago

[!IMPORTANT] Simplifies paginated get functionality, adds project presence checks in evaluations and traces pages, and updates related components and utilities.

  • Behavior:
    • Simplifies paginatedGet in route.ts files by removing baseQuery and baseFilters.
    • Adds project presence check in EvaluationsPage and TracesPage to show placeholders if no data.
  • Functions:
    • Updates paginatedGet in utils.ts to remove anyInProject flag and handle column selection.
    • Modifies filtersToSql in modifiers.ts to support additional column definitions.
  • Components:
    • Removes anyInProject check from Evaluations and TracesTable components.
    • Adds Header to EvalsPagePlaceholder and TracesPagePlaceholder.

This description was created by Ellipsis for 604fcb6bb004d4bf048a0051408056a14c591bc0. It will automatically update as commits are pushed.