"frontend/src/views/vscode:/vscode.git/clone" did not exist on "0c29468f908b611f0057c425d7a28cca1d3429a3"
  • erio's avatar
    perf(frontend): add virtual scrolling to DataTable · a20c2111
    erio authored
    Replace direct row rendering with @tanstack/vue-virtual. The table
    now only renders visible rows (~20) via padding <tr> placeholders,
    eliminating the rendering bottleneck when displaying 100+ rows with
    heavy cell components.
    
    Key changes:
    - DataTable.vue: integrate useVirtualizer (always-on), virtual row
      template with measureElement for variable row heights, defineExpose
      virtualizer/sortedData for external access, overflow-y/flex CSS
    - useSwipeSelect.ts: dual-mode support via optional
      SwipeSelectVirtualContext — data-driven row index lookup and
      selection range when virtualizer is present, original DOM-based
      path preserved for callers that don't pass virtualContext
    a20c2111
Analyzing file…
package.json 1.65 KB