Component table sections: page, filter and count on the server

Aperta
#2,034 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
database, frontend

Direzione di ricerca

Start with src/features/instance/extensions/dataSource.ts and the table section in content/SectionsContent.tsx; compare their data flow with the Databases browser's server-side paging. Trace how search_by_conditions, offset, limit, and counts are used, then map the search box to conditions on the section columns. Done means sections can filter and page through rows beyond the current 1,000-row cap, with a way to detect whether another page exists.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

A component's table section loads at most 1,000 rows, and its search and paging run in the browser over those rows (#2031). A plugin with a large table (redirect rules, rendered pages, crawl history) can't be searched or paged past the first 1,000. Counts are already computed by Harper.

Proposal

Page and filter table sections on the server, the way the Databases browser does: search_by_conditions with offset and limit (one row past the page to know whether another follows), and the search box mapped to conditions on the section's columns. Drop the row cap once paging is server-side.

Context

Raised in review of #2031 (comment), which notes every plugin planned so far has large tables. Code: src/features/instance/extensions/dataSource.ts and the table section in content/SectionsContent.tsx.

🤖 Generated by Claude Code (Claude Opus 5.5); posted via @dawsontoth.

Lingua principale
TypeScript
Stelle
5
Fork
4
Merge medio
1g 19h
PR unite (30g)
144

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HarperFast/studio

Tutte le issue di HarperFast/studio

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.